Commit d99c6c34 authored by jkobus's avatar jkobus Committed by Jarek Kobus
Browse files

Fix strings.



We use double quotes instead of single ones.

Change-Id: Ieb0024aec2053bea2a03e5ae09fb576089663ff1
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent e570e7a2
......@@ -115,7 +115,7 @@ QPair<QColor, QString> Theme::readNamedColor(const QString &color) const
bool ok = true;
const QRgb rgba = color.toLongLong(&ok, 16);
if (!ok) {
qWarning("Color '%s' is neither a named color nor a valid color", qPrintable(color));
qWarning("Color \"%s\" is neither a named color nor a valid color", qPrintable(color));
return qMakePair(Qt::black, QString());
}
return qMakePair(QColor::fromRgba(rgba), QString());
......
......@@ -123,7 +123,7 @@ void CorePlugin::parseArguments(const QStringList &arguments)
} else if (themeName.endsWith(QLatin1String(".creatortheme"))) {
themeURI = themeName;
} else { // TODO: Fallback to default theme
qCritical("%s", qPrintable(QCoreApplication::translate("Application", "No valid theme '%1'")
qCritical("%s", qPrintable(QCoreApplication::translate("Application", "No valid theme \"%1\"")
.arg(themeName)));
}
}
......
......@@ -288,7 +288,7 @@ void ThemeSettingsWidget::confirmDeleteTheme()
QMessageBox *messageBox = new QMessageBox(QMessageBox::Warning,
tr("Delete Theme"),
tr("Are you sure you want to delete the theme '%1' permanently?").arg(entry.name()),
tr("Are you sure you want to delete the theme \"%1\" permanently?").arg(entry.name()),
QMessageBox::Discard | QMessageBox::Cancel,
d->m_ui->deleteButton->window());
......
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