summaryrefslogtreecommitdiffstats
path: root/twin-styles/system
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 15:24:51 +0200
commitc6babe2180543ce656d7c517d6db047285295597 (patch)
tree90bf7fd65cc790d7ea5fb306fc9a6f5a56cc12c9 /twin-styles/system
parent95331e2c05fce1a8abe31b62f77a4f1d72ca1fd3 (diff)
downloadtdeartwork-c6babe2180543ce656d7c517d6db047285295597.tar.gz
tdeartwork-c6babe2180543ce656d7c517d6db047285295597.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 7c7c238be19c9d17b1182d0b0fad31479aa7f59a)
Diffstat (limited to 'twin-styles/system')
-rw-r--r--twin-styles/system/CMakeLists.txt7
-rw-r--r--twin-styles/system/system.desktop24
2 files changed, 6 insertions, 25 deletions
diff --git a/twin-styles/system/CMakeLists.txt b/twin-styles/system/CMakeLists.txt
index 09a3a966..82dc23cb 100644
--- a/twin-styles/system/CMakeLists.txt
+++ b/twin-styles/system/CMakeLists.txt
@@ -21,7 +21,12 @@ link_directories(
##### other data ################################
-install( FILES system.desktop DESTINATION ${DATA_INSTALL_DIR}/twin )
+tde_create_translated_desktop(
+ SOURCE system.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/twin
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops
+)
+
##### twin3_system ###############################
diff --git a/twin-styles/system/system.desktop b/twin-styles/system/system.desktop
index 608e602f..c5136bba 100644
--- a/twin-styles/system/system.desktop
+++ b/twin-styles/system/system.desktop
@@ -1,27 +1,3 @@
[Desktop Entry]
Name=System++
-Name[br]=Reizhiad++
-Name[cs]=Systém++
-Name[cy]=Cysawd++
-Name[eo]=Sistem++
-Name[fa]=سیستم++
-Name[fi]=Järjestelmä++
-Name[fr]=Système++
-Name[fy]=Systeem++
-Name[hi]=सिस्टम++
-Name[it]=Sistem++
-Name[ja]=システム++
-Name[lt]=Sistema++
-Name[lv]=Sistēma++
-Name[nds]=Systeem++
-Name[nl]=Systeem++
-Name[pa]=ਸਿਸਟਮ++
-Name[sl]=Sistem++
-Name[ta]=தளம்++
-Name[tg]=Системаи++
-Name[th]=แบบ System++
-Name[tr]=Sistem++
-Name[ven]=Sisitemu++
-Name[xh]=Indlela esetyenziswayo++
-Name[zu]=Indlela esetshenziswayo++
X-TDE-Library=twin3_system