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/resourceeditor | |
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/resourceeditor')
-rw-r--r-- | src/plugins/resourceeditor/resourceeditorconstants.h | 2 | ||||
-rw-r--r-- | src/plugins/resourceeditor/resourceeditorfactory.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/resourceeditor/resourceeditorconstants.h b/src/plugins/resourceeditor/resourceeditorconstants.h index 82acdc4c3e..82872c1ac5 100644 --- a/src/plugins/resourceeditor/resourceeditorconstants.h +++ b/src/plugins/resourceeditor/resourceeditorconstants.h @@ -10,7 +10,7 @@ namespace Constants { const char C_RESOURCEEDITOR[] = "Qt4.ResourceEditor"; const char RESOURCEEDITOR_ID[] = "Qt4.ResourceEditor"; -const char C_RESOURCEEDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("OpenWith::Editors", "Resource Editor"); +const char C_RESOURCEEDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("QtC::Core", "Resource Editor"); const char REFRESH[] = "ResourceEditor.Refresh"; diff --git a/src/plugins/resourceeditor/resourceeditorfactory.cpp b/src/plugins/resourceeditor/resourceeditorfactory.cpp index 6922803890..69ccefbe33 100644 --- a/src/plugins/resourceeditor/resourceeditorfactory.cpp +++ b/src/plugins/resourceeditor/resourceeditorfactory.cpp @@ -8,6 +8,7 @@ #include "resourceeditorw.h" #include <coreplugin/editormanager/editormanager.h> +#include <coreplugin/coreplugintr.h> #include <projectexplorer/projectexplorerconstants.h> #include <utils/fsengine/fileiconprovider.h> @@ -21,7 +22,7 @@ ResourceEditorFactory::ResourceEditorFactory(ResourceEditorPlugin *plugin) { setId(RESOURCEEDITOR_ID); setMimeTypes(QStringList(QLatin1String(C_RESOURCE_MIMETYPE))); - setDisplayName(QCoreApplication::translate("OpenWith::Editors", C_RESOURCEEDITOR_DISPLAY_NAME)); + setDisplayName(::Core::Tr::tr(C_RESOURCEEDITOR_DISPLAY_NAME)); Utils::FileIconProvider::registerIconOverlayForSuffix( ProjectExplorer::Constants::FILEOVERLAY_QRC, "qrc"); |