diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-22 02:49:40 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-24 15:49:49 +0200 |
commit | a1066b66a7b397f1cdac40d6970b9640184fe8f6 (patch) | |
tree | 023614a603e30a1f7a3ae99c3bbc366fcb4b2178 /kmilo/kmilod | |
parent | 2f27665e4d477b9016dc38bf4d83945a371f9c0d (diff) | |
download | tdeutils-a1066b66a7b397f1cdac40d6970b9640184fe8f6.tar.gz tdeutils-a1066b66a7b397f1cdac40d6970b9640184fe8f6.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 296306a273438f476ab2266d1c03616de1fd5ef7)
Diffstat (limited to 'kmilo/kmilod')
-rw-r--r-- | kmilo/kmilod/CMakeLists.txt | 9 | ||||
-rw-r--r-- | kmilo/kmilod/kmilod.desktop | 46 | ||||
-rw-r--r-- | kmilo/kmilod/kmilopluginsvc.desktop | 1 |
3 files changed, 7 insertions, 49 deletions
diff --git a/kmilo/kmilod/CMakeLists.txt b/kmilo/kmilod/CMakeLists.txt index 078e911..2bce8c2 100644 --- a/kmilo/kmilod/CMakeLists.txt +++ b/kmilo/kmilod/CMakeLists.txt @@ -44,11 +44,14 @@ tde_add_kpart( kded_kmilod AUTOMOC ##### other data ################################ -install( FILES kmilod.desktop +tde_create_translated_desktop( + SOURCE kmilod.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops ) -install( FILES kmilopluginsvc.desktop +tde_create_translated_desktop( + SOURCE kmilopluginsvc.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR}/kmilo + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops ) - diff --git a/kmilo/kmilod/kmilod.desktop b/kmilo/kmilod/kmilod.desktop index 6107ecb..5d81276 100644 --- a/kmilo/kmilod/kmilod.desktop +++ b/kmilo/kmilod/kmilod.desktop @@ -2,50 +2,6 @@ Name=KMilo Comment=TDE special key notifier -Comment[ar]=مبلغ كدى للمفاتيح الخاصة -Comment[bg]=Известяване при натискане на специалните клавиши на някои модели лаптопи -Comment[bs]=TDE obavještenje o posebnim tipkama -Comment[ca]=Notificador de tecles especials de TDE -Comment[cs]=Hlášení speciálních kláves -Comment[da]=TDE Speciel tast bekendtgørelse -Comment[de]=Unterstützung für Sonder- und Multimediatasten in TDE -Comment[el]=Ειδοποιητής ειδικών πλήκτρων του TDE -Comment[eo]=TDE-specialklavatentigilo -Comment[es]=Notificador de teclas especiales de TDE -Comment[et]=TDE eriklahvide märkija -Comment[eu]=TDE tekla berezien jakinarazlea -Comment[fa]=اخطار دهندۀ ویژۀ کلید TDE -Comment[fi]=TDE:n erikoisnäppäinhuomauttaja -Comment[fr]=Notificateur de touche spéciale pour TDE -Comment[hu]=TDE-s kezelőprogram a speciális billentyűkhöz -Comment[is]=TDE sérhnappatólið -Comment[it]=Gestione TDE dei tasti speciali -Comment[ja]=TDE の特殊キー通知 -Comment[kk]=TDE-ның арнаулы пернелерді қолдауы -Comment[km]=កម្មវិធីជូនដំណឹងគ្រាប់ចុច TDE ពិសេស -Comment[lt]=TDE specialiųjų raktų pranešiklis -Comment[mk]=Известувач за спец. копчиња во TDE -Comment[nb]=Beskjedgiver TDE spesialtaster -Comment[nds]=TDE-Sünnertastenmellen -Comment[ne]=TDE विशेष कुञ्जी सूचनाकर्ता -Comment[nl]=TDE-notificatie van speciale toetsen -Comment[nn]=TDE-verktøy for spesialtastar -Comment[pa]=TDE ਖਾਸ ਸਵਿੱਚ ਸੂਚਕ -Comment[pl]=Obsługa klawiszy specjalnych -Comment[pt]=Notificação de teclas especiais do TDE -Comment[pt_BR]=Notificador de tecla especial do TDE -Comment[ro]=Notificare taste speciale pentru TDE -Comment[ru]=Поддержка специальных клавиш -Comment[sk]=TDE upozornenie na špeciálne klávesy -Comment[sl]=Opomnik posebnih ključev v TDE -Comment[sr]=TDE-ов обаваштавач о посебним тастерима -Comment[sr@Latn]=TDE-ov obavaštavač o posebnim tasterima -Comment[sv]=Underrättelse om TDE specialtangent -Comment[ta]= கேடிஇ சிறப்பு விசை குறிப்பான் -Comment[tr]=TDE özel tuş bildirici -Comment[uk]=Сповіщувач про натискання спеціальних клавіш для TDE -Comment[zh_CN]=TDE 特殊按键通知程序 -Comment[zh_TW]=TDE 特殊鍵通知 Type=Service X-TDE-ServiceTypes=KDEDModule @@ -53,4 +9,4 @@ X-TDE-ModuleType=Library X-TDE-Library=kmilod X-TDE-FactoryName=kmilod X-TDE-Kded-autoload=true -X-TDE-Kded-load-on-demand=false
\ No newline at end of file +X-TDE-Kded-load-on-demand=false diff --git a/kmilo/kmilod/kmilopluginsvc.desktop b/kmilo/kmilod/kmilopluginsvc.desktop index 392ad1b..3696fed 100644 --- a/kmilo/kmilod/kmilopluginsvc.desktop +++ b/kmilo/kmilod/kmilopluginsvc.desktop @@ -6,4 +6,3 @@ X-TDE-ServiceType=KMilo Plugin Type=TQString [PropertyDef::X-KMilo-Default-Enabled] Type=bool - |