summaryrefslogtreecommitdiffstats
path: root/src/torkapplet
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2022-01-30 17:07:06 +0100
committerSlávek Banko <[email protected]>2022-01-30 17:10:59 +0100
commitf7ce4cdb608b1bbec0180fe3ae059e2cc999b705 (patch)
tree075d3afeb6dd6db4dc31d46dea2c81d8dcc4ccff /src/torkapplet
parent6b34028d26ec2252858049170a934bfaace88925 (diff)
downloadtork-f7ce4cdb608b1bbec0180fe3ae059e2cc999b705.tar.gz
tork-f7ce4cdb608b1bbec0180fe3ae059e2cc999b705.zip
Copy translations to a new directory layout.
Use common rules for build and install translations. Added translation of .desktop files. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/torkapplet')
-rw-r--r--src/torkapplet/CMakeL10n.txt2
-rw-r--r--src/torkapplet/CMakeLists.txt4
-rw-r--r--src/torkapplet/torkmenu.desktop5
3 files changed, 7 insertions, 4 deletions
diff --git a/src/torkapplet/CMakeL10n.txt b/src/torkapplet/CMakeL10n.txt
index 49e7665..8e5397c 100644
--- a/src/torkapplet/CMakeL10n.txt
+++ b/src/torkapplet/CMakeL10n.txt
@@ -1,3 +1,3 @@
##### create translation templates ##############
-tde_l10n_create_template( "libkickermenu_tork" )
+tde_l10n_create_template( "messages/libkickermenu_tork/" )
diff --git a/src/torkapplet/CMakeLists.txt b/src/torkapplet/CMakeLists.txt
index b29088b..07e7d07 100644
--- a/src/torkapplet/CMakeLists.txt
+++ b/src/torkapplet/CMakeLists.txt
@@ -30,6 +30,8 @@ tde_add_kpart( kickermenu_tork AUTOMOC
##### other data
-tde_create_translated_desktop( torkmenu.desktop
+tde_create_translated_desktop(
+ SOURCE torkmenu.desktop
DESTINATION ${DATA_INSTALL_DIR}/kicker/menuext
+ PO_DIR "tork-desktops"
)
diff --git a/src/torkapplet/torkmenu.desktop b/src/torkapplet/torkmenu.desktop
index 3f813e2..ce18758 100644
--- a/src/torkapplet/torkmenu.desktop
+++ b/src/torkapplet/torkmenu.desktop
@@ -1,8 +1,9 @@
[Desktop Entry]
Name=TorK
-Type=Application
+
Comment=Menu For Managing TorK
-Icon=tork
+Type=Application
+Icon=tork
X-TDE-Library=kickermenu_tork
X-TDE-AuthorizeAction=shell_access