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-19 10:59:29 +0200 |
commit | bb8c686cb39a1490b8738037a70a9926d8260891 (patch) | |
tree | 3b1ede7af76cc89884ea1bba650dd0cc6442f9f6 /kdeaccounts-plugin | |
parent | 02c8258b5adb8e5025937fd96f5b1a585a9096a6 (diff) | |
download | tdesdk-bb8c686cb39a1490b8738037a70a9926d8260891.tar.gz tdesdk-bb8c686cb39a1490b8738037a70a9926d8260891.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>
(cherry picked from commit 7fa2dd79a4f7711a65b45724448c1529dfb94e9f)
Diffstat (limited to 'kdeaccounts-plugin')
-rw-r--r-- | kdeaccounts-plugin/CMakeL10n.txt | 7 | ||||
-rw-r--r-- | kdeaccounts-plugin/CMakeLists.txt | 6 | ||||
-rw-r--r-- | kdeaccounts-plugin/kdeaccountsplugin.desktop | 38 |
3 files changed, 11 insertions, 40 deletions
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 |