summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-02-01 15:11:06 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-02-01 15:20:17 +0100
commitc494295ce5aff06390941e52338d41e2bb1f1c8f (patch)
treefa6bbd7ebd9fb37afe189083f4ed92c29d2f4fe0 /src
parentcc9c5c67c96cf2893982df88c39b095947f94e57 (diff)
downloadqalculate-tde-c494295ce5aff06390941e52338d41e2bb1f1c8f.tar.gz
qalculate-tde-c494295ce5aff06390941e52338d41e2bb1f1c8f.zip
Copy translations to a new directory layout.
Added translation of .desktop files. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeL10n.txt7
-rw-r--r--src/qalculate_tde.desktop11
2 files changed, 13 insertions, 5 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
index ce144b5..70834da 100644
--- a/src/CMakeL10n.txt
+++ b/src/CMakeL10n.txt
@@ -1,3 +1,8 @@
##### create translation templates ##############
-tde_l10n_create_template( "qalculate_tde" )
+tde_l10n_create_template( "messages/qalculate_tde" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/qalculate_tde-desktops"
+ SOURCES *.desktop
+)
diff --git a/src/qalculate_tde.desktop b/src/qalculate_tde.desktop
index c92ea56..b8e4beb 100644
--- a/src/qalculate_tde.desktop
+++ b/src/qalculate_tde.desktop
@@ -1,13 +1,16 @@
[Desktop Entry]
Name=Qalculate!
+
GenericName=Scientific Calculator
+
+Comment=Powerful and easy to use desktop calculator
+
+Type=Application
Exec=qalculate-tde
Icon=qalculate_tde
-Type=Application
-X-DocPath=qalculate_tde/index.html
-Categories=Qt;TDE;Utility;Science;
Terminal=false
+Categories=Qt;TDE;Utility;Science;
+X-DocPath=qalculate_tde/index.html
X-DCOP-ServiceType=Unique
X-DCOP-ServiceName=qalculate_tde
X-TDE-StartupNotify=true
-Comment=Powerful and easy to use desktop calculator