forked from qt-creator/qt-creator
Translations: Merge "OpenWith::Editors" into "QtC::Core"
Change-Id: I241ccc53afa11fa3faa1f1ca9363421827081812 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -11,8 +11,7 @@ namespace Constants {
|
||||
const char C_PYTHONEDITOR_ID[] = "PythonEditor.PythonEditor";
|
||||
const char C_PYTHONRUNCONFIGURATION_ID[] = "PythonEditor.RunConfiguration.";
|
||||
|
||||
const char C_EDITOR_DISPLAY_NAME[] =
|
||||
QT_TRANSLATE_NOOP("OpenWith::Editors", "Python Editor");
|
||||
const char C_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("QtC::Core", "Python Editor");
|
||||
|
||||
const char C_PYTHONOPTIONS_PAGE_ID[] = "PythonEditor.OptionsPage";
|
||||
const char C_PYLSCONFIGURATION_PAGE_ID[] = "PythonEditor.PythonLanguageServerConfiguration";
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user