Commit 90b33316 authored by jkobus's avatar jkobus Committed by Jarek Kobus

Fix tooltips' texts.

Change-Id: I9f8681a8d975558e5e8626566df73ac8438c4cef
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@digia.com>
parent e20391ef
...@@ -54,7 +54,7 @@ Id SystemEditor::id() const ...@@ -54,7 +54,7 @@ Id SystemEditor::id() const
QString SystemEditor::displayName() const QString SystemEditor::displayName() const
{ {
return QLatin1String("System Editor"); return tr("System Editor");
} }
bool SystemEditor::startEditor(const QString &fileName, QString *errorMessage) bool SystemEditor::startEditor(const QString &fileName, QString *errorMessage)
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
<item row="2" column="0"> <item row="2" column="0">
<widget class="QCheckBox" name="partiallyComplete"> <widget class="QCheckBox" name="partiallyComplete">
<property name="toolTip"> <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>
<property name="text"> <property name="text">
<string>Autocomplete common &amp;prefix</string> <string>Autocomplete common &amp;prefix</string>
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
<item row="3" column="0" colspan="2"> <item row="3" column="0" colspan="2">
<widget class="QCheckBox" name="autoInsertBrackets"> <widget class="QCheckBox" name="autoInsertBrackets">
<property name="toolTip"> <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>
<property name="text"> <property name="text">
<string>&amp;Automatically insert matching characters</string> <string>&amp;Automatically insert matching characters</string>
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
<item> <item>
<widget class="QCheckBox" name="surroundSelectedText"> <widget class="QCheckBox" name="surroundSelectedText">
<property name="toolTip"> <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>
<property name="text"> <property name="text">
<string>Surround &amp;text selections</string> <string>Surround &amp;text selections</string>
...@@ -205,7 +205,7 @@ ...@@ -205,7 +205,7 @@
<item> <item>
<widget class="QCheckBox" name="enableDoxygenCheckBox"> <widget class="QCheckBox" name="enableDoxygenCheckBox">
<property name="toolTip"> <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>
<property name="text"> <property name="text">
<string>Enable Doxygen blocks</string> <string>Enable Doxygen blocks</string>
...@@ -233,7 +233,7 @@ ...@@ -233,7 +233,7 @@
<item> <item>
<widget class="QCheckBox" name="generateBriefCheckBox"> <widget class="QCheckBox" name="generateBriefCheckBox">
<property name="toolTip"> <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>
<property name="text"> <property name="text">
<string>Generate brief description</string> <string>Generate brief description</string>
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
<item> <item>
<widget class="QCheckBox" name="leadingAsterisksCheckBox"> <widget class="QCheckBox" name="leadingAsterisksCheckBox">
<property name="toolTip"> <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>
<property name="text"> <property name="text">
<string>Add leading asterisks</string> <string>Add leading asterisks</string>
......
...@@ -301,7 +301,7 @@ QString CommonOptionsPage::msgSetBreakpointAtFunctionToolTip(const char *functio ...@@ -301,7 +301,7 @@ QString CommonOptionsPage::msgSetBreakpointAtFunctionToolTip(const char *functio
const QString &hint) const QString &hint)
{ {
QString result = QLatin1String("<html><head/><body>"); 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()) { if (!hint.isEmpty()) {
result += QLatin1String("<br>"); result += QLatin1String("<br>");
result += hint; result += hint;
......
...@@ -398,7 +398,7 @@ GdbOptionsPageWidget2::GdbOptionsPageWidget2(QWidget *parent) ...@@ -398,7 +398,7 @@ GdbOptionsPageWidget2::GdbOptionsPageWidget2(QWidget *parent)
checkBoxAutoEnrichParameters->setText(GdbOptionsPage::tr( checkBoxAutoEnrichParameters->setText(GdbOptionsPage::tr(
"Use common locations for debug information")); "Use common locations for debug information"));
checkBoxAutoEnrichParameters->setToolTip(GdbOptionsPage::tr( 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> " "of debug information such as <i>/usr/src/debug</i> "
"when starting GDB.</body></html>")); "when starting GDB.</body></html>"));
...@@ -418,7 +418,7 @@ GdbOptionsPageWidget2::GdbOptionsPageWidget2(QWidget *parent) ...@@ -418,7 +418,7 @@ GdbOptionsPageWidget2::GdbOptionsPageWidget2(QWidget *parent)
checkBoxEnableReverseDebugging = new QCheckBox(groupBoxDangerous); checkBoxEnableReverseDebugging = new QCheckBox(groupBoxDangerous);
checkBoxEnableReverseDebugging->setText(GdbOptionsPage::tr("Enable reverse debugging")); checkBoxEnableReverseDebugging->setText(GdbOptionsPage::tr("Enable reverse debugging"));
checkBoxEnableReverseDebugging->setToolTip(GdbOptionsPage::tr( 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. " "<b>Note:</b> This feature is very slow and unstable on the GDB side. "
"It exhibits unpredictable behavior when going backwards over system " "It exhibits unpredictable behavior when going backwards over system "
"calls and is very likely to destroy your debugging session.</p></body></html>")); "calls and is very likely to destroy your debugging session.</p></body></html>"));
...@@ -426,14 +426,14 @@ GdbOptionsPageWidget2::GdbOptionsPageWidget2(QWidget *parent) ...@@ -426,14 +426,14 @@ GdbOptionsPageWidget2::GdbOptionsPageWidget2(QWidget *parent)
checkBoxAttemptQuickStart = new QCheckBox(groupBoxDangerous); checkBoxAttemptQuickStart = new QCheckBox(groupBoxDangerous);
checkBoxAttemptQuickStart->setText(GdbOptionsPage::tr("Attempt quick start")); checkBoxAttemptQuickStart->setText(GdbOptionsPage::tr("Attempt quick start"));
checkBoxAttemptQuickStart->setToolTip(GdbOptionsPage::tr( 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 " "This can result in faster startup times at the price of not being able to "
"set breakpoints by file and number.</body></html>")); "set breakpoints by file and number.</body></html>"));
checkBoxMultiInferior = new QCheckBox(groupBoxDangerous); checkBoxMultiInferior = new QCheckBox(groupBoxDangerous);
checkBoxMultiInferior->setText(GdbOptionsPage::tr("Debug all children")); checkBoxMultiInferior->setText(GdbOptionsPage::tr("Debug all children"));
checkBoxMultiInferior->setToolTip(GdbOptionsPage::tr( 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>")); "</body></html>"));
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<item> <item>
<widget class="QCheckBox" name="checkBoxShowStdNamespace"> <widget class="QCheckBox" name="checkBoxShowStdNamespace">
<property name="toolTip"> <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>
<property name="text"> <property name="text">
<string>Show &quot;std::&quot; namespace for types</string> <string>Show &quot;std::&quot; namespace for types</string>
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<item> <item>
<widget class="QCheckBox" name="checkBoxShowQtNamespace"> <widget class="QCheckBox" name="checkBoxShowQtNamespace">
<property name="toolTip"> <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>
<property name="text"> <property name="text">
<string>Show Qt's namespace for types</string> <string>Show Qt's namespace for types</string>
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
<item row="6" column="1"> <item row="6" column="1">
<widget class="QCheckBox" name="checkBoxPassControlKey"> <widget class="QCheckBox" name="checkBoxPassControlKey">
<property name="toolTip"> <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>
<property name="text"> <property name="text">
<string>Pass control key</string> <string>Pass control key</string>
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
<item row="7" column="0"> <item row="7" column="0">
<widget class="QCheckBox" name="checkBoxPassKeys"> <widget class="QCheckBox" name="checkBoxPassKeys">
<property name="toolTip"> <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>
<property name="text"> <property name="text">
<string>Pass keys in insert mode</string> <string>Pass keys in insert mode</string>
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<item row="0" column="1"> <item row="0" column="1">
<widget class="QCheckBox" name="designerWarningsCheckBox"> <widget class="QCheckBox" name="designerWarningsCheckBox">
<property name="toolTip"> <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>
<property name="text"> <property name="text">
<string>Warn about unsupported features in the Qt Quick Designer</string> <string>Warn about unsupported features in the Qt Quick Designer</string>
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
<item row="1" column="1"> <item row="1" column="1">
<widget class="QCheckBox" name="designerWarningsInEditorCheckBox"> <widget class="QCheckBox" name="designerWarningsInEditorCheckBox">
<property name="toolTip"> <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>
<property name="text"> <property name="text">
<string>Warn about unsupported features of Qt Quick Designer in the code editor</string> <string>Warn about unsupported features of Qt Quick Designer in the code editor</string>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>802</width> <width>802</width>
<height>416</height> <height>441</height>
</rect> </rect>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
...@@ -207,7 +207,7 @@ Specifies how backspace interacts with indentation. ...@@ -207,7 +207,7 @@ Specifies how backspace interacts with indentation.
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip"> <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>
<property name="text"> <property name="text">
<string>In entire &amp;document</string> <string>In entire &amp;document</string>
...@@ -220,7 +220,7 @@ Specifies how backspace interacts with indentation. ...@@ -220,7 +220,7 @@ Specifies how backspace interacts with indentation.
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Correct leading whitespace according to tab settings.</string> <string>Corrects leading whitespace according to tab settings.</string>
</property> </property>
<property name="text"> <property name="text">
<string>Clean indentation</string> <string>Clean indentation</string>
...@@ -230,7 +230,7 @@ Specifies how backspace interacts with indentation. ...@@ -230,7 +230,7 @@ Specifies how backspace interacts with indentation.
<item row="3" column="0" colspan="2"> <item row="3" column="0" colspan="2">
<widget class="QCheckBox" name="addFinalNewLine"> <widget class="QCheckBox" name="addFinalNewLine">
<property name="toolTip"> <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>
<property name="text"> <property name="text">
<string>&amp;Ensure newline at end of file</string> <string>&amp;Ensure newline at end of file</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment