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/addons/preview | |
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/addons/preview')
-rw-r--r-- | kbabel/addons/preview/CMakeLists.txt | 6 | ||||
-rw-r--r-- | kbabel/addons/preview/pothumbnail.desktop | 64 |
2 files changed, 7 insertions, 63 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 |