From aad4c5b5c8345c2159e0bb893d2cd671035e00c8 Mon Sep 17 00:00:00 2001
From: Leena Miettinen <riitta-leena.miettinen@nokia.com>
Date: Fri, 24 Sep 2010 12:09:42 +0200
Subject: [PATCH] UI text - set QML keywords non-translatable

Fix capitalisation. Make tooltips more informative.

Reviewed-by: thartman
---
 src/libs/qmleditorwidgets/contextpanetext.ui  |  8 ++--
 .../contextpanewidgetborderimage.ui           | 12 ++---
 .../easingpane/easingcontextpane.ui           | 44 +++++++++----------
 3 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/src/libs/qmleditorwidgets/contextpanetext.ui b/src/libs/qmleditorwidgets/contextpanetext.ui
index 7c2d227ddc7..6ad643674fb 100644
--- a/src/libs/qmleditorwidgets/contextpanetext.ui
+++ b/src/libs/qmleditorwidgets/contextpanetext.ui
@@ -316,22 +316,22 @@
      </property>
      <item>
       <property name="text">
-       <string>Normal</string>
+       <string notr="true">Normal</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>Outline</string>
+       <string notr="true">Outline</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>Raised</string>
+       <string notr="true">Raised</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>Sunken</string>
+       <string notr="true">Sunken</string>
       </property>
      </item>
     </widget>
diff --git a/src/libs/qmleditorwidgets/contextpanewidgetborderimage.ui b/src/libs/qmleditorwidgets/contextpanewidgetborderimage.ui
index 801e1143f75..9f58484fe0d 100644
--- a/src/libs/qmleditorwidgets/contextpanewidgetborderimage.ui
+++ b/src/libs/qmleditorwidgets/contextpanewidgetborderimage.ui
@@ -146,7 +146,7 @@
       <item row="0" column="0">
        <widget class="QRadioButton" name="horizontalStretchRadioButton">
         <property name="toolTip">
-         <string>Scale the image to fit to the available area.</string>
+         <string>Stretch vertically. Scales the image to fit to the available area.</string>
         </property>
         <property name="text">
          <string/>
@@ -166,7 +166,7 @@
       <item row="0" column="1">
        <widget class="QRadioButton" name="horizontalTileRadioButton">
         <property name="toolTip">
-         <string>Tile the image until there is no more space. May crop the last image.</string>
+         <string>Repeat vertically. Tiles the image until there is no more space. May crop the last image.</string>
         </property>
         <property name="text">
          <string/>
@@ -186,7 +186,7 @@
       <item row="0" column="2">
        <widget class="QRadioButton" name="horizontalTileRadioButtonNoCrop">
         <property name="toolTip">
-         <string>Like Repeat, but scales the images down to ensure that the last image is not cropped.</string>
+         <string>Round. Like Repeat, but scales the images down to ensure that the last image is not cropped.</string>
         </property>
         <property name="text">
          <string/>
@@ -218,7 +218,7 @@
       <item row="0" column="1">
        <widget class="QRadioButton" name="verticalTileRadioButton">
         <property name="toolTip">
-         <string>Tile the image until there is no more space. May crop the last image.</string>
+         <string>Repeat horizontally. Tiles the image until there is no more space. May crop the last image.</string>
         </property>
         <property name="text">
          <string/>
@@ -238,7 +238,7 @@
       <item row="0" column="0">
        <widget class="QRadioButton" name="verticalStretchRadioButton">
         <property name="toolTip">
-         <string>Scale the image to fit to the available area.</string>
+         <string>Strech horizontally. Scales the image to fit to the available area.</string>
         </property>
         <property name="text">
          <string/>
@@ -258,7 +258,7 @@
       <item row="0" column="2">
        <widget class="QRadioButton" name="verticalTileRadioButtonNoCrop">
         <property name="toolTip">
-         <string>Like Repeat, but scales the images down to ensure that the last image is not cropped.</string>
+         <string>Round. Like Repeat, but scales the images down to ensure that the last image is not cropped.</string>
         </property>
         <property name="text">
          <string/>
diff --git a/src/libs/qmleditorwidgets/easingpane/easingcontextpane.ui b/src/libs/qmleditorwidgets/easingpane/easingcontextpane.ui
index 96e3668cb4a..f883e743fc9 100644
--- a/src/libs/qmleditorwidgets/easingpane/easingcontextpane.ui
+++ b/src/libs/qmleditorwidgets/easingpane/easingcontextpane.ui
@@ -54,7 +54,7 @@
       </size>
      </property>
      <property name="toolTip">
-      <string>play simulation</string>
+      <string>Play simulation</string>
      </property>
     </widget>
    </item>
@@ -83,61 +83,61 @@
       </size>
      </property>
      <property name="toolTip">
-      <string>easing type</string>
+      <string>Type of easing curve</string>
      </property>
      <item>
       <property name="text">
-       <string>Linear</string>
+       <string notr="true">Linear</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>Quad</string>
+       <string notr="true">Quad</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>Cubic</string>
+       <string notr="true">Cubic</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>Quart</string>
+       <string notr="true">Quart</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>Quint</string>
+       <string notr="true">Quint</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>Sine</string>
+       <string notr="true">Sine</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>Expo</string>
+       <string notr="true">Expo</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>Circ</string>
+       <string notr="true">Circ</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>Elastic</string>
+       <string notr="true">Elastic</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>Back</string>
+       <string notr="true">Back</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>Bounce</string>
+       <string notr="true">Bounce</string>
       </property>
      </item>
     </widget>
@@ -164,26 +164,26 @@
       </sizepolicy>
      </property>
      <property name="toolTip">
-      <string>easing subtype</string>
+      <string>Acceleration or deceleration of easing curve</string>
      </property>
      <item>
       <property name="text">
-       <string>In</string>
+       <string notr="true">In</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>Out</string>
+       <string notr="true">Out</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>InOut</string>
+       <string notr="true">InOut</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>OutIn</string>
+       <string notr="true">OutIn</string>
       </property>
      </item>
     </widget>
@@ -207,7 +207,7 @@
       </size>
      </property>
      <property name="toolTip">
-      <string>duration</string>
+      <string>Duration of animation</string>
      </property>
      <property name="specialValueText">
       <string>INVALID</string>
@@ -251,7 +251,7 @@
       </size>
      </property>
      <property name="toolTip">
-      <string>easing amplitude (only for Elastic and Bounce curves)</string>
+      <string>Amplitude of elastic and bounce easing curves</string>
      </property>
      <property name="specialValueText">
       <string>INVALID</string>
@@ -292,7 +292,7 @@
       </size>
      </property>
      <property name="toolTip">
-      <string>easing period (only for Elastic curve)</string>
+      <string>Easing period of an elastic curve</string>
      </property>
      <property name="specialValueText">
       <string>INVALID</string>
@@ -333,7 +333,7 @@
       </size>
      </property>
      <property name="toolTip">
-      <string>easing overshoot (only for Back curve)</string>
+      <string>Easing overshoot for a back curve</string>
      </property>
      <property name="specialValueText">
       <string>INVALID</string>
-- 
GitLab