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:
Eike Ziller
2024-06-25 15:41:38 +02:00
parent 9eaa9b1f66
commit 44e36686c8
4 changed files with 4 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ public:
QElapsedTimer lastMessage; QElapsedTimer lastMessage;
QHash<unsigned int, QPair<int, int>> taskPositions; QHash<unsigned int, QPair<int, int>> taskPositions;
//: default file name suggested for saving text from output views //: 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 } // namespace Internal

View File

@@ -166,7 +166,7 @@ GdbSettings::GdbSettings()
useDebugInfoD.setSettingsKey("UseDebugInfoD"); useDebugInfoD.setSettingsKey("UseDebugInfoD");
useDebugInfoD.setLabelText(Tr::tr("Use debug info daemon")); 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 " useDebugInfoD.setToolTip(Tr::tr("Lets GDB attempt to automatically retrieve "
"debug information for system packages.")); "debug information for system packages."));

View File

@@ -432,7 +432,7 @@ public:
Icons::RELOAD_TOOLBAR.icon(); Icons::RELOAD_TOOLBAR.icon();
auto button = new QToolButton; auto button = new QToolButton;
button->setIcon(Icons::RELOAD_TOOLBAR.icon()); 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.")); "Reloads the call hierarchy for the symbol under cursor position."));
connect(button, &QToolButton::clicked, this, [h] { h->updateHierarchyAtCursorPosition(); }); connect(button, &QToolButton::clicked, this, [h] { h->updateHierarchyAtCursorPosition(); });
return {h, {button}}; return {h, {button}};

View File

@@ -132,7 +132,7 @@ std::unique_ptr<Utils::LuaState> LuaEngine::runScript(const QString &script, con
sol::error err = result; sol::error err = result;
qWarning() << "Failed to run script" << name << ":" << QString::fromUtf8(err.what()); qWarning() << "Failed to run script" << name << ":" << QString::fromUtf8(err.what());
Core::MessageManager::writeFlashing( 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; return opaque;