diff options
| author | Alessandro Portale <alessandro.portale@qt.io> | 2023-02-17 23:21:31 +0100 |
|---|---|---|
| committer | Alessandro Portale <alessandro.portale@qt.io> | 2023-02-20 08:00:37 +0000 |
| commit | e27f82b49e458752d9e7d1d5ce844cf143d71347 (patch) | |
| tree | 64c96c78a31a7349a9bc6a086f94e34659d82dbc /src/plugins/python/pythoneditor.cpp | |
| parent | ff71290758fbc2ba7f20a18f1c04f5f7a8cc14d3 (diff) | |
Translations: Merge "OpenWith::Editors" into "QtC::Core"
Change-Id: I241ccc53afa11fa3faa1f1ca9363421827081812
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/python/pythoneditor.cpp')
| -rw-r--r-- | src/plugins/python/pythoneditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/python/pythoneditor.cpp b/src/plugins/python/pythoneditor.cpp index 77768eae359..6551facef50 100644 --- a/src/plugins/python/pythoneditor.cpp +++ b/src/plugins/python/pythoneditor.cpp @@ -14,6 +14,7 @@ #include <coreplugin/actionmanager/actionmanager.h> #include <coreplugin/actionmanager/commandbutton.h> +#include <coreplugin/coreplugintr.h> #include <coreplugin/icore.h> #include <projectexplorer/project.h> @@ -249,8 +250,7 @@ PythonEditorFactory::PythonEditorFactory() registerReplAction(this); setId(Constants::C_PYTHONEDITOR_ID); - setDisplayName( - QCoreApplication::translate("OpenWith::Editors", Constants::C_EDITOR_DISPLAY_NAME)); + setDisplayName(::Core::Tr::tr(Constants::C_EDITOR_DISPLAY_NAME)); addMimeType(Constants::C_PY_MIMETYPE); setEditorActionHandlers(TextEditorActionHandler::Format |
