diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-07 18:25:52 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-07 18:48:13 +0200 |
commit | 9756408b0ebb206b53abd2597926d8fead731977 (patch) | |
tree | 62caa2c2ebd6ebccc5472fdc7469fe54dad8b24f /kded | |
parent | c95c7a29338aa309fab071b5a4475400fdce97a8 (diff) | |
download | tdelibs-9756408b0ebb206b53abd2597926d8fead731977.tar.gz tdelibs-9756408b0ebb206b53abd2597926d8fead731977.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 <slavek.banko@axis.cz>
(cherry picked from commit 4b7a4e17362206fd2eade35ba947a850263b0ea1)
Diffstat (limited to 'kded')
-rw-r--r-- | kded/CMakeL10n.txt | 7 | ||||
-rw-r--r-- | kded/CMakeLists.txt | 5 | ||||
-rw-r--r-- | kded/kdedmodule.desktop | 80 |
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] |