summaryrefslogtreecommitdiffstats
path: root/wizards
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-12 16:15:10 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-12 16:15:10 +0200
commit0d3043b6308af148da06ac14c53defc4b1e7e138 (patch)
tree2e9364cb143e70ee062e443275b852b8e2061888 /wizards
parent7c7363c3ca7fb9633d93cefde3cd54b144eee633 (diff)
downloadtdepim-0d3043b6308af148da06ac14c53defc4b1e7e138.tar.gz
tdepim-0d3043b6308af148da06ac14c53defc4b1e7e138.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 'wizards')
-rw-r--r--wizards/CMakeL10n.txt6
-rw-r--r--wizards/CMakeLists.txt4
-rw-r--r--wizards/groupwarewizard.desktop45
3 files changed, 8 insertions, 47 deletions
diff --git a/wizards/CMakeL10n.txt b/wizards/CMakeL10n.txt
index 2649c220a..d694d2945 100644
--- a/wizards/CMakeL10n.txt
+++ b/wizards/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "tdepimwizards" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/groupwarewizard.desktop/"
+ SOURCES groupwarewizard.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/wizards/CMakeLists.txt b/wizards/CMakeLists.txt
index 5aef143b1..4b7dc3e92 100644
--- a/wizards/CMakeLists.txt
+++ b/wizards/CMakeLists.txt
@@ -50,9 +50,7 @@ link_directories(
##### other data ################################
-install( FILES
- groupwarewizard.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR} )
+tde_create_translated_desktop( groupwarewizard.desktop )
##### helper ####################################
diff --git a/wizards/groupwarewizard.desktop b/wizards/groupwarewizard.desktop
index b5c376449..1c9c1529e 100644
--- a/wizards/groupwarewizard.desktop
+++ b/wizards/groupwarewizard.desktop
@@ -1,49 +1,6 @@
[Desktop Entry]
Name=TDE Groupware Wizard
-Name[af]=TDE groupware assistent
-Name[ar]=مرشد TDE للبرمجيات الجماعية
-Name[bg]=Помощник за група
-Name[br]=Skoazeller strollant evit TDE
-Name[ca]=Assistent de Groupware TDE
-Name[cs]=Průvodce TDE groupwarem
-Name[da]=TDE Groupware-guide
-Name[de]=TDE Groupware-Assistent
-Name[el]=Μάγος Groupware του TDE
-Name[es]=Asistente de groupware de TDE
-Name[et]=TDE Groupware nõustaja
-Name[eu]=TDE groupware morroia
-Name[fa]=جادوگر TDE Groupware
-Name[fi]=TDE Groupwaren ohjattu toiminto
-Name[fr]=Assistant TDE de travail collaboratif
-Name[fy]=TDE Groupware-tsjoender
-Name[ga]=Treoraí Groupware TDE
-Name[gl]=Asistente de Traballo en Grupo de TDE
-Name[hu]=TDE csoportmunka-varázsló
-Name[is]=TDE hópvinnukerfisálfur
-Name[it]=Assistente configurazione di TDE Groupware
-Name[ja]=TDE グループウェアウィザード
-Name[kk]=TDE бірікен жұмыс шебері
-Name[km]=អ្នក​ជំនួយការ​កម្មវិធី​ពហុ​អ្នក​ប្រើ​របស់ TDE
-Name[ko]=TDE 그룹웨어 마법사
-Name[lt]=TDE Groupware vedlys
-Name[nb]=TDE gruppevareveiviser
-Name[nds]=Groupware-Hölper vun TDE
-Name[ne]=केडीई ग्रुपवेयर विजार्ड
-Name[nl]=TDE Groupware-wizard
-Name[nn]=TDE-vegvisar for gruppevare
-Name[pl]=Asystent TDE Groupware
-Name[pt]=Assistente Groupware do TDE
-Name[pt_BR]=Assistente Groupware do TDE
-Name[ru]=Мастер подключения к серверам совместной работы
-Name[sk]=Sprievodca TDE Groupware
-Name[sl]=Čarovnik za TDE Groupware
-Name[sr]=TDE Groupware чаробњак
-Name[sr@Latn]=TDE Groupware čarobnjak
-Name[sv]=TDE-grupprogramguide
-Name[tr]=Grup Çalışması (Groupware) Sihirbazı
-Name[uk]=Майстер групової роботи для TDE
-Name[zh_CN]=TDE 群件向导
-Name[zh_TW]=TDE 群組精靈
+
Exec=groupwarewizard
Type=Application
Icon=kontact