summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-02-19 15:40:48 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-02-19 15:44:39 +0100
commitece5ecce2586d96c8c3c10203f427510edc30f31 (patch)
treeed92a1dc133e2a3f7456a369e9726bc119dbc8fa /src
parent9818b210e2163e93e67a40b75b7420feae9c4e16 (diff)
downloadkbfx-ece5ecce2586d96c8c3c10203f427510edc30f31.tar.gz
kbfx-ece5ecce2586d96c8c3c10203f427510edc30f31.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/CMakeLists.txt5
-rw-r--r--src/kbfxspinx.desktop11
2 files changed, 6 insertions, 10 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7a66ab8..9b9978c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -48,4 +48,7 @@ tde_add_kpart( ${target} AUTOMOC
##### desktop files ###############################
-INSTALL(FILES kbfxspinx.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets)
+tde_create_translated_desktop(
+ SOURCE kbfxspinx.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
+)
diff --git a/src/kbfxspinx.desktop b/src/kbfxspinx.desktop
index 4805ae9..bd7597f 100644
--- a/src/kbfxspinx.desktop
+++ b/src/kbfxspinx.desktop
@@ -1,15 +1,8 @@
[Desktop Entry]
-Encoding=UTF-8
Name=KBFX Spinx
+
Comment=K-Menu Replacement
-Comment[de]=K-Menü- Nachfolger
-Comment[el]=Αντικαταστάτης του K-Μενού
-Comment[et]=K-menüü asendus
-Comment[fr]=Remplacement du menu K
-Comment[nl]=K-Menu-vervanging
-Comment[pt]=Substituto do Menu K
-Comment[pt_BR]=Substituto do Menu K
-Comment[sv]=Ersättning av K-menyn
+
Icon=kbfx
X-TDE-Library=kbfxspinx
X-TDE-UniqueApplet=true