GlslEditor: Tr::tr()

Change-Id: I261cad5b85535d42a9b96d1a0ade53dbc7addf86
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Alessandro Portale
2023-02-03 16:46:59 +01:00
parent b919171375
commit c4f6887b1d
14 changed files with 18 additions and 123 deletions

View File

@@ -30957,14 +30957,7 @@ když bude zavolán mimo git bash.</translation>
</message>
</context>
<context>
<name>::GLSLEditor</name>
<message>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
</context>
<context>
<name>GLSLEditor::Internal::GLSLEditorPlugin</name>
<name>::GlslEditor</name>
<message>
<source>GLSL</source>
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
@@ -31002,9 +30995,6 @@ když bude zavolán mimo git bash.</translation>
<source>Vertex Shader (Desktop OpenGL)</source>
<translation>Vertex Shader (Desktop OpenGL)</translation>
</message>
</context>
<context>
<name>GLSLEditor::GLSLFileWizard</name>
<message>
<source>New %1</source>
<translation>Nový %1</translation>

View File

@@ -15026,13 +15026,6 @@ når de ikke kræves, hvilket i de fleste tilfælde vil forbedre ydelsen.</trans
<translation>Billedet kunne ikke oprettes: %1</translation>
</message>
</context>
<context>
<name>::GLSLEditor</name>
<message>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
</context>
<context>
<name>::Autotest</name>
<message>
@@ -17161,7 +17154,7 @@ Lad være tom for at gennemsøge filsystemet.</translation>
</message>
</context>
<context>
<name>GlslEditor::Internal::GlslEditorPlugin</name>
<name>::GlslEditor</name>
<message>
<source>GLSL</source>
<extracomment>GLSL sub-menu in the Tools menu</extracomment>

View File

@@ -16291,13 +16291,6 @@ konnte nicht unter Versionsverwaltung (%2) gestellt werden
<translation>Alle einklappen</translation>
</message>
</context>
<context>
<name>::GLSLEditor</name>
<message>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
</context>
<context>
<name>::Macros</name>
<message>
@@ -33662,7 +33655,7 @@ Benutzen Sie dies nur für Prototypen. Sie können damit keine vollständige Anw
</message>
</context>
<context>
<name>GlslEditor::Internal::GlslEditorPlugin</name>
<name>::GlslEditor</name>
<message>
<source>GLSL</source>
<extracomment>GLSL sub-menu in the Tools menu</extracomment>

View File

@@ -29843,21 +29843,11 @@ Do you want to retry?</source>
</message>
</context>
<context>
<name>GLSLEditor::Internal::FunctionArgumentWidget</name>
<name>::GlslEditor</name>
<message>
<source>%1 of %2</source>
<translation type="obsolete">%1 de %2</translation>
</message>
</context>
<context>
<name>::GLSLEditor</name>
<message>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
</context>
<context>
<name>GLSLEditor::Internal::GLSLEditorPlugin</name>
<message>
<source>GLSL</source>
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
@@ -29895,9 +29885,6 @@ Do you want to retry?</source>
<source>Vertex Shader (Desktop OpenGL)</source>
<translation>Vertex shader (OpenGL)</translation>
</message>
</context>
<context>
<name>GLSLEditor::GLSLFileWizard</name>
<message>
<source>New %1</source>
<translation>Nouveau %1</translation>

View File

@@ -24009,14 +24009,7 @@ instead of its installation directory when run outside git bash.</source>
</message>
</context>
<context>
<name>::GLSLEditor</name>
<message>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
</context>
<context>
<name>GlslEditor::Internal::GlslEditorPlugin</name>
<name>::GlslEditor</name>
<message>
<source>GLSL</source>
<extracomment>GLSL sub-menu in the Tools menu</extracomment>

View File

@@ -20705,13 +20705,6 @@ instead of its installation directory when run outside git bash.</source>
<translation>Git </translation>
</message>
</context>
<context>
<name>::GLSLEditor</name>
<message>
<source>GLSL</source>
<translation>(GLSL)</translation>
</message>
</context>
<context>
<name>::Help</name>
<message>
@@ -38768,7 +38761,7 @@ Leave empty to search through the file system.</source>
</message>
</context>
<context>
<name>GlslEditor::Internal::GlslEditorPlugin</name>
<name>::GlslEditor</name>
<message>
<source>GLSL</source>
<extracomment>GLSL sub-menu in the Tools menu</extracomment>

View File

