summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeL10n.txt23
-rw-r--r--po/kdocker.pot146
-rw-r--r--src/CMakeL10n.txt3
3 files changed, 103 insertions, 69 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
new file mode 100644
index 0000000..a525b71
--- /dev/null
+++ b/CMakeL10n.txt
@@ -0,0 +1,23 @@
+#################################################
+#
+# (C) 2018 Slávek Banko
+# slavek.banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+cmake_minimum_required( VERSION 2.8 )
+
+
+##### include our cmake modules #################
+
+set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
+include( TDEL10n )
+
+
+##### create translation templates ##############
+
+tde_l10n_auto_add_subdirectories( )
diff --git a/po/kdocker.pot b/po/kdocker.pot
index 8579021..bd7fceb 100644
--- a/po/kdocker.pot
+++ b/po/kdocker.pot
@@ -1,211 +1,222 @@
# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: KDocker 1.4\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-07-05 19:56+0200\n"
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2018-12-31 15:50+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=CHARSET\n"
+"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: customtraylabel.cpp:62
+#: _translatorinfo:1
+msgid ""
+"_: NAME OF TRANSLATORS\n"
+"Your names"
+msgstr ""
+
+#: _translatorinfo:2
+msgid ""
+"_: EMAIL OF TRANSLATORS\n"
+"Your emails"
+msgstr ""
+
+#: customtraylabel.cpp:64
msgid "Dock when session restored"
msgstr ""
-#: customtraylabel.cpp:68
+#: customtraylabel.cpp:70
msgid "Launch on startup"
msgstr ""
-#: customtraylabel.cpp:74
+#: customtraylabel.cpp:76
msgid "Set Icon"
msgstr ""
-#: customtraylabel.cpp:76
+#: customtraylabel.cpp:78
msgid "Set balloon timeout"
msgstr ""
-#: customtraylabel.cpp:81
+#: customtraylabel.cpp:83
msgid "Dock when obscured"
msgstr ""
-#: customtraylabel.cpp:87
+#: customtraylabel.cpp:89
msgid "Dock when minimized"
msgstr ""
-#: customtraylabel.cpp:93
+#: customtraylabel.cpp:95
msgid "Dock when focus lost"
msgstr ""
-#: customtraylabel.cpp:99
+#: customtraylabel.cpp:101
msgid "Skip taskbar"
msgstr ""
-#: customtraylabel.cpp:107 traylabelmgr.cpp:63
+#: customtraylabel.cpp:109 traylabelmgr.cpp:65
msgid "About KDocker"
msgstr ""
-#: customtraylabel.cpp:109 kdocker.cpp:116
+#: customtraylabel.cpp:111 kdocker.cpp:98
msgid "Options"
msgstr ""
-#: customtraylabel.cpp:110
+#: customtraylabel.cpp:112
msgid "Dock Another"
msgstr ""
-#: customtraylabel.cpp:111 traylabelmgr.cpp:430
+#: customtraylabel.cpp:113 traylabelmgr.cpp:432
msgid "Undock All"
msgstr ""
-#: customtraylabel.cpp:116
+#: customtraylabel.cpp:118
msgid "Undock"
msgstr ""
-#: customtraylabel.cpp:117
+#: customtraylabel.cpp:119
msgid "Close"
msgstr ""
-#: customtraylabel.cpp:215 customtraylabel.cpp:226 customtraylabel.cpp:259
-#: traylabelmgr.cpp:92 traylabelmgr.cpp:289 traylabelmgr.cpp:300
-#: traylabelmgr.cpp:311 traylabelmgr.cpp:428
+#: customtraylabel.cpp:217 customtraylabel.cpp:228 customtraylabel.cpp:261
+#: traylabelmgr.cpp:94 traylabelmgr.cpp:291 traylabelmgr.cpp:302
+#: traylabelmgr.cpp:313 traylabelmgr.cpp:430
msgid "KDocker"
msgstr ""
-#: customtraylabel.cpp:216
+#: customtraylabel.cpp:218
msgid "%1 is not a valid icon"
msgstr ""
-#: customtraylabel.cpp:227
+#: customtraylabel.cpp:229
msgid "Enter balloon timeout (secs). 0 to disable ballooning"
msgstr ""
-#: customtraylabel.cpp:260
+#: customtraylabel.cpp:262
msgid "\"%1\" is not a valid executable or was not found in your $PATH"
msgstr ""
-#: customtraylabel.cpp:262
+#: customtraylabel.cpp:264
msgid "Select program"
msgstr ""
-#: customtraylabel.cpp:262
+#: customtraylabel.cpp:264
msgid "Cancel"
msgstr ""
-#: customtraylabel.cpp:283
+#: customtraylabel.cpp:285
+#, c-format
msgid "Show %1"
msgstr ""
-#: customtraylabel.cpp:283
+#: customtraylabel.cpp:285
+#, c-format
msgid "Hide %1"
msgstr ""
-#: customtraylabel.cpp:357
+#: customtraylabel.cpp:359
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"
msgstr ""
-#: kdocker.cpp:111
+#: kdocker.cpp:93
+#, c-format
msgid "kdocker: invalid option -- %1"
msgstr ""
-#: kdocker.cpp:113
+#: kdocker.cpp:95
msgid "Usage: KDocker [options] command\n"
msgstr ""
-#: kdocker.cpp:114
+#: kdocker.cpp:96
msgid "Docks any application into the system tray\n"
msgstr ""
-#: kdocker.cpp:115
+#: kdocker.cpp:97
msgid "command \tCommand to execute\n"
msgstr ""
-#: kdocker.cpp:117
+#: kdocker.cpp:99
msgid "-a \tShow author information"
msgstr ""
-#: kdocker.cpp:118
+#: kdocker.cpp:100
msgid "-b \tDont warn about non-normal windows (blind mode)"
msgstr ""
-#: kdocker.cpp:119
+#: kdocker.cpp:101
msgid "-d \tDisable session management"
msgstr ""
-#: kdocker.cpp:120
+#: kdocker.cpp:102
msgid "-e \tEnable session management"
msgstr ""
-#: kdocker.cpp:121
+#: kdocker.cpp:103
msgid "-f \tDock window that has the focus(active window)"
msgstr ""
-#: kdocker.cpp:122
+#: kdocker.cpp:104
msgid "-h \tDisplay this help"
msgstr ""
-#: kdocker.cpp:123
+#: kdocker.cpp:105
msgid "-i icon\tCustom dock Icon"
msgstr ""
-#: kdocker.cpp:124
+#: kdocker.cpp:106
msgid "-l \tLaunch on startup"
msgstr ""
-#: kdocker.cpp:125
+#: kdocker.cpp:107
msgid "-m \tKeep application window mapped (dont hide on dock)"
msgstr ""
-#: kdocker.cpp:126
+#: kdocker.cpp:108
msgid "-o \tDock when obscured"
msgstr ""
-#: kdocker.cpp:127
+#: kdocker.cpp:109
msgid "-p secs\tSet ballooning timeout (popup time)"
msgstr ""
-#: kdocker.cpp:128
+#: kdocker.cpp:110
msgid "-q \tDisable ballooning title changes (quiet)"
msgstr ""
-#: kdocker.cpp:129
+#: kdocker.cpp:111
msgid "-t \tRemove this application from the task bar"
msgstr ""
-#: kdocker.cpp:130
+#: kdocker.cpp:112
msgid "-v \tDisplay version"
msgstr ""
-#: kdocker.cpp:131
+#: kdocker.cpp:113
msgid "-w wid \tWindow id of the application to dock\n"
msgstr ""
-#: kdocker.cpp:133
+#: kdocker.cpp:115
msgid "NOTE: Use -d for all startup scripts.\n"
msgstr ""
-#: kdocker.cpp:135
+#: kdocker.cpp:117
msgid "Bugs and wishes to gramakri@uiuc.edu"
msgstr ""
-#: kdocker.cpp:136
+#: kdocker.cpp:118
msgid "Project information at http://kdocker.sourceforge.net"
msgstr ""
-#: main.cpp:41
+#: main.cpp:43
msgid "Caught signal %1. Cleaning up."
msgstr ""
-#: traylabelmgr.cpp:64
+#: traylabelmgr.cpp:66
msgid ""
"Bugs/wishes to Girish Ramakrishnan (gramakri@uiuc.edu)\n"
"English translation by Girish (gramakri@uiuc.edu)\n"
@@ -213,45 +224,42 @@ msgid ""
"http://kdocker.sourceforge.net for updates"
msgstr ""
-#: traylabelmgr.cpp:93
-msgid "No system tray found"
-msgstr ""
-
-#: traylabelmgr.cpp:207
+#: traylabelmgr.cpp:209
msgid "Girish Ramakrishnan (gramakri@uiuc.edu)"
msgstr ""
-#: traylabelmgr.cpp:282
+#: traylabelmgr.cpp:284
msgid "Select the application/window to dock with button1."
msgstr ""
-#: traylabelmgr.cpp:283
+#: traylabelmgr.cpp:285
msgid "Click any other button to abort\n"
msgstr ""
-#: traylabelmgr.cpp:301
+#: traylabelmgr.cpp:303
msgid ""
"The window you are attempting to dock does not seem to be a normal window."
msgstr ""
-#: traylabelmgr.cpp:312
+#: traylabelmgr.cpp:314
msgid ""
"This window is already docked.\n"
"Click on system tray icon to toggle docking."
msgstr ""
-#: traylabelmgr.cpp:353
+#: traylabelmgr.cpp:355
msgid "Failed to exec [%1]: %2"
msgstr ""
-#: traylabelmgr.cpp:362
+#: traylabelmgr.cpp:364
+#, c-format
msgid "Failed to fork: %1"
msgstr ""
-#: traylabelmgr.cpp:429
+#: traylabelmgr.cpp:431
msgid "The System tray was hidden or removed"
msgstr ""
-#: traylabelmgr.cpp:430
+#: traylabelmgr.cpp:432
msgid "Ignore"
msgstr ""
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
new file mode 100644
index 0000000..fc3b369
--- /dev/null
+++ b/src/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_create_template( "kdocker" )