forked from qt-creator/qt-creator
Translations: Use QCoreApplication::translate() instead of tr()
QCoreApplication::translate() takes a context parameter, tr() does not.
We want the first one.
Amends: 48affa1889
Change-Id: Ibca327a39097dfcdb81a30e561161d3275c61d1d
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -14,8 +14,8 @@ class MesonActionsManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Utils::ParameterAction buildTargetContextAction{
|
||||
QCoreApplication::tr("::MesonProjectManager", "Build"),
|
||||
QCoreApplication::tr("::MesonProjectManager", "Build \"%1\""),
|
||||
QCoreApplication::translate("::MesonProjectManager", "Build"),
|
||||
QCoreApplication::translate("::MesonProjectManager", "Build \"%1\""),
|
||||
Utils::ParameterAction::AlwaysEnabled /*handled manually*/
|
||||
};
|
||||
QAction configureActionMenu;
|
||||
|
||||
Reference in New Issue
Block a user