From 58c74f5125817efa39c2919e5386aaa1e1d39011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 8 Jan 2019 15:06:57 +0100 Subject: [PATCH] Add CMakeL10n rules. Create translation template. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit c14305678bcd08f2d12a36a928927f5711ddb6df) --- CMakeL10n.txt | 23 +++++++ po/Makefile.am | 1 + po/systemsettings.pot | 119 +++++++++++++++++++++++++++++++++++ subdirs | 1 + systemsettings/CMakeL10n.txt | 3 + 5 files changed, 147 insertions(+) create mode 100644 CMakeL10n.txt create mode 100644 po/Makefile.am create mode 100644 po/systemsettings.pot create mode 100644 systemsettings/CMakeL10n.txt 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 , 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 \n" +"Language-Team: LANGUAGE \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

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 \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" )