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-14 19:26:10 +0200
commit3e868d844c44aab62fd1324e52872afd1f706cd3 (patch)
treeb3c06badd9b8f004ae92024d53c8bf15b8849cf0 /wizards
parent9d2dbcebff2529124b4a522d3714b308548ee9ec (diff)
downloadtdepim-3e868d844c44aab62fd1324e52872afd1f706cd3.tar.gz
tdepim-3e868d844c44aab62fd1324e52872afd1f706cd3.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 0d3043b6308af148da06ac14c53defc4b1e7e138)
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