forked from qt-creator/qt-creator
Fix lupdate issues
Change-Id: Ie71649f38e29c2fd6f644e023772f15865d6e6aa Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -74,7 +74,7 @@ public:
|
||||
QElapsedTimer lastMessage;
|
||||
QHash<unsigned int, QPair<int, int>> taskPositions;
|
||||
//: default file name suggested for saving text from output views
|
||||
QString outputFileNameHint{Tr::tr("output.txt")};
|
||||
QString outputFileNameHint{::Core::Tr::tr("output.txt")};
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
@@ -166,7 +166,7 @@ GdbSettings::GdbSettings()
|
||||
|
||||
useDebugInfoD.setSettingsKey("UseDebugInfoD");
|
||||
useDebugInfoD.setLabelText(Tr::tr("Use debug info daemon"));
|
||||
useDebugInfoD.setOptionText(TriState::DefaultValue, tr("Use system settings"));
|
||||
useDebugInfoD.setOptionText(TriState::DefaultValue, Tr::tr("Use system settings"));
|
||||
useDebugInfoD.setToolTip(Tr::tr("Lets GDB attempt to automatically retrieve "
|
||||
"debug information for system packages."));
|
||||
|
||||
|
@@ -432,7 +432,7 @@ public:
|
||||
Icons::RELOAD_TOOLBAR.icon();
|
||||
auto button = new QToolButton;
|
||||
button->setIcon(Icons::RELOAD_TOOLBAR.icon());
|
||||
button->setToolTip(LanguageClient::Tr::tr(
|
||||
button->setToolTip(::LanguageClient::Tr::tr(
|
||||
"Reloads the call hierarchy for the symbol under cursor position."));
|
||||
connect(button, &QToolButton::clicked, this, [h] { h->updateHierarchyAtCursorPosition(); });
|
||||
return {h, {button}};
|
||||
|
@@ -132,7 +132,7 @@ std::unique_ptr<Utils::LuaState> LuaEngine::runScript(const QString &script, con
|
||||
sol::error err = result;
|
||||
qWarning() << "Failed to run script" << name << ":" << QString::fromUtf8(err.what());
|
||||
Core::MessageManager::writeFlashing(
|
||||
tr("Failed to run script %1: %2").arg(name, QString::fromUtf8(err.what())));
|
||||
Tr::tr("Failed to run script %1: %2").arg(name, QString::fromUtf8(err.what())));
|
||||
}
|
||||
|
||||
return opaque;
|
||||
|
Reference in New Issue
Block a user