forked from qt-creator/qt-creator
PythonEditor: Fix translation context
Change-Id: If20dc0ec6b886df8fde9961dc86cb44b78ec520a Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
committed by
Takumi ASAKI
parent
14ca25f3c1
commit
d165122526
@@ -43,7 +43,7 @@ namespace Internal {
|
||||
PythonEditorFactory::PythonEditorFactory()
|
||||
{
|
||||
setId(Constants::C_PYTHONEDITOR_ID);
|
||||
setDisplayName(tr(Constants::C_EDITOR_DISPLAY_NAME));
|
||||
setDisplayName(QCoreApplication::translate("OpenWith::Editors", Constants::C_EDITOR_DISPLAY_NAME));
|
||||
addMimeType(QLatin1String(Constants::C_PY_MIMETYPE));
|
||||
|
||||
setEditorActionHandlers(TextEditorActionHandler::Format
|
||||
|
||||
Reference in New Issue
Block a user