summaryrefslogtreecommitdiffstats
path: root/kcron
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-31 19:18:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-31 19:18:47 +0200
commitcfe279f15a6ca1dad65d63f289a6a6a8a91bb024 (patch)
treea94e1b610ad1a7989454fea921479fcd34e6da7d /kcron
parent1520d3a0913a80a9071c15c1a039e2b1c7dbb993 (diff)
downloadtdeadmin-cfe279f15a6ca1dad65d63f289a6a6a8a91bb024.tar.gz
tdeadmin-cfe279f15a6ca1dad65d63f289a6a6a8a91bb024.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 'kcron')
-rw-r--r--kcron/CMakeL10n.txt6
-rw-r--r--kcron/CMakeLists.txt4
-rw-r--r--kcron/kcron.desktop83
3 files changed, 7 insertions, 86 deletions
diff --git a/kcron/CMakeL10n.txt b/kcron/CMakeL10n.txt
index b1b6c06..a0d32d7 100644
--- a/kcron/CMakeL10n.txt
+++ b/kcron/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kcron" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kcron.desktop/"
+ SOURCES kcron.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kcron/CMakeLists.txt b/kcron/CMakeLists.txt
index 66cd953..22a1d04 100644
--- a/kcron/CMakeLists.txt
+++ b/kcron/CMakeLists.txt
@@ -37,6 +37,4 @@ install( FILES kcronui.rc
DESTINATION ${DATA_INSTALL_DIR}/kcron
)
-install( FILES kcron.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( kcron.desktop )
diff --git a/kcron/kcron.desktop b/kcron/kcron.desktop
index b61cdb3..ddb52e7 100644
--- a/kcron/kcron.desktop
+++ b/kcron/kcron.desktop
@@ -4,90 +4,7 @@ Exec=kcron %i %m -caption "%c"
Icon=kcron
X-DocPath=kcron/index.html
Name=KCron
-Name[af]= kcron
-Name[ar]=برنامج KCron
-Name[bn]=কে-ক্রন
-Name[eo]=Taskoplanilo
-Name[hi]=के-क्रॉन
-Name[mn]=КДЕ Крон
-Name[ne]=केडीई क्रोन
-Name[sv]=Kcron
-Name[ta]=கேக்ரொன்
-Name[tg]=Kрон
-Name[th]=ตารางงาน - K
GenericName=Task Scheduler
-GenericName[af]=Opdrag Skeduleerder
-GenericName[ar]=مجدول المهام
-GenericName[az]=Vəzifə Zamanlayıcısı
-GenericName[bg]=Диспечер на задачи
-GenericName[bn]=কর্ম সূচী নির্ধারনকারী
-GenericName[br]=Steuñvaer dleadoù
-GenericName[bs]=Zakazivanje zadataka
-GenericName[ca]=Planificador de tasques
-GenericName[cs]=Plánovač úloh
-GenericName[cy]=Trefnlennydd Tasgau
-GenericName[da]=Opgaveskemalægger
-GenericName[de]=Aufgabenplaner
-GenericName[el]=Προγραμματισμός εργασιών
-GenericName[eo]=Planas taskojn por lanĉo je certaj tempoj
-GenericName[es]=Planificador de tareas
-GenericName[et]=Crontabi haldamine
-GenericName[eu]=Lan kudeatzailea
-GenericName[fa]=زمان‌بند تکلیف
-GenericName[fi]=Tehtävien ajastus
-GenericName[fo]=Uppgávuplanleggjari
-GenericName[fr]=Planificateur de tâches
-GenericName[ga]=Sceidealóir na dTascanna
-GenericName[gl]=Programador de Tarefas
-GenericName[he]=מתזמן משימות
-GenericName[hi]=टास्क शेड्यूलर
-GenericName[hr]=Planer zadataka
-GenericName[hu]=Feladatütemező
-GenericName[is]=Verkefnastjóri
-GenericName[it]=Pianificatore di operazioni
-GenericName[ja]=タスクスケジューラ
-GenericName[ka]=ამოცანათა დამგეგმავი
-GenericName[kk]=Тапсырма жоспарлағыш
-GenericName[km]=កម្មវិធី​កំណត់​ពេល​ភារកិច្ច
-GenericName[ko]=작업 스케줄러
-GenericName[lt]=Užduočių planuotojas
-GenericName[lv]=Uzdevumu Plānotājs
-GenericName[mk]=Распоредувач на задачи
-GenericName[mn]=Ажлын Төлөвлөгч
-GenericName[ms]=Penjadual Tugas
-GenericName[mt]=Skeda ta' Xogħol
-GenericName[nb]=Oppgavebehandler
-GenericName[nds]=Opgavenpleger
-GenericName[ne]=कार्य अनुसूचक
-GenericName[nl]=Takenplanner
-GenericName[nn]=Oppgåveplanleggjar
-GenericName[pa]=ਕੰਮ ਨਿਯਮਕਾਰ
-GenericName[pl]=Harmonogram zadań
-GenericName[pt]=Escalonador de Tarefas
-GenericName[pt_BR]=Agendador de Tarefas
-GenericName[ro]=Planificator de procese
-GenericName[ru]=Планировщик задач
-GenericName[se]=Bargoplánejeaddji
-GenericName[sk]=Plánovač úloh
-GenericName[sl]=Razporejevalnik opravil
-GenericName[sr]=Организатор задатака
-GenericName[sr@Latn]=Organizator zadataka
-GenericName[sv]=Jobbschemaläggare
-GenericName[ta]=பணி அமைப்பான்
-GenericName[tg]=Нақшаи Масъала
-GenericName[th]=ตารางงาน
-GenericName[tr]=Görev Zamanlayıcı
-GenericName[uk]=Планувальник задач
-GenericName[uz]=Vazifani jadval boʻyicha bajargich
-GenericName[uz@cyrillic]=Вазифани жадвал бўйича бажаргич
-GenericName[ven]=Muvhekanyi wa Mushumo
-GenericName[vi]=Bộ lập lịch công việc
-GenericName[wa]=Tiestires C
-GenericName[xh]=Umcwangcisi Womsebenzi
-GenericName[zh_CN]=任务调度程序
-GenericName[zh_HK]=工作排程器
-GenericName[zh_TW]=工作排程器
-GenericName[zu]=Umgcini sikhathi Somsebenzi
Terminal=false
X-TDE-StartupNotify=true
X-DCOP-ServiceType=Multi