summaryrefslogtreecommitdiffstats
path: root/twin-styles/cde
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/cde
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/cde')
-rw-r--r--twin-styles/cde/CMakeLists.txt7
-rw-r--r--twin-styles/cde/cde.desktop3
2 files changed, 6 insertions, 4 deletions
diff --git a/twin-styles/cde/CMakeLists.txt b/twin-styles/cde/CMakeLists.txt
index 790ff84c..b03936c6 100644
--- a/twin-styles/cde/CMakeLists.txt
+++ b/twin-styles/cde/CMakeLists.txt
@@ -23,7 +23,12 @@ link_directories(
##### other data ################################
-install( FILES cde.desktop DESTINATION ${DATA_INSTALL_DIR}/twin )
+tde_create_translated_desktop(
+ SOURCE cde.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/twin
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops
+)
+
##### twin3_cde ##################################
diff --git a/twin-styles/cde/cde.desktop b/twin-styles/cde/cde.desktop
index b9dd1bae..955f51ea 100644
--- a/twin-styles/cde/cde.desktop
+++ b/twin-styles/cde/cde.desktop
@@ -1,6 +1,3 @@
[Desktop Entry]
Name=CDE
-Name[af]=Cde
-Name[hi]=सीडीई
-Name[ne]=सीडीई
X-TDE-Library=twin3_cde