From 7fa2dd79a4f7711a65b45724448c1529dfb94e9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 16 Jul 2020 18:30:12 +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 --- kbabel/kbabeldict/modules/tmx/CMakeLists.txt | 6 ++- .../kbabeldict/modules/tmx/tmxcompendium.desktop | 48 +--------------------- 2 files changed, 7 insertions(+), 47 deletions(-) (limited to 'kbabel/kbabeldict/modules/tmx') 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 -- cgit v1.2.1