summaryrefslogtreecommitdiffstats
path: root/kppp/DB/Provider/Portugal
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-08 22:39:20 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-09 13:04:01 +0200
commita94da7081d4567ba19782d6efea3aeb4af4d67ef (patch)
treef57b626ceac36667c35a04b8ddbdb57a903ef702 /kppp/DB/Provider/Portugal
parent2810d16800c936ed93bf81df2ca0904d19490b96 (diff)
downloadtdenetwork-a94da7081d4567ba19782d6efea3aeb4af4d67ef.tar.gz
tdenetwork-a94da7081d4567ba19782d6efea3aeb4af4d67ef.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 d36d9267539f12fdaa5a0dd18f6285e4a636e1ac)
Diffstat (limited to 'kppp/DB/Provider/Portugal')
-rw-r--r--kppp/DB/Provider/Portugal/.directory32
-rw-r--r--kppp/DB/Provider/Portugal/CMakeLists.txt13
2 files changed, 10 insertions, 35 deletions
diff --git a/kppp/DB/Provider/Portugal/.directory b/kppp/DB/Provider/Portugal/.directory
index c0c00d27..35888dfe 100644
--- a/kppp/DB/Provider/Portugal/.directory
+++ b/kppp/DB/Provider/Portugal/.directory
@@ -1,34 +1,2 @@
[Desktop Entry]
Name=Portugal
-Name[ar]=البرتغال
-Name[az]=Portuqaliya
-Name[bg]=Португалия
-Name[cs]=Portugalsko
-Name[cy]=Portiwgal
-Name[el]=Πορτογαλία
-Name[eo]=Portugalo
-Name[ga]=An Phortaingéil
-Name[hi]=पुर्तगाल
-Name[hu]=Portugália
-Name[it]=Portogallo
-Name[ja]=ポルトガル
-Name[km]=ព័រទុយហ្គាល់
-Name[ko]=포르투갈
-Name[lt]=Portugalija
-Name[lv]=Portugāle
-Name[mk]=Португалија
-Name[mn]=Португали
-Name[mt]=Portugall
-Name[pl]=Portugalia
-Name[ru]=Португалия
-Name[sk]=Portugalsko
-Name[sl]=Portugalska
-Name[sr]=Португал
-Name[ta]=போர்ச்சுகல்
-Name[tg]=Португалия
-Name[tr]=Portekiz
-Name[uk]=Португалія
-Name[zh_CN]=葡萄牙
-Name[zh_HK]=葡萄牙
-Name[zh_TW]=葡萄牙
-Name[zu]=I-Phothugali
diff --git a/kppp/DB/Provider/Portugal/CMakeLists.txt b/kppp/DB/Provider/Portugal/CMakeLists.txt
index 8c44256a..1b686f8c 100644
--- a/kppp/DB/Provider/Portugal/CMakeLists.txt
+++ b/kppp/DB/Provider/Portugal/CMakeLists.txt
@@ -9,6 +9,13 @@
#
#################################################
-install( FILES
- .directory OniNet Clix Netc
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Portugal )
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Portugal
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES OniNet Clix Netc
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Portugal
+)