diff --git a/src/plugins/qmljseditor/qmljseditorplugin.cpp b/src/plugins/qmljseditor/qmljseditorplugin.cpp index e9d79261829..4afe4310e10 100644 --- a/src/plugins/qmljseditor/qmljseditorplugin.cpp +++ b/src/plugins/qmljseditor/qmljseditorplugin.cpp @@ -126,7 +126,7 @@ bool QmlJSEditorPlugin::initialize(const QStringList & /*arguments*/, QString *e Core::ActionContainer *menuQtQuick = am->createMenu(Constants::M_QTQUICK); menuQtQuick->menu()->setTitle(tr("Qt Quick")); mtools->addMenu(menuQtQuick); - m_actionPreview = new QAction("&Preview", this); + m_actionPreview = new QAction(tr("&Preview"), this); QList toolsMenuContext = QList() << core->uniqueIDManager()->uniqueIdentifier(QmlDesigner::Constants::C_QT_QUICK_TOOLS_MENU);