forked from qt-creator/qt-creator
Improve translated strings and make them consistent
Change-Id: I88a6e6ceaa44b22539449037faa788caa9f349fc Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
},
|
||||
{
|
||||
"name": "UseVirtualKeyboard",
|
||||
"trDisplayName": "Use Qt Virtual Keyboard.",
|
||||
"trDisplayName": "Use Qt Virtual Keyboard",
|
||||
"type": "CheckBox",
|
||||
"data":
|
||||
{
|
||||
|
@@ -132,7 +132,7 @@ bool AndroidBuildApkStep::init(QList<const BuildStep *> &earlierSteps)
|
||||
return false;
|
||||
}
|
||||
} else if (version->qtVersion() < QtSupport::QtVersionNumber(5, 4, 0)) {
|
||||
emit addOutput(tr("The minimum Qt version required for Gradle build to work is %2. "
|
||||
emit addOutput(tr("The minimum Qt version required for Gradle build to work is %1. "
|
||||
"It is recommended to install the latest Qt version.")
|
||||
.arg("5.4.0"), OutputFormat::Stderr);
|
||||
return false;
|
||||
|
@@ -813,7 +813,7 @@ void ServerModeReader::addTargets(const QHash<Utils::FileName, ProjectExplorer::
|
||||
if (cr->type != CrossReference::TARGET) {
|
||||
if (path == targetPath) {
|
||||
if (bt->line >= 0)
|
||||
dn = tr("%1 in line %3").arg(btName).arg(bt->line);
|
||||
dn = tr("%1 in line %2").arg(btName).arg(bt->line);
|
||||
else
|
||||
dn = tr("%1").arg(btName);
|
||||
} else {
|
||||
|
@@ -4620,7 +4620,7 @@ void GdbEngine::handleFileExecAndSymbols(const DebuggerResponse &response)
|
||||
+ ' ' + tr("This can be caused by a path length limitation "
|
||||
"in the core file.")
|
||||
+ ' ' + tr("Try to specify the binary in "
|
||||
"Debug > Start Debugging > Attach to Core.");
|
||||
"Debug > Start Debugging > Load Core File.");
|
||||
notifyInferiorSetupFailedHelper(msg);
|
||||
}
|
||||
|
||||
|
@@ -270,7 +270,7 @@ void IosRunner::handleGotInferiorPid(IosToolHandler *handler, const QString &bun
|
||||
if (prerequisiteOk)
|
||||
reportStarted();
|
||||
else
|
||||
reportFailure(tr("Could not get necessary ports the debugger connection."));
|
||||
reportFailure(tr("Could not get necessary ports for the debugger connection."));
|
||||
}
|
||||
|
||||
void IosRunner::handleAppOutput(IosToolHandler *handler, const QString &output)
|
||||
|
@@ -432,7 +432,7 @@ public:
|
||||
QPushButton *closeAnyway = box.addButton(tr("Cancel Build and Disable Kit in This Project"), QMessageBox::AcceptRole);
|
||||
QPushButton *cancelClose = box.addButton(tr("Do Not Remove"), QMessageBox::RejectRole);
|
||||
box.setDefaultButton(cancelClose);
|
||||
box.setWindowTitle(tr("Disable Kit %1 in This Project?").arg(kitName));
|
||||
box.setWindowTitle(tr("Disable Kit \"%1\" in This Project?").arg(kitName));
|
||||
box.setText(tr("The kit <b>%1</b> is currently being built.").arg(kitName));
|
||||
box.setInformativeText(tr("Do you want to cancel the build process and remove the kit anyway?"));
|
||||
box.exec();
|
||||
|
@@ -63,7 +63,8 @@ DocumentWarningWidget::DocumentWarningWidget(QWidget *parent)
|
||||
m_messageLabel->setForegroundRole(QPalette::ToolTipText);
|
||||
m_messageLabel->setWordWrap(true);
|
||||
|
||||
m_ignoreWarningsCheckBox->setText(tr("Ignore always these unsupported Qt Quick Designer warnings."));
|
||||
m_ignoreWarningsCheckBox->setText(tr("Always ignore these warnings about features "
|
||||
"not supported by Qt Quick Designer."));
|
||||
|
||||
connect(m_navigateLabel, &QLabel::linkActivated, this, [=](const QString &link) {
|
||||
if (link == QLatin1String("goToCode")) {
|
||||
|
@@ -34,7 +34,7 @@ IdWarningItem::IdWarningItem(QGraphicsItem *parent)
|
||||
setSeverity(OutputPane::Warning::ErrorType);
|
||||
setTypeName(tr("State"));
|
||||
setDescription(tr("Each state must have a unique ID."));
|
||||
setReason(tr("Missing ID"));
|
||||
setReason(tr("Missing ID."));
|
||||
setX(-boundingRect().width());
|
||||
}
|
||||
|
||||
|
@@ -350,7 +350,7 @@ void StateItem::selectedMenuAction(const QAction *action)
|
||||
break;
|
||||
}
|
||||
case TagUtils::Relayout: {
|
||||
document->undoStack()->beginMacro(tr("Relayout"));
|
||||
document->undoStack()->beginMacro(tr("Re-Layout"));
|
||||
doLayout(depth());
|
||||
document->undoStack()->endMacro();
|
||||
break;
|
||||
|
Reference in New Issue
Block a user