summaryrefslogtreecommitdiffstats
path: root/kdeaccounts-plugin
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 /kdeaccounts-plugin
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 'kdeaccounts-plugin')
-rw-r--r--kdeaccounts-plugin/CMakeL10n.txt7
-rw-r--r--kdeaccounts-plugin/CMakeLists.txt6
-rw-r--r--kdeaccounts-plugin/kdeaccountsplugin.desktop38
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