[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: QtCurve translation fixes
From: Antoni Bella =?ISO-8859-1?Q?P=E9rez?= <antonibella5 () yahoo ! com>
Date: 2017-06-18 8:36:44
Message-ID: 1920396.KrCrVCCQZ8 () alba
[Download RAW message or body]
Hi,
I send you a patch attached with the fixes.
Special attention: this chain is translated but don't appears translated
into GUI:
<p><b>NOTE:</b> <i>Opacity settings are <b>experimental</b> and can cause
certain applications (mainly Gtk2 ones) to crash. If you have an application
that crashes, use the "Applications" page to disable opacity settings for
that application.</i></p>\n
<p><b>NOTE:</b><i><b>DON'T</b> use opacity settings when using the compiz
window manager.</i></p>
Regards
Toni
["qtcurve-fixes.diff" (qtcurve-fixes.diff)]
diff --git a/qt4/config/qtcurveconfig.cpp b/qt4/config/qtcurveconfig.cpp
index bc9650ed..47ac103a 100644
--- a/qt4/config/qtcurveconfig.cpp
+++ b/qt4/config/qtcurveconfig.cpp
@@ -2609,7 +2609,7 @@ QString QtCurveConfig::getPresetName(const QString &cap, \
QString label, QString
if (name == currentText || name == defaultText) {
label = i18n("<p>You cannot use the name \"%1\".</p>"
- "<p>Please enter a different name:<p>", name);
+ "<p>Please enter a different name:</p>", name);
def = i18n("%1 New", name);
name = QString();
} else {
@@ -2619,18 +2619,18 @@ QString QtCurveConfig::getPresetName(const QString &cap, \
QString label, QString if ((*it).fileName.indexOf(QDir::homePath()) != 0) {
label = i18n("<p>A system defined preset named "
"\"%1\" already exists.</p>"
- "<p>Please enter a new name:<p>", name);
+ "<p>Please enter a new name:</p>", name);
def = i18n("%1 New", name);
name = QString();
} else if(name == presetsCombo->currentText() ||
KMessageBox::warningYesNo(
this, i18n("<p>A preset named \"%1\" "
"already exists.</p><p>Do you "
- "wish to overwrite this?<p>",
+ "wish to overwrite this?</p>",
name)) == KMessageBox::Yes) {
return name;
} else {
- label = i18n("<p>Please enter a new name:<p>");
+ label = i18n("<p>Please enter a new name:</p>");
def = i18n("%1 New", name);
name = QString();
}
diff --git a/qt4/config/qtcurveconfigbase.ui b/qt4/config/qtcurveconfigbase.ui
index 19256e17..102ddc32 100644
--- a/qt4/config/qtcurveconfigbase.ui
+++ b/qt4/config/qtcurveconfigbase.ui
@@ -249,7 +249,7 @@
<item>
<widget class="QComboBox" name="bgndAppearance">
<property name="toolTip">
- <string><p>Sets a gradient to be used as the background for \
windows and dialogs.</p><p><b>NOTE</b> This is an \
experimental option, and will (probably) have a detrimental effect on \
performance.</p></string> + <string><p>Sets a gradient to be \
used as the background for windows and \
dialogs.</p><p><b>NOTE:</b> This is an experimental option, \
and will (probably) have a detrimental effect on performance.</p></string> \
</property> </widget>
</item>
@@ -648,7 +648,7 @@
</property>
<property name="text">
<string><p><b>NOTE:</b> <i>Opacity settings are \
<b>experimental</b> and can cause certain applications (mainly Gtk2 ones) \
to crash. If you have an application that crashes, use the \
&quot;Applications&quot; page to disable opacity settings for that \
application.</i></p>
-<p><b>NOTE:</b><i><b>DON'T</b> use opacity \
settings when using the compiz window manager.</i></p></string> \
+<p><b>NOTE:</b> <i><b>DON'T</b> use opacity \
settings when using the compiz window manager.</i></p></string> \
</property> <property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
@@ -3687,7 +3687,7 @@
<item row="1" column="1">
<widget class="QCheckBox" name="reorderGtkButtons">
<property name="toolTip">
- <string><p>If this is enabled and 'Use Gtk button order' is not, \
QtCurve will attempt to manually set the order of buttons in Gtk \
dialogs.</p><p><b>NOTE<b> This is experimental, and may \
produce unexpected results!</p></string> + <string><p>If this is \
enabled and 'Use Gtk button order' is not, QtCurve will attempt to manually set the \
order of buttons in Gtk dialogs.</p><p><b>NOTE:</b> This is \
experimental, and may produce unexpected results!</p></string> </property>
<property name="text">
<string>Manually re-order Gtk buttons</string>
@@ -3769,7 +3769,7 @@
<item row="6" column="1">
<widget class="QSpinBox" name="dropShadowSize">
<property name="toolTip">
- <string><p>Sets the base value used for determining drop shadow \
sizes.</p><p>X11 only.</string> + <string><p>Sets the base \
value used for determining drop shadow sizes.</p><p>X11 \
only.</p></string> </property>
</widget>
</item>
@@ -3834,7 +3834,7 @@
<item row="3" column="1">
<widget class="KLineEdit" name="noMenuBgndOpacityApps">
<property name="toolTip">
- <string><p>Comma separated list of names of applications which \
should not use the menu opacity setting.<p><i>For Gtk2, this option also \
disables using an alpha-channel to smoothly round tooltips and popup \
menus.</i></p><p>Use <i>gtk</i> to disable for all Gtk2 \
applications.</p></string> + <string><p>Comma separated list \
of names of applications which should not use the menu opacity \
setting.</p><p><i>For Gtk2, this option also disables using an \
alpha-channel to smoothly round tooltips and popup \
menus.</i></p><p>Use <i>gtk</i> to disable for all Gtk2 \
applications.</p></string> </property>
</widget>
</item>
@@ -4050,7 +4050,7 @@
<li><i>No border</i> - no inner border is drawn, and the gradient \
will extend to the outer edges.</li> <li><i>Light border</i> \
- A 'light' line is drawn around all edges.</li> <li><i>3D border \
(light only)</i> - A 'light' line is drawn around the top and left \
edges.</li>
-<li><i>3D border (light only)</i> - A 'light' line is drawn around \
the top and left edges, and a darker one around the bottom and right \
edges.</li> +<li><i>3D border (dark and light)</i> - A \
'light' line is drawn around the top and left edges, and a darker one around the \
bottom and right edges.</li> <li><i>Shine</i> - A shine is \
added to the top (or left) edge when this gradient is drawn on buttons or \
scrollbars.</li> </ul>
<p><i>Note: This setting is not used when drawing the preview \
below.</i></p> @@ -4424,7 +4424,7 @@
</sizepolicy>
</property>
<property name="text">
- <string><i><p>QtCurve uses dark/light borders to create \
etch and shadow effects. By default QtCurve tries to lighten (or darken) the parent's \
background to achieve this - if no parent can be found, then white/black is used with \
an alpha value set. This behaviour maybe overridden, and alpha values always used, by \
checking the option above.</p></string> + \
<string><p><i>QtCurve uses dark/light borders to create etch and shadow \
effects. By default QtCurve tries to lighten (or darken) the parent's background to \
achieve this - if no parent can be found, then white/black is used with an alpha \
value set. This behaviour maybe overridden, and alpha values always used, by checking \
the option above.</i></p></string> </property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
diff --git a/qt4/kwinconfig/qtcurvekwinconfigwidget.ui \
b/qt4/kwinconfig/qtcurvekwinconfigwidget.ui index f519d693..89a46fca 100644
--- a/qt4/kwinconfig/qtcurvekwinconfigwidget.ui
+++ b/qt4/kwinconfig/qtcurvekwinconfigwidget.ui
@@ -179,7 +179,7 @@
<item>
<widget class="QLabel" name="noteLabel">
<property name="text">
- <string><p><b>NOTE:</b><i>This window decoration \
uses the QtCurve widget style, and shares its configuration. Only the settings that \
are exclusively used by the window decoration are shown here. To alter settings such \
as the titlebar gradient, or text alignment, please set the appropriate options in \
the widget style.</i></p></string> + \
<string><p><b>NOTE:</b> <i>This window decoration uses the \
QtCurve widget style, and shares its configuration. Only the settings that are \
exclusively used by the window decoration are shown here. To alter settings such as \
the titlebar gradient, or text alignment, please set the appropriate options in the \
widget style.</i></p></string> </property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
@@ -313,7 +313,7 @@
</sizepolicy>
</property>
<property name="text">
- <string><p><b>NOTE:</b><i>If you set the above \
values to 100%, then the window titlebar (and border) opacity will be controlled by \
the style's window and dialog background opacity \
settings.</i></p></string> + \
<string><p><b>NOTE:</b> <i>If you set the above values to \
100%, then the window titlebar (and border) opacity will be controlled by the style's \
window and dialog background opacity settings.</i></p></string> \
</property> <property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
diff --git a/qt5/config/qtcurveconfig.cpp b/qt5/config/qtcurveconfig.cpp
index 50fc1591..b320c255 100644
--- a/qt5/config/qtcurveconfig.cpp
+++ b/qt5/config/qtcurveconfig.cpp
@@ -2575,7 +2575,7 @@ QtCurveConfig::getPresetName(const QString &cap, QString label, \
QString def,
if (name == currentText || name == defaultText) {
label = i18n("<p>You cannot use the name \"%1\".</p>"
- "<p>Please enter a different name:<p>", name);
+ "<p>Please enter a different name:</p>", name);
def = i18n("%1 New", name);
name = QString();
} else {
@@ -2585,18 +2585,18 @@ QtCurveConfig::getPresetName(const QString &cap, QString \
label, QString def, if ((*it).fileName.indexOf(QDir::homePath()) != 0) {
label = i18n("<p>A system defined preset named "
"\"%1\" already exists.</p>"
- "<p>Please enter a new name:<p>", name);
+ "<p>Please enter a new name:</p>", name);
def = i18n("%1 New", name);
name = QString();
} else if (name == presetsCombo->currentText() ||
KMessageBox::warningYesNo(
this, i18n("<p>A preset named \"%1\" "
"already exists.</p><p>Do you "
- "wish to overwrite this?<p>",
+ "wish to overwrite this?</p>",
name)) == KMessageBox::Yes) {
return name;
} else {
- label = i18n("<p>Please enter a new name:<p>");
+ label = i18n("<p>Please enter a new name:</p>");
def = i18n("%1 New", name);
name = QString();
}
diff --git a/qt5/config/qtcurveconfigbase.ui b/qt5/config/qtcurveconfigbase.ui
index ada136d7..26efcf49 100644
--- a/qt5/config/qtcurveconfigbase.ui
+++ b/qt5/config/qtcurveconfigbase.ui
@@ -258,7 +258,7 @@
<item>
<widget class="QComboBox" name="bgndAppearance">
<property name="toolTip">
- <string><p>Sets a gradient to be used as the background for \
windows and dialogs.</p><p><b>NOTE</b> This is an \
experimental option, and will (probably) have a detrimental effect on \
performance.</p></string> + <string><p>Sets a gradient to be \
used as the background for windows and \
dialogs.</p><p><b>NOTE:</b> This is an experimental option, \
and will (probably) have a detrimental effect on performance.</p></string> \
</property> </widget>
</item>
@@ -657,7 +657,7 @@
</property>
<property name="text">
<string><p><b>NOTE:</b> <i>Opacity settings are \
<b>experimental</b> and can cause certain applications (mainly Gtk2 ones) \
to crash. If you have an application that crashes, use the \
&quot;Applications&quot; page to disable opacity settings for that \
application.</i></p>
-<p><b>NOTE:</b><i><b>DON'T</b> use opacity \
settings when using the compiz window manager.</i></p></string> \
+<p><b>NOTE:</b> <i><b>DON'T</b> use opacity \
settings when using the compiz window manager.</i></p></string> \
</property> <property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
@@ -3751,7 +3751,7 @@
<item row="1" column="1">
<widget class="QCheckBox" name="reorderGtkButtons">
<property name="toolTip">
- <string><p>If this is enabled and 'Use Gtk button order' is not, \
QtCurve will attempt to manually set the order of buttons in Gtk \
dialogs.</p><p><b>NOTE<b> This is experimental, and may \
produce unexpected results!</p></string> + <string><p>If this is \
enabled and 'Use Gtk button order' is not, QtCurve will attempt to manually set the \
order of buttons in Gtk dialogs.</p><p><b>NOTE:</b> This is \
experimental, and may produce unexpected results!</p></string> </property>
<property name="text">
<string>Manually re-order Gtk buttons</string>
@@ -3833,7 +3833,7 @@
<item row="6" column="1">
<widget class="QSpinBox" name="dropShadowSize">
<property name="toolTip">
- <string><p>Sets the base value used for determining drop shadow \
sizes.</p><p>X11 only.</string> + <string><p>Sets the base \
value used for determining drop shadow sizes.</p><p>X11 \
only.</p></string> </property>
</widget>
</item>
@@ -3898,7 +3898,7 @@
<item row="3" column="1">
<widget class="KLineEdit" name="noMenuBgndOpacityApps">
<property name="toolTip">
- <string><p>Comma separated list of names of applications which \
should not use the menu opacity setting.<p><i>For Gtk2, this option also \
disables using an alpha-channel to smoothly round tooltips and popup \
menus.</i></p><p>Use <i>gtk</i> to disable for all Gtk2 \
applications.</p></string> + <string><p>Comma separated list \
of names of applications which should not use the menu opacity \
setting.</p><p><i>For Gtk2, this option also disables using an \
alpha-channel to smoothly round tooltips and popup \
menus.</i></p><p>Use <i>gtk</i> to disable for all Gtk2 \
applications.</p></string> </property>
</widget>
</item>
@@ -4114,7 +4114,7 @@
<li><i>No border</i> - no inner border is drawn, and the gradient \
will extend to the outer edges.</li> <li><i>Light border</i> \
- A 'light' line is drawn around all edges.</li> <li><i>3D border \
(light only)</i> - A 'light' line is drawn around the top and left \
edges.</li>
-<li><i>3D border (light only)</i> - A 'light' line is drawn around \
the top and left edges, and a darker one around the bottom and right \
edges.</li> +<li><i>3D border (dark and light)</i> - A \
'light' line is drawn around the top and left edges, and a darker one around the \
bottom and right edges.</li> <li><i>Shine</i> - A shine is \
added to the top (or left) edge when this gradient is drawn on buttons or \
scrollbars.</li> </ul>
<p><i>Note: This setting is not used when drawing the preview \
below.</i></p> @@ -4488,7 +4488,7 @@
</sizepolicy>
</property>
<property name="text">
- <string><i><p>QtCurve uses dark/light borders to create \
etch and shadow effects. By default QtCurve tries to lighten (or darken) the parent's \
background to achieve this - if no parent can be found, then white/black is used with \
an alpha value set. This behaviour maybe overridden, and alpha values always used, by \
checking the option above.</p></string> + \
<string><p><i>QtCurve uses dark/light borders to create etch and shadow \
effects. By default QtCurve tries to lighten (or darken) the parent's background to \
achieve this - if no parent can be found, then white/black is used with an alpha \
value set. This behaviour maybe overridden, and alpha values always used, by checking \
the option above.</i></p></string> </property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
diff --git a/qt5/kwinconfig/qtcurvekwinconfigwidget.ui \
b/qt5/kwinconfig/qtcurvekwinconfigwidget.ui index b2d4bd88..71d90477 100644
--- a/qt5/kwinconfig/qtcurvekwinconfigwidget.ui
+++ b/qt5/kwinconfig/qtcurvekwinconfigwidget.ui
@@ -179,7 +179,7 @@
<item>
<widget class="QLabel" name="noteLabel">
<property name="text">
- <string><p><b>NOTE:</b><i>This window decoration \
uses the QtCurve widget style, and shares its configuration. Only the settings that \
are exclusively used by the window decoration are shown here. To alter settings such \
as the titlebar gradient, or text alignment, please set the appropriate options in \
the widget style.</i></p></string> + \
<string><p><b>NOTE:</b> <i>This window decoration uses the \
QtCurve widget style, and shares its configuration. Only the settings that are \
exclusively used by the window decoration are shown here. To alter settings such as \
the titlebar gradient, or text alignment, please set the appropriate options in the \
widget style.</i></p></string> </property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
@@ -313,7 +313,7 @@
</sizepolicy>
</property>
<property name="text">
- <string><p><b>NOTE:</b><i>If you set the above \
values to 100%, then the window titlebar (and border) opacity will be controlled by \
the style's window and dialog background opacity \
settings.</i></p></string> + \
<string><p><b>NOTE:</b> <i>If you set the above values to \
100%, then the window titlebar (and border) opacity will be controlled by the style's \
window and dialog background opacity settings.</i></p></string> \
</property> <property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic