From 90b33316e4d3a64a9edf77c3beb7e8bd37fffa91 Mon Sep 17 00:00:00 2001
From: jkobus <jaroslaw.kobus@digia.com>
Date: Wed, 4 Dec 2013 12:01:17 +0100
Subject: [PATCH] Fix tooltips' texts.

Change-Id: I9f8681a8d975558e5e8626566df73ac8438c4cef
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
---
 .../coreplugin/editormanager/systemeditor.cpp        |  2 +-
 src/plugins/cpptools/completionsettingspage.ui       | 12 ++++++------
 src/plugins/debugger/commonoptionspage.cpp           |  2 +-
 src/plugins/debugger/gdb/gdboptionspage.cpp          |  8 ++++----
 .../debugger/localsandexpressionsoptionspage.ui      |  4 ++--
 src/plugins/fakevim/fakevimoptions.ui                |  4 ++--
 src/plugins/qmldesigner/settingspage.ui              |  4 ++--
 src/plugins/texteditor/behaviorsettingswidget.ui     |  8 ++++----
 8 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/src/plugins/coreplugin/editormanager/systemeditor.cpp b/src/plugins/coreplugin/editormanager/systemeditor.cpp
index ef9cb8fec93..42336b277ba 100644
--- a/src/plugins/coreplugin/editormanager/systemeditor.cpp
+++ b/src/plugins/coreplugin/editormanager/systemeditor.cpp
@@ -54,7 +54,7 @@ Id SystemEditor::id() const
 
 QString SystemEditor::displayName() const
 {
-    return QLatin1String("System Editor");
+    return tr("System Editor");
 }
 
 bool SystemEditor::startEditor(const QString &fileName, QString *errorMessage)
diff --git a/src/plugins/cpptools/completionsettingspage.ui b/src/plugins/cpptools/completionsettingspage.ui
index e654cf804e1..3ff7358375e 100644
--- a/src/plugins/cpptools/completionsettingspage.ui
+++ b/src/plugins/cpptools/completionsettingspage.ui
@@ -107,7 +107,7 @@
       <item row="2" column="0">
        <widget class="QCheckBox" name="partiallyComplete">
         <property name="toolTip">
-         <string>Insert the common prefix of available completion items.</string>
+         <string>Inserts the common prefix of available completion items.</string>
         </property>
         <property name="text">
          <string>Autocomplete common &amp;prefix</string>
@@ -120,7 +120,7 @@
       <item row="3" column="0" colspan="2">
        <widget class="QCheckBox" name="autoInsertBrackets">
         <property name="toolTip">
-         <string>Automatically insert semicolons and closing brackets, parentheses, curly braces, and quotes when appropriate.</string>
+         <string>Automatically inserts semicolons and closing brackets, parentheses, curly braces, and quotes when appropriate.</string>
         </property>
         <property name="text">
          <string>&amp;Automatically insert matching characters</string>
@@ -151,7 +151,7 @@
         <item>
          <widget class="QCheckBox" name="surroundSelectedText">
           <property name="toolTip">
-           <string>When typing a matching character and there is a text selection, instead of removing the selection, surround it with the corresponding characters.</string>
+           <string>When typing a matching character and there is a text selection, instead of removing the selection, surrounds it with the corresponding characters.</string>
           </property>
           <property name="text">
            <string>Surround &amp;text selections</string>
@@ -205,7 +205,7 @@
       <item>
        <widget class="QCheckBox" name="enableDoxygenCheckBox">
         <property name="toolTip">
