diff options
author | Takumi ASAKI <asaki@sra.co.jp> | 2016-05-30 13:45:25 +0900 |
---|---|---|
committer | Takumi ASAKI <takumi.asaki@gmail.com> | 2016-05-30 07:50:24 +0000 |
commit | d1651225269df7e7e7cf255e24190346b25a4ca3 (patch) | |
tree | bfb1f16884cd97dee9aacf4f377c27a826626ae9 /src/plugins/pythoneditor/pythoneditor.cpp | |
parent | 14ca25f3c18d8f24ce150e2693ca1797ca05b464 (diff) | |
download | qt-creator-d1651225269df7e7e7cf255e24190346b25a4ca3.tar.gz |
PythonEditor: Fix translation context
Change-Id: If20dc0ec6b886df8fde9961dc86cb44b78ec520a
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditor.cpp')
-rw-r--r-- | src/plugins/pythoneditor/pythoneditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/pythoneditor/pythoneditor.cpp b/src/plugins/pythoneditor/pythoneditor.cpp index b8aaef3409..17e75880d8 100644 --- a/src/plugins/pythoneditor/pythoneditor.cpp +++ b/src/plugins/pythoneditor/pythoneditor.cpp @@ -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 |