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 --- lib/interfaces/extras/CMakeLists.txt | 8 +++-- .../extras/tdevelopcompileroptions.desktop | 35 +--------------------- .../extras/tdevelopvcsintegrator.desktop | 29 +----------------- 3 files changed, 7 insertions(+), 65 deletions(-) (limited to 'lib/interfaces/extras') diff --git a/lib/interfaces/extras/CMakeLists.txt b/lib/interfaces/extras/CMakeLists.txt index eb4cdb75..5ae51881 100644 --- a/lib/interfaces/extras/CMakeLists.txt +++ b/lib/interfaces/extras/CMakeLists.txt @@ -25,9 +25,11 @@ install( FILES kdevcompileroptions.h kdevvcsintegrator.h DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/interfaces/extras ) -install( FILES - tdevelopcompileroptions.desktop tdevelopvcsintegrator.desktop - DESTINATION ${SERVICETYPES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE tdevelopcompileroptions.desktop tdevelopvcsintegrator.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### kdevextras (shared) ####################### diff --git a/lib/interfaces/extras/tdevelopcompileroptions.desktop b/lib/interfaces/extras/tdevelopcompileroptions.desktop index 2aaefcff..8ba727a3 100644 --- a/lib/interfaces/extras/tdevelopcompileroptions.desktop +++ b/lib/interfaces/extras/tdevelopcompileroptions.desktop @@ -1,40 +1,8 @@ [Desktop Entry] +Name=TDevelop Compiler Options Dialog Interface Type=ServiceType X-TDE-ServiceType=TDevelop/CompilerOptions X-TDE-Derived=TDevelop/Plugin -Name=TDevelop Compiler Options Dialog Interface -Name[ca]=Interfície del diàleg d'opcions del compilador per a TDevelop -Name[da]=TDevelop grænseflade til oversætterindstillinger -Name[de]=Schnittstelle für Compiler-Einstellungsdialoge (TDevelop) -Name[el]=Διασύνδεση διαλόγου επιλογών μεταγλωττιστή TDevelop -Name[en_GB]=TDevelop Compiler Options Dialogue Interface -Name[es]=Interfaz del diálogo de opciones del compilador de TDevelop -Name[et]=TDevelopi kompilaatori valikute dialoogiliides -Name[eu]=TDevelop-en konpiladore aukeren elkarrizketa-koadro interfazea -Name[fa]=واسط محاورۀ گزینه‌های مترجم TDevelop -Name[fr]=Interface de la boîte de dialogue des options du compilateur de TDevelop -Name[gl]=Interface do diálogo de opcións de compilación de TDevelop -Name[hi]=के-डेवलप कम्पायलर विकल्प संवाद इंटरफ़ेस -Name[hu]=A TDevelop fordítási opcióinak párbeszédablaka -Name[it]=Interfaccia TDevelop per le opzioni di compilazione -Name[ja]=TDevelop コンパイラオプションダイアログ インターフェース -Name[nds]=TDevelop-Dialoogkoppelsteed för Kompilerer-Optschonen -Name[ne]=केडीई विकास कम्पाइलर विकल्प संवाद इन्टरफेस -Name[nl]=TDevelop Compileroptiesdialoog-interface -Name[pl]=Interfejs TDevelopa do okna dialogowego opcji kompilatora -Name[pt]=Interface da Janela de Opções do Compilador do TDevelop -Name[pt_BR]=Interface de Diálogo de Opções do Compilador do TDevelop -Name[ru]=Интерфейс диалога опций компилятора -Name[sk]=TDevelop rozhranie pre možnosti kompilátora -Name[sl]=Vmesnik za možnosti prevajanja v TDevelopu -Name[sr]=TDevelop-ов интерфејс дијалога „Опције преводиоца“ -Name[sr@Latn]=TDevelop-ov interfejs dijaloga „Opcije prevodioca“ -Name[sv]=TDevelop dialoggränssnitt för kompilatoralternativ -Name[ta]=கெடெவலப் தொகுப்பித் தேர்வுகள் உரை இடைமுகம் -Name[tg]=Гуфтугуи интерфейси талфифгари интихоб -Name[tr]=TDevelop Derleyici Seçenekleri Pencere Arayüzü -Name[zh_CN]=TDevelop编译器选项对话框接口 -Name[zh_TW]=TDevelop 編譯器選項對話框介面 [PropertyDef::X-TDevelop-Language] Type=TQString @@ -45,4 +13,3 @@ Type=bool # versioning - prevent DLL hell [PropertyDef::X-TDevelop-Version] Type=int - diff --git a/lib/interfaces/extras/tdevelopvcsintegrator.desktop b/lib/interfaces/extras/tdevelopvcsintegrator.desktop index 00eb1c0f..f0851105 100644 --- a/lib/interfaces/extras/tdevelopvcsintegrator.desktop +++ b/lib/interfaces/extras/tdevelopvcsintegrator.desktop @@ -1,34 +1,8 @@ [Desktop Entry] +Name=TDevelop VCS Integrator Type=ServiceType X-TDE-ServiceType=TDevelop/VCSIntegrator X-TDE-Derived=TDevelop/Plugin -Name=TDevelop VCS Integrator -Name[ca]=Integrador VCS per a TDevelop -Name[da]=TDevelop VCS-importør -Name[de]=VCS-Integration für TDevelop -Name[el]=Ενσωματωτής VCS του TDevelop -Name[es]=Integrador VCS de TDevelop -Name[et]=TDevelopi VCS põimija -Name[eu]=TDevelop-en VCS integratzailea -Name[fa]=مجتمع‌ساز TDevelop VCS -Name[fr]=Intégrateur VCS de TDevelop -Name[gl]=Integrador de VCS de TDevelop -Name[hu]=TDevelop VCS-integráló -Name[it]=Integratore VCS di TDevelop -Name[ja]=TDevelop VCS インテグレータ -Name[nds]=VKS-Integreren för TDevelop -Name[ne]=TDevelop VCS इन्टिगेटर -Name[pl]=TDevelop: integracja z VCS -Name[pt]=Importador de VCS do TDevelop -Name[pt_BR]=Integrador VCS para o TDevelop -Name[ru]=Модуль работы с системами контроля версий для TDevelop -Name[sk]=Kdevelop VCS integrácia -Name[sr]=TDevelop-ов VCS интегратор -Name[sr@Latn]=TDevelop-ov VCS integrator -Name[sv]=TDevelop VCS-import -Name[tr]=TDevelop VCS Bütünleyicisi -Name[zh_CN]=TDevelop VCS 集成器 -Name[zh_TW]=TDevelop VCS 整合器 [PropertyDef::X-TDevelop-VCS] Type=TQString @@ -42,4 +16,3 @@ Type=bool # versioning - prevent DLL hell [PropertyDef::X-TDevelop-Version] Type=int - -- cgit v1.2.1