summaryrefslogtreecommitdiffstats
path: root/languages/lib/interfaces
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-29 22:43:34 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-08-01 17:56:29 +0900
commit96fa25303818e6107b72ba624659004751d45ad1 (patch)
tree89a7233f17e403e6b635d2ce7155d5f77a98d3d8 /languages/lib/interfaces
parent3248c8c2f99f71bb2ca5972828754fdabacd7c90 (diff)
downloadtdevelop-96fa25303818e6107b72ba624659004751d45ad1.tar.gz
tdevelop-96fa25303818e6107b72ba624659004751d45ad1.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 fe44776673b28ca94338f23d8e7ac71593fa88ba)
Diffstat (limited to 'languages/lib/interfaces')
-rw-r--r--languages/lib/interfaces/CMakeLists.txt6
-rw-r--r--languages/lib/interfaces/tdeveloppcsimporter.desktop34
2 files changed, 7 insertions, 33 deletions
diff --git a/languages/lib/interfaces/CMakeLists.txt b/languages/lib/interfaces/CMakeLists.txt
index 370eece3..9874e4eb 100644
--- a/languages/lib/interfaces/CMakeLists.txt
+++ b/languages/lib/interfaces/CMakeLists.txt
@@ -27,7 +27,11 @@ install( FILES kdevpcsimporter.h DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/lan
##### other data ################################
-install( FILES tdeveloppcsimporter.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdeveloppcsimporter.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
##### lang_interfaces (shared) ##################
diff --git a/languages/lib/interfaces/tdeveloppcsimporter.desktop b/languages/lib/interfaces/tdeveloppcsimporter.desktop
index f6c08885..8ca46a7a 100644
--- a/languages/lib/interfaces/tdeveloppcsimporter.desktop
+++ b/languages/lib/interfaces/tdeveloppcsimporter.desktop
@@ -1,39 +1,9 @@
[Desktop Entry]
+Name=TDevelop PCS Importer
+
Type=ServiceType
X-TDE-ServiceType=TDevelop/PCSImporter
X-TDE-Derived=TDevelop/Plugin
-Name=TDevelop PCS Importer
-Name[ca]=Importador PCS per a TDevelop
-Name[da]=TDevelop PCS importør
-Name[de]=PCS-Importierer (TDevelop)
-Name[el]=Εισαγωγέας PCS TDevelop
-Name[es]=Importación PCS de TDevelop
-Name[et]=TDevelopi PCS importija
-Name[eu]=TDevelop PCS inportatzailea
-Name[fa]=واردکنندۀ TDevelop PCS
-Name[fr]=Importation PCS pour TDevelop
-Name[ga]=Iompórtálaí PCS TDevelop
-Name[gl]=Importador PCS de TDevelop
-Name[hi]=के-डेवलप पीसीएस आयातक
-Name[hu]=TDevelop PCS-importáló
-Name[ja]=TDevelop PCS インポータ
-Name[nds]=PCS-Import (TDevelop)
-Name[ne]=केडीई विकास PCS आयातकर्ता
-Name[nl]=TDevelop PCS importeren
-Name[pl]=TDevelop: import PCS
-Name[pt]=Importador de PCS do TDevelop
-Name[pt_BR]=Importador PCS para o TDevelop
-Name[ru]=Загрузчик в хранилище классов
-Name[sk]=TDevelop PCS import
-Name[sl]=Uvažanje PCS za TDevelop
-Name[sr]=TDevelop-ов PCS увозник
-Name[sr@Latn]=TDevelop-ov PCS uvoznik
-Name[sv]=TDevelop PCS-import
-Name[ta]=TDevelop pcs ஏற்றுமதியாளர்
-Name[tg]=Пурборкунанда дар анбори синфӣ
-Name[tr]=TDevelop PCS Aktarıcısı
-Name[zh_CN]=TDevelop PCS导入器
-Name[zh_TW]=TDevelop PCS 匯入器
[PropertyDef::X-TDevelop-PCSImporter]
Type=TQString