diff --git a/CMakeLists.txt b/CMakeLists.txt index c1cebb5..3f15dff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" add_subdirectory( systemsettings ) tde_conditional_add_subdirectory( BUILD_DOC doc ) -tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) +tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations ) ##### write configure files diff --git a/subdirs b/subdirs index f636017..03d97cd 100644 --- a/subdirs +++ b/subdirs @@ -1,3 +1,3 @@ doc systemsettings -po +translations diff --git a/systemsettings/CMakeL10n.txt b/systemsettings/CMakeL10n.txt index 54510f4..c5362e5 100644 --- a/systemsettings/CMakeL10n.txt +++ b/systemsettings/CMakeL10n.txt @@ -1,3 +1,3 @@ ##### create translation templates ############## -tde_l10n_create_template( "systemsettings" ) +tde_l10n_create_template( "messages/systemsettings/" ) diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt new file mode 100644 index 0000000..42b186a --- /dev/null +++ b/translations/CMakeLists.txt @@ -0,0 +1 @@ +tde_auto_add_subdirectories() diff --git a/translations/Makefile.am b/translations/Makefile.am new file mode 100644 index 0000000..533bb55 --- /dev/null +++ b/translations/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = messages diff --git a/po/CMakeLists.txt b/translations/messages/CMakeLists.txt similarity index 100% rename from po/CMakeLists.txt rename to translations/messages/CMakeLists.txt diff --git a/translations/messages/Makefile.am b/translations/messages/Makefile.am new file mode 100644 index 0000000..c9f56e8 --- /dev/null +++ b/translations/messages/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = systemsettings diff --git a/po/Makefile.am b/translations/messages/systemsettings/Makefile.am similarity index 100% rename from po/Makefile.am rename to translations/messages/systemsettings/Makefile.am diff --git a/translations/messages/systemsettings/de.po b/translations/messages/systemsettings/de.po new file mode 100644 index 0000000..f8f0a22 --- /dev/null +++ b/translations/messages/systemsettings/de.po @@ -0,0 +1,105 @@ +# SOME DESCRIPTIVE TITLE. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2020-05-11 04:30+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Instead of a literal translation, add your name to the end of the list (separated by a comma). +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "" + +#. Instead of a literal translation, add your email to the end of the list (separated by a comma). +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +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 "" diff --git a/translations/messages/systemsettings/pl.po b/translations/messages/systemsettings/pl.po new file mode 100644 index 0000000..262c982 --- /dev/null +++ b/translations/messages/systemsettings/pl.po @@ -0,0 +1,106 @@ +# SOME DESCRIPTIVE TITLE. +# Jan Stolarek , 2020. +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2020-05-11 04:30+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Instead of a literal translation, add your name to the end of the list (separated by a comma). +#, ignore-inconsistent +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "" + +#. Instead of a literal translation, add your email to the end of the list (separated by a comma). +#, ignore-inconsistent +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +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 "" diff --git a/translations/messages/systemsettings/systemsettings.pot b/translations/messages/systemsettings/systemsettings.pot new file mode 100644 index 0000000..aefdb3f --- /dev/null +++ b/translations/messages/systemsettings/systemsettings.pot @@ -0,0 +1,107 @@ +# SOME DESCRIPTIVE TITLE. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2020-05-11 04:30+0200\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" + +#. Instead of a literal translation, add your name to the end of the list (separated by a comma). +#, ignore-inconsistent +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "" + +#. Instead of a literal translation, add your email to the end of the list (separated by a comma). +#, ignore-inconsistent +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +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 ""