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 --- kdeaccounts-plugin/CMakeL10n.txt | 7 +++++ kdeaccounts-plugin/CMakeLists.txt | 6 +++-- kdeaccounts-plugin/kdeaccountsplugin.desktop | 38 ---------------------------- 3 files changed, 11 insertions(+), 40 deletions(-) create mode 100644 kdeaccounts-plugin/CMakeL10n.txt (limited to 'kdeaccounts-plugin') diff --git a/kdeaccounts-plugin/CMakeL10n.txt b/kdeaccounts-plugin/CMakeL10n.txt new file mode 100644 index 00000000..35c9d056 --- /dev/null +++ b/kdeaccounts-plugin/CMakeL10n.txt @@ -0,0 +1,7 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "desktop_files/kdeaccountsplugin.desktop/" + SOURCES kdeaccountsplugin.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kdeaccounts-plugin/CMakeLists.txt b/kdeaccounts-plugin/CMakeLists.txt index 6e9d5158..c384fcc5 100644 --- a/kdeaccounts-plugin/CMakeLists.txt +++ b/kdeaccounts-plugin/CMakeLists.txt @@ -21,8 +21,10 @@ link_directories( ##### other data ################################ -install( FILES kdeaccountsplugin.desktop - DESTINATION ${DATA_INSTALL_DIR}/tdeabc/formats ) +tde_create_translated_desktop( + SOURCE kdeaccountsplugin.desktop + DESTINATION ${DATA_INSTALL_DIR}/tdeabc/formats +) ##### tdeabcformat_kdeaccounts (module) ########### diff --git a/kdeaccounts-plugin/kdeaccountsplugin.desktop b/kdeaccounts-plugin/kdeaccountsplugin.desktop index a0905691..ad473184 100644 --- a/kdeaccounts-plugin/kdeaccountsplugin.desktop +++ b/kdeaccounts-plugin/kdeaccountsplugin.desktop @@ -1,43 +1,5 @@ [Misc] Name=TDE Repository Accounts -Name[bg]=Сметки в хранилището на TDE -Name[ca]=Comptes del repositori de TDE -Name[cs]=Účty z TDE repository -Name[da]=TDE lager-konti -Name[de]=TDE Repositorium-Zugänge -Name[el]=Λογαριασμοί χώρου αποθήκευσης του TDE -Name[es]=Cuentas del repositorio de TDE -Name[et]=TDE hoidla kontod -Name[eu]=TDE-ren biltegiaren kontuak -Name[fa]=حسابهای مخزن TDE -Name[fi]=TDE:n versionhallinnan käyttäjätunnukset -Name[fr]=Comptes du référentiel de TDE -Name[gl]=Contas no repositorio de TDE -Name[hu]=TDE SVN-azonosítók -Name[is]=TDE geymslu aðgangur -Name[it]=Account del deposito di TDE -Name[ja]=TDE リポジトリアカウント -Name[ka]=TDE რეპოზიტორიის ანგარიში -Name[kk]=TDE қоймасының тіркелгілері -Name[lt]=TDE saugyklos paskyros -Name[nb]=TDE-lagerkontoer -Name[nds]=TDE-Archivkontos -Name[ne]=केडीई भण्डार खाता -Name[nl]=TDE Repository gebruikersnamen -Name[nn]=TDE-lagerkontoar -Name[pa]=TDE ਰਿਪੋਜ਼ਟਰੀ ਖਾਤੇ -Name[pl]=Konta w repozytorium TDE -Name[pt]=Contas do Repositório do TDE -Name[pt_BR]=Contas do Repositório do TDE -Name[ru]=Учётные записи репозитория TDE -Name[sk]=Účty TDE archívu -Name[sl]=Računi za skladišče TDE -Name[sr]=Налози TDE складишта -Name[sr@Latn]=Nalozi TDE skladišta -Name[sv]=TDE-arkivkonton -Name[uk]=Рахунки сховища TDE -Name[zh_CN]=TDE 仓库账号 -Name[zh_TW]=TDE 主目錄帳號 [Plugin] Type=text -- cgit v1.2.1