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/2/head
Slávek Banko 5 years ago
parent 9085d2c96d
commit d0dd2bfdcf
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -21,3 +21,8 @@ include( TDEL10n )
##### create translation templates ############## ##### create translation templates ##############
tde_l10n_auto_add_subdirectories( ) tde_l10n_auto_add_subdirectories( )
tde_l10n_create_template(
CATALOG "desktop_files/tdedocker.desktop/"
SOURCES tdedocker.desktop
)

@ -78,4 +78,4 @@ tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations )
##### other data ################################ ##### other data ################################
INSTALL(FILES tdedocker.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) tde_create_translated_desktop( tdedocker.desktop )

@ -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-03-26 17:51+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
#: tdedocker.desktop:2
msgid "TDEDocker"
msgstr ""
#. GenericName
#: tdedocker.desktop:3
msgid "Application docking utility"
msgstr ""
#. Comment
#: tdedocker.desktop:4
msgid "Docks any application into system tray"
msgstr ""

@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2020-03-16 17:24+0100\n" "POT-Creation-Date: 2020-03-26 17:51+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -25,71 +25,71 @@ msgid ""
"Your emails" "Your emails"
msgstr "" msgstr ""
#: customtraylabel.cpp:65 #: customtraylabel.cpp:64
msgid "Dock when session restored" msgid "Dock when session restored"
msgstr "" msgstr ""
#: customtraylabel.cpp:71 #: customtraylabel.cpp:70
msgid "Set Icon" msgid "Set Icon"
msgstr "" msgstr ""
#: customtraylabel.cpp:73 #: customtraylabel.cpp:72
msgid "Set balloon timeout" msgid "Set balloon timeout"
msgstr "" msgstr ""
#: customtraylabel.cpp:78 main.cpp:60 #: customtraylabel.cpp:77 main.cpp:60
msgid "Dock when obscured" msgid "Dock when obscured"
msgstr "" msgstr ""
#: customtraylabel.cpp:84 #: customtraylabel.cpp:83
msgid "Dock when minimized" msgid "Dock when minimized"
msgstr "" msgstr ""
#: customtraylabel.cpp:90 #: customtraylabel.cpp:89
msgid "Dock when focus lost" msgid "Dock when focus lost"
msgstr "" msgstr ""
#: customtraylabel.cpp:96 #: customtraylabel.cpp:95
msgid "Skip taskbar" msgid "Skip taskbar"
msgstr "" msgstr ""
#: customtraylabel.cpp:104 #: customtraylabel.cpp:103
msgid "Dock Another" msgid "Dock Another"
msgstr "" msgstr ""
#: customtraylabel.cpp:105 #: customtraylabel.cpp:104
msgid "Undock All" msgid "Undock All"
msgstr "" msgstr ""
#: customtraylabel.cpp:110 #: customtraylabel.cpp:109
msgid "Undock" msgid "Undock"
msgstr "" msgstr ""
#: customtraylabel.cpp:205 #: customtraylabel.cpp:217
msgid "%1 is not a valid icon" msgid "%1 is not a valid icon"
msgstr "" msgstr ""
#: customtraylabel.cpp:205 customtraylabel.cpp:215 customtraylabel.cpp:308 #: customtraylabel.cpp:217 customtraylabel.cpp:227 customtraylabel.cpp:320
#: traylabelmgr.cpp:86 traylabelmgr.cpp:345 traylabelmgr.cpp:359 #: traylabelmgr.cpp:85 traylabelmgr.cpp:349 traylabelmgr.cpp:363
#: traylabelmgr.cpp:370 traylabelmgr.cpp:484 #: traylabelmgr.cpp:374 traylabelmgr.cpp:493
msgid "TDEDocker" msgid "TDEDocker"
msgstr "" msgstr ""
#: customtraylabel.cpp:216 #: customtraylabel.cpp:228
msgid "Enter balloon timeout (secs). 0 to disable ballooning" msgid "Enter balloon timeout (secs). 0 to disable ballooning"
msgstr "" msgstr ""
#: customtraylabel.cpp:228 #: customtraylabel.cpp:240
#, c-format #, c-format
msgid "Show %1" msgid "Show %1"
msgstr "" msgstr ""
#: customtraylabel.cpp:228 #: customtraylabel.cpp:240
#, c-format #, c-format
msgid "Hide %1" msgid "Hide %1"
msgstr "" msgstr ""
#: customtraylabel.cpp:307 #: customtraylabel.cpp:319
msgid "" msgid ""
"You cannot drop an item into the tray icon. Drop it on the window\n" "You cannot drop an item into the tray icon. Drop it on the window\n"
"that is brought in front when you hover the item over the tray icon" "that is brought in front when you hover the item over the tray icon"
@ -143,65 +143,65 @@ msgstr ""
msgid "Application to dock" msgid "Application to dock"
msgstr "" msgstr ""
#: main.cpp:78 #: main.cpp:72
msgid "tdedocker" msgid "tdedocker"
msgstr "" msgstr ""
#: main.cpp:79 #: main.cpp:73
msgid "" msgid ""
"Docks any application into the system tray\n" "Docks any application into the system tray\n"
"NOTE: Use -d for all startup scripts." "NOTE: Use -d for all startup scripts."
msgstr "" msgstr ""
#: main.cpp:80 #: main.cpp:74
msgid "Original KDocker maintainer" msgid "Original KDocker maintainer"
msgstr "" msgstr ""
#: main.cpp:81 #: main.cpp:75
msgid "Original KDocker developer" msgid "Original KDocker developer"
msgstr "" msgstr ""
#: traylabelmgr.cpp:85 #: traylabelmgr.cpp:84
msgid "No system tray found" msgid "No system tray found"
msgstr "" msgstr ""
#: traylabelmgr.cpp:85 #: traylabelmgr.cpp:84
msgid "System tray appears to be hidden" msgid "System tray appears to be hidden"
msgstr "" msgstr ""
#: traylabelmgr.cpp:336 #: traylabelmgr.cpp:340
msgid "Select the application/window to dock with button1." msgid "Select the application/window to dock with button1."
msgstr "" msgstr ""
#: traylabelmgr.cpp:337 #: traylabelmgr.cpp:341
msgid "Click any other button to abort\n" msgid "Click any other button to abort\n"
msgstr "" msgstr ""
#: traylabelmgr.cpp:358 #: traylabelmgr.cpp:362
msgid "" msgid ""
"The window you are attempting to dock does not seem to be a normal window." "The window you are attempting to dock does not seem to be a normal window."
msgstr "" msgstr ""
#: traylabelmgr.cpp:369 #: traylabelmgr.cpp:373
msgid "" msgid ""
"This window is already docked.\n" "This window is already docked.\n"
"Click on system tray icon to toggle docking." "Click on system tray icon to toggle docking."
msgstr "" msgstr ""
#: traylabelmgr.cpp:409 #: traylabelmgr.cpp:413
msgid "Failed to exec [%1]: %2" msgid "Failed to exec [%1]: %2"
msgstr "" msgstr ""
#: traylabelmgr.cpp:417 #: traylabelmgr.cpp:423
#, c-format #, c-format
msgid "Failed to fork: %1" msgid "Failed to fork: %1"
msgstr "" msgstr ""
#: traylabelmgr.cpp:417 #: traylabelmgr.cpp:423
msgid "Ignore" msgid "Ignore"
msgstr "" msgstr ""
#: traylabelmgr.cpp:483 #: traylabelmgr.cpp:492
msgid "" msgid ""
"The System tray was hidden or removed. All applications will be undocked." "The System tray was hidden or removed. All applications will be undocked."
msgstr "" msgstr ""

Loading…
Cancel
Save