@@ -14886,13 +14886,6 @@ Ponowić próbę?</translation>
<translation>Pomiń datę</translation>
</message>
</context>
<context>
<name>::GLSLEditor</name>
<message>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
</context>
<context>
<name>::Macros</name>
<message>
@@ -30301,7 +30294,7 @@ Use this only if you are prototyping. You cannot create a full application with
</message>
</context>
<context>
<name>GlslEditor::Internal::GlslEditorPlugin</name>
<name>::GlslEditor</name>
<message>
<source>GLSL</source>
<extracomment>GLSL sub-menu in the Tools menu</extracomment>

View File

@@ -18747,13 +18747,6 @@ when they are not required, which will improve performance in most cases.</sourc
<translation>Невозможно создать изображение: %1</translation>
</message>
</context>
<context>
<name>::GLSLEditor</name>
<message>
<source>GLSL</source>
<translation></translation>
</message>
</context>
<context>
<name>::Autotest</name>
<message>
@@ -21143,7 +21136,7 @@ Leave empty to search through the file system.</source>
</message>
</context>
<context>
<name>GlslEditor::Internal::GlslEditorPlugin</name>
<name>::GlslEditor</name>
<message>
<source>GLSL</source>
<extracomment>GLSL sub-menu in the Tools menu</extracomment>

View File

@@ -21598,14 +21598,7 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen.</translation>
</message>
</context>
<context>
<name>::GLSLEditor</name>
<message>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
</context>
<context>
<name>GLSLEditor::Internal::GLSLEditorPlugin</name>
<name>::GlslEditor</name>
<message>
<source>GLSL</source>
<extracomment>GLSL 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.</translation>
<source>Vertex Shader (Desktop OpenGL)</source>
<translation>Senčilnik za oglišča (Desktop OpenGL)</translation>
</message>
</context>
<context>
<name>GLSLEditor::GLSLFileWizard</name>
<message>
<source>New %1</source>
<translation>Nov %1</translation>

View File

@@ -7618,26 +7618,11 @@ will also disable the following plugins:
</message>
</context>
<context>
<name>::GLSLEditor</name>
<message>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
</context>
<context>
<name>GLSLEditor::GLSLFileWizard</name>
<name>::GlslEditor</name>
<message>
<source>New %1</source>
<translation type="vanished">Новий %1</translation>
</message>
</context>
<context>
<name>GLSLEditor::Internal::GLSLEditorPlugin</name>
<message>
<source>GLSL</source>
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
<translation type="vanished">GLSL</translation>
</message>
<message>
<source>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.</source>
<translation type="vanished">Створює фрагментний шейдер мовою шейдерів OpenGL/ES 2.0 (GLSL/ES). Фрагментний шейдер генерує остаточні кольори пікселів для трикутників, точок та ліній, що відмальовуються за допомогою OpenGL.</translation>
@@ -38577,7 +38562,7 @@ Preselects a desktop Qt for building the application if available.</source>
</message>
</context>
<context>
<name>GlslEditor::Internal::GlslEditorPlugin</name>
<name>::GlslEditor</name>
<message>
<source>GLSL</source>
<extracomment>GLSL sub-menu in the Tools menu</extracomment>

View File

@@ -19184,13 +19184,6 @@ will also disable the following plugins:
<translation type="unfinished">使</translation>
</message>
</context>
<context>
<name>::GLSLEditor</name>
<message>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
</context>
<context>
<name>::CppEditor</name>
<message>
@@ -21731,7 +21724,7 @@ Note: This can expose you to man-in-the-middle attack.</source>
</message>
</context>
<context>
<name>GlslEditor::Internal::GlslEditorPlugin</name>
<name>::GlslEditor</name>
<message>
<source>GLSL</source>
<extracomment>GLSL sub-menu in the Tools menu</extracomment>

View File

@@ -18791,14 +18791,7 @@ Do you want to retry?</source>
</message>
</context>
<context>
<name>::GLSLEditor</name>
<message>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
</context>
<context>
<name>GLSLEditor::Internal::GLSLEditorPlugin</name>
<name>::GlslEditor</name>
<message>
<source>GLSL</source>
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
@@ -18836,9 +18829,6 @@ Do you want to retry?</source>
<source>Vertex Shader (Desktop OpenGL)</source>
<translation type="unfinished"> (Desktop OpenGL)</translation>
</message>
</context>
<context>
<name>GLSLEditor::GLSLFileWizard</name>
<message>
<source>New %1</source>
<translation> %1 </translation>

View File

@@ -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 <glsl/glslengine.h>
@@ -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:

View File

@@ -5,11 +5,11 @@
#include <QCoreApplication>
namespace GLSLEditor {
namespace GlslEditor {
struct Tr
{
Q_DECLARE_TR_FUNCTIONS(::GLSLEditor)
Q_DECLARE_TR_FUNCTIONS(::GlslEditor)
};
} // namespace GLSLEditor