diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | client/CMakeL10n.txt | 3 | ||||
-rw-r--r-- | client/config/CMakeL10n.txt | 3 | ||||
-rw-r--r-- | client/config/config.cpp | 5 | ||||
-rw-r--r-- | dominoConfig/CMakeL10n.txt | 2 | ||||
-rw-r--r-- | translations/CMakeLists.txt | 1 | ||||
-rw-r--r-- | translations/messages/CMakeLists.txt | 14 | ||||
-rw-r--r-- | translations/messages/tdestyle_domino_config/de.po | 245 | ||||
-rw-r--r-- | translations/messages/tdestyle_domino_config/tdestyle_domino_config.pot | 247 | ||||
-rw-r--r-- | translations/messages/twin_domino_config/twin_domino_config.pot | 84 |
10 files changed, 602 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d6c1985..374f437 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,7 +71,7 @@ add_subdirectory( client ) add_subdirectory( domino ) add_subdirectory( dominoConfig ) -#tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations ) +tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations ) ##### write configure files diff --git a/client/CMakeL10n.txt b/client/CMakeL10n.txt new file mode 100644 index 0000000..b585ce4 --- /dev/null +++ b/client/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/client/config/CMakeL10n.txt b/client/config/CMakeL10n.txt new file mode 100644 index 0000000..a3fb7f1 --- /dev/null +++ b/client/config/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "messages/twin_domino_config/" ) diff --git a/client/config/config.cpp b/client/config/config.cpp index 48025ae..11a5ef0 100644 --- a/client/config/config.cpp +++ b/client/config/config.cpp @@ -47,9 +47,10 @@ DominoConfig::DominoConfig( TDEConfig* config, TQWidget* parent ) : TQObject( parent ) { conf = new TDEConfig("twindominorc"); - + TDEGlobal::locale()->insertCatalogue("twin_clients"); - + TDEGlobal::locale()->insertCatalogue("twin_domino_config"); + vBox = new TQVBox( parent ); customBorderColor = new TQCheckBox( i18n("Custom border color"), vBox ); diff --git a/dominoConfig/CMakeL10n.txt b/dominoConfig/CMakeL10n.txt index 3ae633a..1e2102b 100644 --- a/dominoConfig/CMakeL10n.txt +++ b/dominoConfig/CMakeL10n.txt @@ -1,3 +1,3 @@ ##### create translation templates ############## -tde_l10n_create_template( "tdestyle_domino_config" ) +tde_l10n_create_template( "messages/tdestyle_domino_config/" ) 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/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/tdestyle_domino_config/de.po b/translations/messages/tdestyle_domino_config/de.po new file mode 100644 index 0000000..21215a0 --- /dev/null +++ b/translations/messages/tdestyle_domino_config/de.po @@ -0,0 +1,245 @@ +# SOME DESCRIPTIVE TITLE. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2020-05-11 04:29+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 "" + +#: dominoconf.cpp:117 +msgid "General" +msgstr "" + +#: dominoconf.cpp:119 +msgid "Animate progress bars" +msgstr "" + +#: dominoconf.cpp:121 +msgid "Center tabs" +msgstr "" + +#: dominoconf.cpp:122 +msgid "Triangular tree expander" +msgstr "" + +#: dominoconf.cpp:123 +msgid "Smoother scrolling (works best with line steps bigger than 3)" +msgstr "" + +#: dominoconf.cpp:133 +msgid "Custom checkmark color" +msgstr "" + +#: dominoconf.cpp:138 +msgid "Custom tooltip color" +msgstr "" + +#: dominoconf.cpp:143 +msgid "Highlight tool button icons on mouse over" +msgstr "" + +#: dominoconf.cpp:145 +msgid "Draw tool buttons as normal buttons" +msgstr "" + +#: dominoconf.cpp:151 +msgid "Rubber band options:" +msgstr "" + +#: dominoconf.cpp:162 +msgid "Solid line" +msgstr "" + +#: dominoconf.cpp:163 +msgid "Distribution's default" +msgstr "" + +#: dominoconf.cpp:164 +msgid "Semi transparent (requires a running composite manager)" +msgstr "" + +#: dominoconf.cpp:170 +msgid "Color:" +msgstr "" + +#: dominoconf.cpp:173 dominoconf.cpp:329 dominoconf.cpp:344 dominoconf.cpp:408 +#: dominoconf.cpp:436 +msgid "Opacity:" +msgstr "" + +#: dominoconf.cpp:198 +msgid "Popupmenu options:" +msgstr "" + +#: dominoconf.cpp:210 +msgid "Custom popupmenu color" +msgstr "" + +#: dominoconf.cpp:216 +msgid "Custom selected menu item color" +msgstr "" + +#: dominoconf.cpp:221 +msgid "Draw a gradient" +msgstr "" + +#: dominoconf.cpp:222 +msgid "Indent menu items" +msgstr "" + +#: dominoconf.cpp:233 +msgid "Tint groupbox background" +msgstr "" + +#: dominoconf.cpp:266 +msgid "Brightness:" +msgstr "" + +#: dominoconf.cpp:267 +msgid "brighter" +msgstr "" + +#: dominoconf.cpp:268 +msgid "darker" +msgstr "" + +#: dominoconf.cpp:281 +msgid "Custom background color" +msgstr "" + +#: dominoconf.cpp:322 dominoconf.cpp:402 +msgid "Button color:" +msgstr "" + +#: dominoconf.cpp:359 dominoconf.cpp:367 +msgid "focused" +msgstr "" + +#: dominoconf.cpp:413 dominoconf.cpp:441 +msgid "Position:" +msgstr "" + +#: dominoconf.cpp:417 dominoconf.cpp:445 +msgid "top left" +msgstr "" + +#: dominoconf.cpp:418 dominoconf.cpp:446 +msgid "top" +msgstr "" + +#: dominoconf.cpp:419 dominoconf.cpp:447 +msgid "top right" +msgstr "" + +#: dominoconf.cpp:420 dominoconf.cpp:448 +msgid "right" +msgstr "" + +#: dominoconf.cpp:421 dominoconf.cpp:449 +msgid "bottom right" +msgstr "" + +#: dominoconf.cpp:422 dominoconf.cpp:450 +msgid "bottom" +msgstr "" + +#: dominoconf.cpp:423 dominoconf.cpp:451 +msgid "bottom left" +msgstr "" + +#: dominoconf.cpp:424 dominoconf.cpp:452 +msgid "left" +msgstr "" + +#: dominoconf.cpp:466 dominoconf.cpp:476 +msgid "123 text" +msgstr "" + +#: dominoconf.cpp:500 +msgid "Draw a shadow on pressed sunken buttons" +msgstr "" + +#: dominoconf.cpp:505 +msgid "Button Type:" +msgstr "" + +#: dominoconf.cpp:507 +msgid "Sunken" +msgstr "" + +#: dominoconf.cpp:508 +msgid "Raised" +msgstr "" + +#: dominoconf.cpp:515 +msgid "Button contour colors:" +msgstr "" + +#: dominoconf.cpp:531 +msgid "Standard color:" +msgstr "" + +#: dominoconf.cpp:533 +msgid "Mouseover color:" +msgstr "" + +#: dominoconf.cpp:535 +msgid "Pressed color:" +msgstr "" + +#: dominoconf.cpp:537 +msgid "Defaultbutton color:" +msgstr "" + +#: dominoconf.cpp:2403 dominoconf.cpp:3826 +msgid "Currently loaded config: " +msgstr "" + +#: dominoconf.cpp:3327 dominoconf.cpp:3328 +msgid "modified" +msgstr "" + +#: dominoconf.cpp:3807 dominoconf.cpp:3818 dominoconf.cpp:3921 +msgid "Save Config Scheme" +msgstr "" + +#: dominoconf.cpp:3807 +msgid "Enter a name for the config scheme:" +msgstr "" + +#: dominoconf.cpp:3816 dominoconf.cpp:3919 +msgid "" +"A config scheme with the name '%1' already exists.\n" +"Do you want to overwrite it?\n" +msgstr "" + +#: dominoconf.cpp:3818 dominoconf.cpp:3921 +msgid "Overwrite" +msgstr "" + +#: dominoconf.cpp:3909 +msgid "unnamed" +msgstr "" + +#: dominoconf.cpp:3929 +msgid "Import failed." +msgstr "" diff --git a/translations/messages/tdestyle_domino_config/tdestyle_domino_config.pot b/translations/messages/tdestyle_domino_config/tdestyle_domino_config.pot new file mode 100644 index 0000000..478dabf --- /dev/null +++ b/translations/messages/tdestyle_domino_config/tdestyle_domino_config.pot @@ -0,0 +1,247 @@ +# SOME DESCRIPTIVE TITLE. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2020-05-11 04:29+0200\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" + +#. 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 "" + +#: dominoconf.cpp:117 +msgid "General" +msgstr "" + +#: dominoconf.cpp:119 +msgid "Animate progress bars" +msgstr "" + +#: dominoconf.cpp:121 +msgid "Center tabs" +msgstr "" + +#: dominoconf.cpp:122 +msgid "Triangular tree expander" +msgstr "" + +#: dominoconf.cpp:123 +msgid "Smoother scrolling (works best with line steps bigger than 3)" +msgstr "" + +#: dominoconf.cpp:133 +msgid "Custom checkmark color" +msgstr "" + +#: dominoconf.cpp:138 +msgid "Custom tooltip color" +msgstr "" + +#: dominoconf.cpp:143 +msgid "Highlight tool button icons on mouse over" +msgstr "" + +#: dominoconf.cpp:145 +msgid "Draw tool buttons as normal buttons" +msgstr "" + +#: dominoconf.cpp:151 +msgid "Rubber band options:" +msgstr "" + +#: dominoconf.cpp:162 +msgid "Solid line" +msgstr "" + +#: dominoconf.cpp:163 +msgid "Distribution's default" +msgstr "" + +#: dominoconf.cpp:164 +msgid "Semi transparent (requires a running composite manager)" +msgstr "" + +#: dominoconf.cpp:170 +msgid "Color:" +msgstr "" + +#: dominoconf.cpp:173 dominoconf.cpp:329 dominoconf.cpp:344 dominoconf.cpp:408 +#: dominoconf.cpp:436 +msgid "Opacity:" +msgstr "" + +#: dominoconf.cpp:198 +msgid "Popupmenu options:" +msgstr "" + +#: dominoconf.cpp:210 +msgid "Custom popupmenu color" +msgstr "" + +#: dominoconf.cpp:216 +msgid "Custom selected menu item color" +msgstr "" + +#: dominoconf.cpp:221 +msgid "Draw a gradient" +msgstr "" + +#: dominoconf.cpp:222 +msgid "Indent menu items" +msgstr "" + +#: dominoconf.cpp:233 +msgid "Tint groupbox background" +msgstr "" + +#: dominoconf.cpp:266 +msgid "Brightness:" +msgstr "" + +#: dominoconf.cpp:267 +msgid "brighter" +msgstr "" + +#: dominoconf.cpp:268 +msgid "darker" +msgstr "" + +#: dominoconf.cpp:281 +msgid "Custom background color" +msgstr "" + +#: dominoconf.cpp:322 dominoconf.cpp:402 +msgid "Button color:" +msgstr "" + +#: dominoconf.cpp:359 dominoconf.cpp:367 +msgid "focused" +msgstr "" + +#: dominoconf.cpp:413 dominoconf.cpp:441 +msgid "Position:" +msgstr "" + +#: dominoconf.cpp:417 dominoconf.cpp:445 +msgid "top left" +msgstr "" + +#: dominoconf.cpp:418 dominoconf.cpp:446 +msgid "top" +msgstr "" + +#: dominoconf.cpp:419 dominoconf.cpp:447 +msgid "top right" +msgstr "" + +#: dominoconf.cpp:420 dominoconf.cpp:448 +msgid "right" +msgstr "" + +#: dominoconf.cpp:421 dominoconf.cpp:449 +msgid "bottom right" +msgstr "" + +#: dominoconf.cpp:422 dominoconf.cpp:450 +msgid "bottom" +msgstr "" + +#: dominoconf.cpp:423 dominoconf.cpp:451 +msgid "bottom left" +msgstr "" + +#: dominoconf.cpp:424 dominoconf.cpp:452 +msgid "left" +msgstr "" + +#: dominoconf.cpp:466 dominoconf.cpp:476 +msgid "123 text" +msgstr "" + +#: dominoconf.cpp:500 +msgid "Draw a shadow on pressed sunken buttons" +msgstr "" + +#: dominoconf.cpp:505 +msgid "Button Type:" +msgstr "" + +#: dominoconf.cpp:507 +msgid "Sunken" +msgstr "" + +#: dominoconf.cpp:508 +msgid "Raised" +msgstr "" + +#: dominoconf.cpp:515 +msgid "Button contour colors:" +msgstr "" + +#: dominoconf.cpp:531 +msgid "Standard color:" +msgstr "" + +#: dominoconf.cpp:533 +msgid "Mouseover color:" +msgstr "" + +#: dominoconf.cpp:535 +msgid "Pressed color:" +msgstr "" + +#: dominoconf.cpp:537 +msgid "Defaultbutton color:" +msgstr "" + +#: dominoconf.cpp:2403 dominoconf.cpp:3826 +msgid "Currently loaded config: " +msgstr "" + +#: dominoconf.cpp:3327 dominoconf.cpp:3328 +msgid "modified" +msgstr "" + +#: dominoconf.cpp:3807 dominoconf.cpp:3818 dominoconf.cpp:3921 +msgid "Save Config Scheme" +msgstr "" + +#: dominoconf.cpp:3807 +msgid "Enter a name for the config scheme:" +msgstr "" + +#: dominoconf.cpp:3816 dominoconf.cpp:3919 +msgid "" +"A config scheme with the name '%1' already exists.\n" +"Do you want to overwrite it?\n" +msgstr "" + +#: dominoconf.cpp:3818 dominoconf.cpp:3921 +msgid "Overwrite" +msgstr "" + +#: dominoconf.cpp:3909 +msgid "unnamed" +msgstr "" + +#: dominoconf.cpp:3929 +msgid "Import failed." +msgstr "" diff --git a/translations/messages/twin_domino_config/twin_domino_config.pot b/translations/messages/twin_domino_config/twin_domino_config.pot new file mode 100644 index 0000000..5d2f2b6 --- /dev/null +++ b/translations/messages/twin_domino_config/twin_domino_config.pot @@ -0,0 +1,84 @@ +# SOME DESCRIPTIVE TITLE. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2020-07-07 18:45+0200\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" + +#. 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 "" + +#: config.cpp:56 +msgid "Custom border color" +msgstr "" + +#: config.cpp:61 +msgid "Custom button color" +msgstr "" + +#: config.cpp:66 +msgid "Custom button icon color" +msgstr "" + +#: config.cpp:71 +msgid "Custom gradient colors" +msgstr "" + +#: config.cpp:76 +msgid "Top gradient color" +msgstr "" + +#: config.cpp:78 +msgid "Bottom gradient color" +msgstr "" + +#: config.cpp:81 +msgid "Show inactive buttons" +msgstr "" + +#: config.cpp:82 +msgid "Show button icons" +msgstr "" + +#: config.cpp:83 +msgid "Dark window frame" +msgstr "" + +#: config.cpp:90 +msgid "Button contour colors:" +msgstr "" + +#: config.cpp:98 +msgid "Standard color:" +msgstr "" + +#: config.cpp:101 +msgid "Mouseover color:" +msgstr "" + +#: config.cpp:103 +msgid "Pressed color:" +msgstr "" + +#: config.cpp:106 +msgid "Use domino style contour colors" +msgstr "" |