summaryrefslogtreecommitdiffstats
path: root/kbabel/addons
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-16 18:30:12 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-17 02:50:29 +0200
commit7fa2dd79a4f7711a65b45724448c1529dfb94e9f (patch)
tree0192394f73f297cd56aa972df31bf8bfc07a71d3 /kbabel/addons
parent29e1ae5e34974950ff7965b1522db70b4ff273dc (diff)
downloadtdesdk-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/addons')
-rw-r--r--kbabel/addons/preview/CMakeLists.txt6
-rw-r--r--kbabel/addons/preview/pothumbnail.desktop64
-rw-r--r--kbabel/addons/tdefile-plugins/CMakeLists.txt6
-rw-r--r--kbabel/addons/tdefile-plugins/tdefile_po.desktop56
4 files changed, 14 insertions, 118 deletions
diff --git a/kbabel/addons/preview/CMakeLists.txt b/kbabel/addons/preview/CMakeLists.txt
index d8690f8e..a5274a23 100644
--- a/kbabel/addons/preview/CMakeLists.txt
+++ b/kbabel/addons/preview/CMakeLists.txt
@@ -22,7 +22,11 @@ link_directories(
##### other data ################################
-install( FILES pothumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE pothumbnail.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kbabel-desktops
+)
##### pothumbnail (module) ######################
diff --git a/kbabel/addons/preview/pothumbnail.desktop b/kbabel/addons/preview/pothumbnail.desktop
index 64c239f4..58109169 100644
--- a/kbabel/addons/preview/pothumbnail.desktop
+++ b/kbabel/addons/preview/pothumbnail.desktop
@@ -1,67 +1,7 @@
[Desktop Entry]
-Type=Service
Name=Message Catalogs
-Name[af]=Boodskap Katalogusse
-Name[az]=İsmarış Kataloqu
-Name[bg]=Каталози със съобщения
-Name[br]=Katalogoù c'hemennadoù
-Name[bs]=Katalozi poruka
-Name[ca]=Catàlegs de missatges
-Name[cs]=Katalogy zpráv
-Name[cy]=Catalogau Negesau
-Name[da]=Beskedkataloger
-Name[de]=Nachrichtenkataloge
-Name[el]=Κατάλογοι μηνυμάτων
-Name[en_GB]=Message Catalogues
-Name[eo]=Mesaĝkatalogoj
-Name[es]=Catálogos de mensajes
-Name[et]=Tõlkefailide kataloogid
-Name[eu]=Katalogo mezuak
-Name[fa]=فهرست پیامها
-Name[fi]=Käännöspaketit
-Name[fr]=Catalogues de messages
-Name[ga]=Catalóg teachtaireachtaí
-Name[gl]=Catálogos de Mensaxes
-Name[he]=קטלוגי הודעות
-Name[hi]=संदेश केटलॉग
-Name[hr]=Katalog poruka
-Name[hu]=Üzenetkatalógusok
-Name[is]=Þýðingaskrár
-Name[it]=Cataloghi di messaggi
-Name[ja]=メッセージカタログ
-Name[ka]=შეტყობინებათა კატალოგი
-Name[kk]=Gettext жазулар каталогы
-Name[lt]=Pranešimų katalogai
-Name[lv]=Ziņojumu Katalogs
-Name[ms]=Mesej Katalog
-Name[mt]=Katalgu ta' Messaġġi
-Name[nb]=Meldingskataloger
-Name[nds]=Narichtenkatalogen
-Name[ne]=सन्देश विवरणिका
-Name[nl]=Gettext-catalogus
-Name[nn]=Meldingskatalogar
-Name[pa]=ਸੁਨੇਹਾ ਸੂਚੀ
-Name[pl]=Katalog napisów
-Name[pt]=Catálogos de Mensagens
-Name[pt_BR]=Catálogo de mensagens
-Name[ro]=Cataloage de mesaje
-Name[ru]=Сообщения Gettext
-Name[sk]=Katalógy správ
-Name[sl]=Katalogi s sporočili
-Name[sr]=Каталози порука
-Name[sr@Latn]=Katalozi poruka
-Name[sv]=Meddelandekataloger
-Name[ta]=செய்தி விவரப்பட்டி
-Name[tg]=Каталоги хабарҳо
-Name[th]=แคตตาล็อกข้อความ
-Name[tr]=Mesaj Katalogları
-Name[uk]=Каталоги повідомлень
-Name[ven]=Khathalogo dza mulaedza
-Name[vi]=Mục lục các thông điệp
-Name[xh]=Umyalezo wemifanekiso esencwadini
-Name[zh_CN]=消息目录
-Name[zh_TW]=訊息類別
-Name[zu]=Umyalezo Wemifanekiso esencwadini
+
+Type=Service
X-TDE-ServiceTypes=ThumbCreator
MimeTypes=application/x-gettext
X-TDE-Library=pothumbnail
diff --git a/kbabel/addons/tdefile-plugins/CMakeLists.txt b/kbabel/addons/tdefile-plugins/CMakeLists.txt
index 57fe6f65..762f18e6 100644
--- a/kbabel/addons/tdefile-plugins/CMakeLists.txt
+++ b/kbabel/addons/tdefile-plugins/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
##### other data ################################
-install( FILES tdefile_po.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_po.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kbabel-desktops
+)
##### tdefile_po (module) #########################
diff --git a/kbabel/addons/tdefile-plugins/tdefile_po.desktop b/kbabel/addons/tdefile-plugins/tdefile_po.desktop
index 2b389420..e72a11e3 100644
--- a/kbabel/addons/tdefile-plugins/tdefile_po.desktop
+++ b/kbabel/addons/tdefile-plugins/tdefile_po.desktop
@@ -1,59 +1,7 @@
[Desktop Entry]
-Type=Service
Name=Catalog Information
-Name[af]=Katalogus Informasie
-Name[bg]=Информация за каталог
-Name[br]=Titouroù diwar-benn ar c'hatalog
-Name[bs]=Katalog informacije
-Name[ca]=Informació de catàleg
-Name[cs]=Informace o katalogu
-Name[cy]=Gwybodaeth Catalog
-Name[da]=Kataloginformation
-Name[de]=Katalog-Information
-Name[el]=Πληροφορίες καταλόγου
-Name[en_GB]=Catalogue Information
-Name[eo]=Kataloginformoj
-Name[es]=Información de catálogo
-Name[et]=Kataloogi info
-Name[eu]=Katalogo informatizioa
-Name[fa]=اطلاعات فهرست
-Name[fi]=Käännöspaketin tiedot
-Name[fr]=Informations du catalogue
-Name[ga]=Eolas Catalóga
-Name[gl]=Información do Catálogo
-Name[he]=מידע קטלוג
-Name[hi]=केटलॉग जानकारी
-Name[hr]=Informacije o katalogu
-Name[hu]=Katalógusjellemzők
-Name[is]=Upplýsingar um þýðingaskrár
-Name[it]=Informazioni sul catalogo
-Name[ja]=カタログ情報
-Name[ka]=კატალოგის ინფორმაცია
-Name[kk]=Каталог мәліметі
-Name[lt]=Katalogo informacija
-Name[ms]=Maklumat Katalog
-Name[nb]=Kataloginformasjon
-Name[nds]=Katalooginformatschoon
-Name[ne]=विवरणिका सूचना
-Name[nl]=Catalogusinformatie
-Name[nn]=Kataloginformasjon
-Name[pa]=ਸੂਚੀ ਜਾਣਕਾਰੀ
-Name[pl]=Informacje o tłumaczeniu
-Name[pt]=Informações do Catálogo
-Name[pt_BR]=Informação do Catálogo
-Name[ru]=Сведения о файле сообщений
-Name[sk]=Informácie o katalógu
-Name[sl]=Informacije o katalogu
-Name[sr]=Информације о каталогу
-Name[sr@Latn]=Informacije o katalogu
-Name[sv]=Kataloginformation
-Name[ta]=விவரப்பட்டி தகவல்
-Name[tg]=Маълумот дар бораи каталог
-Name[tr]=Katalog Bilgisi
-Name[uk]=Інформація каталогу
-Name[xh]=Ulwazi Lwencwadi yemifanekiso
-Name[zh_CN]=目录信息
-Name[zh_TW]=類別資訊
+
+Type=Service
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_po
MimeType=application/x-gettext