summaryrefslogtreecommitdiffstats
path: root/kded
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-07 18:25:52 +0200
committerSlávek Banko <[email protected]>2020-06-07 18:25:52 +0200
commit4b7a4e17362206fd2eade35ba947a850263b0ea1 (patch)
tree3f3e619da9fd3c0f76ef95e44c73898a278e059b /kded
parent31fa399a0aa455f3f52251f977233d57e92de28c (diff)
downloadtdelibs-4b7a4e17362206fd2eade35ba947a850263b0ea1.tar.gz
tdelibs-4b7a4e17362206fd2eade35ba947a850263b0ea1.zip
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kded')
-rw-r--r--kded/CMakeL10n.txt7
-rw-r--r--kded/CMakeLists.txt5
-rw-r--r--kded/kdedmodule.desktop80
3 files changed, 11 insertions, 81 deletions
diff --git a/kded/CMakeL10n.txt b/kded/CMakeL10n.txt
new file mode 100644
index 000000000..58abfbd25
--- /dev/null
+++ b/kded/CMakeL10n.txt
@@ -0,0 +1,7 @@
+##### create translation templates ##############
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kdedmodule.desktop/"
+ SOURCES kdedmodule.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kded/CMakeLists.txt b/kded/CMakeLists.txt
index 1a4433b99..a8b64b6e5 100644
--- a/kded/CMakeLists.txt
+++ b/kded/CMakeLists.txt
@@ -34,7 +34,10 @@ install( FILES kdedmodule.h DESTINATION ${INCLUDE_INSTALL_DIR} )
##### other data ################################
-install( FILES kdedmodule.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdedmodule.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+)
install( FILES tde-applications.menu tde-applications.menu-no-kde DESTINATION ${XDG_MENU_INSTALL_DIR} )
install( FILES kded.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
diff --git a/kded/kdedmodule.desktop b/kded/kdedmodule.desktop
index 55370e58c..a29b43213 100644
--- a/kded/kdedmodule.desktop
+++ b/kded/kdedmodule.desktop
@@ -2,86 +2,6 @@
Type=ServiceType
X-TDE-ServiceType=KDEDModule
Comment=KDED Module
-Comment[ar]=وحدة KDED
-Comment[az]=KDED Modulu
-Comment[be]=Модуль KDED
-Comment[bg]=Модул KDED
-Comment[bn]=KDED মডিইল
-Comment[br]=Mollad KDED
-Comment[bs]=KDED modul
-Comment[ca]=Mòdul per a KDED
-Comment[cs]=KDED modul
-Comment[csb]=Mòduł KDED
-Comment[cy]=Modiwl KDED
-Comment[da]=KDED-modul
-Comment[de]=KDED-Modul
-Comment[el]=Άρθρωμα KDED
-Comment[eo]=KDED-Modulo
-Comment[es]=Módulo de KDED
-Comment[et]=KDED moodul
-Comment[eu]=KDED modulua
-Comment[fa]=پیمانۀ KDED
-Comment[fi]=KDED-moduuli
-Comment[fr]=Module KDED
-Comment[fy]=KDED-module
-Comment[ga]=Modúl KDED
-Comment[gl]=Módulo de KDED
-Comment[he]=מודול KDED
-Comment[hi]=KDED-घटक (मॉड्यूल)
-Comment[hr]=KDED modul
-Comment[hsb]=KDED-modul
-Comment[hu]=KDED modul
-Comment[id]=Modul KDED
-Comment[is]=KDED eining
-Comment[it]=Modulo di KDED
-Comment[ja]=KDED モジュール
-Comment[ka]=KDED მოდული
-Comment[kk]=KDED модулі
-Comment[km]=ម៉ូឌុល KDED
-Comment[ko]=KDED 모듈
-Comment[lb]=KDED-Modul
-Comment[lt]=KDED modulis
-Comment[lv]=KDED Modulis
-Comment[mk]=KDED модул
-Comment[mn]=KDED-Модул
-Comment[ms]=Modul KDED
-Comment[mt]=Modulu KDED
-Comment[nb]=KDED-modul
-Comment[nds]=KDED-Moduul
-Comment[ne]=KDED मोड्युल
-Comment[nn]=KDED-modul
-Comment[nso]=Seripa sa KDED
-Comment[pa]=KDED ਮੈਡੀਊਲ
-Comment[pl]=Moduł KDED
-Comment[pt]=Módulo do KDED
-Comment[pt_BR]=Módulo KDED
-Comment[ro]=Modul KDED
-Comment[ru]=Служба KDED
-Comment[rw]=Igice KDED
-Comment[se]=KDED-moduvla
-Comment[sk]=KDED modul
-Comment[sl]=Modul KDED
-Comment[sq]=KDED Modula
-Comment[sr]=KDED модул
-Comment[sr@Latn]=KDED modul
-Comment[ss]=Sahluko se KDED
-Comment[sv]=KDED-modul
-Comment[ta]=KDED கூறு
-Comment[te]=కెడిఈడి మాడ్యూల్
-Comment[tg]=Модули KDED
-Comment[th]=โมดูล KDED
-Comment[tr]=KDED Modülü
-Comment[tt]=KDED Modulı
-Comment[uk]=Модуль KDED
-Comment[uz]=KDED moduli
-Comment[uz@cyrillic]=KDED модули
-Comment[ven]=Modulu wa KDED
-Comment[vi]=Mô-đun KDED
-Comment[xh]=KDED Isichatshulwa
-Comment[zh_CN]=KDED 模块
-Comment[zh_HK]=KDED 模組
-Comment[zh_TW]=KDED 模組
-Comment[zu]=Ingxenye ye-KDED
[PropertyDef::X-TDE-FactoryName]
Type=TQString
[PropertyDef::X-TDE-Kded-autoload]