summaryrefslogtreecommitdiff
path: root/src/plugins/android/javaeditor.cpp
diff options
context:
space:
mode:
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);