forked from qt-creator/qt-creator
tr()-Fixes for 2.3: Small spelling/notr-fixes.
Change-Id: I66b8b0e20b225429b4399dfca154a2806260ac61 Reviewed-on: http://codereview.qt.nokia.com/483 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -43,6 +43,7 @@
|
|||||||
#include <QtCore/QStringList>
|
#include <QtCore/QStringList>
|
||||||
#include <QtCore/QDebug>
|
#include <QtCore/QDebug>
|
||||||
#include <QtCore/QFileInfo>
|
#include <QtCore/QFileInfo>
|
||||||
|
#include <QtCore/QCoreApplication>
|
||||||
|
|
||||||
namespace Valgrind {
|
namespace Valgrind {
|
||||||
namespace Callgrind {
|
namespace Callgrind {
|
||||||
@@ -214,9 +215,9 @@ QString Function::location() const
|
|||||||
if (f.isEmpty() || f == "???")
|
if (f.isEmpty() || f == "???")
|
||||||
return o;
|
return o;
|
||||||
if (pos.isEmpty())
|
if (pos.isEmpty())
|
||||||
return QObject::tr("%1 in %2").arg(f, o);
|
return QCoreApplication::translate("Valgrind::Callgrind::Function", "%1 in %2").arg(f, o);
|
||||||
|
|
||||||
return QObject::tr("%1:%2 in %3").arg(f, pos, o);
|
return QCoreApplication::translate("Valgrind::Callgrind::Function", "%1:%2 in %3").arg(f, pos, o);
|
||||||
}
|
}
|
||||||
|
|
||||||
int Function::lineNumber() const
|
int Function::lineNumber() const
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ void MemcheckRunner::startRemotely(const Utils::SshConnectionParameters &sshPara
|
|||||||
QHostAddress hostAddr;
|
QHostAddress hostAddr;
|
||||||
|
|
||||||
if (possibleHostAddresses.isEmpty()) {
|
if (possibleHostAddresses.isEmpty()) {
|
||||||
emit processErrorReceived(tr("No network interface found to use for remote analyzation."),
|
emit processErrorReceived(tr("No network interface found for remote analysis."),
|
||||||
QProcess::FailedToStart);
|
QProcess::FailedToStart);
|
||||||
return;
|
return;
|
||||||
} else if (possibleHostAddresses.size() > 1) {
|
} else if (possibleHostAddresses.size() > 1) {
|
||||||
@@ -153,7 +153,7 @@ void MemcheckRunner::startRemotely(const Utils::SshConnectionParameters &sshPara
|
|||||||
QVBoxLayout *layout = new QVBoxLayout;
|
QVBoxLayout *layout = new QVBoxLayout;
|
||||||
QLabel *description = new QLabel;
|
QLabel *description = new QLabel;
|
||||||
description->setWordWrap(true);
|
description->setWordWrap(true);
|
||||||
description->setText(tr("More than one network interface was found on your machine. Please select which one you want to use for remote analyzation."));
|
description->setText(tr("More than one network interface was found on your machine. Please select which one you want to use for remote analysis."));
|
||||||
layout->addWidget(description);
|
layout->addWidget(description);
|
||||||
QListWidget *list = new QListWidget;
|
QListWidget *list = new QListWidget;
|
||||||
foreach (const QHostAddress &address, possibleHostAddresses)
|
foreach (const QHostAddress &address, possibleHostAddresses)
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
<item row="2" column="0">
|
<item row="2" column="0">
|
||||||
<widget class="QLabel" name="label_5">
|
<widget class="QLabel" name="label_5">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Port</string>
|
<string>Port:</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="buddy">
|
<property name="buddy">
|
||||||
<cstring>port</cstring>
|
<cstring>port</cstring>
|
||||||
|
|||||||
@@ -340,7 +340,7 @@
|
|||||||
<widget class="QCheckBox" name="alignAssignments">
|
<widget class="QCheckBox" name="alignAssignments">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string><html><head/><body>
|
<string><html><head/><body>
|
||||||
Enables alignment to tokens after =, += etc. When the option is disabled regular continuation line indentation will be used.<br>
|
Enables alignment to tokens after =, += etc. When the option is disabled, regular continuation line indentation will be used.<br>
|
||||||
<br>
|
<br>
|
||||||
With alignment:
|
With alignment:
|
||||||
<pre>
|
<pre>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<ui version="4.0">
|
<ui version="4.0">
|
||||||
<class>QmlJSTools::Internal::QmlJSCodeStyleSettingsPage</class>
|
<class>QmlJSTools::Internal::QmlJSCodeStyleSettingsPage</class>
|
||||||
<widget class="QWidget" name="QmlJSCodeStyleSettingsPage">
|
<widget class="QWidget" name="QmlJSTools::Internal::QmlJSCodeStyleSettingsPage">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Form</string>
|
<string notr="true">Form</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
<item>
|
<item>
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="TextEditor::SnippetEditorWidget" name="previewTextEdit">
|
<widget class="TextEditor::SnippetEditorWidget" name="previewTextEdit">
|
||||||
<property name="plainText">
|
<property name="plainText">
|
||||||
<string>import QtQuick 1.0
|
<string notr="true">import QtQuick 1.0
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: 360
|
width: 360
|
||||||
|
|||||||
@@ -17,11 +17,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="noValidQtVersionsLabel">
|
<widget class="QLabel" name="noValidQtVersionsLabel">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
<string><html><head/><body><p><b>No valid Qt versions found.</b></p><p>Please add a Qt version in <i>Tools/Options</i> or via the maintenance tool of the SDK.</p></body></html></string>
|
||||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
||||||
p, li { white-space: pre-wrap; }
|
|
||||||
</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;">
|
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">No valid qt versions found.</span><br />Please add a Qt version in Tools/Options or via the maintenance tool of the SDK.</p></body></html></string>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -74,8 +70,8 @@ p, li { white-space: pre-wrap; }
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>541</width>
|
<width>533</width>
|
||||||
<height>381</height>
|
<height>352</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2"/>
|
<layout class="QVBoxLayout" name="verticalLayout_2"/>
|
||||||
|
|||||||
@@ -151,13 +151,13 @@ void DebuggingHelperBuildTask::run(QFutureInterface<void> &future)
|
|||||||
const QString error
|
const QString error
|
||||||
= QCoreApplication::translate(
|
= QCoreApplication::translate(
|
||||||
"QtVersion",
|
"QtVersion",
|
||||||
"Build failed!");
|
"Build failed.");
|
||||||
log(QString(), error);
|
log(QString(), error);
|
||||||
} else {
|
} else {
|
||||||
const QString result
|
const QString result
|
||||||
= QCoreApplication::translate(
|
= QCoreApplication::translate(
|
||||||
"QtVersion",
|
"QtVersion",
|
||||||
"Build succeeded!");
|
"Build succeeded.");
|
||||||
log(result, QString());
|
log(result, QString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -367,7 +367,7 @@ void MaemoPublisherFremantleFree::runDpkgBuildPackage()
|
|||||||
|
|
||||||
QtSupport::BaseQtVersion *lqt = m_buildConfig->qtVersion();
|
QtSupport::BaseQtVersion *lqt = m_buildConfig->qtVersion();
|
||||||
if (!lqt)
|
if (!lqt)
|
||||||
finishWithFailure(QString(), tr("No qt version set"));
|
finishWithFailure(QString(), tr("No Qt version set"));
|
||||||
|
|
||||||
if (m_state == Inactive)
|
if (m_state == Inactive)
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>416</width>
|
<width>494</width>
|
||||||
<height>565</height>
|
<height>565</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@@ -64,14 +64,9 @@
|
|||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QCheckBox" name="enableCacheSim">
|
<widget class="QCheckBox" name="enableCacheSim">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
<string><html><head/><body>
|
||||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
||||||
p, li { white-space: pre-wrap; }
|
|
||||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
|
|
||||||
<p>Specify if you want to do full cache simulation.</p>
|
<p>Specify if you want to do full cache simulation.</p>
|
||||||
<p>By default, only instruction read accesses will be counted ("Ir").</p>
|
<p>By default, only instruction read accesses will be counted ("Ir").</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
With cache simulation, further event counters are enabled:
|
With cache simulation, further event counters are enabled:
|
||||||
<ul><li>Cache misses on instruction reads ("I1mr"/"I2mr")</li>
|
<ul><li>Cache misses on instruction reads ("I1mr"/"I2mr")</li>
|
||||||
@@ -89,10 +84,7 @@ For more information, see ???.</p></body></html></string>
|
|||||||
<item row="1" column="0">
|
<item row="1" column="0">
|
||||||
<widget class="QCheckBox" name="enableBranchSim">
|
<widget class="QCheckBox" name="enableBranchSim">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
<string><html><head/><body>
|
||||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
||||||
p, li { white-space: pre-wrap; }
|
|
||||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
|
||||||
<p>Specify if you want to do branch prediction simulation.</p>
|
<p>Specify if you want to do branch prediction simulation.</p>
|
||||||
<p>Further event counters are enabled: </p>
|
<p>Further event counters are enabled: </p>
|
||||||
<ul><li>Number of executed conditional branches and related predictor misses (
|
<ul><li>Number of executed conditional branches and related predictor misses (
|
||||||
@@ -121,7 +113,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<string>This specifies whether the number of global bus events executed should be collected. The event type "Ge" is used for these events.</string>
|
<string>This specifies whether the number of global bus events executed should be collected. The event type "Ge" is used for these events.</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Collect global bus events:</string>
|
<string>Collect global bus events</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
@@ -954,7 +954,7 @@ bool VCSBasePlugin::runPatch(const QByteArray &input, const QString &workingDire
|
|||||||
VCSBaseOutputWindow *ow = VCSBaseOutputWindow::instance();
|
VCSBaseOutputWindow *ow = VCSBaseOutputWindow::instance();
|
||||||
const QString patch = Internal::VCSPlugin::instance()->settings().patchCommand;
|
const QString patch = Internal::VCSPlugin::instance()->settings().patchCommand;
|
||||||
if (patch.isEmpty()) {
|
if (patch.isEmpty()) {
|
||||||
ow->appendError(tr("There is no patch-command configured in the commone 'Version Control' settings."));
|
ow->appendError(tr("There is no patch-command configured in the common 'Version Control' settings."));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user