Commit 2dfb7dd3 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Utilize kcmutils_generate_desktop_file cmake method

Task: https://phabricator.kde.org/T15609
parent 0c9bbb36
Pipeline #210649 passed with stage
in 1 minute and 49 seconds
......@@ -8,7 +8,7 @@ cmake_minimum_required(VERSION 3.16)
project(plasma-firewall)
set(PROJECT_VERSION "5.25.80")
set(KF5_MIN_VERSION "5.94")
set(KF5_MIN_VERSION "5.97")
set(KDE_COMPILERSETTINGS_LEVEL "5.82")
set(QT_MIN_VERSION "5.15.2")
......
......@@ -15,6 +15,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake ${CMAKE_CURRENT_BINAR
add_library(kcm_firewall MODULE)
kcmutils_generate_desktop_file(kcm_firewall)
target_sources(kcm_firewall PRIVATE
kcm.cpp
kcm.h
......@@ -33,7 +34,6 @@ target_link_libraries(kcm_firewall
networkstatus
)
install(FILES kcm_firewall.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(TARGETS kcm_firewall DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/kcms/systemsettings)
kpackage_install_package(package kcm_firewall kcms)
[Desktop Entry]
Icon=preferences-security-firewall
Type=Application
Exec=systemsettings5 kcm_firewall
NoDisplay=true
Name=Firewall
Name[ar]=الجدار الناري
Name[az]=Təhlükəsizlik divarı
Name[bg]=Защитна стена
Name[ca]=Tallafoc
Name[ca@valencia]=Tallafoc
Name[cs]=Firewall
Name[da]=Firewall
Name[de]=Firewall
Name[en_GB]=Firewall
Name[es]=Cortafuegos
Name[et]=Tulemüür
Name[eu]=Suhesia
Name[fi]=Palomuuri
Name[fr]=Pare-feu
Name[hu]=Tűzfal
Name[ia]=Firewall (Taliafoco)
Name[id]=Firewall
Name[it]=Firewall
Name[ka]=ბრანდმაუერი
Name[ko]=방화벽
Name[lt]=Užkarda
Name[nl]=Firewall
Name[nn]=Brannmur
Name[pl]=Zapora ogniowa
Name[pt]='Firewall'
Name[pt_BR]=Firewall
Name[ro]=Firewall
Name[ru]=Брандмауэр
Name[sk]=Firewall
Name[sl]=Vdorobran
Name[sv]=Brandvägg
Name[tr]=Güvenlik Duvarı
Name[uk]=Брандмауер
Name[x-test]=xxFirewallxx
Name[zh_CN]=防火墙
Name[zh_TW]=防火牆
Comment=Control your network rules
Comment[ar]=يتحكم بقواعد شبكتك
Comment[az]=Şəbəkə təhlükəsizliyi qaydalarını idarə etmək
Comment[bg]=Контролирайте правилата на вашата мрежа
Comment[ca]=Controla les regles de la xarxa
Comment[ca@valencia]=Controla les regles de la xarxa
Comment[cs]=Ovládejte pravidla vaší sítě
Comment[da]=Styr dine netværksregler
Comment[de]=Überprüfung Ihrer Netzwerk-Regeln
Comment[en_GB]=Control your network rules
Comment[es]=Controlar las reglas de la red
Comment[et]=Võrgureeglite juhtimine
Comment[eu]=Kontrolatu zure sareko arauak
Comment[fi]=Hallitse verkon sääntöjä
Comment[fr]=Contrôler vos règles de réseau
Comment[hu]=A hálózati szabályok kezelése
Comment[ia]=Controla tu regulas de rete
Comment[id]=Kendalikan rules jaringanmu
Comment[it]=Controlla le tue regole di rete
Comment[ka]=გააკონტროლეთ ქსელის თქვენი წესები
Comment[ko]=네트워크 규칙 제어
Comment[lt]=Valdyti tinklo taisykles
Comment[nl]=Uw netwerkregels besturen
Comment[nn]=Kontroller nettverksreglar
Comment[pl]=Zarządzaj zasadami w swojej sieci
Comment[pt]=Controlar as suas regras da rede
Comment[pt_BR]=Controle suas regras de rede
Comment[ro]=Controlați regulile de rețea
Comment[ru]=Управления правилами брандмауэра
Comment[sk]=Ovládajte svoje sieťové pravidlá
Comment[sl]=Upravljaj vaše mrežna pravila
Comment[sv]=Styr nätverksregler
Comment[tr]=Ağ kurallarınızı denetleyin
Comment[uk]=Керування вашими правилами мережі
Comment[x-test]=xxControl your network rulesxx
Comment[zh_CN]=控制本机的网络规则
Comment[zh_TW]=控制您的網路規則
Categories=Qt;KDE;X-KDE-settings-looknfeel;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment