forked from qt-creator/qt-creator
Fix lupdate issues
Some wrong tr calls / missing tr functions. Some places where we need to bring lupdate to the right track with regard to namespace resolution. Change-Id: Idf552054a34e24d9671db68c816bf37f4d403dbc Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -193,7 +193,7 @@ LanguageClientSettingsPageWidget::LanguageClientSettingsPageWidget(LanguageClien
|
||||
auto addMenu = new QMenu;
|
||||
addMenu->clear();
|
||||
for (const ClientType &type : clientTypes()) {
|
||||
auto action = new QAction(tr("New %1").arg(type.name));
|
||||
auto action = new QAction(LanguageClientSettingsPage::tr("New %1").arg(type.name));
|
||||
connect(action, &QAction::triggered, this, [this, id = type.id]() { addItem(id); });
|
||||
addMenu->addAction(action);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user