summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-01 19:36:39 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-01 19:36:48 +0200
commit6eb6086f9ba602bc88e62f5e6e2d0b8647c6046e (patch)
tree649776fa016b11346b3b6842b7b61a837ec889d7 /src
parent44adbb7ba101577771cecc82303129becd7ed225 (diff)
downloadkpicosim-6eb6086f9ba602bc88e62f5e6e2d0b8647c6046e.tar.gz
kpicosim-6eb6086f9ba602bc88e62f5e6e2d0b8647c6046e.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 8b0d6be87ecfc982f9c96797e95ca661826064b6)
Diffstat (limited to 'src')
-rw-r--r--src/CMakeL10n.txt5
-rw-r--r--src/CMakeLists.txt5
-rw-r--r--src/kpicosim.desktop1
3 files changed, 6 insertions, 5 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
index 47f3f48..36d2ec9 100644
--- a/src/CMakeL10n.txt
+++ b/src/CMakeL10n.txt
@@ -1,3 +1,8 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/kpicosim" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kpicosim.desktop/"
+ SOURCES kpicosim.desktop
+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 467a30b..13cc9d8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -63,7 +63,4 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/katepart/syntax
)
-install(
- FILES ${PROJECT_NAME}.desktop
- DESTINATION ${APPS_INSTALL_DIR}/Development
-)
+tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
diff --git a/src/kpicosim.desktop b/src/kpicosim.desktop
index 0547660..d7a56ad 100644
--- a/src/kpicosim.desktop
+++ b/src/kpicosim.desktop
@@ -5,4 +5,3 @@ Exec=kpicosim
Icon=kpicosim
Type=Application
Comment=PicoBlaze IDE
-Comment[nl]=PicoBlaze Ontwikkelomgeving