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>
pull/4/head
Slávek Banko 5 years ago
parent 40b544fdf6
commit bfad2b405a
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/kdirstat" )
tde_l10n_create_template(
CATALOG "desktop_files/kdirstat.desktop/"
SOURCES kdirstat.desktop
)

@ -66,7 +66,4 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update
)
install(
FILES ${PROJECT_NAME}.desktop
DESTINATION ${APPS_INSTALL_DIR}/Utilities
)
tde_create_translated_desktop( ${PROJECT_NAME}.desktop )

@ -6,14 +6,8 @@ MiniIcon=kdirstat
X-DocPath=kdirstat/index.html
Encoding=UTF-8
Comment=Directory statistics and disk usage
Comment[de]=Verzeichnisstatistik und Platzverbrauch
Comment[hu]=Könyvtárstatisztikák és szabad hely
Terminal=0
Name=KDirStat
Name[de]=KDirStat - Verzeichnisstatistik
Name[hu]=KDirStat könyvtárstatisztika
GenericName=Directory Statistics
GenericName[de]=Verzeichnisstatistik
GenericName[hu]=könyvtárstatisztika
MimeType=inode/directory
Categories=Qt;TDE;Utility;X-TDE-Utilities-File;

@ -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: 2020-04-06 15:50+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: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Comment
#: kdirstat.desktop:8
msgid "Directory statistics and disk usage"
msgstr "Verzeichnisstatistik und Platzverbrauch"
#. Name
#: kdirstat.desktop:10
msgid "KDirStat"
msgstr "KDirStat - Verzeichnisstatistik"
#. GenericName
#: kdirstat.desktop:11
msgid "Directory Statistics"
msgstr "Verzeichnisstatistik"

@ -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: 2020-04-06 15:50+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: hu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Comment
#: kdirstat.desktop:8
msgid "Directory statistics and disk usage"
msgstr "Könyvtárstatisztikák és szabad hely"
#. Name
#: kdirstat.desktop:10
msgid "KDirStat"
msgstr "KDirStat könyvtárstatisztika"
#. GenericName
#: kdirstat.desktop:11
msgid "Directory Statistics"
msgstr "könyvtárstatisztika"

@ -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: 2020-04-06 15:50+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"
#. Comment
#: kdirstat.desktop:8
msgid "Directory statistics and disk usage"
msgstr ""
#. Name
#: kdirstat.desktop:10
msgid "KDirStat"
msgstr ""
#. GenericName
#: kdirstat.desktop:11
msgid "Directory Statistics"
msgstr ""
Loading…
Cancel
Save