diff --git a/CMakeL10n.txt b/CMakeL10n.txt index a525b71..b1583ab 100644 --- a/CMakeL10n.txt +++ b/CMakeL10n.txt @@ -21,3 +21,8 @@ include( TDEL10n ) ##### create translation templates ############## tde_l10n_auto_add_subdirectories( ) + +tde_l10n_create_template( + CATALOG "desktop_files/tdedocker.desktop/" + SOURCES tdedocker.desktop +) diff --git a/CMakeLists.txt b/CMakeLists.txt index 05ff24f..f1b30ab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,4 +78,4 @@ tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations ) ##### other data ################################ -INSTALL(FILES tdedocker.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) +tde_create_translated_desktop( tdedocker.desktop ) diff --git a/translations/desktop_files/tdedocker.desktop/tdedocker.desktop.pot b/translations/desktop_files/tdedocker.desktop/tdedocker.desktop.pot new file mode 100644 index 0000000..dc0e22a --- /dev/null +++ b/translations/desktop_files/tdedocker.desktop/tdedocker.desktop.pot @@ -0,0 +1,32 @@ +# SOME DESCRIPTIVE TITLE. +# This file is put in the public domain. +# FIRST AUTHOR , 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 \n" +"Language-Team: LANGUAGE \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 "" diff --git a/translations/messages/tdedocker.pot b/translations/messages/tdedocker.pot index c17ec5a..354dbd0 100644 --- a/translations/messages/tdedocker.pot +++ b/translations/messages/tdedocker.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "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" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -25,71 +25,71 @@ msgid "" "Your emails" msgstr "" -#: customtraylabel.cpp:65 +#: customtraylabel.cpp:64 msgid "Dock when session restored" msgstr "" -#: customtraylabel.cpp:71 +#: customtraylabel.cpp:70 msgid "Set Icon" msgstr "" -#: customtraylabel.cpp:73 +#: customtraylabel.cpp:72 msgid "Set balloon timeout" msgstr "" -#: customtraylabel.cpp:78 main.cpp:60 +#: customtraylabel.cpp:77 main.cpp:60 msgid "Dock when obscured" msgstr "" -#: customtraylabel.cpp:84 +#: customtraylabel.cpp:83 msgid "Dock when minimized" msgstr "" -#: customtraylabel.cpp:90 +#: customtraylabel.cpp:89 msgid "Dock when focus lost" msgstr "" -#: customtraylabel.cpp:96 +#: customtraylabel.cpp:95 msgid "Skip taskbar" msgstr "" -#: customtraylabel.cpp:104 +#: customtraylabel.cpp:103 msgid "Dock Another" msgstr "" -#: customtraylabel.cpp:105 +#: customtraylabel.cpp:104 msgid "Undock All" msgstr "" -#: customtraylabel.cpp:110 +#: customtraylabel.cpp:109 msgid "Undock" msgstr "" -#: customtraylabel.cpp:205 +#: customtraylabel.cpp:217 msgid "%1 is not a valid icon" msgstr "" -#: customtraylabel.cpp:205 customtraylabel.cpp:215 customtraylabel.cpp:308 -#: traylabelmgr.cpp:86 traylabelmgr.cpp:345 traylabelmgr.cpp:359 -#: traylabelmgr.cpp:370 traylabelmgr.cpp:484 +#: customtraylabel.cpp:217 customtraylabel.cpp:227 customtraylabel.cpp:320 +#: traylabelmgr.cpp:85 traylabelmgr.cpp:349 traylabelmgr.cpp:363 +#: traylabelmgr.cpp:374 traylabelmgr.cpp:493 msgid "TDEDocker" msgstr "" -#: customtraylabel.cpp:216 +#: customtraylabel.cpp:228 msgid "Enter balloon timeout (secs). 0 to disable ballooning" msgstr "" -#: customtraylabel.cpp:228 +#: customtraylabel.cpp:240 #, c-format msgid "Show %1" msgstr "" -#: customtraylabel.cpp:228 +#: customtraylabel.cpp:240 #, c-format msgid "Hide %1" msgstr "" -#: customtraylabel.cpp:307 +#: customtraylabel.cpp:319 msgid "" "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" @@ -143,65 +143,65 @@ msgstr "" msgid "Application to dock" msgstr "" -#: main.cpp:78 +#: main.cpp:72 msgid "tdedocker" msgstr "" -#: main.cpp:79 +#: main.cpp:73 msgid "" "Docks any application into the system tray\n" "NOTE: Use -d for all startup scripts." msgstr "" -#: main.cpp:80 +#: main.cpp:74 msgid "Original KDocker maintainer" msgstr "" -#: main.cpp:81 +#: main.cpp:75 msgid "Original KDocker developer" msgstr "" -#: traylabelmgr.cpp:85 +#: traylabelmgr.cpp:84 msgid "No system tray found" msgstr "" -#: traylabelmgr.cpp:85 +#: traylabelmgr.cpp:84 msgid "System tray appears to be hidden" msgstr "" -#: traylabelmgr.cpp:336 +#: traylabelmgr.cpp:340 msgid "Select the application/window to dock with button1." msgstr "" -#: traylabelmgr.cpp:337 +#: traylabelmgr.cpp:341 msgid "Click any other button to abort\n" msgstr "" -#: traylabelmgr.cpp:358 +#: traylabelmgr.cpp:362 msgid "" "The window you are attempting to dock does not seem to be a normal window." msgstr "" -#: traylabelmgr.cpp:369 +#: traylabelmgr.cpp:373 msgid "" "This window is already docked.\n" "Click on system tray icon to toggle docking." msgstr "" -#: traylabelmgr.cpp:409 +#: traylabelmgr.cpp:413 msgid "Failed to exec [%1]: %2" msgstr "" -#: traylabelmgr.cpp:417 +#: traylabelmgr.cpp:423 #, c-format msgid "Failed to fork: %1" msgstr "" -#: traylabelmgr.cpp:417 +#: traylabelmgr.cpp:423 msgid "Ignore" msgstr "" -#: traylabelmgr.cpp:483 +#: traylabelmgr.cpp:492 msgid "" "The System tray was hidden or removed. All applications will be undocked." msgstr ""