summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-01-08 15:06:57 +0100
committerSlávek Banko <[email protected]>2019-01-08 15:07:16 +0100
commit58c74f5125817efa39c2919e5386aaa1e1d39011 (patch)
tree30d27e1332bdf5f45242eb5f631a1c3cfbda0e42
parentf86fb44a34ca5fdb07fed9ae3e67d89da527f516 (diff)
downloadtde-systemsettings-58c74f5125817efa39c2919e5386aaa1e1d39011.tar.gz
tde-systemsettings-58c74f5125817efa39c2919e5386aaa1e1d39011.zip
Add CMakeL10n rules.
Create translation template. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit c14305678bcd08f2d12a36a928927f5711ddb6df)
-rw-r--r--CMakeL10n.txt23
-rw-r--r--po/Makefile.am1
-rw-r--r--po/systemsettings.pot119
-rw-r--r--subdirs1
-rw-r--r--systemsettings/CMakeL10n.txt3
5 files changed, 147 insertions, 0 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
new file mode 100644
index 0000000..9730a56
--- /dev/null
+++ b/CMakeL10n.txt
@@ -0,0 +1,23 @@
+#################################################
+#
+# (C) 2019 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/Makefile.am b/po/Makefile.am
new file mode 100644
index 0000000..0fa209c
--- /dev/null
+++ b/po/Makefile.am
@@ -0,0 +1 @@
+POFILES = AUTO
diff --git a/po/systemsettings.pot b/po/systemsettings.pot
new file mode 100644
index 0000000..dd5f0bc
--- /dev/null
+++ b/po/systemsettings.pot
@@ -0,0 +1,119 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2019-01-08 14:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <[email protected]>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: _translatorinfo:1
+msgid ""
+"_: NAME OF TRANSLATORS\n"
+"Your names"
+msgstr ""
+
+#: _translatorinfo:2
+msgid ""
+"_: EMAIL OF TRANSLATORS\n"
+"Your emails"
+msgstr ""
+
+#: kcmultiwidget.cpp:66
+msgid "Configure"
+msgstr ""
+
+#: kcmultiwidget.cpp:346
+msgid ""
+"There are unsaved changes in the active module.\n"
+"Do you want to apply the changes or discard them?"
+msgstr ""
+
+#: kcmultiwidget.cpp:348
+msgid "Unsaved Changes"
+msgstr ""
+
+#: main.cpp:31
+msgid "Menu file"
+msgstr ""
+
+#: main.cpp:33
+msgid "Embed windows"
+msgstr ""
+
+#: main.cpp:41 main.cpp:42
+msgid "System Settings"
+msgstr ""
+
+#: main.cpp:44
+msgid "Author & Maintainer"
+msgstr ""
+
+#: mainwindow.cpp:108
+msgid "Undo Changes"
+msgstr ""
+
+#: mainwindow.cpp:112
+msgid "Reset to Defaults"
+msgstr ""
+
+#: mainwindow.cpp:117
+msgid "Overview"
+msgstr ""
+
+#: mainwindow.cpp:122 mainwindow.cpp:314
+msgid "About Current Module"
+msgstr ""
+
+#: mainwindow.cpp:143 mainwindow.cpp:146
+msgid "&Search:"
+msgstr ""
+
+#: mainwindow.cpp:150
+msgid "Search System Settings"
+msgstr ""
+
+#: mainwindow.cpp:154
+msgid "Search Bar<p>Enter a search term."
+msgstr ""
+
+#: mainwindow.cpp:162
+msgid ""
+"Reset Search\n"
+"Resets the search so that all items are shown again."
+msgstr ""
+
+#: mainwindow.cpp:303
+#, c-format
+msgid ""
+"_: Help menu->about <modulename>\n"
+"About %1"
+msgstr ""
+
+#: mainwindow.cpp:354
+msgid ""
+"_n: %1 hit in General\n"
+"%1 hits in General"
+msgstr ""
+
+#: mainwindow.cpp:358
+msgid ""
+"_n: %1 hit in Advanced\n"
+"%1 hits in Advanced"
+msgstr ""
+
+#: systemsettingsui.rc:5
+#, no-c-format
+msgid "&File"
+msgstr ""
+
+#: systemsettingsui.rc:11
+#, no-c-format
+msgid "&View"
+msgstr ""
diff --git a/subdirs b/subdirs
index 3ebebf3..f636017 100644
--- a/subdirs
+++ b/subdirs
@@ -1,2 +1,3 @@
doc
systemsettings
+po
diff --git a/systemsettings/CMakeL10n.txt b/systemsettings/CMakeL10n.txt
new file mode 100644
index 0000000..54510f4
--- /dev/null
+++ b/systemsettings/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_create_template( "systemsettings" )