diff options
author | Slávek Banko <[email protected]> | 2020-08-07 15:45:07 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-08-08 22:18:39 +0200 |
commit | 020e6572c45823dc87b4f94c2f233e6e802a99db (patch) | |
tree | bfe8fae765cb4f260b52c9ad2c127cbfbd43e4f4 /translations | |
parent | 498e0c562f2acbb3e24b9b5ff6fdbec2c69b9b4f (diff) | |
download | tde-systemsettings-020e6572c45823dc87b4f94c2f233e6e802a99db.tar.gz tde-systemsettings-020e6572c45823dc87b4f94c2f233e6e802a99db.zip |
Move translations to a new directory layout.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit b3a20cdb91c509bc56df90f3190bf8e62a457f11)
Diffstat (limited to 'translations')
-rw-r--r-- | translations/CMakeLists.txt | 1 | ||||
-rw-r--r-- | translations/Makefile.am | 1 | ||||
-rw-r--r-- | translations/messages/CMakeLists.txt | 14 | ||||
-rw-r--r-- | translations/messages/Makefile.am | 1 | ||||
-rw-r--r-- | translations/messages/systemsettings/Makefile.am | 1 | ||||
-rw-r--r-- | translations/messages/systemsettings/de.po | 105 | ||||
-rw-r--r-- | translations/messages/systemsettings/pl.po | 106 | ||||
-rw-r--r-- | translations/messages/systemsettings/systemsettings.pot | 107 |
8 files changed, 336 insertions, 0 deletions
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/translations/messages/CMakeLists.txt b/translations/messages/CMakeLists.txt new file mode 100644 index 0000000..75c89f8 --- /dev/null +++ b/translations/messages/CMakeLists.txt @@ -0,0 +1,14 @@ +file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po ) +string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" ) + +foreach( _po ${po_files} ) + get_filename_component( _lang ${_po} NAME_WE ) + if( "${_linguas}" MATCHES "^;*$" OR ";${_linguas};" MATCHES ";${_lang};" ) + if( "${_po}" MATCHES "^([^/]*)/.*" ) + string( REGEX REPLACE "^([^/]*)/.*" "\\1" _component "${_po}" ) + else( ) + set( _component "${PROJECT_NAME}" ) + endif( ) + tde_create_translation( FILES ${_po} LANG ${_lang} OUTPUT_NAME ${_component} ) + endif( ) +endforeach( ) 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/translations/messages/systemsettings/Makefile.am b/translations/messages/systemsettings/Makefile.am new file mode 100644 index 0000000..0fa209c --- /dev/null +++ b/translations/messages/systemsettings/Makefile.am @@ -0,0 +1 @@ +POFILES = AUTO 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 <EMAIL@ADDRESS>, 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<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 "" 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 <[email protected]>, 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<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 "" 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 <EMAIL@ADDRESS>, 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 <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" + +#. 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<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 "" |