Copy translations to a new directory layout.

Added translation of .desktop files.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c494295ce5)
r14.0.x
Slávek Banko 3 years ago
parent 1928b5fa09
commit 761e0ef0fe
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -70,7 +70,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
add_subdirectory( src )
tde_conditional_add_project_docs( BUILD_DOC )
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
##### write configure files

@ -1 +0,0 @@
tde_add_project_translations()

@ -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
)

@ -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

@ -0,0 +1,32 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-01 15:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: qalculate_tde.desktop:2
msgid "Qalculate!"
msgstr ""
#. GenericName
#: qalculate_tde.desktop:4
msgid "Scientific Calculator"
msgstr ""
#. Comment
#: qalculate_tde.desktop:6
msgid "Powerful and easy to use desktop calculator"
msgstr ""

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save