diff --git a/share/qtcreator/translations/qtcreator_cs.ts b/share/qtcreator/translations/qtcreator_cs.ts
index 50a6ae3a8fb..fcfac6a2a09 100644
--- a/share/qtcreator/translations/qtcreator_cs.ts
+++ b/share/qtcreator/translations/qtcreator_cs.ts
@@ -30957,14 +30957,7 @@ když bude zavolán mimo git bash.
- ::GLSLEditor
-
- GLSL
- GLSL
-
-
-
- GLSLEditor::Internal::GLSLEditorPlugin
+ ::GlslEditorGLSLGLSL sub-menu in the Tools menu
@@ -31002,9 +30995,6 @@ když bude zavolán mimo git bash.
Vertex Shader (Desktop OpenGL)Vertex Shader (Desktop OpenGL)
-
-
- GLSLEditor::GLSLFileWizardNew %1Nový %1
diff --git a/share/qtcreator/translations/qtcreator_da.ts b/share/qtcreator/translations/qtcreator_da.ts
index 1ad75507045..2d869f5a331 100644
--- a/share/qtcreator/translations/qtcreator_da.ts
+++ b/share/qtcreator/translations/qtcreator_da.ts
@@ -15026,13 +15026,6 @@ når de ikke kræves, hvilket i de fleste tilfælde vil forbedre ydelsen.Billedet kunne ikke oprettes: %1
-
- ::GLSLEditor
-
- GLSL
- GLSL
-
-::Autotest
@@ -17161,7 +17154,7 @@ Lad være tom for at gennemsøge filsystemet.
- GlslEditor::Internal::GlslEditorPlugin
+ ::GlslEditorGLSLGLSL sub-menu in the Tools menu
diff --git a/share/qtcreator/translations/qtcreator_de.ts b/share/qtcreator/translations/qtcreator_de.ts
index e054f6b3131..eb385c821d2 100644
--- a/share/qtcreator/translations/qtcreator_de.ts
+++ b/share/qtcreator/translations/qtcreator_de.ts
@@ -16291,13 +16291,6 @@ konnte nicht unter Versionsverwaltung (%2) gestellt werden
Alle einklappen
-
- ::GLSLEditor
-
- GLSL
- GLSL
-
-::Macros
@@ -33662,7 +33655,7 @@ Benutzen Sie dies nur für Prototypen. Sie können damit keine vollständige Anw
- GlslEditor::Internal::GlslEditorPlugin
+ ::GlslEditorGLSLGLSL sub-menu in the Tools menu
diff --git a/share/qtcreator/translations/qtcreator_fr.ts b/share/qtcreator/translations/qtcreator_fr.ts
index b05f1711e09..57a06d9884e 100644
--- a/share/qtcreator/translations/qtcreator_fr.ts
+++ b/share/qtcreator/translations/qtcreator_fr.ts
@@ -29843,21 +29843,11 @@ Do you want to retry?
- GLSLEditor::Internal::FunctionArgumentWidget
+ ::GlslEditor%1 of %2%1 de %2
-
-
- ::GLSLEditor
-
- GLSL
- GLSL
-
-
-
- GLSLEditor::Internal::GLSLEditorPluginGLSLGLSL sub-menu in the Tools menu
@@ -29895,9 +29885,6 @@ Do you want to retry?
Vertex Shader (Desktop OpenGL)Vertex shader (OpenGL)
-
-
- GLSLEditor::GLSLFileWizardNew %1Nouveau %1
diff --git a/share/qtcreator/translations/qtcreator_hr.ts b/share/qtcreator/translations/qtcreator_hr.ts
index 8d3ce7b8ece..c99439ab236 100644
--- a/share/qtcreator/translations/qtcreator_hr.ts
+++ b/share/qtcreator/translations/qtcreator_hr.ts
@@ -24009,14 +24009,7 @@ instead of its installation directory when run outside git bash.
- ::GLSLEditor
-
- GLSL
- GLSL
-
-
-
- GlslEditor::Internal::GlslEditorPlugin
+ ::GlslEditorGLSLGLSL sub-menu in the Tools menu
diff --git a/share/qtcreator/translations/qtcreator_ja.ts b/share/qtcreator/translations/qtcreator_ja.ts
index 90dd8946ddd..1c2ec847100 100644
--- a/share/qtcreator/translations/qtcreator_ja.ts
+++ b/share/qtcreator/translations/qtcreator_ja.ts
@@ -20705,13 +20705,6 @@ instead of its installation directory when run outside git bash.
Git リポジトリブラウザコマンド
-
- ::GLSLEditor
-
- GLSL
- シェーダ記述言語(GLSL)
-
-::Help
@@ -38768,7 +38761,7 @@ Leave empty to search through the file system.
- GlslEditor::Internal::GlslEditorPlugin
+ ::GlslEditorGLSLGLSL sub-menu in the Tools menu
diff --git a/share/qtcreator/translations/qtcreator_pl.ts b/share/qtcreator/translations/qtcreator_pl.ts
index 1e8bfdf9170..15de566f1ea 100644
--- a/share/qtcreator/translations/qtcreator_pl.ts
+++ b/share/qtcreator/translations/qtcreator_pl.ts
@@ -14886,13 +14886,6 @@ Ponowić próbę?
Pomiń datę
-
- ::GLSLEditor
-
- GLSL
- GLSL
-
-::Macros
@@ -30301,7 +30294,7 @@ Use this only if you are prototyping. You cannot create a full application with
- GlslEditor::Internal::GlslEditorPlugin
+ ::GlslEditorGLSLGLSL sub-menu in the Tools menu
diff --git a/share/qtcreator/translations/qtcreator_ru.ts b/share/qtcreator/translations/qtcreator_ru.ts
index 5715fedf828..18530f6bd7d 100644
--- a/share/qtcreator/translations/qtcreator_ru.ts
+++ b/share/qtcreator/translations/qtcreator_ru.ts
@@ -18747,13 +18747,6 @@ when they are not required, which will improve performance in most cases.Невозможно создать изображение: %1
-
- ::GLSLEditor
-
- GLSL
-
-
-::Autotest
@@ -21143,7 +21136,7 @@ Leave empty to search through the file system.
- GlslEditor::Internal::GlslEditorPlugin
+ ::GlslEditorGLSLGLSL sub-menu in the Tools menu
diff --git a/share/qtcreator/translations/qtcreator_sl.ts b/share/qtcreator/translations/qtcreator_sl.ts
index 809ce57844f..bfc5e00f2c6 100644
--- a/share/qtcreator/translations/qtcreator_sl.ts
+++ b/share/qtcreator/translations/qtcreator_sl.ts
@@ -21598,14 +21598,7 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen.
- ::GLSLEditor
-
- GLSL
- GLSL
-
-
-
- GLSLEditor::Internal::GLSLEditorPlugin
+ ::GlslEditorGLSLGLSL sub-menu in the Tools menu
@@ -21644,9 +21637,6 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen.
Vertex Shader (Desktop OpenGL)Senčilnik za oglišča (Desktop OpenGL)
-
-
- GLSLEditor::GLSLFileWizardNew %1Nov %1
diff --git a/share/qtcreator/translations/qtcreator_uk.ts b/share/qtcreator/translations/qtcreator_uk.ts
index f9d72d149df..7493f4a7fbc 100644
--- a/share/qtcreator/translations/qtcreator_uk.ts
+++ b/share/qtcreator/translations/qtcreator_uk.ts
@@ -7618,26 +7618,11 @@ will also disable the following plugins:
- ::GLSLEditor
-
- GLSL
- GLSL
-
-
-
- GLSLEditor::GLSLFileWizard
+ ::GlslEditorNew %1Новий %1
-
-
- GLSLEditor::Internal::GLSLEditorPlugin
-
- GLSL
- GLSL sub-menu in the Tools menu
- GLSL
- Creates a fragment shader in the OpenGL/ES 2.0 Shading Language (GLSL/ES). Fragment shaders generate the final pixel colors for triangles, points and lines rendered with OpenGL.Створює фрагментний шейдер мовою шейдерів OpenGL/ES 2.0 (GLSL/ES). Фрагментний шейдер генерує остаточні кольори пікселів для трикутників, точок та ліній, що відмальовуються за допомогою OpenGL.
@@ -38577,7 +38562,7 @@ Preselects a desktop Qt for building the application if available.
- GlslEditor::Internal::GlslEditorPlugin
+ ::GlslEditorGLSLGLSL sub-menu in the Tools menu
diff --git a/share/qtcreator/translations/qtcreator_zh_CN.ts b/share/qtcreator/translations/qtcreator_zh_CN.ts
index 2a004d7af3a..16707adf67c 100644
--- a/share/qtcreator/translations/qtcreator_zh_CN.ts
+++ b/share/qtcreator/translations/qtcreator_zh_CN.ts
@@ -19184,13 +19184,6 @@ will also disable the following plugins:
未使用的变量
-
- ::GLSLEditor
-
- GLSL
- GLSL
-
-::CppEditor
@@ -21731,7 +21724,7 @@ Note: This can expose you to man-in-the-middle attack.
- GlslEditor::Internal::GlslEditorPlugin
+ ::GlslEditorGLSLGLSL sub-menu in the Tools menu
diff --git a/share/qtcreator/translations/qtcreator_zh_TW.ts b/share/qtcreator/translations/qtcreator_zh_TW.ts
index 5b922f9382d..c31fe46819f 100644
--- a/share/qtcreator/translations/qtcreator_zh_TW.ts
+++ b/share/qtcreator/translations/qtcreator_zh_TW.ts
@@ -18791,14 +18791,7 @@ Do you want to retry?
- ::GLSLEditor
-
- GLSL
- GLSL
-
-
-
- GLSLEditor::Internal::GLSLEditorPlugin
+ ::GlslEditorGLSLGLSL sub-menu in the Tools menu
@@ -18836,9 +18829,6 @@ Do you want to retry?
Vertex Shader (Desktop OpenGL)頂點著色器 (Desktop OpenGL)
-
-
- GLSLEditor::GLSLFileWizardNew %1新增 %1
diff --git a/src/plugins/glsleditor/glsleditorplugin.cpp b/src/plugins/glsleditor/glsleditorplugin.cpp
index eff94565279..5d238a4f2b4 100644
--- a/src/plugins/glsleditor/glsleditorplugin.cpp
+++ b/src/plugins/glsleditor/glsleditorplugin.cpp
@@ -2,9 +2,11 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include "glsleditorplugin.h"
+
#include "glslcompletionassist.h"
#include "glsleditor.h"
#include "glsleditorconstants.h"
+#include "glsleditortr.h"
#include "glslhighlighter.h"
#include
@@ -101,7 +103,7 @@ void GlslEditorPlugin::initialize()
glslToolsMenu->setOnAllDisabledBehavior(ActionContainer::Hide);
QMenu *menu = glslToolsMenu->menu();
//: GLSL sub-menu in the Tools menu
- menu->setTitle(tr("GLSL"));
+ menu->setTitle(Tr::tr("GLSL"));
ActionManager::actionContainer(Core::Constants::M_TOOLS)->addMenu(glslToolsMenu);
// Insert marker for "Refactoring" menu:
diff --git a/src/plugins/glsleditor/glsleditortr.h b/src/plugins/glsleditor/glsleditortr.h
index 8c16d30d486..e5c4023c932 100644
--- a/src/plugins/glsleditor/glsleditortr.h
+++ b/src/plugins/glsleditor/glsleditortr.h
@@ -5,11 +5,11 @@
#include
-namespace GLSLEditor {
+namespace GlslEditor {
struct Tr
{
- Q_DECLARE_TR_FUNCTIONS(::GLSLEditor)
+ Q_DECLARE_TR_FUNCTIONS(::GlslEditor)
};
} // namespace GLSLEditor