Move translations to a new directory layout.

Add support for LINGUAS for listing translations to install.

Signed-off-by: Ray-V <ray-v@inbox.lv>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/2/head
Ray-V 5 years ago committed by Slávek Banko
parent 9eac2ea2ad
commit ca4e2cb3e7
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1,3 +1,3 @@
##### create translation templates ############## ##### create translation templates ##############
tde_l10n_create_template( "tdestyle_lipstik_config" ) tde_l10n_create_template( "messages/tdestyle_lipstik_config" )

@ -1,5 +1 @@
file( GLOB _srcs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po ) tde_auto_add_subdirectories()
if( _srcs )
tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} )
endif( )

@ -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( )

@ -0,0 +1,254 @@
# SOME DESCRIPTIVE TITLE.
# FIRST AUTHOR <EMAIL@ADDRESS>, 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 ""

@ -0,0 +1,254 @@
# SOME DESCRIPTIVE TITLE.
# FIRST AUTHOR <EMAIL@ADDRESS>, 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 <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"
#: _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 ""
Loading…
Cancel
Save