forked from qt-creator/qt-creator
Still use 0 instead of nullptr in numerous forms of tr().
Looks like lupdate isn't prepared yet for nullptr. Change-Id: I8341d6b11c63871b4d2240dd184228f53dcbf35c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
This commit is contained in:
@@ -741,10 +741,10 @@ QString decodeData(const QByteArray &ba, int encoding)
|
|||||||
return QCoreApplication::translate("Debugger::Internal::WatchHandler", "<not accessible>");
|
return QCoreApplication::translate("Debugger::Internal::WatchHandler", "<not accessible>");
|
||||||
}
|
}
|
||||||
case SpecialItemCountValue: {
|
case SpecialItemCountValue: {
|
||||||
return QCoreApplication::translate("Debugger::Internal::WatchHandler", "<%n items>", nullptr, ba.toInt());
|
return QCoreApplication::translate("Debugger::Internal::WatchHandler", "<%n items>", 0, ba.toInt());
|
||||||
}
|
}
|
||||||
case SpecialMinimumItemCountValue: {
|
case SpecialMinimumItemCountValue: {
|
||||||
return QCoreApplication::translate("Debugger::Internal::WatchHandler", "<at least %n items>", nullptr, ba.toInt());
|
return QCoreApplication::translate("Debugger::Internal::WatchHandler", "<at least %n items>", 0, ba.toInt());
|
||||||
}
|
}
|
||||||
case SpecialNotCallableValue: {
|
case SpecialNotCallableValue: {
|
||||||
return QCoreApplication::translate("Debugger::Internal::WatchHandler", "<not callable>");
|
return QCoreApplication::translate("Debugger::Internal::WatchHandler", "<not callable>");
|
||||||
|
|||||||
@@ -210,7 +210,7 @@ void BaseFileFind::doReplace(const QString &text,
|
|||||||
QStringList files = replaceAll(text, items, preserveCase);
|
QStringList files = replaceAll(text, items, preserveCase);
|
||||||
if (!files.isEmpty()) {
|
if (!files.isEmpty()) {
|
||||||
Utils::FadingIndicator::showText(ICore::mainWindow(),
|
Utils::FadingIndicator::showText(ICore::mainWindow(),
|
||||||
tr("%n occurrences replaced.", nullptr, items.size()),
|
tr("%n occurrences replaced.", 0, items.size()),
|
||||||
Utils::FadingIndicator::SmallText);
|
Utils::FadingIndicator::SmallText);
|
||||||
DocumentManager::notifyFilesChangedInternally(files);
|
DocumentManager::notifyFilesChangedInternally(files);
|
||||||
SearchResultWindow::instance()->hide();
|
SearchResultWindow::instance()->hide();
|
||||||
|
|||||||
Reference in New Issue
Block a user