diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-16 18:30:12 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-17 02:50:29 +0200 |
commit | 7fa2dd79a4f7711a65b45724448c1529dfb94e9f (patch) | |
tree | 0192394f73f297cd56aa972df31bf8bfc07a71d3 /kbabel/kbabeldict/modules | |
parent | 29e1ae5e34974950ff7965b1522db70b4ff273dc (diff) | |
download | tdesdk-7fa2dd79a4f7711a65b45724448c1529dfb94e9f.tar.gz tdesdk-7fa2dd79a4f7711a65b45724448c1529dfb94e9f.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>
Diffstat (limited to 'kbabel/kbabeldict/modules')
9 files changed, 30 insertions, 238 deletions
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/CMakeLists.txt b/kbabel/kbabeldict/modules/dbsearchengine/CMakeLists.txt index f6fa497c..a8854eb4 100644 --- a/kbabel/kbabeldict/modules/dbsearchengine/CMakeLists.txt +++ b/kbabel/kbabeldict/modules/dbsearchengine/CMakeLists.txt @@ -28,7 +28,11 @@ link_directories( ##### other data ################################ -install( FILES dbsearchengine.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE dbsearchengine.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kbabel-desktops +) ##### kbabeldict_dbsearchengine (module) ######## diff --git a/kbabel/kbabeldict/modules/dbsearchengine/dbsearchengine.desktop b/kbabel/kbabeldict/modules/dbsearchengine/dbsearchengine.desktop index 5a71b84e..7c021c84 100644 --- a/kbabel/kbabeldict/modules/dbsearchengine/dbsearchengine.desktop +++ b/kbabel/kbabeldict/modules/dbsearchengine/dbsearchengine.desktop @@ -1,52 +1,6 @@ [Desktop Entry] -Type=Service Name=Translation Database for KBabelDict -Name[bg]=БД с преводи за KBabelDict -Name[br]=Stlennvon geriaoueg evit KBabelDict -Name[bs]=Baza prijevoda za KBabelDict -Name[ca]=Base de dades de traducció per a KBabelDict -Name[cs]=Databáze překladů pro KBabelDict -Name[cy]=Cronfa ddata Cyfieithiadau i KBabelDict -Name[da]=Oversættelsesdatabase for KBabelDict -Name[de]=Übersetzungsdatenbank für KBabelDict -Name[el]=Βάση δεδομένων μετάφρασης για το KBabelDict -Name[es]=Base de datos de traducciones para KBabelDict -Name[et]=KBabelDicti tõlgete andmebaas -Name[eu]=Itzulpen datu-basea KBabelDict-entzat -Name[fa]=دادگان ترجمه برای KBabelDict -Name[fi]=KBabelDict-ohjelman käännöstietokanta -Name[fr]=Base de données des traductions pour KBabelDict -Name[ga]=Cuimhne Aistriúcháin le haghaidh KBabelDict -Name[gl]=Base de datos de traducións de KBabelDict -Name[hi]=के-बेबल-डिक्श के लिए अनुवाद डाटाबेस -Name[hu]=Fordítási adatbázis a KBabelDicthez -Name[is]=Þýðingagagnagrunnur fyrir KBabel orðabókina -Name[it]=Banca dati di traduzioni per KBabelDict -Name[ja]=KBabelDict トランザクションデータベース -Name[ka]=თარგმნის მონაცემთა ბაზა KBabelDict-სთვის -Name[kk]=KBabelDict-тың аударма деректер қоры -Name[lt]=KBabelDict vertimų duomenų bazė -Name[ms]=Pangkalan Data Penterjemahan KBabelDict -Name[nb]=Oversettelsesdatabase for KBabelDict -Name[nds]=Översettendatenbank för KBabelDict -Name[ne]=KBabelDict का लागि अनुबाद डाटाबेस -Name[nl]=Vertalingendatabase voor KBabelDict -Name[nn]=Omsetjingsdatabase for KBabelDict -Name[pa]=ਕੇਬਬੇਲ-ਸ਼ਬਦ-ਕੋਸ਼ ਲਈ ਅਨੁਵਾਦ ਡਾਟਾਬੇਸ -Name[pl]=Baza tłumaczeń dla KBabelDict -Name[pt]=Base de Dados de Traduções do KBabelDict -Name[pt_BR]=Banco de Dados de Traduções para o KBabelDict -Name[ru]=База данных переводов для KBabelDict -Name[sk]=Databáza prekladov pre KBabelDict -Name[sl]=Zbirka prevodov za KBabelDict -Name[sr]=Преводилачка база података за KBabelDict -Name[sr@Latn]=Prevodilačka baza podataka za KBabelDict -Name[sv]=Översättningsdatabas för Kbabeldict -Name[ta]=Kபாபேலுக்கான மொழிபெயர்ப்பு தரவுத்தளம் -Name[tg]=Базаи маълумоти тарҷумаҳо барои KBabelDict -Name[tr]=KBabelDict için Çeviri Veritabanı -Name[uk]=База даних перекладів для KBabelDict -Name[zh_CN]=KBabelDict 的翻译数据库 -Name[zh_TW]=KBabelDict 翻譯資料庫 + +Type=Service X-TDE-Library=kbabeldict_dbsearchengine X-TDE-ServiceTypes=KBabelDictModule diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbsearchengine2.desktop b/kbabel/kbabeldict/modules/dbsearchengine2/dbsearchengine2.desktop index 34158f9b..325e80b6 100644 --- a/kbabel/kbabeldict/modules/dbsearchengine2/dbsearchengine2.desktop +++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbsearchengine2.desktop @@ -1,52 +1,6 @@ [Desktop Entry] -Type=Service Name=Translation Database v2 for KBabelDict -Name[bg]=БД с преводи v2 за KBabelDict -Name[br]=Stlennvon geriaoueg v2 evit KBabelDict -Name[bs]=Baza prijevoda v2 za KBabelDict -Name[ca]=Base de dades de traducció v2 per a KBabelDict -Name[cs]=Databáze překladů v2 pro KBabelDict -Name[cy]=Cronfa ddata Cyfieithiadau v2 i KBabelDict -Name[da]=Oversættelsesdatabase v2 for KBabelDict -Name[de]=Übersetzungsdatenbank Version 2 für KBabelDict -Name[el]=Βάση δεδομένων μετάφρασης έκδοση 2 για το KBabelDict -Name[es]=Base de datos de traducciones v2 para KBabelDict -Name[et]=KBabelDicti tõlgete andmebaas (versioon 2) -Name[eu]=v2 itzulpen datu-basea KBabelDict-entzat -Name[fa]=دادگان ترجمۀ نسخه ۲ برای KBabelDict -Name[fi]=KBabelDict-ohjelman käännöstietokanta v2 -Name[fr]=Base de données des traductions v2 pour KBabelDict -Name[ga]=Cuimhne Aistriúcháin (v2) le haghaidh KBabelDict -Name[gl]=Base de datos de traducións v2 de KBabelDict -Name[hi]=के-बेबल-डिक्श के लिए अनुवाद डाटाबेस वी2 -Name[hu]=Fordítási adatbázis (v2) a KBabelDicthez -Name[is]=Þýðingagagnagrunnur v2 fyrir KBabel orðabókina -Name[it]=Banca dati delle traduzioni v2 per KBabelDict -Name[ja]=KBabelDict トランザクションデータベース v2 -Name[ka]=თარგმნის მონაცემთა ბაზა ვ2 KBabelDict-სთვის -Name[kk]=KBabelDict-тың аударма деректер қорының 2-нұсқасы -Name[lt]=KBabelDict vertimų duomenų bazės 2 versija -Name[ms]=Pangkalan Data Penterjemahan v2 KBabelDict -Name[nb]=Oversettelsesdatabase versjon 2 for KBabelDict -Name[nds]=Översettendatenbank V2 för KBabelDict -Name[ne]=KBabelDict का लागि अनुबाद डाटाबेस v2 -Name[nl]=Vertalingendatabase versie2 voor KBabelDict -Name[nn]=Omsetjingsdatabase versjon 2 for KBabelDict -Name[pa]=ਕੇਬਬੇਲ-ਸ਼ਬਦ-ਕੋਸ਼ ਲਈ ਅਨੁਵਾਦ ਡਾਟਾਬੇਸ ਵਰਜਨ2 -Name[pl]=Baza tłumaczeń v2 dla KBabelDict -Name[pt]=Base de Dados de Traduções v2 do KBabelDict -Name[pt_BR]=Banco de Dados de Traduções v2 para o KBabelDict -Name[ru]=Версия 2 базы данных перевода для KBabelDict -Name[sk]=Databáza prekladov v2 pre KBabelDict -Name[sl]=Zbirka prevodov različice 2 za KBabelDict -Name[sr]=Преводилачка база података v2 за KBabelDict -Name[sr@Latn]=Prevodilačka baza podataka v2 za KBabelDict -Name[sv]=Översättningsdatabas version 2 för Kbabeldict -Name[ta]= Kபாபேலுக்கான மொழிபெயர்ப்பு தரவுத்தளம் v2 -Name[tg]=Тафсири 2 базаи маълумоти тарҷумаҳо барои KBabelDict -Name[tr]=KBabelDict için Çeviri Veritabanı v2 -Name[uk]=Версія 2 бази даних перекладів для KBabelDict -Name[zh_CN]=KBabelDict 的翻译数据库 v2 -Name[zh_TW]=KBabelDict 翻譯資料庫 v2 + +Type=Service X-TDE-Library=kbabeldict_dbsearchengine2 X-TDE-ServiceTypes=KBabelDictModule diff --git a/kbabel/kbabeldict/modules/poauxiliary/CMakeLists.txt b/kbabel/kbabeldict/modules/poauxiliary/CMakeLists.txt index c18e49cc..3c62bec9 100644 --- a/kbabel/kbabeldict/modules/poauxiliary/CMakeLists.txt +++ b/kbabel/kbabeldict/modules/poauxiliary/CMakeLists.txt @@ -25,7 +25,11 @@ link_directories( ##### other data ################################ -install( FILES poauxiliary.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE poauxiliary.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kbabel-desktops +) ##### kbabeldict_poauxiliary (module) ########### diff --git a/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.desktop b/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.desktop index f0351863..b4804489 100644 --- a/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.desktop +++ b/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.desktop @@ -1,51 +1,7 @@ [Desktop Entry] -Type=Service Name=Auxiliary PO Module for KBabelDict -Name[bg]=Помощен PO модул за KBabelDict -Name[bs]=Pomoćni PO modul za KBabelDict -Name[ca]=Mòdul PO auxiliar per a KBabelDict -Name[cs]=Doplňkový PO modul pro KBabelDict -Name[cy]=Modiwl PO Ategol i KBabelDict -Name[da]=Auxiliary PO-module for KBabelDict -Name[de]=PO-Hilfsdatei-Modul für KBabelDict -Name[el]=Άρθρωμα βοηθητικού PO για το KBabelDict -Name[es]=Módulo PO auxiliar para KBabelDict -Name[et]=KBabelDicti PO liitlasfaili moodul -Name[eu]=PO modulu laguntzailea KBabelDict-entzat -Name[fa]=پیمانۀ کمکی PO برای KBabelDict -Name[fi]=KBabelDict-ohjelman PO-apumoduuli -Name[fr]=Module de PO auxiliaire pour KBabelDict -Name[gl]=Módulo de PO auxiliar para KBabelDict -Name[hi]=के-बेबल-डिक्श के लिए ऑक्जिलरी पीओ मॉड्यूल -Name[hu]=Kiegészítő PO modul a KBabelDicthez -Name[is]=Viðbótar PO eining fyrir KBabel orðabókina -Name[it]=Modulo ausiliario PO per KBabelDict -Name[ja]=KBabelDict 補助 PO モジュール -Name[ka]=დამხმარე PO მოდული KBabelDict-სთვის -Name[kk]=KBabelDict-тың қосымша PO модулі -Name[lt]=KBabelDict papildomo PO žodyno modulis -Name[ms]=Modul Auksillari PO untuk KBabelDict -Name[nb]=Hjelpeordlistemodul for KBabelDict -Name[nds]=PO-Hülpdateimoduul för KBabelDict -Name[ne]=KBabelDict का लागि सहायक पीओ मोड्युल -Name[nl]=Alternatieve PO-module voor KBabelDict -Name[nn]=Jamføringsmodul for KBabelDict -Name[pa]=ਕੇਬਬੇਲ-ਸ਼ਬਦਕੋਸ਼ ਲਈ ਸਹਾਇਕ PO ਸਹਾਇਕ -Name[pl]=Moduł pomocniczego pliku PO dla KBabelDict -Name[pt]=Módulo de PO Auxiliar para o KBabelDict -Name[pt_BR]=Módulo Auxiliar PO para o KBabelDict -Name[ru]=Вспомогательный модуль PO для KBabelDict -Name[sk]=Iný PO súbore pre KBabelDict -Name[sl]=Dodatni modul PO za KBabelDict -Name[sr]=Помоћни PO модул за KBabelDict -Name[sr@Latn]=Pomoćni PO modul za KBabelDict -Name[sv]=Hjälp-PO modul för Kbabeldict -Name[ta]=Kபாபேலுக்கான இரண்டாம் PO கூறு -Name[tg]=Модули ёрирасони PO барои KBabelDict -Name[tr]=KBabelDict için Yardımcı PO Modülü -Name[uk]=Модуль допоміжного словника PO для KBabelDict -Name[zh_CN]=KBabelDict 的 PO 辅助词典模块 -Name[zh_TW]=KBabelDict 輔助 PO 模組 + +Type=Service X-TDE-Library=kbabeldict_poauxiliary X-TDE-ServiceTypes=KBabelDictModule Applications=kbabel diff --git a/kbabel/kbabeldict/modules/pocompendium/CMakeLists.txt b/kbabel/kbabeldict/modules/pocompendium/CMakeLists.txt index dbfbf6d9..9ebad38c 100644 --- a/kbabel/kbabeldict/modules/pocompendium/CMakeLists.txt +++ b/kbabel/kbabeldict/modules/pocompendium/CMakeLists.txt @@ -25,7 +25,11 @@ link_directories( ##### other data ################################ -install( FILES pocompendium.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE pocompendium.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kbabel-desktops +) ##### kbabeldict_pocompendium (module) ########## diff --git a/kbabel/kbabeldict/modules/pocompendium/pocompendium.desktop b/kbabel/kbabeldict/modules/pocompendium/pocompendium.desktop index 0e21e842..62ce058b 100644 --- a/kbabel/kbabeldict/modules/pocompendium/pocompendium.desktop +++ b/kbabel/kbabeldict/modules/pocompendium/pocompendium.desktop @@ -1,50 +1,6 @@ [Desktop Entry] -Type=Service Name=PO Compendium Module for KBabelDict -Name[bg]=PO компендиум за KBabelDict -Name[bs]=Modul PO kompendijuma za KBabelDict -Name[ca]=Mòdul del Compendi PO per a KBabelDict -Name[cs]=Modul s PO kompendiem pro KBabelDict -Name[cy]=Modiwl Compendiwm PO i KBabelDict -Name[da]=PO-kompendium-module for KBabelDict -Name[de]=PO-Kompendium-Modul für KBabelDict -Name[el]=Άρθρωμα επιτομής PO για το KBabelDict -Name[es]=Módulo de compendio de PO para KBabelDict -Name[et]=KBabelDicti PO kompendiumi moodul -Name[eu]=PO laburpen modulua KBabelDict-entzat -Name[fa]=پیمانۀ مختصر PO برای KBabelDict -Name[fi]=KBabelDict-ohjelman PO-kokoelmatiedostomoduuli -Name[fr]=Module de fichier de référence PO pour KBabelDict -Name[gl]=Módulo de compendio PO para KBabelDict -Name[hi]=के-बेबल-डिक्श के लिए पीओ कम्पेंडियम मॉड्यूल -Name[hu]=PO összefoglaló modul a KBabelDicthez -Name[is]=PO ágrips eining fyrir KBabel orðabókina -Name[it]=Modulo PO Compendium per KBabelDict -Name[ja]=KBabelDict PO 要約モジュール -Name[ka]=PO კონსპექტის მოდული KBabelDict-სთვის -Name[kk]=KBabelDict-тың PO аудармалар жиынтық модулі -Name[lt]=KBabelDict PO tekstyno modulis -Name[ms]=Modul Kompendium PO untuk KBabelDict -Name[nb]=PO-kompendiummodul for KBabelDict -Name[nds]=PO-Kompendiummoduul för KBabelDict -Name[ne]=KBabelDict का लागि संक्षेप पीओ मोड्युल -Name[nl]=PO-samenvattingmodule voor KBabelDict -Name[nn]=PO-kompendiemodul for KBabelDict -Name[pa]=ਕੇਬਬੇਲ-ਸ਼ਬਦਕੋਸ਼ ਲਈ PO ਸੰਖੇਪ ਮੈਡੀਊਲ -Name[pl]=Moduł Kompendium PO dla KBabelDict -Name[pt]=Módulo de Compêndio de PO para o KBabelDict -Name[pt_BR]=Módulo de Compêndio PO para o KBabelDict -Name[ru]=Модуль описания PO для KBabelDict -Name[sk]=Kompendium pre KBabelDict -Name[sl]=Modul zbornika PO za KBabelDict -Name[sr]=Модул PO зборника за KBabelDict -Name[sr@Latn]=Modul PO zbornika za KBabelDict -Name[sv]=PO-kompendiemodul för Kbabeldict -Name[ta]=Kபாபேலுக்கான காம்பென்டியம் PO கூறு -Name[tg]=Модули тасвири PO барои KBabelDict -Name[tr]=KBabelDict için PO Özet Modülü -Name[uk]=Модуль збірки перекладів PO для KBabelDict -Name[zh_CN]=KBabelDict 的 PO 概要词典模块 -Name[zh_TW]=KBabelDict PO 摘要模組 + +Type=Service X-TDE-Library=kbabeldict_pocompendium X-TDE-ServiceTypes=KBabelDictModule diff --git a/kbabel/kbabeldict/modules/tmx/CMakeLists.txt b/kbabel/kbabeldict/modules/tmx/CMakeLists.txt index 8ca01b22..688dc46e 100644 --- a/kbabel/kbabeldict/modules/tmx/CMakeLists.txt +++ b/kbabel/kbabeldict/modules/tmx/CMakeLists.txt @@ -25,7 +25,11 @@ link_directories( ##### other data ################################ -install( FILES tmxcompendium.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE tmxcompendium.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kbabel-desktops +) ##### kbabeldict_tmxcompendium (module) ######### diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendium.desktop b/kbabel/kbabeldict/modules/tmx/tmxcompendium.desktop index 8425e32e..2aa05105 100644 --- a/kbabel/kbabeldict/modules/tmx/tmxcompendium.desktop +++ b/kbabel/kbabeldict/modules/tmx/tmxcompendium.desktop @@ -1,50 +1,6 @@ [Desktop Entry] -Type=Service Name=TMX Compendium Module for KBabelDict -Name[bg]=TMX компендиум за KBabelDict -Name[bs]=Modul TMX kompendijuma za KBabelDict -Name[ca]=Mòdul del Compendi TMX per a KBabelDict -Name[cs]=Modul s TMX kompendiem pro KBabelDict -Name[cy]=Modiwl Compendiwm TMX i KBabelDict -Name[da]=TMX kompendium-module for KBabelDict -Name[de]=TMX-Kompendium-Modul für KBabelDict -Name[el]=Άρθρωμα επιτομής TMX για το KBabelDict -Name[es]=Módulo de compendio TMX para KBabelDict -Name[et]=KBabelDicti TMX kompendiumi moodul -Name[eu]=TMX laburpen modulua KBabelDict-entzat -Name[fa]=پیمانۀ مختصر TMX برای KBabelDict -Name[fi]=KBabelDict-ohjelman TMX-kokoelmatiedostomoduuli -Name[fr]=Module de fichier de référence des TMX pour KBabelDict -Name[gl]=Módulo de compendio TMX para KBabelDict -Name[hi]=के-बेबल-डिक्श के लिए टीएमएक्स कम्पेंडियम मॉड्यूल -Name[hu]=TMX összefoglaló modul a KBabelDicthez -Name[is]=TMX ágrips eining fyrir KBabel orðabókina -Name[it]=Modulo TMX Compendium per KBabelDict -Name[ja]=KBabelDict TMX 要約モジュール -Name[ka]=TMX კონსპექტის მოდული KBabelDict-სთვის -Name[kk]=KBabelDict-тың TMX аудармалар жиынтық модулі -Name[lt]=KBabelDict TMX tekstyno modulis -Name[ms]=Modul Kompendium TMX untuk KBabelDict -Name[nb]=TMX-kompendium-modul for KBabelDict -Name[nds]=TMX-Kompendiummoduul för KBabelDict -Name[ne]=KBabelDict का लागि टीएमएक्स संक्षेप मोड्युल -Name[nl]=TMX-samenvattingmodule voor KBabelDict -Name[nn]=TMX-kompendiemodul for KBabelDict -Name[pa]=ਕੇਬਬੇਲ-ਸ਼ਬਦਕੋਸ਼ ਲਈ TMX ਅਨੁਵਾਦ ਮੈਡੀਊਲ -Name[pl]=Moduł Kompendium TMX dla KBabelDict -Name[pt]=Módulo de Compêndio de TMX para o KBabelDict -Name[pt_BR]=Módulo de Compêndio TMX para o KBabelDict -Name[ru]=Модуль описания TMX для KBabelDict -Name[sk]=TMX kompendium pre KBabelDict -Name[sl]=Modul zbornika TMX za KBabelDict -Name[sr]=Модул TMX зборника за KBabelDict -Name[sr@Latn]=Modul TMX zbornika za KBabelDict -Name[sv]=TMX-kompendiemodul för Kbabeldict -Name[ta]=Kபாபேலுக்கான காம்பென்டியம் TMX கூறு -Name[tg]=Модули тасвири TMX барои KBabelDict -Name[tr]=KBabelDict için TMX Özet Modülü -Name[uk]=Модуль збірки перекладів TMX для KBabelDict -Name[zh_CN]=KBabelDict 的 TMX 概要词典模块 -Name[zh_TW]=KBabelDict TMX 摘要模組 + +Type=Service X-TDE-Library=kbabeldict_tmxcompendium X-TDE-ServiceTypes=KBabelDictModule |