summaryrefslogtreecommitdiffstats
path: root/ktimer
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-22 02:49:40 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-22 02:49:40 +0200
commit296306a273438f476ab2266d1c03616de1fd5ef7 (patch)
tree7788ff1608858031d0b9816452591f2c62f42bc0 /ktimer
parent5422ccd94be4a116b9334fb3b350c3a07ff7505e (diff)
downloadtdeutils-296306a273438f476ab2266d1c03616de1fd5ef7.tar.gz
tdeutils-296306a273438f476ab2266d1c03616de1fd5ef7.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>
Diffstat (limited to 'ktimer')
-rw-r--r--ktimer/CMakeL10n.txt6
-rw-r--r--ktimer/CMakeLists.txt5
-rw-r--r--ktimer/ktimer.desktop41
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