Add twin client translations into template.

Rename template from twin_domino_config to twin_domino.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit fe4ffe9ab2)
r14.0.x
Slávek Banko 3 years ago
parent 2d919b46ba
commit 4ca763e94e
Signed by: SlavekB
GPG Key ID: 608F5293A04BE668

@ -1,3 +1,6 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )
tde_l10n_create_template( "messages/twin_domino/"
SOURCES .
X-POT ${CMAKE_SOURCE_DIR}/../../../core/tde-i18n/template/messages/tdebase/twin_clients.pot
)

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

@ -49,7 +49,7 @@ DominoConfig::DominoConfig( TDEConfig* config, TQWidget* parent )
conf = new TDEConfig("twindominorc");
TDEGlobal::locale()->insertCatalogue("twin_clients");
TDEGlobal::locale()->insertCatalogue("twin_domino_config");
TDEGlobal::locale()->insertCatalogue("twin_domino");
vBox = new TQVBox( parent );

@ -25,6 +25,7 @@
#include <tdeconfig.h>
#include <tdeglobal.h>
#include <tdelocale.h>
#include <tqlayout.h>
#include <tqbitmap.h>
#include <tqimage.h>
@ -105,7 +106,10 @@ const int borderWidth = 5;
DominoHandler::DominoHandler()
{
int ignore, maj, min;
TDEGlobal::locale()->insertCatalogue("twin_clients");
TDEGlobal::locale()->insertCatalogue("twin_domino");
if(XShapeQueryExtension(tqt_xdisplay(), &ignore, &ignore) &&
XShapeQueryVersion(tqt_xdisplay(), &maj, &min) &&
maj >= 1 && min >= 1) {
@ -651,7 +655,7 @@ DominoClient::~DominoClient()
TQString DominoClient::visibleName() const
{
return "Domino";
return i18n("Domino");
}
TQString DominoClient::defaultButtonsLeft() const

@ -0,0 +1,88 @@
# SOME DESCRIPTIVE TITLE.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-07-12 11:56+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/config.cpp:56
msgid "Custom border color"
msgstr ""
#: config/config.cpp:61
msgid "Custom button color"
msgstr ""
#: config/config.cpp:66
msgid "Custom button icon color"
msgstr ""
#: config/config.cpp:71
msgid "Custom gradient colors"
msgstr ""
#: config/config.cpp:76
msgid "Top gradient color"
msgstr ""
#: config/config.cpp:78
msgid "Bottom gradient color"
msgstr ""
#: config/config.cpp:81
msgid "Show inactive buttons"
msgstr ""
#: config/config.cpp:82
msgid "Show button icons"
msgstr ""
#: config/config.cpp:83
msgid "Dark window frame"
msgstr ""
#: config/config.cpp:90
msgid "Button contour colors:"
msgstr ""
#: config/config.cpp:98
msgid "Standard color:"
msgstr ""
#: config/config.cpp:101
msgid "Mouseover color:"
msgstr ""
#: config/config.cpp:103
msgid "Pressed color:"
msgstr ""
#: config/config.cpp:106
msgid "Use domino style contour colors"
msgstr ""
#: dominoclient.cpp:658
msgid "Domino"
msgstr ""
Loading…
Cancel
Save