summaryrefslogtreecommitdiffstats
path: root/twin-styles/riscos
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-11 14:54:26 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-12 14:21:08 +0200
commit7c7c238be19c9d17b1182d0b0fad31479aa7f59a (patch)
treedc86c967040e3d25bdabd4af40e606f2484930dc /twin-styles/riscos
parent0dc9e3c5476898c5fd5308cbdd84755b7b6c1c23 (diff)
downloadtdeartwork-7c7c238be19c9d17b1182d0b0fad31479aa7f59a.tar.gz
tdeartwork-7c7c238be19c9d17b1182d0b0fad31479aa7f59a.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 'twin-styles/riscos')
-rw-r--r--twin-styles/riscos/CMakeLists.txt7
-rw-r--r--twin-styles/riscos/riscos.desktop8
2 files changed, 6 insertions, 9 deletions
diff --git a/twin-styles/riscos/CMakeLists.txt b/twin-styles/riscos/CMakeLists.txt
index 5b0e6d54..7dc19584 100644
--- a/twin-styles/riscos/CMakeLists.txt
+++ b/twin-styles/riscos/CMakeLists.txt
@@ -26,7 +26,12 @@ link_directories(
##### other data ################################
-install( FILES riscos.desktop DESTINATION ${DATA_INSTALL_DIR}/twin )
+tde_create_translated_desktop(
+ SOURCE riscos.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/twin
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops
+)
+
##### twin3_riscos ###############################
diff --git a/twin-styles/riscos/riscos.desktop b/twin-styles/riscos/riscos.desktop
index 21c2f3d8..9e37b38f 100644
--- a/twin-styles/riscos/riscos.desktop
+++ b/twin-styles/riscos/riscos.desktop
@@ -1,11 +1,3 @@
[Desktop Entry]
Name=RISC OS
-Name[cs]=Risc OS
-Name[cy]= RISC OS
-Name[hi]=रिस्क ओएस
-Name[ta]=RISC இ.த
-Name[th]=ระบบปฏิบัติการบนชิพ RISC
-Name[uk]=RISC ОС
-Name[xh]=i RISC OS
-Name[zu]=IRISC OS
X-TDE-Library=twin3_riscos