Desktop file translations:

+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 67c4510788)
r14.0.x
Slávek Banko 5 years ago
parent db80932da2
commit 5e467df252
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1,3 +1,8 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/kkbswitch" )
tde_l10n_create_template(
CATALOG "desktop_files/kkbswitch.desktop/"
SOURCES kkbswitch.desktop
)

@ -45,8 +45,8 @@ tde_add_executable( ${PROJECT_NAME} AUTOMOC
##### other data
install(
FILES ${PROJECT_NAME}.desktop
tde_create_translated_desktop(
SOURCE ${PROJECT_NAME}.desktop
DESTINATION ${AUTOSTART_INSTALL_DIR}
)

@ -7,8 +7,6 @@ Terminal=false
Icon=kkbswitch
X-DocPath=kkbswitch/index.html
Comment=Keyboard Layout Indicator
Comment[ru]=Индикатор раскладки клавиатуры
Comment[uk]=Індикатор розкладки клавіатури
X-TDE-autostart-after=panel
X-TDE-autostart-condition=kkbswitchrc:Options:autostart:true
X-TDE-autostart-phase=2

@ -0,0 +1,28 @@
# 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: 2020-04-06 16:53+0200\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
#: kkbswitch.desktop:3
msgid "KKBSwitch"
msgstr ""
#. GenericName
#. Comment
#: kkbswitch.desktop:4 kkbswitch.desktop:9
msgid "Keyboard Layout Indicator"
msgstr ""

@ -0,0 +1,28 @@
# 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: 2020-04-06 16:53+0200\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: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kkbswitch.desktop:3
msgid "KKBSwitch"
msgstr ""
#. GenericName
#. Comment
#: kkbswitch.desktop:4 kkbswitch.desktop:9
msgid "Keyboard Layout Indicator"
msgstr "Индикатор раскладки клавиатуры"

@ -0,0 +1,28 @@
# 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: 2020-04-06 16:53+0200\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: uk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kkbswitch.desktop:3
msgid "KKBSwitch"
msgstr ""
#. GenericName
#. Comment
#: kkbswitch.desktop:4 kkbswitch.desktop:9
msgid "Keyboard Layout Indicator"
msgstr "Індикатор розкладки клавіатури"
Loading…
Cancel
Save