From 2f706891f32258c2b070471905f983e4585296d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 26 Jun 2020 11:36:35 +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 --- ksplashml/themeengine/CMakeLists.txt | 6 +- ksplashml/themeengine/default/CMakeLists.txt | 6 +- .../themeengine/default/ksplashdefault.desktop | 90 +--------------------- ksplashml/themeengine/redmond/CMakeLists.txt | 6 +- .../themeengine/redmond/ksplashredmond.desktop | 89 +-------------------- ksplashml/themeengine/standard/CMakeLists.txt | 6 +- .../themeengine/standard/ksplashstandard.desktop | 90 +--------------------- ksplashml/themeengine/unified/CMakeLists.txt | 6 +- .../themeengine/unified/ksplashunified.desktop | 71 +---------------- 9 files changed, 29 insertions(+), 341 deletions(-) (limited to 'ksplashml/themeengine') diff --git a/ksplashml/themeengine/CMakeLists.txt b/ksplashml/themeengine/CMakeLists.txt index f5437b9bb..c8885b9ff 100644 --- a/ksplashml/themeengine/CMakeLists.txt +++ b/ksplashml/themeengine/CMakeLists.txt @@ -30,7 +30,11 @@ link_directories( ##### other data ################################ install( FILES themeengine.h objkstheme.h DESTINATION ${INCLUDE_INSTALL_DIR}/ksplash ) -install( FILES ksplashplugins.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE ksplashplugins.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR ksplash-desktops +) ##### ksplashthemes (shared) #################### diff --git a/ksplashml/themeengine/default/CMakeLists.txt b/ksplashml/themeengine/default/CMakeLists.txt index ba3866e35..4501fa2a0 100644 --- a/ksplashml/themeengine/default/CMakeLists.txt +++ b/ksplashml/themeengine/default/CMakeLists.txt @@ -25,7 +25,11 @@ link_directories( ##### other data ################################ -install( FILES ksplashdefault.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE ksplashdefault.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ksplash-desktops +) ##### ksplashdefault (module) ################### diff --git a/ksplashml/themeengine/default/ksplashdefault.desktop b/ksplashml/themeengine/default/ksplashdefault.desktop index 079f29e92..d312d6a2f 100644 --- a/ksplashml/themeengine/default/ksplashdefault.desktop +++ b/ksplashml/themeengine/default/ksplashdefault.desktop @@ -1,95 +1,7 @@ [Desktop Entry] Type=Service -Comment=KSplash Plugin -Comment[af]=KSplash Inprop module -Comment[ar]=ملحق للشاشة الافتتاحية -Comment[az]=KSplash Əlavəsi -Comment[be]=Утулка KSplash -Comment[bg]=Приставка KSplash -Comment[bn]=কে-স্প্ল্যাশ প্লাগ-ইন -Comment[br]=Lugent KSplash -Comment[bs]=KSplash dodatak -Comment[ca]=Connector per a KSplash -Comment[cs]=Modul aplikaci KSplash -Comment[csb]=Plugins KSplash -Comment[cy]=Ategyn KCroeso -Comment[da]=KSplash-plugin -Comment[de]=KSplash-Plugin -Comment[el]=Πρόσθετο KSplash -Comment[eo]=Ksalutŝilda kromaĵo -Comment[es]=Complemento KSplash -Comment[et]=KSplashi plugin -Comment[eu]=KSplash plugina -Comment[fa]=وصلۀ KSplash -Comment[fi]=KSplash-liitännäinen -Comment[fr]=Modules de KSplash -Comment[fy]=KSplash-plugin -Comment[ga]=Breiseán KSplash -Comment[gl]=Plugin de KSplash -Comment[he]=תוסף KSplash -Comment[hi]=के-स्प्लैश प्लगइन -Comment[hr]=KSplash dodatak -Comment[hu]=KSplash bővítőmodul -Comment[is]=KSplash íforrit -Comment[it]=Plugin KSplash -Comment[ja]=KSplash プラグイン -Comment[ka]=KSplash პლაგინი -Comment[kk]=KSplash модулі -Comment[km]=កម្មវិធី​ជំនួយ​ខាង​ក្នុង​របស់ KSplash -Comment[lt]=KSplash įskiepis -Comment[lv]=KSplash spraudnis -Comment[mk]=Приклучок за KSplash -Comment[ms]=Plugin KSplash -Comment[mt]=Plugin ta' KSplash -Comment[nb]=Programtillegg Ksplash -Comment[ne]=के स्प्लयास प्लगइन -Comment[nl]=KSplash-plugin -Comment[nn]=KSplash-programtillegg -Comment[pa]=ਕੇ-ਸਪਲੇਸ ਪਲੱਗਇਨ -Comment[pl]=Wtyczka KSplash -Comment[pt]='Plugin' do KSplash -Comment[pt_BR]=Plug-in do KSplash -Comment[ro]=Modul KSplash -Comment[ru]=Модуль KSplash -Comment[rw]=Icomeka rya K-Gukwiza -Comment[se]=KSplash-lassemoduvla -Comment[sk]=Modul KSplash -Comment[sl]=Vstavek KSplash -Comment[sr]=KSplash прикључак -Comment[sr@Latn]=KSplash priključak -Comment[sv]=Insticksprogram för startskärm -Comment[ta]=Kஸ்ப்ளாஷ் செருகு பொருள் -Comment[tg]=Мутассалкунандаи KSplash -Comment[th]=ปลั๊กอิน KSplash -Comment[tr]=KSplash Eklentisi -Comment[tt]=KSplash atlı Östämä -Comment[uk]=Втулок KSplash -Comment[uz]=KSplash plagini -Comment[uz@cyrillic]=KSplash плагини -Comment[vi]=Trình bổ sung Chào mừng TDE -Comment[wa]=Tchôke-divins KSplash (waitroûle d' enondaedje) -Comment[zh_CN]=KSplash 插件 -Comment[zh_TW]=KSplash 外掛程式 Name=KSplashLegacy -Name[af]=KSplash Verouders -Name[be]=Старая тэма -Name[ca]=KSplash heretat -Name[cs]=Staré -Name[cy]=KCroesoEtifeddiaeth -Name[de]=KSplash mit älterem Programm -Name[eo]=Ksalutŝildotestamento -Name[et]=KSplahs Legacy -Name[hi]=के-स्प्लैश-लीजेसी -Name[it]=KSplashVecchio -Name[ne]=के स्प्लयास अवस्था -Name[pa]=ਕੇਸਪਲੇਸਲੀਜੈਂਸੀ -Name[pt_BR]=Herança do KSplash -Name[rw]=K-GukwizaUmurage -Name[sv]=Klassisk startskärm -Name[ta]=Kஸ்ப்ளாஷ் Legacy -Name[tg]=МеросиKSplash -Name[vi]=Chào mừng TDE Gia tài -Name[wa]=KSplashTayons +Comment=KSplash Plugin X-TDE-ServiceTypes=KSplash/Plugin X-TDE-Library=ksplashdefault X-KSplash-Default=true diff --git a/ksplashml/themeengine/redmond/CMakeLists.txt b/ksplashml/themeengine/redmond/CMakeLists.txt index a6e0b0229..52bc35732 100644 --- a/ksplashml/themeengine/redmond/CMakeLists.txt +++ b/ksplashml/themeengine/redmond/CMakeLists.txt @@ -26,7 +26,11 @@ link_directories( ##### other data ################################ install( FILES Theme.rc DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Redmond ) -install( FILES ksplashredmond.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE ksplashredmond.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ksplash-desktops +) ##### ksplashredmond (module) ################### diff --git a/ksplashml/themeengine/redmond/ksplashredmond.desktop b/ksplashml/themeengine/redmond/ksplashredmond.desktop index 12b2dbd7a..4b9434f47 100644 --- a/ksplashml/themeengine/redmond/ksplashredmond.desktop +++ b/ksplashml/themeengine/redmond/ksplashredmond.desktop @@ -1,94 +1,7 @@ [Desktop Entry] Type=Service -Comment=KSplash Plugin -Comment[af]=KSplash Inprop module -Comment[ar]=ملحق للشاشة الافتتاحية -Comment[az]=KSplash Əlavəsi -Comment[be]=Утулка KSplash -Comment[bg]=Приставка KSplash -Comment[bn]=কে-স্প্ল্যাশ প্লাগ-ইন -Comment[br]=Lugent KSplash -Comment[bs]=KSplash dodatak -Comment[ca]=Connector per a KSplash -Comment[cs]=Modul aplikaci KSplash -Comment[csb]=Plugins KSplash -Comment[cy]=Ategyn KCroeso -Comment[da]=KSplash-plugin -Comment[de]=KSplash-Plugin -Comment[el]=Πρόσθετο KSplash -Comment[eo]=Ksalutŝilda kromaĵo -Comment[es]=Complemento KSplash -Comment[et]=KSplashi plugin -Comment[eu]=KSplash plugina -Comment[fa]=وصلۀ KSplash -Comment[fi]=KSplash-liitännäinen -Comment[fr]=Modules de KSplash -Comment[fy]=KSplash-plugin -Comment[ga]=Breiseán KSplash -Comment[gl]=Plugin de KSplash -Comment[he]=תוסף KSplash -Comment[hi]=के-स्प्लैश प्लगइन -Comment[hr]=KSplash dodatak -Comment[hu]=KSplash bővítőmodul -Comment[is]=KSplash íforrit -Comment[it]=Plugin KSplash -Comment[ja]=KSplash プラグイン -Comment[ka]=KSplash პლაგინი -Comment[kk]=KSplash модулі -Comment[km]=កម្មវិធី​ជំនួយ​ខាង​ក្នុង​របស់ KSplash -Comment[lt]=KSplash įskiepis -Comment[lv]=KSplash spraudnis -Comment[mk]=Приклучок за KSplash -Comment[ms]=Plugin KSplash -Comment[mt]=Plugin ta' KSplash -Comment[nb]=Programtillegg Ksplash -Comment[ne]=के स्प्लयास प्लगइन -Comment[nl]=KSplash-plugin -Comment[nn]=KSplash-programtillegg -Comment[pa]=ਕੇ-ਸਪਲੇਸ ਪਲੱਗਇਨ -Comment[pl]=Wtyczka KSplash -Comment[pt]='Plugin' do KSplash -Comment[pt_BR]=Plug-in do KSplash -Comment[ro]=Modul KSplash -Comment[ru]=Модуль KSplash -Comment[rw]=Icomeka rya K-Gukwiza -Comment[se]=KSplash-lassemoduvla -Comment[sk]=Modul KSplash -Comment[sl]=Vstavek KSplash -Comment[sr]=KSplash прикључак -Comment[sr@Latn]=KSplash priključak -Comment[sv]=Insticksprogram för startskärm -Comment[ta]=Kஸ்ப்ளாஷ் செருகு பொருள் -Comment[tg]=Мутассалкунандаи KSplash -Comment[th]=ปลั๊กอิน KSplash -Comment[tr]=KSplash Eklentisi -Comment[tt]=KSplash atlı Östämä -Comment[uk]=Втулок KSplash -Comment[uz]=KSplash plagini -Comment[uz@cyrillic]=KSplash плагини -Comment[vi]=Trình bổ sung Chào mừng TDE -Comment[wa]=Tchôke-divins KSplash (waitroûle d' enondaedje) -Comment[zh_CN]=KSplash 插件 -Comment[zh_TW]=KSplash 外掛程式 Name=KSplashRedmond -Name[af]=KSplash Redmond -Name[be]=Тэма Redmond -Name[ca]=KSplash de Redmond -Name[cs]=Redmond -Name[cy]=KCroesoRedmond -Name[de]=KSplash Redmond -Name[eo]=Redmondo -Name[et]=KSplash Redmond -Name[hi]=के-स्प्लैश-रेडमण्ड -Name[ne]=के स्प्लयास रेडमोन्ड -Name[pa]=ਕੇਸਪਲੇਸਰੀਮੋਂਡ -Name[pt_BR]=Tela de Apresentação de Redmond -Name[sv]=Redmond startskärm -Name[ta]=Kஸ்ப்ளாஷ்ரெட்மான் -Name[tg]=РайдмондиKSplash -Name[th]=KSplash แบบเรดมอนด์ -Name[vi]=Chào mừng TDE Redmond -Name[zh_TW]=KSplachRedmond +Comment=KSplash Plugin X-TDE-ServiceTypes=KSplash/Plugin X-TDE-Library=ksplashredmond X-KSplash-Default=true diff --git a/ksplashml/themeengine/standard/CMakeLists.txt b/ksplashml/themeengine/standard/CMakeLists.txt index ca85efe96..8aca3a57e 100644 --- a/ksplashml/themeengine/standard/CMakeLists.txt +++ b/ksplashml/themeengine/standard/CMakeLists.txt @@ -27,7 +27,11 @@ link_directories( ##### other data ################################ install( FILES Theme.rc DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Standard ) -install( FILES ksplashstandard.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE ksplashstandard.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ksplash-desktops +) ##### ksplashstandard (module) ################## diff --git a/ksplashml/themeengine/standard/ksplashstandard.desktop b/ksplashml/themeengine/standard/ksplashstandard.desktop index 78b9c559b..46594a132 100644 --- a/ksplashml/themeengine/standard/ksplashstandard.desktop +++ b/ksplashml/themeengine/standard/ksplashstandard.desktop @@ -1,95 +1,7 @@ [Desktop Entry] Type=Service -Comment=KSplash Plugin -Comment[af]=KSplash Inprop module -Comment[ar]=ملحق للشاشة الافتتاحية -Comment[az]=KSplash Əlavəsi -Comment[be]=Утулка KSplash -Comment[bg]=Приставка KSplash -Comment[bn]=কে-স্প্ল্যাশ প্লাগ-ইন -Comment[br]=Lugent KSplash -Comment[bs]=KSplash dodatak -Comment[ca]=Connector per a KSplash -Comment[cs]=Modul aplikaci KSplash -Comment[csb]=Plugins KSplash -Comment[cy]=Ategyn KCroeso -Comment[da]=KSplash-plugin -Comment[de]=KSplash-Plugin -Comment[el]=Πρόσθετο KSplash -Comment[eo]=Ksalutŝilda kromaĵo -Comment[es]=Complemento KSplash -Comment[et]=KSplashi plugin -Comment[eu]=KSplash plugina -Comment[fa]=وصلۀ KSplash -Comment[fi]=KSplash-liitännäinen -Comment[fr]=Modules de KSplash -Comment[fy]=KSplash-plugin -Comment[ga]=Breiseán KSplash -Comment[gl]=Plugin de KSplash -Comment[he]=תוסף KSplash -Comment[hi]=के-स्प्लैश प्लगइन -Comment[hr]=KSplash dodatak -Comment[hu]=KSplash bővítőmodul -Comment[is]=KSplash íforrit -Comment[it]=Plugin KSplash -Comment[ja]=KSplash プラグイン -Comment[ka]=KSplash პლაგინი -Comment[kk]=KSplash модулі -Comment[km]=កម្មវិធី​ជំនួយ​ខាង​ក្នុង​របស់ KSplash -Comment[lt]=KSplash įskiepis -Comment[lv]=KSplash spraudnis -Comment[mk]=Приклучок за KSplash -Comment[ms]=Plugin KSplash -Comment[mt]=Plugin ta' KSplash -Comment[nb]=Programtillegg Ksplash -Comment[ne]=के स्प्लयास प्लगइन -Comment[nl]=KSplash-plugin -Comment[nn]=KSplash-programtillegg -Comment[pa]=ਕੇ-ਸਪਲੇਸ ਪਲੱਗਇਨ -Comment[pl]=Wtyczka KSplash -Comment[pt]='Plugin' do KSplash -Comment[pt_BR]=Plug-in do KSplash -Comment[ro]=Modul KSplash -Comment[ru]=Модуль KSplash -Comment[rw]=Icomeka rya K-Gukwiza -Comment[se]=KSplash-lassemoduvla -Comment[sk]=Modul KSplash -Comment[sl]=Vstavek KSplash -Comment[sr]=KSplash прикључак -Comment[sr@Latn]=KSplash priključak -Comment[sv]=Insticksprogram för startskärm -Comment[ta]=Kஸ்ப்ளாஷ் செருகு பொருள் -Comment[tg]=Мутассалкунандаи KSplash -Comment[th]=ปลั๊กอิน KSplash -Comment[tr]=KSplash Eklentisi -Comment[tt]=KSplash atlı Östämä -Comment[uk]=Втулок KSplash -Comment[uz]=KSplash plagini -Comment[uz@cyrillic]=KSplash плагини -Comment[vi]=Trình bổ sung Chào mừng TDE -Comment[wa]=Tchôke-divins KSplash (waitroûle d' enondaedje) -Comment[zh_CN]=KSplash 插件 -Comment[zh_TW]=KSplash 外掛程式 Name=KSplashStandard -Name[af]=KSplash Standaard -Name[be]=Стандартная тэма -Name[ca]=KSplash estàndard -Name[cs]=Standardní -Name[cy]=KCroesoSafonol -Name[de]=KSplash Standard -Name[eo]=Normala -Name[et]=KSplash Standard -Name[hi]=के-स्प्लैश-स्टैण्डर्ड -Name[ne]=के स्प्लयास मानक -Name[pa]=ਕੇਸਪਲੇਸ ਸਟੈਂਡਰਡ -Name[pt_BR]=Tela de Apresentação Padrão -Name[rw]=K-GukwizaBisanzwe -Name[sv]=Vanlig startskärm -Name[ta]=Kஸ்ப்ளாஷ்நிலையான -Name[tg]=СтандартиKSplash -Name[th]=KSplash แบบมาตรฐาน -Name[vi]=Chào mừng TDE Tiêu chuẩn -Name[wa]=KSplashStandård +Comment=KSplash Plugin X-TDE-ServiceTypes=KSplash/Plugin X-TDE-Library=ksplashstandard X-KSplash-Default=true diff --git a/ksplashml/themeengine/unified/CMakeLists.txt b/ksplashml/themeengine/unified/CMakeLists.txt index 5200fb060..24cb1af1b 100644 --- a/ksplashml/themeengine/unified/CMakeLists.txt +++ b/ksplashml/themeengine/unified/CMakeLists.txt @@ -25,7 +25,11 @@ link_directories( ##### other data ################################ -install( FILES ksplashunified.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE ksplashunified.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ksplash-desktops +) ##### ksplashunified (module) ################### diff --git a/ksplashml/themeengine/unified/ksplashunified.desktop b/ksplashml/themeengine/unified/ksplashunified.desktop index 6b263eef2..e0aa854aa 100644 --- a/ksplashml/themeengine/unified/ksplashunified.desktop +++ b/ksplashml/themeengine/unified/ksplashunified.desktop @@ -1,76 +1,7 @@ [Desktop Entry] Type=Service -Comment=KSplash Plugin -Comment[af]=KSplash Inprop module -Comment[ar]=ملحق للشاشة الافتتاحية -Comment[az]=KSplash Əlavəsi -Comment[be]=Утулка KSplash -Comment[bg]=Приставка KSplash -Comment[bn]=কে-স্প্ল্যাশ প্লাগ-ইন -Comment[br]=Lugent KSplash -Comment[bs]=KSplash dodatak -Comment[ca]=Connector per a KSplash -Comment[cs]=Modul aplikaci KSplash -Comment[csb]=Plugins KSplash -Comment[cy]=Ategyn KCroeso -Comment[da]=KSplash-plugin -Comment[de]=KSplash-Plugin -Comment[el]=Πρόσθετο KSplash -Comment[eo]=Ksalutŝilda kromaĵo -Comment[es]=Complemento KSplash -Comment[et]=KSplashi plugin -Comment[eu]=KSplash plugina -Comment[fa]=وصلۀ KSplash -Comment[fi]=KSplash-liitännäinen -Comment[fr]=Modules de KSplash -Comment[fy]=KSplash-plugin -Comment[ga]=Breiseán KSplash -Comment[gl]=Plugin de KSplash -Comment[he]=תוסף KSplash -Comment[hi]=के-स्प्लैश प्लगइन -Comment[hr]=KSplash dodatak -Comment[hu]=KSplash bővítőmodul -Comment[is]=KSplash íforrit -Comment[it]=Plugin KSplash -Comment[ja]=KSplash プラグイン -Comment[ka]=KSplash პლაგინი -Comment[kk]=KSplash модулі -Comment[km]=កម្មវិធី​ជំនួយ​ខាង​ក្នុង​របស់ KSplash -Comment[lt]=KSplash įskiepis -Comment[lv]=KSplash spraudnis -Comment[mk]=Приклучок за KSplash -Comment[ms]=Plugin KSplash -Comment[mt]=Plugin ta' KSplash -Comment[nb]=Programtillegg Ksplash -Comment[ne]=के स्प्लयास प्लगइन -Comment[nl]=KSplash-plugin -Comment[nn]=KSplash-programtillegg -Comment[pa]=ਕੇ-ਸਪਲੇਸ ਪਲੱਗਇਨ -Comment[pl]=Wtyczka KSplash -Comment[pt]='Plugin' do KSplash -Comment[pt_BR]=Plug-in do KSplash -Comment[ro]=Modul KSplash -Comment[ru]=Модуль KSplash -Comment[rw]=Icomeka rya K-Gukwiza -Comment[se]=KSplash-lassemoduvla -Comment[sk]=Modul KSplash -Comment[sl]=Vstavek KSplash -Comment[sr]=KSplash прикључак -Comment[sr@Latn]=KSplash priključak -Comment[sv]=Insticksprogram för startskärm -Comment[ta]=Kஸ்ப்ளாஷ் செருகு பொருள் -Comment[tg]=Мутассалкунандаи KSplash -Comment[th]=ปลั๊กอิน KSplash -Comment[tr]=KSplash Eklentisi -Comment[tt]=KSplash atlı Östämä -Comment[uk]=Втулок KSplash -Comment[uz]=KSplash plagini -Comment[uz@cyrillic]=KSplash плагини -Comment[vi]=Trình bổ sung Chào mừng TDE -Comment[wa]=Tchôke-divins KSplash (waitroûle d' enondaedje) -Comment[zh_CN]=KSplash 插件 -Comment[zh_TW]=KSplash 外掛程式 Name=KSplashUnified +Comment=KSplash Plugin X-TDE-ServiceTypes=KSplash/Plugin X-TDE-Library=ksplashunified X-KSplash-Default=true -- cgit v1.2.1