diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-08-29 12:27:36 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-08-29 12:27:36 +0200 |
commit | 1d17efbaf6a68bec6ae87dac04566c16de81c9a6 (patch) | |
tree | 5ee1dda543daeba7fa7647ac58a0fd753ec4a03b /src | |
parent | 9745a2b423ce03fb59ce229728113c316262a84f (diff) | |
download | tastymenu-1d17efbaf6a68bec6ae87dac04566c16de81c9a6.tar.gz tastymenu-1d17efbaf6a68bec6ae87dac04566c16de81c9a6.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 <slavek.banko@axis.cz>
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeL10n.txt | 7 | ||||
-rw-r--r-- | src/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/tastymenu.desktop | 8 |
3 files changed, 12 insertions, 7 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt index 8368157..535ca38 100644 --- a/src/CMakeL10n.txt +++ b/src/CMakeL10n.txt @@ -1,3 +1,8 @@ ##### create translation templates ############## -tde_l10n_create_template( "tastymenu" ) +tde_l10n_create_template( "messages/tastymenu" ) + +tde_l10n_create_template( + CATALOG "desktop_files/tastymenu-desktops" + SOURCES *.desktop +) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1b8feb0..6de7d61 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -61,8 +61,8 @@ tde_add_kpart( tastymenu_panelapplet AUTOMOC ##### other data -install( - FILES tastymenu.desktop +tde_create_translated_desktop( + SOURCE tastymenu.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets ) diff --git a/src/tastymenu.desktop b/src/tastymenu.desktop index 25fe241..2db95dc 100644 --- a/src/tastymenu.desktop +++ b/src/tastymenu.desktop @@ -1,10 +1,10 @@ [Desktop Entry] -Type=Plugin -Encoding=UTF-8 -Comment=A TMenu replacement - Name=Tasty Menu +Comment=A TMenu replacement + +Type=Plugin Icon=kmenu +Encoding=UTF-8 X-TDE-Library=tastymenu_panelapplet X-TDE-UniqueApplet = false |