From 96fa25303818e6107b72ba624659004751d45ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 29 Jul 2020 22:43:34 +0200 Subject: Desktop file translations: + Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit fe44776673b28ca94338f23d8e7ac71593fa88ba) --- .../cpp/pcsimporter/qt4importer/CMakeLists.txt | 6 ++++- .../qt4importer/kdevqt4importer.desktop | 29 +++------------------- 2 files changed, 8 insertions(+), 27 deletions(-) (limited to 'languages/cpp/pcsimporter/qt4importer') diff --git a/languages/cpp/pcsimporter/qt4importer/CMakeLists.txt b/languages/cpp/pcsimporter/qt4importer/CMakeLists.txt index 8e29fdec..509a4f16 100644 --- a/languages/cpp/pcsimporter/qt4importer/CMakeLists.txt +++ b/languages/cpp/pcsimporter/qt4importer/CMakeLists.txt @@ -24,7 +24,11 @@ link_directories( ##### other data ################################ -install( FILES kdevqt4importer.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE kdevqt4importer.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### libkdevqt4importer (module) ############### diff --git a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.desktop b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.desktop index 6752adb7..cd7697ee 100644 --- a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.desktop +++ b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.desktop @@ -1,32 +1,9 @@ [Desktop Entry] -Type=Service Name=KDevQt4Importer -Name[de]=Qt4-PCS-Import (TDevelop) -Name[fr]=KDevQtImporter -Name[nds]=Qt4-PCS-Import (TDevelop) -Name[ru]=KDevQt 4Importer -Name[sv]=TDevelop QT4-import + Comment=TDevelop Qt4 PCS Importer -Comment[ca]=Importador PCS de Qt4 per a TDevelop -Comment[da]=TDevelop Qt4 PCS importør -Comment[de]=Qt4-Import für persistenten Klassenspeicher -Comment[el]=Εισαγωγέας PCS TDevelop Qt4 -Comment[es]=Importador PCS de Qt4 de TDevelop -Comment[et]=TDevelopi Qt4 PCS importija -Comment[fr]=Importation PCS de Qt4 pour TDevelop -Comment[hu]=TDevelop Qt4 PCS-importáló -Comment[it]=Importatore PCS di Qt4 di TDevelop -Comment[ja]=TDevelop Qt4 PCS インポータ -Comment[nds]=Qt4-Import för duerhaftig Klassenspieker -Comment[pl]=TDevelop: importowanie PCS Qt4 -Comment[pt]=Importador de PCS para Qt4 do TDevelop -Comment[pt_BR]=Importador de PCS para Qt4 do TDevelop -Comment[ru]=Импорт Qt 4 PCS в TDevelop -Comment[sk]=TDevelop Qt4 PCS import -Comment[sr]=TDevelop-ов Qt4 PCS увозник -Comment[sr@Latn]=TDevelop-ov Qt4 PCS uvoznik -Comment[sv]=TDevelop QT4 PCS-import -Comment[zh_TW]=TDevelop Qt4 PCS 匯入器 + +Type=Service Icon=gear X-TDE-ServiceTypes=TDevelop/PCSImporter X-TDE-Library=libkdevqt4importer -- cgit v1.2.1