diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-29 22:43:34 +0200 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-08-01 17:56:29 +0900 |
commit | 96fa25303818e6107b72ba624659004751d45ad1 (patch) | |
tree | 89a7233f17e403e6b635d2ce7155d5f77a98d3d8 /languages/cpp/pcsimporter/qtimporter | |
parent | 3248c8c2f99f71bb2ca5972828754fdabacd7c90 (diff) | |
download | tdevelop-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/cpp/pcsimporter/qtimporter')
-rw-r--r-- | languages/cpp/pcsimporter/qtimporter/CMakeLists.txt | 6 | ||||
-rw-r--r-- | languages/cpp/pcsimporter/qtimporter/kdevqtimporter.desktop | 32 |
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 |