From fe44776673b28ca94338f23d8e7ac71593fa88ba 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 --- .../cpp/pcsimporter/customimporter/CMakeLists.txt | 6 ++- .../customimporter/kdevpcscustomimporter.desktop | 40 ++------------------ .../cpp/pcsimporter/qt4importer/CMakeLists.txt | 6 ++- .../qt4importer/kdevqt4importer.desktop | 29 ++------------ .../cpp/pcsimporter/qtimporter/CMakeLists.txt | 6 ++- .../pcsimporter/qtimporter/kdevqtimporter.desktop | 32 ++-------------- .../cpp/pcsimporter/tdelibsimporter/CMakeLists.txt | 6 ++- .../tdelibsimporter/kdevtdelibsimporter.desktop | 44 ++-------------------- 8 files changed, 32 insertions(+), 137 deletions(-) (limited to 'languages/cpp/pcsimporter') diff --git a/languages/cpp/pcsimporter/customimporter/CMakeLists.txt b/languages/cpp/pcsimporter/customimporter/CMakeLists.txt index c2e07bdb..50f9c245 100644 --- a/languages/cpp/pcsimporter/customimporter/CMakeLists.txt +++ b/languages/cpp/pcsimporter/customimporter/CMakeLists.txt @@ -24,7 +24,11 @@ link_directories( ##### other data ################################ -install( FILES kdevpcscustomimporter.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE kdevpcscustomimporter.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### libkdevcustompcsimporter (module) ######### diff --git a/languages/cpp/pcsimporter/customimporter/kdevpcscustomimporter.desktop b/languages/cpp/pcsimporter/customimporter/kdevpcscustomimporter.desktop index 3c5bc68f..0d3a06e4 100644 --- a/languages/cpp/pcsimporter/customimporter/kdevpcscustomimporter.desktop +++ b/languages/cpp/pcsimporter/customimporter/kdevpcscustomimporter.desktop @@ -1,43 +1,9 @@ [Desktop Entry] -Type=Service Name=KDevPCSCustomImporter -Name[da]=TDevelop brugerdefineret PCS-importør -Name[nds]=EgenPCS-Import för TDevelop -Name[pl]=KDevWłasnyImportPCS -Name[sk]=KDev PCS vlastný import -Name[sv]=TDevelop egen import av PCS -Name[zh_TW]=TDevelop PCS 自訂匯入器 + Comment=TDevelop Custom Directory PCS Importer -Comment[ca]=Importador PCS de directori personalitzat per a TDevelop -Comment[da]=TDevelop brugerdefineret mappe-PCS-importør -Comment[de]=Import für persistenten Klassenspeicher aus benutzerdefinierten Ordnern -Comment[el]=Εισαγωγέας PCS προσαρμοσμένου καταλόγου του TDevelop -Comment[es]=Importador PCS de carpeta personalizada de TDevelop -Comment[et]=TDevelopi kohandatud kataloogi PCS importija -Comment[eu]=TDevelop-en direktorio pertsonalizatuko PCS inportatzailea -Comment[fa]=واردکنندۀ PCS فهرست سفارشی TDevelop -Comment[fr]=Importation PCS de dossiers personnalisés pour TDevelop -Comment[gl]=Importador PCS de directorios personalizados para TDevelop -Comment[hi]=के-डेवलप मनपसंद डिरेक्ट्री पीसीएस आयातक -Comment[hu]=TDevelop egyéni könyvtár PCS-importáló -Comment[it]=Cartella per l'importatore personalizzato PCS di TDevelop -Comment[ja]=TDevelop カスタムディレクトリ PCS インポータ -Comment[nds]=Import för duerhaftig Klassenspieker ut Bruker-Ornern -Comment[ne]=केडीई विकास अनुकूल डाइरेक्टरी PCS आयातकर्ता -Comment[nl]=TDevelop PCS Importer voor eigen mappen -Comment[pl]=Własny program do importowania PCS dla TDevelopa -Comment[pt]=Importador de PCS com Directoria Personalizada do TDevelop -Comment[pt_BR]=Importador de Diretório PCS Personalizado para o TDevelop -Comment[ru]=Загрузка символов из любого каталога в хранилище классов -Comment[sk]=TDevelop vlastný PCS import priečinkov -Comment[sr]=TDevelop-ов PCS увозник прилагођеног директоријума -Comment[sr@Latn]=TDevelop-ov PCS uvoznik prilagođenog direktorijuma -Comment[sv]=TDevelop PCS-import för egen katalog -Comment[ta]=கெடெவலப் கஸ்டம் டைரக்ட்ரி இறக்குமதியாளர் -Comment[tg]=Пурборкунии нишонаҳо аз анбори синфҳои каталог -Comment[tr]=TDevelop Özel Dizin PCS Aktarıcısı -Comment[zh_CN]=TDevelop 自定义目录的 PCS 导入器 -Comment[zh_TW]=TDevelop 自訂目錄 PCS 匯入器 + +Type=Service Icon=gear X-TDE-ServiceTypes=TDevelop/PCSImporter X-TDE-Library=libkdevcustompcsimporter 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 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 diff --git a/languages/cpp/pcsimporter/tdelibsimporter/CMakeLists.txt b/languages/cpp/pcsimporter/tdelibsimporter/CMakeLists.txt index d48bad5a..caf6d64a 100644 --- a/languages/cpp/pcsimporter/tdelibsimporter/CMakeLists.txt +++ b/languages/cpp/pcsimporter/tdelibsimporter/CMakeLists.txt @@ -24,7 +24,11 @@ link_directories( ##### other data ################################ -install( FILES kdevtdelibsimporter.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE kdevtdelibsimporter.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### libkdevtdelibsimporter (module) ########### diff --git a/languages/cpp/pcsimporter/tdelibsimporter/kdevtdelibsimporter.desktop b/languages/cpp/pcsimporter/tdelibsimporter/kdevtdelibsimporter.desktop index 9f671533..8bb7d017 100644 --- a/languages/cpp/pcsimporter/tdelibsimporter/kdevtdelibsimporter.desktop +++ b/languages/cpp/pcsimporter/tdelibsimporter/kdevtdelibsimporter.desktop @@ -1,47 +1,9 @@ [Desktop Entry] -Type=Service Name=KDevKDELibsImporter -Name[da]=TDevelop KDELibs-importør -Name[de]=KDELibs-PCS-Import (TDevelop) -Name[hi]=के-डेव-केडीई-लिब्स-इम्पोर्टर -Name[ja]=KDev KDE -Name[nds]=KDELibs-PCS-Import (TDevelop) -Name[pl]=KDevKDEImportBib -Name[sk]=KDev KDE import knižníc -Name[sv]=TDevelop KDE-biblioteksimport -Name[ta]=கெடெவ் கெடெலிப்ஸ் இறக்குமதியாளர் -Name[zh_TW]=TDevelop KDE 函式庫匯入器 + Comment=TDevelop KDELibs PCS Importer -Comment[ca]=Importador PCS de KDELibs per a TDevelop -Comment[da]=TDevelop KDELibs PCS importør -Comment[de]=KDELibs-Import für persistenten Klassenspeicher -Comment[el]=Εισαγωγέας PCS TDevelop KDELibs -Comment[es]=Importador PCS de KDELibs de TDevelop -Comment[et]=TDevelopi tdelibs PCS importija -Comment[eu]=TDevelop-en KDELibs PCS inportatzailea -Comment[fa]=واردکنندۀ TDevelop KDELibs PCS -Comment[fr]=Importation PCS de KDELibs pour TDevelop -Comment[gl]=Importador PCS de KDELibs para TDevelop -Comment[hi]=के-डेवलप केडीई-लिब्स पीसीएस आयातक -Comment[hu]=TDevelop KDELibs PCS-importáló -Comment[it]=Importatore per KDELibs PCS di TDevelop -Comment[ja]=TDevelop KDELibs PCS インポータ -Comment[nds]=KDELibs-Import för duerhaftig Klassenspieker -Comment[ne]=TDevelop KDELibs PCS आयातकर्ता -Comment[nl]=TDevelop PCS Importer voor KDELibs -Comment[pl]=TDevelop: importowanie PCS (KDELibs) -Comment[pt]=Importador de PCS das KDELibs do TDevelop -Comment[pt_BR]=Importador PCS do KDELibs para o TDevelop -Comment[ru]=Загрузка символов из библиотеки KDELibs в хранилище классов -Comment[sk]=TDevelop PCS import KDE knižníc -Comment[sr]=TDevelop-ов KDELibs PCS увозник -Comment[sr@Latn]=TDevelop-ov KDELibs PCS uvoznik -Comment[sv]=TDevelop KDE-bibliotek PCS-import -Comment[ta]=கெடெவலப் கெடெலிப்ஸ் பிசிஸ் இறக்குமதியாளர் -Comment[tg]=Пурборкунии нишонаҳо аз китобхонаи KDELibs дар синфҳои анборӣ -Comment[tr]=TDevelop KDELibs PCS Aktarıcısı -Comment[zh_CN]=TDevelop KDELibs PCS 导入器 -Comment[zh_TW]=TDevelop KDE 函式庫匯入器 + +Type=Service Icon=gear X-TDE-ServiceTypes=TDevelop/PCSImporter X-TDE-Library=libkdevtdelibsimporter -- cgit v1.2.1