summaryrefslogtreecommitdiffstats
path: root/languages/cpp/pcsimporter/qtimporter
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-07-29 22:43:34 +0200
committerSlávek Banko <[email protected]>2020-07-30 16:00:07 +0200
commitfe44776673b28ca94338f23d8e7ac71593fa88ba (patch)
treeb900146c853acbd44900bfb77a35a1af3c77aa5d /languages/cpp/pcsimporter/qtimporter
parentc0b663c4c873df495743600b8f703744420eddfa (diff)
downloadtdevelop-fe44776673b28ca94338f23d8e7ac71593fa88ba.tar.gz
tdevelop-fe44776673b28ca94338f23d8e7ac71593fa88ba.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 <[email protected]>
Diffstat (limited to 'languages/cpp/pcsimporter/qtimporter')
-rw-r--r--languages/cpp/pcsimporter/qtimporter/CMakeLists.txt6
-rw-r--r--languages/cpp/pcsimporter/qtimporter/kdevqtimporter.desktop32
2 files changed, 8 insertions, 30 deletions
diff --git a/languages/cpp/pcsimporter/qtimporter/CMakeLists.txt b/languages/cpp/pcsimporter/qtimporter/CMakeLists.txt
index 64e95d39..614e45b4 100644
--- a/languages/cpp/pcsimporter/qtimporter/CMakeLists.txt
+++ b/languages/cpp/pcsimporter/qtimporter/CMakeLists.txt
@@ -24,7 +24,11 @@ link_directories(
##### other data ################################
-install( FILES kdevqtimporter.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdevqtimporter.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
##### libkdevqtimporter (module) ################
diff --git a/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.desktop b/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.desktop
index 1b29323c..672c6254 100644
--- a/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.desktop
+++ b/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.desktop
@@ -1,35 +1,9 @@
[Desktop Entry]
-Type=Service
Name=KDevQtImporter
-Name[da]=TDevelop Qt-importør
-Name[de]=Qt-PCS-Import (TDevelop)
-Name[hi]=के-डेव-क्यूटी-आयातक
-Name[nds]=Qt-PCS-Import (TDevelop)
-Name[pl]=KDevImportQt
-Name[sv]=TDevelop QT-import
-Name[ta]=கெடெவ் க்யு இறக்குமதியாளர்
-Name[zh_TW]=KDev Qt 匯入器
+
Comment=TDevelop Qt3 PCS Importer
-Comment[ca]=Importador PCS de Qt3 per a TDevelop
-Comment[da]=TDevelop Qt3 PCS importør
-Comment[de]=Qt3-Import für persistenten Klassenspeicher
-Comment[el]=Εισαγωγέας PCS TDevelop Qt3
-Comment[es]=Importador PCS de Qt3 de TDevelop
-Comment[et]=TDevelopi Qt3 PCS importija
-Comment[fr]=Importation PCS de Qt3 pour TDevelop
-Comment[hu]=TDevelop Qt3 PCS-importáló
-Comment[it]=Importatore PCS di Qt3 di TDevelop
-Comment[ja]=TDevelop Qt3 PCS インポータ
-Comment[nds]=Qt3-Import för duerhaftig Klassenspieker
-Comment[pl]=TDevelop: importowanie PCS Qt3
-Comment[pt]=Importador de PCS para Qt3 do TDevelop
-Comment[pt_BR]=Importador de PCS para Qt3 do TDevelop
-Comment[ru]=Импорт Qt 3 PCS в TDevelop
-Comment[sk]=TDevelop Qt3 PCS import
-Comment[sr]=TDevelop-ов Qt3 PCS увозник
-Comment[sr@Latn]=TDevelop-ov Qt3 PCS uvoznik
-Comment[sv]=TDevelop QT3 PCS-import
-Comment[zh_TW]=TDevelop Qt3 PCS 匯入器
+
+Type=Service
Icon=gear
X-TDE-ServiceTypes=TDevelop/PCSImporter
X-TDE-Library=libkdevqtimporter