-         <string>Automatically create a Doxygen comment upon pressing enter after a /**, /*!, //! or ///</string>
+         <string>Automatically creates a Doxygen comment upon pressing enter after a /**, /*!, //! or ///</string>
         </property>
         <property name="text">
          <string>Enable Doxygen blocks</string>
@@ -233,7 +233,7 @@
         <item>
          <widget class="QCheckBox" name="generateBriefCheckBox">
           <property name="toolTip">
-           <string>Generate a &lt;i&gt;brief&lt;/i&gt; command with an initial description for the corresponding declaration</string>
+           <string>Generates a &lt;i&gt;brief&lt;/i&gt; command with an initial description for the corresponding declaration</string>
           </property>
           <property name="text">
            <string>Generate brief description</string>
@@ -245,7 +245,7 @@
       <item>
        <widget class="QCheckBox" name="leadingAsterisksCheckBox">
         <property name="toolTip">
-         <string>Add leading asterisks when continuing Qt (/*!) and Java (/**) style comments on new lines</string>
+         <string>Adds leading asterisks when continuing Qt (/*!) and Java (/**) style comments on new lines</string>
         </property>
         <property name="text">
          <string>Add leading asterisks</string>
diff --git a/src/plugins/debugger/commonoptionspage.cpp b/src/plugins/debugger/commonoptionspage.cpp
index b75581e0018..3aede9b0e56 100644
--- a/src/plugins/debugger/commonoptionspage.cpp
+++ b/src/plugins/debugger/commonoptionspage.cpp
@@ -301,7 +301,7 @@ QString CommonOptionsPage::msgSetBreakpointAtFunctionToolTip(const char *functio
                                                              const QString &hint)
 {
     QString result = QLatin1String("<html><head/><body>");
-    result += tr("Always add a breakpoint on the <i>%1()</i> function.").arg(QLatin1String(function));
+    result += tr("Always adds a breakpoint on the <i>%1()</i> function.").arg(QLatin1String(function));
     if (!hint.isEmpty()) {
         result += QLatin1String("<br>");
         result += hint;
diff --git a/src/plugins/debugger/gdb/gdboptionspage.cpp b/src/plugins/debugger/gdb/gdboptionspage.cpp
index a4a336418f5..b4979c79754 100644
--- a/src/plugins/debugger/gdb/gdboptionspage.cpp
+++ b/src/plugins/debugger/gdb/gdboptionspage.cpp
@@ -398,7 +398,7 @@ GdbOptionsPageWidget2::GdbOptionsPageWidget2(QWidget *parent)
     checkBoxAutoEnrichParameters->setText(GdbOptionsPage::tr(
         "Use common locations for debug information"));
     checkBoxAutoEnrichParameters->setToolTip(GdbOptionsPage::tr(
-        "<html><head/><body>Add common paths to locations "
+        "<html><head/><body>Adds common paths to locations "
         "of debug information such as <i>/usr/src/debug</i> "
         "when starting GDB.</body></html>"));
 
@@ -418,7 +418,7 @@ GdbOptionsPageWidget2::GdbOptionsPageWidget2(QWidget *parent)
     checkBoxEnableReverseDebugging = new QCheckBox(groupBoxDangerous);
     checkBoxEnableReverseDebugging->setText(GdbOptionsPage::tr("Enable reverse debugging"));
     checkBoxEnableReverseDebugging->setToolTip(GdbOptionsPage::tr(
-        "<html><head/><body><p>Enable stepping backwards.</p><p>"
+        "<html><head/><body><p>Enables stepping backwards.</p><p>"
         "<b>Note:</b> This feature is very slow and unstable on the GDB side. "
         "It exhibits unpredictable behavior when going backwards over system "
         "calls and is very likely to destroy your debugging session.</p></body></html>"));
@@ -426,14 +426,14 @@ GdbOptionsPageWidget2::GdbOptionsPageWidget2(QWidget *parent)
     checkBoxAttemptQuickStart = new QCheckBox(groupBoxDangerous);
     checkBoxAttemptQuickStart->setText(GdbOptionsPage::tr("Attempt quick start"));
     checkBoxAttemptQuickStart->setToolTip(GdbOptionsPage::tr(
-        "<html><head/><body>Postpone reading debug information as long as possible. "
+        "<html><head/><body>Postpones reading debug information as long as possible. "
         "This can result in faster startup times at the price of not being able to "
         "set breakpoints by file and number.</body></html>"));
 
     checkBoxMultiInferior = new QCheckBox(groupBoxDangerous);
     checkBoxMultiInferior->setText(GdbOptionsPage::tr("Debug all children"));
     checkBoxMultiInferior->setToolTip(GdbOptionsPage::tr(
-        "<html><head/><body>Keep debugging all children after a fork."
+        "<html><head/><body>Keeps debugging all children after a fork."
         "</body></html>"));
 
 
diff --git a/src/plugins/debugger/localsandexpressionsoptionspage.ui b/src/plugins/debugger/localsandexpressionsoptionspage.ui
index ce60b3dfbd2..d2b320ddaa7 100644
--- a/src/plugins/debugger/localsandexpressionsoptionspage.ui
+++ b/src/plugins/debugger/localsandexpressionsoptionspage.ui
@@ -60,7 +60,7 @@
    <item>
     <widget class="QCheckBox" name="checkBoxShowStdNamespace">
      <property name="toolTip">
-      <string>Show 'std::' prefix for types from the standard library.</string>
+      <string>Shows 'std::' prefix for types from the standard library.</string>
      </property>
      <property name="text">
       <string>Show &quot;std::&quot; namespace for types</string>
@@ -70,7 +70,7 @@
    <item>
     <widget class="QCheckBox" name="checkBoxShowQtNamespace">
      <property name="toolTip">
-      <string>Show Qt namespace prefix for Qt types. This is only relevant if Qt was configured with '-qtnamespace'.</string>
+      <string>Shows Qt namespace prefix for Qt types. This is only relevant if Qt was configured with '-qtnamespace'.</string>
      </property>
      <property name="text">
       <string>Show Qt's namespace for types</string>
diff --git a/src/plugins/fakevim/fakevimoptions.ui b/src/plugins/fakevim/fakevimoptions.ui
index 8974f2ae0cd..6f5d21d6b19 100644
--- a/src/plugins/fakevim/fakevimoptions.ui
+++ b/src/plugins/fakevim/fakevimoptions.ui
@@ -92,7 +92,7 @@
         <item row="6" column="1">
          <widget class="QCheckBox" name="checkBoxPassControlKey">
           <property name="toolTip">
-           <string>Pass key sequences like Ctrl-S to Qt Creator core instead of interpreting them in FakeVim. This gives easier access to Qt Creator core functionality at the price of losing some features of FakeVim.</string>
+           <string>Passes key sequences like Ctrl-S to Qt Creator core instead of interpreting them in FakeVim. This gives easier access to Qt Creator core functionality at the price of losing some features of FakeVim.</string>
           </property>
           <property name="text">
            <string>Pass control key</string>
@@ -123,7 +123,7 @@
         <item row="7" column="0">
          <widget class="QCheckBox" name="checkBoxPassKeys">
           <property name="toolTip">
-           <string>Let Qt Creator handle some key presses in insert mode so that code can be properly completed and expanded.</string>
+           <string>Lets Qt Creator handle some key presses in insert mode so that code can be properly completed and expanded.</string>
           </property>
           <property name="text">
            <string>Pass keys in insert mode</string>
diff --git a/src/plugins/qmldesigner/settingspage.ui b/src/plugins/qmldesigner/settingspage.ui
index c8f5452e667..d154b9258fa 100644
--- a/src/plugins/qmldesigner/settingspage.ui
+++ b/src/plugins/qmldesigner/settingspage.ui
@@ -64,7 +64,7 @@
         <item row="0" column="1">
          <widget class="QCheckBox" name="designerWarningsCheckBox">
           <property name="toolTip">
-           <string>Warn about QML features which are not properly supported by the Qt Quick Designer</string>
+           <string>Warns about QML features which are not properly supported by the Qt Quick Designer</string>
           </property>
           <property name="text">
            <string>Warn about unsupported features in the Qt Quick Designer</string>
@@ -74,7 +74,7 @@
         <item row="1" column="1">
          <widget class="QCheckBox" name="designerWarningsInEditorCheckBox">
           <property name="toolTip">
-           <string>Also warn in the code editor about QML features which are not properly supported by the Qt Quick Designer</string>
+           <string>Also warns in the code editor about QML features which are not properly supported by the Qt Quick Designer</string>
           </property>
           <property name="text">
            <string>Warn about unsupported features of Qt Quick Designer in the code editor</string>
diff --git a/src/plugins/texteditor/behaviorsettingswidget.ui b/src/plugins/texteditor/behaviorsettingswidget.ui
index 324313b74af..5aeb0f37c5c 100644
--- a/src/plugins/texteditor/behaviorsettingswidget.ui
+++ b/src/plugins/texteditor/behaviorsettingswidget.ui
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>802</width>
-    <height>416</height>
+    <height>441</height>
    </rect>
   </property>
   <layout class="QHBoxLayout" name="horizontalLayout">
@@ -207,7 +207,7 @@ Specifies how backspace interacts with indentation.
            </sizepolicy>
           </property>
           <property name="toolTip">
-           <string>Clean whitespace in entire document instead of only for changed parts.</string>
+           <string>Cleans whitespace in entire document instead of only for changed parts.</string>
           </property>
           <property name="text">
            <string>In entire &amp;document</string>
@@ -220,7 +220,7 @@ Specifies how backspace interacts with indentation.
            <bool>false</bool>
           </property>
           <property name="toolTip">
-           <string>Correct leading whitespace according to tab settings.</string>
+           <string>Corrects leading whitespace according to tab settings.</string>
           </property>
           <property name="text">
            <string>Clean indentation</string>
@@ -230,7 +230,7 @@ Specifies how backspace interacts with indentation.
         <item row="3" column="0" colspan="2">
          <widget class="QCheckBox" name="addFinalNewLine">
           <property name="toolTip">
-           <string>Always write a newline character at the end of the file.</string>
+           <string>Always writes a newline character at the end of the file.</string>
           </property>
           <property name="text">
            <string>&amp;Ensure newline at end of file</string>
-- 
GitLab