summaryrefslogtreecommitdiff
path: root/src/plugins/android/javaeditor.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2023-02-17 23:21:31 +0100
committerAlessandro Portale <alessandro.portale@qt.io>2023-02-20 08:00:37 +0000
commite27f82b49e458752d9e7d1d5ce844cf143d71347 (patch)
tree64c96c78a31a7349a9bc6a086f94e34659d82dbc /src/plugins/android/javaeditor.cpp
parentff71290758fbc2ba7f20a18f1c04f5f7a8cc14d3 (diff)
downloadqt-creator-e27f82b49e458752d9e7d1d5ce844cf143d71347.tar.gz
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/android/javaeditor.cpp')
-rw-r--r--src/plugins/android/javaeditor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/android/javaeditor.cpp b/src/plugins/android/javaeditor.cpp
index 1126a5c1de..8f7323c0f8 100644
--- a/src/plugins/android/javaeditor.cpp
+++ b/src/plugins/android/javaeditor.cpp
@@ -5,6 +5,7 @@
#include "javaindenter.h"
#include "androidconstants.h"
+#include <coreplugin/coreplugintr.h>
#include <coreplugin/editormanager/ieditorfactory.h>
#include <texteditor/codeassist/keywordscompletionassist.h>
@@ -42,7 +43,7 @@ JavaEditorFactory::JavaEditorFactory()
"transient", "try", "void", "volatile", "while"
};
setId(Constants::JAVA_EDITOR_ID);
- setDisplayName(QCoreApplication::translate("OpenWith::Editors", "Java Editor"));
+ setDisplayName(::Core::Tr::tr("Java Editor"));
addMimeType(Constants::JAVA_MIMETYPE);
setDocumentCreator(createJavaDocument);