From ca4e2cb3e7189ae96195210130f28e39ed70990a Mon Sep 17 00:00:00 2001 From: Ray-V Date: Sun, 12 Apr 2020 17:31:02 +0100 Subject: [PATCH] Move translations to a new directory layout. Add support for LINGUAS for listing translations to install. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ray-V Signed-off-by: Slávek Banko --- style/config/CMakeL10n.txt | 2 +- translations/CMakeLists.txt | 6 +- translations/messages/CMakeLists.txt | 14 + translations/messages/de.po | 254 ++++++++++++++++++ .../messages/tdestyle_lipstik_config.pot | 254 ++++++++++++++++++ 5 files changed, 524 insertions(+), 6 deletions(-) create mode 100644 translations/messages/CMakeLists.txt create mode 100644 translations/messages/de.po create mode 100644 translations/messages/tdestyle_lipstik_config.pot diff --git a/style/config/CMakeL10n.txt b/style/config/CMakeL10n.txt index 103c515..4b0f132 100644 --- a/style/config/CMakeL10n.txt +++ b/style/config/CMakeL10n.txt @@ -1,3 +1,3 @@ ##### create translation templates ############## -tde_l10n_create_template( "tdestyle_lipstik_config" ) +tde_l10n_create_template( "messages/tdestyle_lipstik_config" ) diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt index ad36a01..42b186a 100644 --- a/translations/CMakeLists.txt +++ b/translations/CMakeLists.txt @@ -1,5 +1 @@ -file( GLOB _srcs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po ) - -if( _srcs ) - tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} ) -endif( ) +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/de.po b/translations/messages/de.po new file mode 100644 index 0000000..0520596 --- /dev/null +++ b/translations/messages/de.po @@ -0,0 +1,254 @@ +# SOME DESCRIPTIVE TITLE. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2019-01-13 19:19+0100\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" + +#: _translatorinfo:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "" + +#: _translatorinfo:2 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "" + +#: lipstikconf.cpp:75 +msgid "General" +msgstr "" + +#: lipstikconf.cpp:77 +msgid "Plastik gradients" +msgstr "" + +#: lipstikconf.cpp:78 +msgid "Triangular tree expander" +msgstr "" + +#: lipstikconf.cpp:79 +msgid "Draw status bar frame" +msgstr "" + +#: lipstikconf.cpp:80 +msgid "Animate progress bars" +msgstr "" + +#: lipstikconf.cpp:81 +msgid "Flatten column headers" +msgstr "" + +#: lipstikconf.cpp:82 +msgid "Use a tick for checkmarks" +msgstr "" + +#: lipstikconf.cpp:87 +msgid "Toolbars" +msgstr "" + +#: lipstikconf.cpp:90 +msgid "Draw separators" +msgstr "" + +#: lipstikconf.cpp:91 +msgid "Draw item separators" +msgstr "" + +#: lipstikconf.cpp:92 +msgid "Draw handles" +msgstr "" + +#: lipstikconf.cpp:93 +msgid "Draw gradients" +msgstr "" + +#: lipstikconf.cpp:94 +msgid "Invert gradients" +msgstr "" + +#: lipstikconf.cpp:97 +msgid "Items spacing :" +msgstr "" + +#: lipstikconf.cpp:103 +msgid "Menus" +msgstr "" + +#: lipstikconf.cpp:106 +msgid "Button-like menu gradients" +msgstr "" + +#: lipstikconf.cpp:107 +msgid "Sharper menu gradients" +msgstr "" + +#: lipstikconf.cpp:109 +msgid "Menu Stripe" +msgstr "" + +#: lipstikconf.cpp:110 +msgid "Flatten Stripe" +msgstr "" + +#: lipstikconf.cpp:111 +msgid "Custom Stripe color :" +msgstr "" + +#: lipstikconf.cpp:118 +msgid "Menu spacing :" +msgstr "" + +#: lipstikconf.cpp:124 +msgid "Scrollbars and Sliders" +msgstr "" + +#: lipstikconf.cpp:129 +msgid "Draw Scrollbar grooves" +msgstr "" + +#: lipstikconf.cpp:132 +msgid "Scrollbar style : " +msgstr "" + +#: lipstikconf.cpp:133 +msgid "Scrollbar style" +msgstr "" + +#: lipstikconf.cpp:141 +msgid "Scrollbar width : " +msgstr "" + +#: lipstikconf.cpp:142 +msgid "Scrollbar width" +msgstr "" + +#: lipstikconf.cpp:149 +msgid "Slider handle size : " +msgstr "" + +#: lipstikconf.cpp:150 +msgid "Slider handle size" +msgstr "" + +#: lipstikconf.cpp:159 +msgid "Highlighting" +msgstr "" + +#: lipstikconf.cpp:161 +msgid "Colored focus rectangle" +msgstr "" + +#: lipstikconf.cpp:162 +msgid "Colored comboboxes handles" +msgstr "" + +#: lipstikconf.cpp:163 +msgid "Colored menu bar items" +msgstr "" + +#: lipstikconf.cpp:164 +msgid "Highlight active tab" +msgstr "" + +#: lipstikconf.cpp:165 +msgid "Highlight focused input fields" +msgstr "" + +#: lipstikconf.cpp:170 +msgid "Custom colors" +msgstr "" + +#: lipstikconf.cpp:172 +msgid "Input fields highlight :" +msgstr "" + +#: lipstikconf.cpp:177 +msgid "Mouse hover highlight :" +msgstr "" + +#: lipstikconf.cpp:182 +msgid "Checkmark/Radiobuttons :" +msgstr "" + +#: lipstikconf.cpp:187 +msgid "Active tab highlight :" +msgstr "" + +#: lipstikconf.cpp:219 +msgid "Lipstik 2.2.3" +msgstr "" + +#: lipstikconf.cpp:223 +msgid " Copyright 2004-2005-2006-2007 (C) Patrice Tremblay (Poplix)" +msgstr "" + +#: lipstikconf.cpp:226 +msgid " poplixos@gmail.com" +msgstr "" + +#: lipstikconf.cpp:229 +msgid " http://poplix.homelinux.com/lipstik" +msgstr "" + +#: lipstikconf.cpp:232 +msgid "Based on plastik [thanks to Sandro Giessl]" +msgstr "" + +#: lipstikconf.cpp:235 +msgid "Also based on :" +msgstr "" + +#: lipstikconf.cpp:238 +msgid " TQtCurve [thanks to Craig Drummond]," +msgstr "" + +#: lipstikconf.cpp:241 +msgid " DotNET [thanks to Chris Lee]," +msgstr "" + +#: lipstikconf.cpp:244 +msgid " PlastikQ [thanks to Martin Beck]," +msgstr "" + +#: lipstikconf.cpp:247 +msgid " Comix [thanks to Jens Luetkens]," +msgstr "" + +#: lipstikconf.cpp:250 +msgid " Krisp [thanks to Keith Meehl]," +msgstr "" + +#: lipstikconf.cpp:253 +msgid " Ballistik [thanks to Florian Merz]," +msgstr "" + +#: lipstikconf.cpp:256 +msgid " Kerastik [thanks to Victor Perez Q]," +msgstr "" + +#: lipstikconf.cpp:259 +msgid " Polyester [thanks to Marco Martin]." +msgstr "" + +#: lipstikconf.cpp:262 +msgid "Thanks to Bastian Venthur, the Debian maintainer of tde-style-lipstik." +msgstr "" + +#: lipstikconf.cpp:265 +msgid "Thanks to Charles A. Landemaine, of PC-BSD, for the feature suggestion." +msgstr "" + +#: lipstikconf.cpp:268 +msgid "Special thanks to Dominique and all the kde-look.org users." +msgstr "" diff --git a/translations/messages/tdestyle_lipstik_config.pot b/translations/messages/tdestyle_lipstik_config.pot new file mode 100644 index 0000000..774984e --- /dev/null +++ b/translations/messages/tdestyle_lipstik_config.pot @@ -0,0 +1,254 @@ +# SOME DESCRIPTIVE TITLE. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2019-01-13 19:19+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 "" + +#: lipstikconf.cpp:75 +msgid "General" +msgstr "" + +#: lipstikconf.cpp:77 +msgid "Plastik gradients" +msgstr "" + +#: lipstikconf.cpp:78 +msgid "Triangular tree expander" +msgstr "" + +#: lipstikconf.cpp:79 +msgid "Draw status bar frame" +msgstr "" + +#: lipstikconf.cpp:80 +msgid "Animate progress bars" +msgstr "" + +#: lipstikconf.cpp:81 +msgid "Flatten column headers" +msgstr "" + +#: lipstikconf.cpp:82 +msgid "Use a tick for checkmarks" +msgstr "" + +#: lipstikconf.cpp:87 +msgid "Toolbars" +msgstr "" + +#: lipstikconf.cpp:90 +msgid "Draw separators" +msgstr "" + +#: lipstikconf.cpp:91 +msgid "Draw item separators" +msgstr "" + +#: lipstikconf.cpp:92 +msgid "Draw handles" +msgstr "" + +#: lipstikconf.cpp:93 +msgid "Draw gradients" +msgstr "" + +#: lipstikconf.cpp:94 +msgid "Invert gradients" +msgstr "" + +#: lipstikconf.cpp:97 +msgid "Items spacing :" +msgstr "" + +#: lipstikconf.cpp:103 +msgid "Menus" +msgstr "" + +#: lipstikconf.cpp:106 +msgid "Button-like menu gradients" +msgstr "" + +#: lipstikconf.cpp:107 +msgid "Sharper menu gradients" +msgstr "" + +#: lipstikconf.cpp:109 +msgid "Menu Stripe" +msgstr "" + +#: lipstikconf.cpp:110 +msgid "Flatten Stripe" +msgstr "" + +#: lipstikconf.cpp:111 +msgid "Custom Stripe color :" +msgstr "" + +#: lipstikconf.cpp:118 +msgid "Menu spacing :" +msgstr "" + +#: lipstikconf.cpp:124 +msgid "Scrollbars and Sliders" +msgstr "" + +#: lipstikconf.cpp:129 +msgid "Draw Scrollbar grooves" +msgstr "" + +#: lipstikconf.cpp:132 +msgid "Scrollbar style : " +msgstr "" + +#: lipstikconf.cpp:133 +msgid "Scrollbar style" +msgstr "" + +#: lipstikconf.cpp:141 +msgid "Scrollbar width : " +msgstr "" + +#: lipstikconf.cpp:142 +msgid "Scrollbar width" +msgstr "" + +#: lipstikconf.cpp:149 +msgid "Slider handle size : " +msgstr "" + +#: lipstikconf.cpp:150 +msgid "Slider handle size" +msgstr "" + +#: lipstikconf.cpp:159 +msgid "Highlighting" +msgstr "" + +#: lipstikconf.cpp:161 +msgid "Colored focus rectangle" +msgstr "" + +#: lipstikconf.cpp:162 +msgid "Colored comboboxes handles" +msgstr "" + +#: lipstikconf.cpp:163 +msgid "Colored menu bar items" +msgstr "" + +#: lipstikconf.cpp:164 +msgid "Highlight active tab" +msgstr "" + +#: lipstikconf.cpp:165 +msgid "Highlight focused input fields" +msgstr "" + +#: lipstikconf.cpp:170 +msgid "Custom colors" +msgstr "" + +#: lipstikconf.cpp:172 +msgid "Input fields highlight :" +msgstr "" + +#: lipstikconf.cpp:177 +msgid "Mouse hover highlight :" +msgstr "" + +#: lipstikconf.cpp:182 +msgid "Checkmark/Radiobuttons :" +msgstr "" + +#: lipstikconf.cpp:187 +msgid "Active tab highlight :" +msgstr "" + +#: lipstikconf.cpp:219 +msgid "Lipstik 2.2.3" +msgstr "" + +#: lipstikconf.cpp:223 +msgid " Copyright 2004-2005-2006-2007 (C) Patrice Tremblay (Poplix)" +msgstr "" + +#: lipstikconf.cpp:226 +msgid " poplixos@gmail.com" +msgstr "" + +#: lipstikconf.cpp:229 +msgid " http://poplix.homelinux.com/lipstik" +msgstr "" + +#: lipstikconf.cpp:232 +msgid "Based on plastik [thanks to Sandro Giessl]" +msgstr "" + +#: lipstikconf.cpp:235 +msgid "Also based on :" +msgstr "" + +#: lipstikconf.cpp:238 +msgid " TQtCurve [thanks to Craig Drummond]," +msgstr "" + +#: lipstikconf.cpp:241 +msgid " DotNET [thanks to Chris Lee]," +msgstr "" + +#: lipstikconf.cpp:244 +msgid " PlastikQ [thanks to Martin Beck]," +msgstr "" + +#: lipstikconf.cpp:247 +msgid " Comix [thanks to Jens Luetkens]," +msgstr "" + +#: lipstikconf.cpp:250 +msgid " Krisp [thanks to Keith Meehl]," +msgstr "" + +#: lipstikconf.cpp:253 +msgid " Ballistik [thanks to Florian Merz]," +msgstr "" + +#: lipstikconf.cpp:256 +msgid " Kerastik [thanks to Victor Perez Q]," +msgstr "" + +#: lipstikconf.cpp:259 +msgid " Polyester [thanks to Marco Martin]." +msgstr "" + +#: lipstikconf.cpp:262 +msgid "Thanks to Bastian Venthur, the Debian maintainer of tde-style-lipstik." +msgstr "" + +#: lipstikconf.cpp:265 +msgid "Thanks to Charles A. Landemaine, of PC-BSD, for the feature suggestion." +msgstr "" + +#: lipstikconf.cpp:268 +msgid "Special thanks to Dominique and all the kde-look.org users." +msgstr ""