forked from qt-creator/qt-creator
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:
@@ -30957,14 +30957,7 @@ když bude zavolán mimo git bash.</translation>
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>::GLSLEditor</name>
|
<name>::GlslEditor</name>
|
||||||
<message>
|
|
||||||
<source>GLSL</source>
|
|
||||||
<translation>GLSL</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>GLSLEditor::Internal::GLSLEditorPlugin</name>
|
|
||||||
<message>
|
<message>
|
||||||
<source>GLSL</source>
|
<source>GLSL</source>
|
||||||
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
<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>
|
<source>Vertex Shader (Desktop OpenGL)</source>
|
||||||
<translation>Vertex Shader (Desktop OpenGL)</translation>
|
<translation>Vertex Shader (Desktop OpenGL)</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>GLSLEditor::GLSLFileWizard</name>
|
|
||||||
<message>
|
<message>
|
||||||
<source>New %1</source>
|
<source>New %1</source>
|
||||||
<translation>Nový %1</translation>
|
<translation>Nový %1</translation>
|
||||||
|
@@ -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>
|
<translation>Billedet kunne ikke oprettes: %1</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
|
||||||
<name>::GLSLEditor</name>
|
|
||||||
<message>
|
|
||||||
<source>GLSL</source>
|
|
||||||
<translation>GLSL</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
<context>
|
||||||
<name>::Autotest</name>
|
<name>::Autotest</name>
|
||||||
<message>
|
<message>
|
||||||
@@ -17161,7 +17154,7 @@ Lad være tom for at gennemsøge filsystemet.</translation>
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GlslEditor::Internal::GlslEditorPlugin</name>
|
<name>::GlslEditor</name>
|
||||||
<message>
|
<message>
|
||||||
<source>GLSL</source>
|
<source>GLSL</source>
|
||||||
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
||||||
|
@@ -16291,13 +16291,6 @@ konnte nicht unter Versionsverwaltung (%2) gestellt werden
|
|||||||
<translation>Alle einklappen</translation>
|
<translation>Alle einklappen</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
|
||||||
<name>::GLSLEditor</name>
|
|
||||||
<message>
|
|
||||||
<source>GLSL</source>
|
|
||||||
<translation>GLSL</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
<context>
|
||||||
<name>::Macros</name>
|
<name>::Macros</name>
|
||||||
<message>
|
<message>
|
||||||
@@ -33662,7 +33655,7 @@ Benutzen Sie dies nur für Prototypen. Sie können damit keine vollständige Anw
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GlslEditor::Internal::GlslEditorPlugin</name>
|
<name>::GlslEditor</name>
|
||||||
<message>
|
<message>
|
||||||
<source>GLSL</source>
|
<source>GLSL</source>
|
||||||
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
||||||
|
@@ -29843,21 +29843,11 @@ Do you want to retry?</source>
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GLSLEditor::Internal::FunctionArgumentWidget</name>
|
<name>::GlslEditor</name>
|
||||||
<message>
|
<message>
|
||||||
<source>%1 of %2</source>
|
<source>%1 of %2</source>
|
||||||
<translation type="obsolete">%1 de %2</translation>
|
<translation type="obsolete">%1 de %2</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>::GLSLEditor</name>
|
|
||||||
<message>
|
|
||||||
<source>GLSL</source>
|
|
||||||
<translation>GLSL</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>GLSLEditor::Internal::GLSLEditorPlugin</name>
|
|
||||||
<message>
|
<message>
|
||||||
<source>GLSL</source>
|
<source>GLSL</source>
|
||||||
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
<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>
|
<source>Vertex Shader (Desktop OpenGL)</source>
|
||||||
<translation>Vertex shader (OpenGL)</translation>
|
<translation>Vertex shader (OpenGL)</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>GLSLEditor::GLSLFileWizard</name>
|
|
||||||
<message>
|
<message>
|
||||||
<source>New %1</source>
|
<source>New %1</source>
|
||||||
<translation>Nouveau %1</translation>
|
<translation>Nouveau %1</translation>
|
||||||
|
@@ -24009,14 +24009,7 @@ instead of its installation directory when run outside git bash.</source>
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>::GLSLEditor</name>
|
<name>::GlslEditor</name>
|
||||||
<message>
|
|
||||||
<source>GLSL</source>
|
|
||||||
<translation>GLSL</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>GlslEditor::Internal::GlslEditorPlugin</name>
|
|
||||||
<message>
|
<message>
|
||||||
<source>GLSL</source>
|
<source>GLSL</source>
|
||||||
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
||||||
|
@@ -20705,13 +20705,6 @@ instead of its installation directory when run outside git bash.</source>
|
|||||||
<translation>Git リポジトリブラウザコマンド</translation>
|
<translation>Git リポジトリブラウザコマンド</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
|
||||||
<name>::GLSLEditor</name>
|
|
||||||
<message>
|
|
||||||
<source>GLSL</source>
|
|
||||||
<translation>シェーダ記述言語(GLSL)</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
<context>
|
||||||
<name>::Help</name>
|
<name>::Help</name>
|
||||||
<message>
|
<message>
|
||||||
@@ -38768,7 +38761,7 @@ Leave empty to search through the file system.</source>
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GlslEditor::Internal::GlslEditorPlugin</name>
|
<name>::GlslEditor</name>
|
||||||
<message>
|
<message>
|
||||||
<source>GLSL</source>
|
<source>GLSL</source>
|
||||||
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
||||||
|
@@ -14886,13 +14886,6 @@ Ponowić próbę?</translation>
|
|||||||
<translation>Pomiń datę</translation>
|
<translation>Pomiń datę</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
|
||||||
<name>::GLSLEditor</name>
|
|
||||||
<message>
|
|
||||||
<source>GLSL</source>
|
|
||||||
<translation>GLSL</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
<context>
|
||||||
<name>::Macros</name>
|
<name>::Macros</name>
|
||||||
<message>
|
<message>
|
||||||
@@ -30301,7 +30294,7 @@ Use this only if you are prototyping. You cannot create a full application with
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GlslEditor::Internal::GlslEditorPlugin</name>
|
<name>::GlslEditor</name>
|
||||||
<message>
|
<message>
|
||||||
<source>GLSL</source>
|
<source>GLSL</source>
|
||||||
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
||||||
|
@@ -18747,13 +18747,6 @@ when they are not required, which will improve performance in most cases.</sourc
|
|||||||
<translation>Невозможно создать изображение: %1</translation>
|
<translation>Невозможно создать изображение: %1</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
|
||||||
<name>::GLSLEditor</name>
|
|
||||||
<message>
|
|
||||||
<source>GLSL</source>
|
|
||||||
<translation></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
<context>
|
||||||
<name>::Autotest</name>
|
<name>::Autotest</name>
|
||||||
<message>
|
<message>
|
||||||
@@ -21143,7 +21136,7 @@ Leave empty to search through the file system.</source>
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GlslEditor::Internal::GlslEditorPlugin</name>
|
<name>::GlslEditor</name>
|
||||||
<message>
|
<message>
|
||||||
<source>GLSL</source>
|
<source>GLSL</source>
|
||||||
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
||||||
|
@@ -21598,14 +21598,7 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen.</translation>
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>::GLSLEditor</name>
|
<name>::GlslEditor</name>
|
||||||
<message>
|
|
||||||
<source>GLSL</source>
|
|
||||||
<translation>GLSL</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>GLSLEditor::Internal::GLSLEditorPlugin</name>
|
|
||||||
<message>
|
<message>
|
||||||
<source>GLSL</source>
|
<source>GLSL</source>
|
||||||
<extracomment>GLSL sub-menu in the Tools menu
|
<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>
|
<source>Vertex Shader (Desktop OpenGL)</source>
|
||||||
<translation>Senčilnik za oglišča (Desktop OpenGL)</translation>
|
<translation>Senčilnik za oglišča (Desktop OpenGL)</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>GLSLEditor::GLSLFileWizard</name>
|
|
||||||
<message>
|
<message>
|
||||||
<source>New %1</source>
|
<source>New %1</source>
|
||||||
<translation>Nov %1</translation>
|
<translation>Nov %1</translation>
|
||||||
|
@@ -7618,26 +7618,11 @@ will also disable the following plugins:
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>::GLSLEditor</name>
|
<name>::GlslEditor</name>
|
||||||
<message>
|
|
||||||
<source>GLSL</source>
|
|
||||||
<translation>GLSL</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>GLSLEditor::GLSLFileWizard</name>
|
|
||||||
<message>
|
<message>
|
||||||
<source>New %1</source>
|
<source>New %1</source>
|
||||||
<translation type="vanished">Новий %1</translation>
|
<translation type="vanished">Новий %1</translation>
|
||||||
</message>
|
</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>
|
<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>
|
<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>
|
<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>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GlslEditor::Internal::GlslEditorPlugin</name>
|
<name>::GlslEditor</name>
|
||||||
<message>
|
<message>
|
||||||
<source>GLSL</source>
|
<source>GLSL</source>
|
||||||
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
||||||
|
@@ -19184,13 +19184,6 @@ will also disable the following plugins:
|
|||||||
<translation type="unfinished">未使用的变量</translation>
|
<translation type="unfinished">未使用的变量</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
|
||||||
<name>::GLSLEditor</name>
|
|
||||||
<message>
|
|
||||||
<source>GLSL</source>
|
|
||||||
<translation>GLSL</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
<context>
|
||||||
<name>::CppEditor</name>
|
<name>::CppEditor</name>
|
||||||
<message>
|
<message>
|
||||||
@@ -21731,7 +21724,7 @@ Note: This can expose you to man-in-the-middle attack.</source>
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GlslEditor::Internal::GlslEditorPlugin</name>
|
<name>::GlslEditor</name>
|
||||||
<message>
|
<message>
|
||||||
<source>GLSL</source>
|
<source>GLSL</source>
|
||||||
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
||||||
|
@@ -18791,14 +18791,7 @@ Do you want to retry?</source>
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>::GLSLEditor</name>
|
<name>::GlslEditor</name>
|
||||||
<message>
|
|
||||||
<source>GLSL</source>
|
|
||||||
<translation>GLSL</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>GLSLEditor::Internal::GLSLEditorPlugin</name>
|
|
||||||
<message>
|
<message>
|
||||||
<source>GLSL</source>
|
<source>GLSL</source>
|
||||||
<extracomment>GLSL sub-menu in the Tools menu</extracomment>
|
<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>
|
<source>Vertex Shader (Desktop OpenGL)</source>
|
||||||
<translation type="unfinished">頂點著色器 (Desktop OpenGL)</translation>
|
<translation type="unfinished">頂點著色器 (Desktop OpenGL)</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>GLSLEditor::GLSLFileWizard</name>
|
|
||||||
<message>
|
<message>
|
||||||
<source>New %1</source>
|
<source>New %1</source>
|
||||||
<translation>新增 %1 </translation>
|
<translation>新增 %1 </translation>
|
||||||
|
@@ -2,9 +2,11 @@
|
|||||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||||
|
|
||||||
#include "glsleditorplugin.h"
|
#include "glsleditorplugin.h"
|
||||||
|
|
||||||
#include "glslcompletionassist.h"
|
#include "glslcompletionassist.h"
|
||||||
#include "glsleditor.h"
|
#include "glsleditor.h"
|
||||||
#include "glsleditorconstants.h"
|
#include "glsleditorconstants.h"
|
||||||
|
#include "glsleditortr.h"
|
||||||
#include "glslhighlighter.h"
|
#include "glslhighlighter.h"
|
||||||
|
|
||||||
#include <glsl/glslengine.h>
|
#include <glsl/glslengine.h>
|
||||||
@@ -101,7 +103,7 @@ void GlslEditorPlugin::initialize()
|
|||||||
glslToolsMenu->setOnAllDisabledBehavior(ActionContainer::Hide);
|
glslToolsMenu->setOnAllDisabledBehavior(ActionContainer::Hide);
|
||||||
QMenu *menu = glslToolsMenu->menu();
|
QMenu *menu = glslToolsMenu->menu();
|
||||||
//: GLSL sub-menu in the Tools 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);
|
ActionManager::actionContainer(Core::Constants::M_TOOLS)->addMenu(glslToolsMenu);
|
||||||
|
|
||||||
// Insert marker for "Refactoring" menu:
|
// Insert marker for "Refactoring" menu:
|
||||||
|
@@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
#include <QCoreApplication>
|
#include <QCoreApplication>
|
||||||
|
|
||||||
namespace GLSLEditor {
|
namespace GlslEditor {
|
||||||
|
|
||||||
struct Tr
|
struct Tr
|
||||||
{
|
{
|
||||||
Q_DECLARE_TR_FUNCTIONS(::GLSLEditor)
|
Q_DECLARE_TR_FUNCTIONS(::GlslEditor)
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace GLSLEditor
|
} // namespace GLSLEditor
|
||||||
|
Reference in New Issue
Block a user