[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>&lt;p&gt;Sets a gradient to be used as the background for \
windows and dialogs.&lt;/p&gt;&lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt; This is an \
experimental option, and will (probably) have a detrimental effect on \
performance.&lt;/p&gt;</string> +            <string>&lt;p&gt;Sets a gradient to be \
used as the background for windows and \
dialogs.&lt;/p&gt;&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt; This is an experimental option, \
and will (probably) have a detrimental effect on performance.&lt;/p&gt;</string>  \
</property>  </widget>
          </item>
@@ -648,7 +648,7 @@
          </property>
          <property name="text">
           <string>&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt; &lt;i&gt;Opacity settings are \
&lt;b&gt;experimental&lt;/b&gt; and can cause certain applications (mainly Gtk2 ones) \
to crash. If you have an application that crashes, use the \
&amp;quot;Applications&amp;quot; page to disable opacity settings for that \
                application.&lt;/i&gt;&lt;/p&gt;
-&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt;&lt;i&gt;&lt;b&gt;DON'T&lt;/b&gt; use opacity \
settings when using the compiz window manager.&lt;/i&gt;&lt;/p&gt;</string> \
+&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt; &lt;i&gt;&lt;b&gt;DON'T&lt;/b&gt; use opacity \
settings when using the compiz window manager.&lt;/i&gt;&lt;/p&gt;</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>&lt;p&gt;If this is enabled and 'Use Gtk button order' is not, \
QtCurve will attempt to manually set the order of buttons in Gtk \
dialogs.&lt;/p&gt;&lt;p&gt;&lt;b&gt;NOTE&lt;b&gt; This is experimental, and may \
produce unexpected results!&lt;/p&gt;</string> +          <string>&lt;p&gt;If this is \
enabled and 'Use Gtk button order' is not, QtCurve will attempt to manually set the \
order of buttons in Gtk dialogs.&lt;/p&gt;&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt; This is \
experimental, and may produce unexpected results!&lt;/p&gt;</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>&lt;p&gt;Sets the base value used for determining drop shadow \
sizes.&lt;/p&gt;&lt;p&gt;X11 only.</string> +          <string>&lt;p&gt;Sets the base \
value used for determining drop shadow sizes.&lt;/p&gt;&lt;p&gt;X11 \
only.&lt;/p&gt;</string>  </property>
         </widget>
        </item>
@@ -3834,7 +3834,7 @@
          <item row="3" column="1">
           <widget class="KLineEdit" name="noMenuBgndOpacityApps">
            <property name="toolTip">
-            <string>&lt;p&gt;Comma separated list of names of applications which \
should not use the menu opacity setting.&lt;p&gt;&lt;i&gt;For Gtk2, this option also \
disables using an alpha-channel to smoothly round tooltips and popup \
menus.&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Use &lt;i&gt;gtk&lt;/i&gt; to disable for all Gtk2 \
applications.&lt;/p&gt;</string> +            <string>&lt;p&gt;Comma separated list \
of names of applications which should not use the menu opacity \
setting.&lt;/p&gt;&lt;p&gt;&lt;i&gt;For Gtk2, this option also disables using an \
alpha-channel to smoothly round tooltips and popup \
menus.&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Use &lt;i&gt;gtk&lt;/i&gt; to disable for all Gtk2 \
applications.&lt;/p&gt;</string>  </property>
           </widget>
          </item>
@@ -4050,7 +4050,7 @@
 &lt;li&gt;&lt;i&gt;No border&lt;/i&gt; - no inner border is drawn, and the gradient \
will extend to the outer edges.&lt;/li&gt;  &lt;li&gt;&lt;i&gt;Light border&lt;/i&gt; \
- A 'light' line is drawn around all edges.&lt;/li&gt;  &lt;li&gt;&lt;i&gt;3D border \
(light only)&lt;/i&gt; - A 'light' line is drawn around the top and left \
                edges.&lt;/li&gt;
-&lt;li&gt;&lt;i&gt;3D border (light only)&lt;/i&gt; - A 'light' line is drawn around \
the top and left edges, and a darker one around the bottom and right \
edges.&lt;/li&gt; +&lt;li&gt;&lt;i&gt;3D border (dark and light)&lt;/i&gt; - A \
'light' line is drawn around the top and left edges, and a darker one around the \
bottom and right edges.&lt;/li&gt;  &lt;li&gt;&lt;i&gt;Shine&lt;/i&gt; - A shine is \
added to the top (or left) edge when this gradient is drawn on buttons or \
scrollbars.&lt;/li&gt;  &lt;/ul&gt;
 &lt;p&gt;&lt;i&gt;Note: This setting is not used when drawing the preview \
below.&lt;/i&gt;&lt;/p&gt; @@ -4424,7 +4424,7 @@
              </sizepolicy>
             </property>
             <property name="text">
-             <string>&lt;i&gt;&lt;p&gt;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.&lt;/p&gt;</string> +             \
<string>&lt;p&gt;&lt;i&gt;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.&lt;/i&gt;&lt;/p&gt;</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>&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt;&lt;i&gt;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.&lt;/i&gt;&lt;/p&gt;</string> +          \
<string>&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt; &lt;i&gt;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.&lt;/i&gt;&lt;/p&gt;</string>  </property>
          <property name="alignment">
           <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
@@ -313,7 +313,7 @@
           </sizepolicy>
          </property>
          <property name="text">
-          <string>&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt;&lt;i&gt;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.&lt;/i&gt;&lt;/p&gt;</string> +          \
<string>&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt; &lt;i&gt;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.&lt;/i&gt;&lt;/p&gt;</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>&lt;p&gt;Sets a gradient to be used as the background for \
windows and dialogs.&lt;/p&gt;&lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt; This is an \
experimental option, and will (probably) have a detrimental effect on \
performance.&lt;/p&gt;</string> +            <string>&lt;p&gt;Sets a gradient to be \
used as the background for windows and \
dialogs.&lt;/p&gt;&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt; This is an experimental option, \
and will (probably) have a detrimental effect on performance.&lt;/p&gt;</string>  \
</property>  </widget>
          </item>
@@ -657,7 +657,7 @@
          </property>
          <property name="text">
           <string>&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt; &lt;i&gt;Opacity settings are \
&lt;b&gt;experimental&lt;/b&gt; and can cause certain applications (mainly Gtk2 ones) \
to crash. If you have an application that crashes, use the \
&amp;quot;Applications&amp;quot; page to disable opacity settings for that \
                application.&lt;/i&gt;&lt;/p&gt;
-&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt;&lt;i&gt;&lt;b&gt;DON'T&lt;/b&gt; use opacity \
settings when using the compiz window manager.&lt;/i&gt;&lt;/p&gt;</string> \
+&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt; &lt;i&gt;&lt;b&gt;DON'T&lt;/b&gt; use opacity \
settings when using the compiz window manager.&lt;/i&gt;&lt;/p&gt;</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>&lt;p&gt;If this is enabled and 'Use Gtk button order' is not, \
QtCurve will attempt to manually set the order of buttons in Gtk \
dialogs.&lt;/p&gt;&lt;p&gt;&lt;b&gt;NOTE&lt;b&gt; This is experimental, and may \
produce unexpected results!&lt;/p&gt;</string> +          <string>&lt;p&gt;If this is \
enabled and 'Use Gtk button order' is not, QtCurve will attempt to manually set the \
order of buttons in Gtk dialogs.&lt;/p&gt;&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt; This is \
experimental, and may produce unexpected results!&lt;/p&gt;</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>&lt;p&gt;Sets the base value used for determining drop shadow \
sizes.&lt;/p&gt;&lt;p&gt;X11 only.</string> +          <string>&lt;p&gt;Sets the base \
value used for determining drop shadow sizes.&lt;/p&gt;&lt;p&gt;X11 \
only.&lt;/p&gt;</string>  </property>
         </widget>
        </item>
@@ -3898,7 +3898,7 @@
          <item row="3" column="1">
           <widget class="KLineEdit" name="noMenuBgndOpacityApps">
            <property name="toolTip">
-            <string>&lt;p&gt;Comma separated list of names of applications which \
should not use the menu opacity setting.&lt;p&gt;&lt;i&gt;For Gtk2, this option also \
disables using an alpha-channel to smoothly round tooltips and popup \
menus.&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Use &lt;i&gt;gtk&lt;/i&gt; to disable for all Gtk2 \
applications.&lt;/p&gt;</string> +            <string>&lt;p&gt;Comma separated list \
of names of applications which should not use the menu opacity \
setting.&lt;/p&gt;&lt;p&gt;&lt;i&gt;For Gtk2, this option also disables using an \
alpha-channel to smoothly round tooltips and popup \
menus.&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Use &lt;i&gt;gtk&lt;/i&gt; to disable for all Gtk2 \
applications.&lt;/p&gt;</string>  </property>
           </widget>
          </item>
@@ -4114,7 +4114,7 @@
 &lt;li&gt;&lt;i&gt;No border&lt;/i&gt; - no inner border is drawn, and the gradient \
will extend to the outer edges.&lt;/li&gt;  &lt;li&gt;&lt;i&gt;Light border&lt;/i&gt; \
- A 'light' line is drawn around all edges.&lt;/li&gt;  &lt;li&gt;&lt;i&gt;3D border \
(light only)&lt;/i&gt; - A 'light' line is drawn around the top and left \
                edges.&lt;/li&gt;
-&lt;li&gt;&lt;i&gt;3D border (light only)&lt;/i&gt; - A 'light' line is drawn around \
the top and left edges, and a darker one around the bottom and right \
edges.&lt;/li&gt; +&lt;li&gt;&lt;i&gt;3D border (dark and light)&lt;/i&gt; - A \
'light' line is drawn around the top and left edges, and a darker one around the \
bottom and right edges.&lt;/li&gt;  &lt;li&gt;&lt;i&gt;Shine&lt;/i&gt; - A shine is \
added to the top (or left) edge when this gradient is drawn on buttons or \
scrollbars.&lt;/li&gt;  &lt;/ul&gt;
 &lt;p&gt;&lt;i&gt;Note: This setting is not used when drawing the preview \
below.&lt;/i&gt;&lt;/p&gt; @@ -4488,7 +4488,7 @@
              </sizepolicy>
             </property>
             <property name="text">
-             <string>&lt;i&gt;&lt;p&gt;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.&lt;/p&gt;</string> +             \
<string>&lt;p&gt;&lt;i&gt;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.&lt;/i&gt;&lt;/p&gt;</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>&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt;&lt;i&gt;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.&lt;/i&gt;&lt;/p&gt;</string> +          \
<string>&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt; &lt;i&gt;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.&lt;/i&gt;&lt;/p&gt;</string>  </property>
          <property name="alignment">
           <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
@@ -313,7 +313,7 @@
           </sizepolicy>
          </property>
          <property name="text">
-          <string>&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt;&lt;i&gt;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.&lt;/i&gt;&lt;/p&gt;</string> +          \
<string>&lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt; &lt;i&gt;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.&lt;/i&gt;&lt;/p&gt;</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