diff options
author | Slávek Banko <[email protected]> | 2020-07-08 22:39:20 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-07-08 22:39:20 +0200 |
commit | d36d9267539f12fdaa5a0dd18f6285e4a636e1ac (patch) | |
tree | 65966d4e78c0529e0e56f8586a7d9c2ae530d336 /kppp/DB/Provider/Taiwan | |
parent | 54888da0ae983555ec963c52007c50d49b3c66af (diff) | |
download | tdenetwork-d36d9267539f12fdaa5a0dd18f6285e4a636e1ac.tar.gz tdenetwork-d36d9267539f12fdaa5a0dd18f6285e4a636e1ac.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 <[email protected]>
Diffstat (limited to 'kppp/DB/Provider/Taiwan')
-rw-r--r-- | kppp/DB/Provider/Taiwan/.directory | 34 | ||||
-rw-r--r-- | kppp/DB/Provider/Taiwan/CMakeLists.txt | 13 |
2 files changed, 10 insertions, 37 deletions
diff --git a/kppp/DB/Provider/Taiwan/.directory b/kppp/DB/Provider/Taiwan/.directory index 809fd51e..4e861a10 100644 --- a/kppp/DB/Provider/Taiwan/.directory +++ b/kppp/DB/Provider/Taiwan/.directory @@ -1,36 +1,2 @@ [Desktop Entry] Name=Taiwan -Name[ar]=تايوان -Name[az]=Tayvan -Name[bg]=Тайван -Name[el]=Ταϊβάν -Name[eo]=Tajvano -Name[es]=Taiwán -Name[fr]=Taïwan -Name[ga]=An Téaváin -Name[hi]=ताईवान -Name[hr]=Tajvan -Name[hu]=Tajvan -Name[ja]=台湾 -Name[km]=តៃវ៉ាន់ -Name[ko]=대만 -Name[lt]=Taivanis -Name[lv]=Taivāna -Name[mk]=Тајван -Name[mn]=Тайвань -Name[mt]=Tajwan -Name[pl]=Tajwan -Name[pt]=Formosa -Name[ru]=Тайвань -Name[sk]=Tajvan -Name[sl]=Tajvan -Name[sr]=Тајван -Name[sr@Latn]=Tajvan -Name[ta]=தாய்வான் -Name[tg]=Тайван -Name[tr]=Tayvan -Name[uk]=Тайвань -Name[zh_CN]=中国台湾 -Name[zh_HK]=台灣 -Name[zh_TW]=台灣 -Name[zu]=I-Tayiwani diff --git a/kppp/DB/Provider/Taiwan/CMakeLists.txt b/kppp/DB/Provider/Taiwan/CMakeLists.txt index db820847..7b68ece7 100644 --- a/kppp/DB/Provider/Taiwan/CMakeLists.txt +++ b/kppp/DB/Provider/Taiwan/CMakeLists.txt @@ -9,6 +9,13 @@ # ################################################# -install( FILES - .directory HiNet SeedNet EraNet - DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Taiwan ) +tde_create_translated_desktop( + SOURCE .directory + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Taiwan + PO_DIR kppp-desktops +) + +install( + FILES HiNet SeedNet EraNet + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Taiwan +) |