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 /ktimer | |
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 'ktimer')
-rw-r--r-- | ktimer/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | ktimer/CMakeLists.txt | 5 | ||||
-rw-r--r-- | ktimer/ktimer.desktop | 41 |
3 files changed, 7 insertions, 45 deletions
diff --git a/ktimer/CMakeL10n.txt b/ktimer/CMakeL10n.txt index b2ec7bb..003517e 100644 --- a/ktimer/CMakeL10n.txt +++ b/ktimer/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "ktimer" ) + +tde_l10n_create_template( + CATALOG "desktop_files/ktimer.desktop/" + SOURCES ktimer.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/ktimer/CMakeLists.txt b/ktimer/CMakeLists.txt index 1220018..925791c 100644 --- a/ktimer/CMakeLists.txt +++ b/ktimer/CMakeLists.txt @@ -38,7 +38,4 @@ tde_install_icons( ktimer) ##### other data ################################ -install( FILES ktimer.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) - +tde_create_translated_desktop( ktimer.desktop ) diff --git a/ktimer/ktimer.desktop b/ktimer/ktimer.desktop index 9ce41ef..3780e35 100644 --- a/ktimer/ktimer.desktop +++ b/ktimer/ktimer.desktop @@ -1,48 +1,7 @@ [Desktop Entry] Name=KTimer -Name[hi]=केटाइमर GenericName=Countdown Launcher -GenericName[ar]=بادئ العدّ التنازلى -GenericName[bg]=Хронометър -GenericName[ca]=Llançador amb compte enrere -GenericName[cs]=Stopky -GenericName[cy]=Cychwynydd Cyfrif yn Ôl -GenericName[da]=Nedtællingsstarter -GenericName[de]=Digitale Zeitschaltuhr -GenericName[el]=Αντίστροφη μέτρηση για την ενεργοποίηση λογισμικού -GenericName[es]=Lanzador de cuenta atrás -GenericName[et]=Ajaarvestuse käivitaja -GenericName[eu]=Atzekoz aurrera zenbaketa jaurtitzen du -GenericName[fa]=راهانداز شمارش معکوس -GenericName[fi]=Lähtölaskenta -GenericName[fr]=Lanceur de compte à rebours -GenericName[hu]=Visszaszámláló -GenericName[is]=Niðurteljari -GenericName[it]=Conto alla rovescia -GenericName[ja]=起動マネージャ -GenericName[kk]=Кері санақ -GenericName[km]=កម្មវិធីបើករហ័សរបស់កម្មវិធីរាប់ថតក្រោយ -GenericName[lt]=Laiko skaičiuoklė -GenericName[nb]=Beskjedverktøy -GenericName[nds]=Teller starten -GenericName[ne]=काउन्टडाउन आरम्भकर्ता -GenericName[nn]=Nedteljing -GenericName[pl]=Odliczanie -GenericName[pt]=Contagem Decrescente -GenericName[pt_BR]=Abre a contador de tempo -GenericName[ro]=Cronometru -GenericName[ru]=Обратный отсчёт -GenericName[sk]=Odpočítavané spúšťanie -GenericName[sl]=Zaganjalec odštevanja -GenericName[sr]=Лансер одбројавања -GenericName[sr@Latn]=Lanser odbrojavanja -GenericName[sv]=Nerräknande startprogram -GenericName[ta]= குறிப்பு எடுப்பான் நேரக்குறைப்பான் -GenericName[tr]=Gerisayım Çalıştırıcı -GenericName[uk]=Таймер -GenericName[zh_CN]=倒计时 -GenericName[zh_TW]=倒數發射計時 Exec=ktimer Icon=ktimer |