summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-12-11 18:11:12 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-12-11 18:11:12 +0100
commit07f530c60508836ef837aece0415ac89b66fdf53 (patch)
treed713b04568df5d3329727ac91b5fce37972bae27
parent2e25c83ef8f1e13faff939cc90afd589bbdb901f (diff)
downloadkcmautostart-07f530c60508836ef837aece0415ac89b66fdf53.tar.gz
kcmautostart-07f530c60508836ef837aece0415ac89b66fdf53.zip
Add CMakeL10n rules.
Update translation template. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--CMakeL10n.txt23
-rw-r--r--po/CMakeLists.txt7
-rw-r--r--po/autostart.pot87
-rw-r--r--src/CMakeL10n.txt3
4 files changed, 97 insertions, 23 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/CMakeLists.txt b/po/CMakeLists.txt
index 2686f83..d1f5c7c 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -1 +1,6 @@
-tde_create_translation( LANG auto OUTPUT_NAME autostart )
+# build translations if some are already available
+
+file( GLOB _srcs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )
+if( _srcs )
+ tde_create_translation( LANG auto OUTPUT_NAME autostart )
+endif( )
diff --git a/po/autostart.pot b/po/autostart.pot
index 25e7dfb..63bb398 100644
--- a/po/autostart.pot
+++ b/po/autostart.pot
@@ -1,57 +1,100 @@
-# translation of autostart.po to
-# Header entry was created by KBabel!
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
-# Stephen Leaf <smileaf@smileaf.org>, 2006.
+#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2018-12-11 18:06+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"
+"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Mime-Version: 1.0"
-"Last-Translator: Stephen Leaf <smileaf@smileaf.org>\n"
-"PO-Revision-Date: 2006-11-18 13:19-0600\n"
-"Project-Id-Version: autostart\n"
-"Language-Team: <en@li.org>\n"
-"X-Generator: KBabel 1.11.4\n"
-"MIME-Version: 1.0\n"
-"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: ../src/autostart.cpp:61
+#: _translatorinfo:1
+msgid ""
+"_: NAME OF TRANSLATORS\n"
+"Your names"
+msgstr ""
+
+#: _translatorinfo:2
+msgid ""
+"_: EMAIL OF TRANSLATORS\n"
+"Your emails"
+msgstr ""
+
+#: autostart.cpp:73 autostart.cpp:155
msgid "Startup"
msgstr ""
-#: ../src/autostart.cpp:62
+#: autostart.cpp:76 autostart.cpp:156
msgid "Shutdown"
msgstr ""
-#: ../src/autostart.cpp:63
+#: autostart.cpp:79 autostart.cpp:157
msgid "ENV"
msgstr ""
-#: ../src/autostart.cpp:102
+#: autostart.cpp:136
msgid "Name"
msgstr ""
-#: ../src/autostart.cpp:103
+#: autostart.cpp:137
msgid "Command"
msgstr ""
-#: ../src/autostart.cpp:104
+#: autostart.cpp:138
msgid "Run on"
msgstr ""
-#: ../src/autostart.cpp:129
+#: autostart.cpp:160
msgid "&Add"
msgstr ""
-#: ../src/autostart.cpp:131
+#: autostart.cpp:161
+msgid "Alt+A"
+msgstr ""
+
+#: autostart.cpp:162
msgid "&Remove"
msgstr ""
-#: ../src/autostart.cpp:133
+#: autostart.cpp:163
+msgid "Alt+R"
+msgstr ""
+
+#: autostart.cpp:164
msgid "&Properties"
msgstr ""
-#: ../src/autostart.cpp:317
-msgid "This module helps you configure which applications KDE runs When starting up and shutting down."
+#: autostart.cpp:165
+msgid "Alt+P"
msgstr ""
+#: autostart.cpp:178
+msgid "TDE Autostart Manager"
+msgstr ""
+
+#: autostart.cpp:179
+msgid "TDE Autostart Manager Control Panel Module"
+msgstr ""
+
+#: autostart.cpp:181
+msgid "(c) 2006 Stephen Leaf"
+msgstr ""
+
+#: autostart.cpp:255
+msgid "Cannot add a Service entry to the list of autostart modules.\n"
+msgstr ""
+
+#: autostart.cpp:278
+msgid "Can't find a matching entry for the selected item.\n"
+msgstr ""
+
+#: autostart.cpp:348
+msgid ""
+"This module helps configure which applications TDE runs when starting and "
+"exiting."
+msgstr ""
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
new file mode 100644
index 0000000..30cff95
--- /dev/null
+++ b/src/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_create_template( "autostart" )