diff --git a/share/qtcreator/translations/qtcreator_cs.ts b/share/qtcreator/translations/qtcreator_cs.ts
index 0ac02e17f39..e8f5cd61e29 100644
--- a/share/qtcreator/translations/qtcreator_cs.ts
+++ b/share/qtcreator/translations/qtcreator_cs.ts
@@ -4944,9 +4944,6 @@ Rebuilding the project might help.
Automaticky vytvořený soubor hlavičky '%1 se v modelu kódu nepodařilo najít.
Zkuste projekt vytvořit znovu.
-
-
- Designer::Internal::FormClassWizardDialogQt Designer Form ClassTřída formuláře programu Qt Designer
@@ -4959,9 +4956,6 @@ Zkuste projekt vytvořit znovu.
Class DetailsPodrobnosti o třídě
-
-
- Designer::Internal::FormClassWizardPage%1 - Error%1 - Chyba
@@ -4982,9 +4976,6 @@ Zkuste projekt vytvořit znovu.
Choose a Class NameVyberte název třídy
-
-
- Designer::Internal::FormEditorPluginQtQt
@@ -5029,13 +5020,6 @@ Zkuste projekt vytvořit znovu.
Creates a Qt Designer form file (.ui) with a matching class.Vytvoří soubor formuláře programu Qt Designer (.ui) s odpovídající třídou.
-
- Qt Designer Form Class
- Třída formuláře programu Qt Designer
-
-
-
- Designer::Internal::FormEditorWWidget BoxKrabice s prvky
@@ -5088,10 +5072,6 @@ Zkuste projekt vytvořit znovu.
Edit tab orderUpravit pořadí zarážek
-
- For&m Editor
- Editor for&mulářů
- Edit WidgetsUpravit prvky
@@ -5144,14 +5124,6 @@ Zkuste projekt vytvořit znovu.
Alt+Shift+RAlt+Shift+R
-
- Switch Source/Form
- Přepnout mezi formulářem a zdrojem
-
-
- Shift+F4
- Shift+F4
- About Qt Designer Plugins...O přídavných modulech programu Qt Designer...
@@ -5184,17 +5156,10 @@ Zkuste projekt vytvořit znovu.
Preview inNáhled v
-
- Designer
- Designer
- The image could not be created: %1Obrázek se nepodařilo vytvořit: %1
-
-
- Designer::Internal::FormTemplateWizardPageChoose a form templateVyberte předlohu formuláře
@@ -5203,13 +5168,6 @@ Zkuste projekt vytvořit znovu.
Choose a Form TemplateVyberte předlohu formuláře
-
- %1 - Error
- %1 - Chyba
-
-
-
- Designer::Internal::FormWindowFileError saving %1Chyba při ukládání %1
@@ -5222,20 +5180,6 @@ Zkuste projekt vytvořit znovu.
Unable to write to %1: %2Soubor %1 nelze zapsat: %2
-
-
- Designer::Internal::FormWizardDialog
-
- Qt Designer Form
- Formulář programu Qt Designer
-
-
- Form Template
- Předloha formuláře
-
-
-
- Designer::Internal::QtCreatorIntegrationThe class definition of '%1' could not be found in %2.Vymezení třídy '%1' se nepodařilo nalézt v %2.
@@ -17192,7 +17136,7 @@ p, li { white-space: pre-wrap; }
- Designer::Internal::CppSettingsPageWidget
+ DesignerFormFormulář
@@ -19525,7 +19469,7 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás
- Designer::FormWindowEditor
+ DesigneruntitledBez názvu
@@ -25313,7 +25257,7 @@ Proces Pdb po určité době od úspěšného spuštění spadl.
- Designer::Internal::FormEditorFactory
+ DesignerThis file can only be edited in <b>Design</b> mode.Tento soubor lze upravovat pouze v <b>Režimu návrhu</b>.
@@ -25326,9 +25270,6 @@ Proces Pdb po určité době od úspěšného spuštění spadl.
Switch modePřepnout režim
-
-
- Designer::Internal::FormFileWizardDialogLocationUmístění
diff --git a/share/qtcreator/translations/qtcreator_da.ts b/share/qtcreator/translations/qtcreator_da.ts
index 8f238b0a012..86cf22c9907 100644
--- a/share/qtcreator/translations/qtcreator_da.ts
+++ b/share/qtcreator/translations/qtcreator_da.ts
@@ -15144,16 +15144,10 @@ Det hjælper måske at genbygge projektet.
DesignerDesigner
-
-
- Designer::Internal::FormClassWizardDialogQt Designer Form ClassQt Designer-udformningsklasse
-
-
- Designer::Internal::FormClassWizardPageChoose a Class NameVælg et klassenavn
@@ -15170,17 +15164,10 @@ Det hjælper måske at genbygge projektet.
%1 - Error%1 - fejl
-
-
- Designer::Internal::FormEditorPluginSwitch Source/FormSkift kilde/udformning
-
- Qt Designer Form Class
- Qt Designer-udformningsklasse
- Creates a Qt Designer form along with a matching class (C++ header and source file) for implementation purposes. You can add the form and class to an existing Qt Widget Project.Opretter en Qt Designer-udformning sammen med en matchende klasse (C++-header og kildefil) til implementeringsformål. Du kan tilføje udformningen og klassen til et eksisterende Qt widget-projekt.
@@ -15193,9 +15180,6 @@ Det hjælper måske at genbygge projektet.
Shift+F4Skift+F4
-
-
- Designer::Internal::FormTemplateWizardPageChoose a Form TemplateVælg en udformningsskabelon
@@ -15204,13 +15188,6 @@ Det hjælper måske at genbygge projektet.
Form TemplateUdformningsskabelon
-
- %1 - Error
- %1 - fejl
-
-
-
- Designer::Internal::QtCreatorIntegrationThe class containing "%1" could not be found in %2.
Please verify the #include-directives.
@@ -16628,7 +16605,7 @@ når de ikke kræves, hvilket i de fleste tilfælde vil forbedre ydelsen.
- FormEditorW
+ DesignerWidget boxWidget-boks
@@ -16721,10 +16698,6 @@ når de ikke kræves, hvilket i de fleste tilfælde vil forbedre ydelsen.Preview in
Forhåndsvis i
-
- Designer
- Designer
- This file can only be edited in <b>Design</b> mode.Denne fil kan kun redigeres i <b>Design</b>-tilstand.
diff --git a/share/qtcreator/translations/qtcreator_de.ts b/share/qtcreator/translations/qtcreator_de.ts
index 438b8df6fe0..e32fdf5cc4f 100644
--- a/share/qtcreator/translations/qtcreator_de.ts
+++ b/share/qtcreator/translations/qtcreator_de.ts
@@ -3720,16 +3720,10 @@ Rebuilding the project might help.
Die automatisch erstellte Header-Datei "%1" konnte nicht im Codemodell gefunden werden.
Versuchen Sie, das Projekt neu zu erstellen.
-
-
- Designer::Internal::FormClassWizardDialogQt Designer Form ClassQt-Designer-Formularklasse
-
-
- Designer::Internal::FormClassWizardPageClass DetailsKlassendetails
@@ -3746,9 +3740,6 @@ Versuchen Sie, das Projekt neu zu erstellen.
Choose a Class NameName der Klasse
-
-
- Designer::Internal::FormEditorPluginSwitch Source/FormZwischen Quelldatei und Formular wechseln
@@ -3765,13 +3756,6 @@ Versuchen Sie, das Projekt neu zu erstellen.
Creates a Qt Designer form along with a matching class (C++ header and source file) for implementation purposes. You can add the form and class to an existing Qt Widget Project.Erstellt ein Qt-Designer-Formular mit zugehörigem Klassenrumpf (bestehend aus C++-Header- und -Quelldatei) für Implementierungszwecke. Sie können Formular und Klasse zu einem existierenden Qt-Widget-Projekt hinzufügen.
-
- Qt Designer Form Class
- Qt-Designer-Formularklasse
-
-
-
- Designer::Internal::FormTemplateWizardPageChoose a Form TemplateFormularvorlage auswählen
@@ -3780,13 +3764,6 @@ Versuchen Sie, das Projekt neu zu erstellen.
Form TemplateFormularvorlage
-
- %1 - Error
- %1 - Fehler
-
-
-
- Designer::Internal::QtCreatorIntegrationThe class containing "%1" could not be found in %2.
Please verify the #include-directives.
@@ -28950,7 +28927,7 @@ Dies betrifft die Haltepunkte %1
- FormEditorW
+ DesignerWidget boxWidget-Box
@@ -29043,10 +29020,6 @@ Dies betrifft die Haltepunkte %1
Preview inVorschau in
-
- Designer
- Designer
- This file can only be edited in <b>Design</b> mode.Datei kann nur im <b>Design</b>-Modus bearbeitet werden.
@@ -44468,7 +44441,7 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
- Designer::Internal::NewClassWidget
+ Designer&Class name:&Klassenname:
diff --git a/share/qtcreator/translations/qtcreator_es.ts b/share/qtcreator/translations/qtcreator_es.ts
index 05ca6f1083a..bfe0e450e40 100644
--- a/share/qtcreator/translations/qtcreator_es.ts
+++ b/share/qtcreator/translations/qtcreator_es.ts
@@ -4216,9 +4216,6 @@ Es recomendado usar gdb 6.7 o posterior.
Class Generation
-
-
- Designer::Internal::EditorWidgetAction editorEditor de acciones
@@ -4227,16 +4224,10 @@ Es recomendado usar gdb 6.7 o posterior.
Signals and slots editorEditor de signals/slots
-
-
- Designer::Internal::FormClassWizardDialogQt Designer Form ClassClase del formulario Qt Designer
-
-
- Designer::Internal::FormClassWizardPage%1 - Error
@@ -4279,9 +4270,6 @@ Es recomendado usar gdb 6.7 o posterior.
Support for changing languages at runtimePermitir el cambio de idioma en tiempo de ejecución
-
-
- Designer::Internal::FormEditorPluginQt
@@ -4302,9 +4290,6 @@ Es recomendado usar gdb 6.7 o posterior.
Qt Designer Form ClassClase del formulario de Qt Designer
-
-
- Designer::Internal::FormEditorWObject inspectorInspector de objetos
@@ -4317,10 +4302,6 @@ Es recomendado usar gdb 6.7 o posterior.
Signals and slots editorEditor de Signals/Slots
-
- Action editor
- Editor de acciones
- Widget Box
@@ -4437,27 +4418,14 @@ Es recomendado usar gdb 6.7 o posterior.
The image could not be created: %1No se pudo crear la imagen: %1
-
-
- Designer::Internal::FormTemplateWizardPageChoose a form templateSeleccione una plantilla para el formulario
-
- %1 - Error
-
-
-
-
- Designer::Internal::FormWindowEditoruntitledsin título
-
-
- Designer::Internal::FormWindowFileError saving %1Error guardando %1
@@ -4470,16 +4438,10 @@ Es recomendado usar gdb 6.7 o posterior.
Unable to write to %1: %2Imposible escribir a %1: %2
-
-
- Designer::Internal::FormWizardDialogQt Designer FormFormulario de Qt Designer
-
-
- Designer::Internal::QtCreatorIntegrationThe class definition of '%1' could not be found in %2.La definición de la clase '%1' no pudo ser encontrada en %2.
@@ -4498,9 +4460,6 @@ Reconstruir el proyecto puede ayudar.
Unable to add the method definition.Imposible agregar la definición del método.
-
-
- Designer::Internal::SettingsPageDesignerDesigner
@@ -11518,7 +11477,7 @@ p, li { white-space: pre-wrap; }
- Designer::Internal::CppSettingsPageWidget
+ DesignerFormFormulario
@@ -12938,7 +12897,7 @@ p, li { white-space: pre-wrap; }
- Designer::FormWindowEditor
+ Designeruntitledsin título
diff --git a/share/qtcreator/translations/qtcreator_fr.ts b/share/qtcreator/translations/qtcreator_fr.ts
index 3e4c41f51f4..886150ede1a 100644
--- a/share/qtcreator/translations/qtcreator_fr.ts
+++ b/share/qtcreator/translations/qtcreator_fr.ts
@@ -5891,9 +5891,6 @@ Rebuilding the project might help.
Impossible de trouver l'en-tête généré %1 dans le modèle de code.
Regénérer le projet peut résoudre ce problème.
-
-
- Designer::Internal::FormClassWizardDialogQt Designer Form ClassClasse d'interface graphique Qt Designer
@@ -5906,9 +5903,6 @@ Regénérer le projet peut résoudre ce problème.
Class DetailsDétails de la classe
-
-
- Designer::Internal::FormClassWizardPageChoose a class nameChoisissez un nom de classe
@@ -5929,9 +5923,6 @@ Regénérer le projet peut résoudre ce problème.
Choose a Class NameChoisissez un nom de classe
-
-
- Designer::Internal::FormEditorPluginQtQt
@@ -5960,17 +5951,10 @@ Regénérer le projet peut résoudre ce problème.
Creates a Qt Designer form file (.ui).Crée un fichier d'interface graphique Qt Designer (.ui).
-
- Qt Designer Form Class
- Classe d'interface graphique Qt Designer
- Creates a Qt Designer form file (.ui) with a matching class.Crée un fichier d'interface graphique Qt Designer (.ui) avec une classe correspondante.
-
-
- Designer::Internal::FormEditorWWidget Boxthis translation must coherent with the translation of Qt Designer
@@ -6130,17 +6114,10 @@ Regénérer le projet peut résoudre ce problème.
Preview inAperçu dans
-
- Designer
- Designer
- The image could not be created: %1L'image ne peut pas être créée : %1
-
-
- Designer::Internal::FormTemplateWizardPageChoose a form templateChoisir un modèle d'interface graphique
@@ -6149,13 +6126,6 @@ Regénérer le projet peut résoudre ce problème.
Choose a Form TemplateChoisir un modèle d'interface graphique
-
- %1 - Error
- %1 - Erreur
-
-
-
- Designer::Internal::FormWindowFileError saving %1Erreur lors de l'enregistrement de %1
@@ -6168,20 +6138,6 @@ Regénérer le projet peut résoudre ce problème.
Unable to write to %1: %2Impossible d'écrire dans %1 : %2
-
-
- Designer::Internal::FormWizardDialog
-
- Qt Designer Form
- Interface graphique Qt Designer
-
-
- Form Template
- Modèle d'interface graphique
-
-
-
- Designer::Internal::QtCreatorIntegrationThe class definition of '%1' could not be found in %2.La déclaration de la classe %1 est introuvable dans %2.
@@ -18466,7 +18422,7 @@ p, li { white-space: pre-wrap; }
- Designer::Internal::CppSettingsPageWidget
+ DesignerFormFormulaire
@@ -20305,7 +20261,7 @@ p, li { white-space: pre-wrap; }
- Designer::FormWindowEditor
+ Designeruntitledsans titre
@@ -25570,7 +25526,7 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus.
- Designer::Internal::FormEditorFactory
+ DesignerThis file can only be edited in <b>Design</b> mode.Ce fichier ne peut être édité qu'en mode <b>Design</b>.
@@ -25579,9 +25535,6 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus.
Switch modeChanger de mode
-
-
- Designer::Internal::FormFileWizardDialogLocationEmplacement
diff --git a/share/qtcreator/translations/qtcreator_hr.ts b/share/qtcreator/translations/qtcreator_hr.ts
index 0c4a4ee38c4..0887a23b1a9 100644
--- a/share/qtcreator/translations/qtcreator_hr.ts
+++ b/share/qtcreator/translations/qtcreator_hr.ts
@@ -3735,7 +3735,7 @@ Ti se predznaci koriste kao dodatak trenutačnom direktoriju na Switch zaglavlju
- Designer::Internal::FormClassWizardPage
+ DesignerChoose a Class NameOdaberi naziv klase
@@ -3748,10 +3748,6 @@ Ti se predznaci koriste kao dodatak trenutačnom direktoriju na Switch zaglavlju
Class DetailsDetalji klase
-
- %1 - Error
- %1 - greška
- FakeVim::Internal::FakeVimOptionPage
@@ -23092,28 +23088,14 @@ Rebuilding the project might help.
Form Editor
-
- Designer
- Designer
-
-
-
- Designer::Internal::FormClassWizardDialogQt Designer Form Class
-
-
- Designer::Internal::FormEditorPluginSwitch Source/Form
-
- Qt Designer Form Class
-
- Creates a Qt Designer form along with a matching class (C++ header and source file) for implementation purposes. You can add the form and class to an existing Qt Widget Project.
@@ -23126,9 +23108,6 @@ Rebuilding the project might help.
Shift+F4
-
-
- FormEditorWWidget boxOkvir programčića
@@ -24244,7 +24223,7 @@ Use this only if you are prototyping. You cannot create a full application with
- Designer::Internal::FormTemplateWizardPage
+ DesignerChoose a Form TemplateOdaberi predložak za obrasce
@@ -24257,9 +24236,6 @@ Use this only if you are prototyping. You cannot create a full application with
%1 - Error%1 – Greška
-
-
- Designer::Internal::QtCreatorIntegrationThe class containing "%1" could not be found in %2.
Please verify the #include-directives.
diff --git a/share/qtcreator/translations/qtcreator_hu.ts b/share/qtcreator/translations/qtcreator_hu.ts
index 80173da922d..d578f3d5bc2 100644
--- a/share/qtcreator/translations/qtcreator_hu.ts
+++ b/share/qtcreator/translations/qtcreator_hu.ts
@@ -5452,9 +5452,6 @@ Gdb 6.7 vagy későbbi használata erősen ajánlott.
The <RCC> root element is missing.Az <RCC> rendszergazda elem hiányzik.
-
-
- Designer::FormWindowEditoruntitledcímtelen
@@ -5670,7 +5667,7 @@ A projekt újraépítése talán segít.
- Designer::Internal::CppSettingsPageWidget
+ DesignerFormForma
@@ -5703,16 +5700,10 @@ A projekt újraépítése talán segít.
Use Qt module name in #include-directiveQt modulnevek használata az #include irányelvekben
-
-
- Designer::Internal::FormClassWizardDialogQt Designer Form ClassQt Designer forma osztály
-
-
- Designer::Internal::FormClassWizardPageChoose a class nameEgy osztálynév kiválasztása
@@ -5729,9 +5720,6 @@ A projekt újraépítése talán segít.
%1 - Error%1 - Hiba
-
-
- Designer::Internal::FormEditorPluginQtQt
@@ -5744,17 +5732,10 @@ A projekt újraépítése talán segít.
Creates a Qt Designer form file (.ui).Qt Designer forma fájl (.ui) létrehozása.
-
- Qt Designer Form Class
- Qt Designer forma osztály
- Creates a Qt Designer form file (.ui) with a matching class.Qt Designer forma fájl(.ui) létrehozása illeszkedő osztályokkal.
-
-
- Designer::Internal::FormEditorWWidget Box
@@ -5863,28 +5844,14 @@ A projekt újraépítése talán segít.
Preview inElőnézet
-
- Designer
- Tervező
- The image could not be created: %1Nem sikerült létrehozni a képet: %1
-
-
- Designer::Internal::FormTemplateWizardPageChoose a form templateForma sablonok kiválasztása
-
- %1 - Error
- %1 - Hiba
-
-
-
- Designer::Internal::FormWindowFileError saving %1Hiba történt a(z) %1 mentése közben
@@ -5897,16 +5864,6 @@ A projekt újraépítése talán segít.
Unable to write to %1: %2Nem lehet a(z) %1-be írni: %2
-
-
- Designer::Internal::FormWizardDialog
-
- Qt Designer Form
- Qt Designer forma
-
-
-
- Designer::Internal::QtCreatorIntegrationThe class definition of '%1' could not be found in %2.A(z) '%1' osztálydefiniciója nem található a(z) %2-ben.
diff --git a/share/qtcreator/translations/qtcreator_it.ts b/share/qtcreator/translations/qtcreator_it.ts
index ee5f2e0eafd..fa137df7767 100644
--- a/share/qtcreator/translations/qtcreator_it.ts
+++ b/share/qtcreator/translations/qtcreator_it.ts
@@ -4119,9 +4119,6 @@ L'utilizzo di gdb 6.7 o successivi è fortemente consigliato.
Class Generation
-
-
- Designer::Internal::EditorWidgetAction editorEditor delle azioni
@@ -4130,16 +4127,10 @@ L'utilizzo di gdb 6.7 o successivi è fortemente consigliato.
Signals and slots editorEditor di segnali e slot
-
-
- Designer::Internal::FormClassWizardDialogQt Designer Form ClassClasse Form di Qt Designer
-
-
- Designer::Internal::FormClassWizardPageChoose a class nameScegli il nome della classe
@@ -4182,9 +4173,6 @@ L'utilizzo di gdb 6.7 o successivi è fortemente consigliato.
%1 - Error%1 - Errore
-
-
- Designer::Internal::FormEditorPluginQtQt
@@ -4201,13 +4189,6 @@ L'utilizzo di gdb 6.7 o successivi è fortemente consigliato.
Creates a Qt Designer form file (.ui) with a matching class.Crea un file form Qt Designer (.ui) e la relativa classe.
-
- Qt Designer Form Class
- Classe Form di Qt Designer
-
-
-
- Designer::Internal::FormEditorWDesigner widgetboxCollezione Widget
@@ -4220,14 +4201,6 @@ L'utilizzo di gdb 6.7 o successivi è fortemente consigliato.
Property editorEditor delle Proprietà
-
- Signals and slots editor
- Editor di segnali e slot
-
-
- Action editor
- Editor delle azioni
- Widget Box
@@ -4344,27 +4317,14 @@ L'utilizzo di gdb 6.7 o successivi è fortemente consigliato.
The image could not be created: %1L'immagine non può essere creata: %1
-
-
- Designer::Internal::FormTemplateWizardPageChoose a form templateScegli un modello di form
-
- %1 - Error
- %1 - Errore
-
-
-
- Designer::Internal::FormWindowEditoruntitledsenza titolo
-
-
- Designer::Internal::FormWindowFileError saving %1Errore durante il salvataggio di %1
@@ -4377,16 +4337,6 @@ L'utilizzo di gdb 6.7 o successivi è fortemente consigliato.
Unable to write to %1: %2Impossibile scrivere su %1: %2
-
-
- Designer::Internal::FormWizardDialog
-
- Qt Designer Form
- Form di Qt Designer
-
-
-
- Designer::Internal::QtCreatorIntegrationThe class definition of '%1' could not be found in %2.La definizione della classe '%1' non è stata trovata in %2.
@@ -4405,9 +4355,6 @@ La ricompilazione del progetto potrebbe aiutare.
Unable to add the method definition.Impossibile aggiungere la definizione del metodo.
-
-
- Designer::Internal::SettingsPageDesignerDesigner
@@ -11377,7 +11324,7 @@ p, li { white-space: pre-wrap; }
- Designer::Internal::CppSettingsPageWidget
+ DesignerForm
@@ -12712,7 +12659,7 @@ p, li { white-space: pre-wrap; }
- Designer::FormWindowEditor
+ Designeruntitledsenza titolo
diff --git a/share/qtcreator/translations/qtcreator_ja.ts b/share/qtcreator/translations/qtcreator_ja.ts
index 3ae2208bb75..c1da81fcd02 100644
--- a/share/qtcreator/translations/qtcreator_ja.ts
+++ b/share/qtcreator/translations/qtcreator_ja.ts
@@ -2693,7 +2693,7 @@ These prefixes are used in addition to current file name on Switch Header/Source
- Designer::Internal::FormClassWizardPage
+ DesignerChoose a Class Nameクラス名を選択してください
@@ -20371,16 +20371,10 @@ Rebuilding the project might help.
生成されたヘッダファイル "%1" がコードモデル内に見つかりませんでした。
プロジェクトのリビルドをお奨めします。
-
-
- Designer::Internal::FormClassWizardDialogQt Designer Form ClassQt Designer フォームクラス
-
-
- Designer::Internal::FormEditorPluginSwitch Source/Formソース/フォームの切替
@@ -20393,17 +20387,10 @@ Rebuilding the project might help.
Shift+F4Shift+F4
-
- Qt Designer Form Class
- Qt Designer フォームクラス
- Creates a Qt Designer form along with a matching class (C++ header and source file) for implementation purposes. You can add the form and class to an existing Qt Widget Project.既存の Qt ウィジェットプロジェクトに追加可能な Qt Designer フォームとそれに対応したクラス (C++ ヘッダとソースファイル) を作成します。
-
-
- Designer::Internal::FormTemplateWizardPageChoose a Form Templateフォームテンプレートを選択してください
@@ -20412,13 +20399,6 @@ Rebuilding the project might help.
Form Templateフォームテンプレート
-
- %1 - Error
- %1 - エラー
-
-
-
- Designer::Internal::QtCreatorIntegrationThe class containing "%1" could not be found in %2.
Please verify the #include-directives.
@@ -41267,7 +41247,7 @@ Affected are breakpoints %1
- FormEditorW
+ DesignerWidget boxウィジェットボックス
@@ -41360,10 +41340,6 @@ Affected are breakpoints %1
Preview inプレビュー
-
- Designer
- デザイナ
- This file can only be edited in <b>Design</b> mode.このファイルは<b>デザイン</b>モード以外では編集できません。
@@ -47052,7 +47028,7 @@ Output:
- Designer::Internal::NewClassWidget
+ Designer&Class name:クラス名(&C):
diff --git a/share/qtcreator/translations/qtcreator_pl.ts b/share/qtcreator/translations/qtcreator_pl.ts
index ebeeb81cce4..3b61b96fb54 100644
--- a/share/qtcreator/translations/qtcreator_pl.ts
+++ b/share/qtcreator/translations/qtcreator_pl.ts
@@ -386,7 +386,7 @@
- Designer::Internal::FormClassWizardPage
+ DesignerClassKlasa
@@ -5303,14 +5303,11 @@ Więcej szczegółów w /etc/sysctl.d/10-ptrace.conf
- Designer::Internal::FormClassWizardDialog
+ DesignerQt Designer Form ClassKlasa formularza Qt Designer
-
-
- DesignerDesignerDesigner
@@ -5331,9 +5328,6 @@ Rebuilding the project might help.
Nie można odnaleźć wygenerowanego pliku nagłówkowego "%1" w modelu kodu.
Spróbuj ponownie przebudować projekt.
-
-
- Designer::Internal::FormEditorPluginSwitch Source/FormPrzełącz między źródłem a formularzem
@@ -5350,13 +5344,6 @@ Spróbuj ponownie przebudować projekt.
Creates a Qt Designer form along with a matching class (C++ header and source file) for implementation purposes. You can add the form and class to an existing Qt Widget Project.Tworzy formularz Qt Designera wraz z klasą implementującą (plik nagłówkowy i źródłowy C++). Utworzony formularz i klasę można dodać do istniejącego projektu Qt Widget.
-
- Qt Designer Form Class
- Klasa formularza Qt Designer
-
-
-
- Designer::Internal::FormTemplateWizardPageChoose a Form TemplateWybierz szablon formularza
@@ -5365,13 +5352,6 @@ Spróbuj ponownie przebudować projekt.
Form TemplateSzablon formularza
-
- %1 - Error
- %1 - Błąd
-
-
-
- Designer::Internal::QtCreatorIntegrationThe class containing "%1" could not be found in %2.
Please verify the #include-directives.
@@ -31430,7 +31410,7 @@ Dotyczy to następujących pułapek: %1
- FormEditorW
+ DesignerWidget boxPanel widżetów
@@ -31523,10 +31503,6 @@ Dotyczy to następujących pułapek: %1
Preview inPodgląd w stylu
-
- Designer
- Designer
- This file can only be edited in <b>Design</b> mode.Ten plik może być modyfikowany jedynie w trybie <b>Design</b>.
diff --git a/share/qtcreator/translations/qtcreator_ru.ts b/share/qtcreator/translations/qtcreator_ru.ts
index af5a3edba40..9eea9537a37 100644
--- a/share/qtcreator/translations/qtcreator_ru.ts
+++ b/share/qtcreator/translations/qtcreator_ru.ts
@@ -19010,16 +19010,10 @@ Rebuilding the project might help.
Не удалось найти сгенерированный заголовочный файл «%1» в модели кода.
Пересборка проекта может помочь.
-
-
- Designer::Internal::FormClassWizardDialogQt Designer Form ClassКласс формы Qt Designer
-
-
- Designer::Internal::FormClassWizardPageClass DetailsХарактеристики класса
@@ -19036,9 +19030,6 @@ Rebuilding the project might help.
Choose a Class NameВыбор названия класса
-
-
- Designer::Internal::FormEditorPluginSwitch Source/FormПереключить исходник/форму
@@ -19055,13 +19046,6 @@ Rebuilding the project might help.
Creates a Qt Designer form along with a matching class (C++ header and source file) for implementation purposes. You can add the form and class to an existing Qt Widget Project.Создание формы дизайнера Qt и соответствующего класса (исходный и заголовочный файлы C++) для реализации. Их можно будет добавить к существующему проекту Qt Widget.
-
- Qt Designer Form Class
- Класс формы Qt Designer
-
-
-
- Designer::Internal::FormTemplateWizardPageChoose a Form TemplateВыбор шаблона формы
@@ -19070,13 +19054,6 @@ Rebuilding the project might help.
Form TemplateШаблон формы
-
- %1 - Error
- %1 - Ошибка
-
-
-
- Designer::Internal::NewClassWidget&Class name:&Имя класса:
@@ -19141,9 +19118,6 @@ Rebuilding the project might help.
Invalid form file name: "%1"Недопустимое имя файла формы: «%1»
-
-
- Designer::Internal::QtCreatorIntegrationThe class containing "%1" could not be found in %2.
Please verify the #include-directives.
@@ -20799,7 +20773,7 @@ when they are not required, which will improve performance in most cases.
- FormEditorW
+ DesignerWidget boxПанель виджетов
@@ -20892,10 +20866,6 @@ when they are not required, which will improve performance in most cases.Preview in
Предпросмотр в
-
- Designer
- Дизайнер
- This file can only be edited in <b>Design</b> mode.Этот файл можно редактировать только в режиме <b>дизайна</b>.
diff --git a/share/qtcreator/translations/qtcreator_sl.ts b/share/qtcreator/translations/qtcreator_sl.ts
index 0afcdb8812f..b1e99f0a315 100644
--- a/share/qtcreator/translations/qtcreator_sl.ts
+++ b/share/qtcreator/translations/qtcreator_sl.ts
@@ -3905,10 +3905,6 @@ To lahko privede do napačnih rezultatov.
Cannot write file. Disk full?Datoteke ni moč zapisati. Ali je disk poln?
-
- Designer
- Designer
- Class GenerationUstvarjanje razreda
@@ -3933,9 +3929,6 @@ Morda lahko pomaga ponovna gradnja projekta.
Xml EditorUrejevalnik XML
-
-
- Designer::Internal::FormClassWizardDialogQt Designer Form ClassRazred obrazca Qt Designer
@@ -3948,9 +3941,6 @@ Morda lahko pomaga ponovna gradnja projekta.
Class DetailsPodrobnosti razreda
-
-
- Designer::Internal::FormClassWizardPage%1 - Error%1 - Napaka
@@ -3968,9 +3958,6 @@ Morda lahko pomaga ponovna gradnja projekta.
Configure...Nastavitve …
-
-
- Designer::Internal::FormEditorPluginQt Designer FormObrazec Qt Designer
@@ -3983,10 +3970,6 @@ Morda lahko pomaga ponovna gradnja projekta.
Creates a Qt Designer form along with a matching class (C++ header and source file) for implementation purposes. You can add the form and class to an existing Qt Widget Project.Ustvari obrazec Qt Designerja, skupaj z ustreznim razredom (glavo in izvorno kodo C++) za implementacijo. Obrazec in razred lahko dodate v obstoječ projekt iz gradnikov Qt.
-
- Qt Designer Form Class
- Razred obrazca Qt Designer
- Creates a Qt Designer form that you can add to a Qt C++ project. This is useful if you already have an existing class for the UI business logic.Ustvari obrazec Qt Designerja, ki ga lahko dodate v projekt C++. To je uporabno, če že imate obstoječ razred, ki vsebuje logiko za uporabniški vmesnik.
@@ -3995,9 +3978,6 @@ Morda lahko pomaga ponovna gradnja projekta.
Creates a Qt Designer form along with a matching class (C++ header and source file) for implementation purposes. You can add the form and class to an existing Qt C++ Project.Ustvari obrazec Qt Designerja, skupaj z ustreznim razredom (glavo in izvorno kodo C++) za implementacijo. Obrazec in razred lahko dodate v obstoječ projekt Qt/C++.
-
-
- Designer::Internal::FormEditorWWidget BoxPodokno z gradniki
@@ -4114,31 +4094,10 @@ Morda lahko pomaga ponovna gradnja projekta.
Ctrl+Alt+RCtrl+Alt+R
-
-
- Designer::Internal::FormTemplateWizardPageChoose a Form TemplateIzberite predlogo za obrazec
-
- %1 - Error
- %1 - Napaka
-
-
-
- Designer::Internal::FormWizardDialog
-
- Qt Designer Form
- Obrazec Qt Designer
-
-
- Form Template
- Predloga obrazca
-
-
-
- Designer::Internal::QtCreatorIntegrationThe class definition of '%1' could not be found in %2.Definicije razreda »%1« ni bilo moč najti v %2.
@@ -11249,7 +11208,7 @@ p, li { white-space: pre-wrap; }
- Designer::Internal::CppSettingsPageWidget
+ DesignerFormObrazec
@@ -12950,7 +12909,7 @@ Za uporabo v polje Iskalnika vtipkajte to bližnjico in presledek ter nato iskan
- Designer::FormWindowEditor
+ Designeruntitledbrez naslova
@@ -16284,7 +16243,7 @@ Desetiška predznačena vrednost (najprej veliki konec): %4
- Designer::Internal::FormEditorFactory
+ DesignerThis file can only be edited in <b>Design</b> mode.Datoteko je moč urejati le v načinu <b>Oblikovanje</b>.
@@ -16293,9 +16252,6 @@ Desetiška predznačena vrednost (najprej veliki konec): %4
Switch modePreklopi način
-
-
- Designer::Internal::FormFileWizardDialogLocationMesto
@@ -30750,7 +30706,7 @@ Preverite pravice za dostop do mape.
- Designer::Internal::FormWindowFile
+ DesignerError saving %1Napaka shranjevanja %1
diff --git a/share/qtcreator/translations/qtcreator_uk.ts b/share/qtcreator/translations/qtcreator_uk.ts
index 1e7323d9672..afc0b822d2e 100644
--- a/share/qtcreator/translations/qtcreator_uk.ts
+++ b/share/qtcreator/translations/qtcreator_uk.ts
@@ -7930,16 +7930,10 @@ Rebuilding the project might help.
Не вдалось знайти згенерований заголовочний файл форми "%1" в моделі коду.
Перезбірка проекту може допомогти.
-
-
- Designer::FormWindowEditoruntitledбез назви
-
-
- Designer::Internal::CppSettingsPageWidgetFormФорма
@@ -7976,24 +7970,10 @@ Rebuilding the project might help.
Add Qt version #ifdef for module namesДодавати версію Qt в #ifdef для імен модулів
-
-
- Designer::Internal::FormClassWizardDialogQt Designer Form ClassКлас форми Qt Designer
-
- Form Template
- Шаблон форми
-
-
- Class Details
- Деталі класу
-
-
-
- Designer::Internal::FormClassWizardPageChoose a Class NameОберіть назву класу
@@ -8010,24 +7990,10 @@ Rebuilding the project might help.
%1 - Error%1 - Помилка
-
-
- Designer::Internal::FormEditorFactory
-
- This file can only be edited in <b>Design</b> mode.
- Це файл можна редагувати лише в режимі <b>дизайну</b>.
-
-
- Switch Mode
- Перемкнути режим
- Switch modeПеремкнути режим
-
-
- Designer::Internal::FormEditorPluginSwitch Source/FormПеремкнути код/форма
@@ -8052,135 +8018,10 @@ Rebuilding the project might help.
Creates a Qt Designer form along with a matching class (C++ header and source file) for implementation purposes. You can add the form and class to an existing Qt Widget Project.Створює форму Qt Designer разом з відповідним класом (файли заголовку та коду C++) з метою реалізації.. Ви можете додати форму та клас до існуючого проекту Qt Widget.
-
- Qt Designer Form Class
- Клас форми Qt Designer
-
-
-
- Designer::Internal::FormEditorW
-
- Widget box
- Панель віджетів
-
-
- Object Inspector
- Інспектор об'єктів
-
-
- Property Editor
- Редактор властивостей
-
-
- Signals && Slots Editor
- Редактор сигналів та слотів
-
-
- Action Editor
- Редактор дій
-
-
- Widget Box
- Панель віджетів
-
-
- For&m Editor
- Редактор &форм
-
-
- Edit Widgets
- Редагувати віджети
-
-
- F3
- F3
-
-
- Edit Signals/Slots
- Редагувати сигнали/слоти
-
-
- F4
- F4
-
-
- Edit Buddies
- Редагувати прив'язки
-
-
- Edit Tab Order
- Редагувати порядок обходу
-
-
- Ctrl+H
- Ctrl+H
-
-
- Meta+Shift+H
- Meta+Shift+H
-
-
- Meta+L
- Meta+L
-
-
- Ctrl+L
- Ctrl+L
-
-
- Ctrl+G
- Ctrl+G
-
-
- Meta+Shift+G
- Meta+Shift+G
-
-
- Meta+J
- Meta+J
-
-
- Ctrl+J
- Ctrl+J
-
-
- Alt+Shift+R
- Alt+Shift+R
-
-
- Switch Source/Form
- Перемкнути код/форма
-
-
- Shift+F4
- Shift+F4
-
-
- About Qt Designer Plugins...
- Про додатки Qt Designer....
-
-
- Preview in
- Попередній перегляд в
-
-
- Designer
- Designer
-
-
- The image could not be created: %1
- Не вдалось створити зображення: %1
-
-
-
- Designer::Internal::FormFileWizardDialogLocationРозташування
-
-
- Designer::Internal::FormTemplateWizardPageChoose a Form TemplateОберіть шаблон форми
@@ -8189,24 +8030,6 @@ Rebuilding the project might help.
Form TemplateШаблон форми
-
- %1 - Error
- %1 - Помилка
-
-
-
- Designer::Internal::FormWizardDialog
-
- Qt Designer Form
- Форма Qt Designer
-
-
- Form Template
- Шаблон форми
-
-
-
- Designer::Internal::QtCreatorIntegrationThe class containing '%1' could not be found in %2.
Please verify the #include-directives.
@@ -45605,7 +45428,7 @@ The statements may not contain '{' nor '}' characters.
- FormEditorW
+ DesignerWidget boxПанель віджетів
@@ -45698,10 +45521,6 @@ The statements may not contain '{' nor '}' characters.Preview in
Попередній перегляд в
-
- Designer
-
- This file can only be edited in <b>Design</b> mode.Це файл можна редагувати лише в режимі <b>дизайну</b>.
diff --git a/share/qtcreator/translations/qtcreator_zh_CN.ts b/share/qtcreator/translations/qtcreator_zh_CN.ts
index 46c86107a24..8c89a1a5d6d 100644
--- a/share/qtcreator/translations/qtcreator_zh_CN.ts
+++ b/share/qtcreator/translations/qtcreator_zh_CN.ts
@@ -5719,9 +5719,6 @@ Rebuilding the project might help.
代码模型中找不到生成的头文件"%1"。
重新构建项目可能有帮助。
-
-
- Designer::Internal::FormClassWizardDialogQt Designer Form ClassQt 设计器界面类
@@ -5734,9 +5731,6 @@ Rebuilding the project might help.
Class Details类详情
-
-
- Designer::Internal::FormClassWizardPage%1 - Error%1 - 错误
@@ -5757,9 +5751,6 @@ Rebuilding the project might help.
Choose a Class Name选择类名
-
-
- Designer::Internal::FormEditorPluginQtQt
@@ -5784,13 +5775,6 @@ Rebuilding the project might help.
Creates a Qt Designer form file (.ui) with a matching class.创建与类匹配的Qt设计师界面文件(.ui)。
-
- Qt Designer Form Class
- Qt 设计师界面类
-
-
-
- Designer::Internal::FormEditorWWidget Box控件盒子
@@ -5935,17 +5919,10 @@ Rebuilding the project might help.
Preview in预览于
-
- Designer
- 设计师
- The image could not be created: %1无法创建图片: %1
-
-
- Designer::Internal::FormTemplateWizardPageChoose a form template选择 界面模板
@@ -5954,13 +5931,6 @@ Rebuilding the project might help.
Choose a Form Template选择界面模板
-
- %1 - Error
- %1 - 错误
-
-
-
- Designer::Internal::FormWindowFileError saving %1保存 %1出错
@@ -5973,20 +5943,6 @@ Rebuilding the project might help.
Unable to write to %1: %2无法写入 %1: %2
-
-
- Designer::Internal::FormWizardDialog
-
- Qt Designer Form
- Qt 设计师文件
-
-
- Form Template
- 界面模板
-
-
-
- Designer::Internal::QtCreatorIntegrationThe class definition of '%1' could not be found in %2.类 '%1' 的定义 在 %2中找不到.
@@ -16972,7 +16928,7 @@ Will not be applied to whitespace in comments and strings.
- Designer::Internal::CppSettingsPageWidget
+ DesignerForm界面
@@ -18703,7 +18659,7 @@ Will not be applied to whitespace in comments and strings.
- Designer::FormWindowEditor
+ Designeruntitled未命名
@@ -22975,7 +22931,7 @@ Previous decimal signed value (big endian): %4
- Designer::Internal::FormEditorFactory
+ DesignerThis file can only be edited in Design Mode.此文件仅可在设计模式中编辑。
@@ -22992,9 +22948,6 @@ Previous decimal signed value (big endian): %4
Switch mode切换模式
-
-
- Designer::Internal::FormFileWizardDialogLocation位置
diff --git a/share/qtcreator/translations/qtcreator_zh_TW.ts b/share/qtcreator/translations/qtcreator_zh_TW.ts
index d4174ba723d..a3ccc84501b 100644
--- a/share/qtcreator/translations/qtcreator_zh_TW.ts
+++ b/share/qtcreator/translations/qtcreator_zh_TW.ts
@@ -4096,9 +4096,6 @@ Rebuilding the project might help.
代碼模型中找不到產生的標頭 "%1"。
重新建置專案可能有幫助。
-
-
- Designer::Internal::FormClassWizardDialogQt Designer Form ClassQt 設計器表單類別
@@ -4111,9 +4108,6 @@ Rebuilding the project might help.
Class Details類別詳情
-
-
- Designer::Internal::FormClassWizardPage%1 - Error%1 - 錯誤
@@ -4126,9 +4120,6 @@ Rebuilding the project might help.
Choose a Class Name選擇類別名稱
-
-
- Designer::Internal::FormEditorPluginQt Designer FormQt 設計師表單
@@ -4141,13 +4132,6 @@ Rebuilding the project might help.
Creates a Qt Designer form along with a matching class (C++ header and source file) for implementation purposes. You can add the form and class to an existing Qt Widget Project.建立 Qt 設計師表單以及對應的類別檔(包括 C++ 標頭檔與源碼檔),讓您可以新增到 Qt 元件專案中直接進行實作。
-
- Qt Designer Form Class
- Qt 設計師表單類別
-
-
-
- Designer::Internal::FormEditorWWidget Box元件盒
@@ -4260,39 +4244,14 @@ Rebuilding the project might help.
Preview in預覽於
-
- Designer
- 設計師
- The image could not be created: %1無法建立影像:%1
-
-
- Designer::Internal::FormTemplateWizardPageChoose a Form Template選擇表單樣本
-
- %1 - Error
- %1 - 錯誤
-
-
-
- Designer::Internal::FormWizardDialog
-
- Qt Designer Form
- Qt 設計師表單
-
-
- Form Template
- 表單樣本
-
-
-
- Designer::Internal::QtCreatorIntegrationThe class containing '%1' could not be found in %2.
Please verify the #include-directives.
@@ -10458,7 +10417,7 @@ Will not be applied to whitespace in comments and strings.
- Designer::Internal::CppSettingsPageWidget
+ DesignerForm表單
@@ -11347,7 +11306,7 @@ Will not be applied to whitespace in comments and strings.
- Designer::FormWindowEditor
+ Designeruntitled未命名
@@ -13474,7 +13433,7 @@ For qmlproject projects, use the importPaths property to add import paths.
- Designer::Internal::FormEditorFactory
+ DesignerThis file can only be edited in <b>Design</b> mode.此檔案只能在<b>設計</b>模式中編輯。
@@ -13483,9 +13442,6 @@ For qmlproject projects, use the importPaths property to add import paths.Switch mode
切換模式
-
-
- Designer::Internal::FormFileWizardDialogLocation位置
diff --git a/src/plugins/designer/codemodelhelpers.cpp b/src/plugins/designer/codemodelhelpers.cpp
index 72743f0dfcd..50fcd77abd6 100644
--- a/src/plugins/designer/codemodelhelpers.cpp
+++ b/src/plugins/designer/codemodelhelpers.cpp
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "codemodelhelpers.h"
+#include "designertr.h"
#include
@@ -101,13 +102,13 @@ bool navigateToSlot(const QString &uiFileName,
// Find the generated header.
const FilePath generatedHeaderFile = generatedHeaderOf(FilePath::fromString(uiFileName));
if (generatedHeaderFile.isEmpty()) {
- *errorMessage = QCoreApplication::translate("Designer", "The generated header of the form \"%1\" could not be found.\nRebuilding the project might help.").arg(uiFileName);
+ *errorMessage = Tr::tr("The generated header of the form \"%1\" could not be found.\nRebuilding the project might help.").arg(uiFileName);
return false;
}
const CPlusPlus::Snapshot snapshot = CppEditor::CppModelManager::instance()->snapshot();
const DocumentPtr generatedHeaderDoc = snapshot.document(generatedHeaderFile);
if (!generatedHeaderDoc) {
- *errorMessage = QCoreApplication::translate("Designer", "The generated header \"%1\" could not be found in the code model.\nRebuilding the project might help.").arg(generatedHeaderFile.toUserOutput());
+ *errorMessage = Tr::tr("The generated header \"%1\" could not be found in the code model.\nRebuilding the project might help.").arg(generatedHeaderFile.toUserOutput());
return false;
}
diff --git a/src/plugins/designer/cpp/formclasswizarddialog.cpp b/src/plugins/designer/cpp/formclasswizarddialog.cpp
index 749b002b8d7..05d98acaee4 100644
--- a/src/plugins/designer/cpp/formclasswizarddialog.cpp
+++ b/src/plugins/designer/cpp/formclasswizarddialog.cpp
@@ -1,6 +1,7 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
+#include "designertr.h"
#include "formclasswizarddialog.h"
#include "formclasswizardpage.h"
#include "formclasswizardparameters.h"
@@ -24,7 +25,7 @@ FormClassWizardDialog::FormClassWizardDialog(const Core::BaseFileWizardFactory *
m_formPage(new FormTemplateWizardPage),
m_classPage(new FormClassWizardPage)
{
- setWindowTitle(tr("Qt Designer Form Class"));
+ setWindowTitle(Tr::tr("Qt Designer Form Class"));
setPage(FormPageId, m_formPage);
setPage(ClassPageId, m_classPage);
diff --git a/src/plugins/designer/cpp/formclasswizardpage.cpp b/src/plugins/designer/cpp/formclasswizardpage.cpp
index f38a5d3aee7..eb339be454b 100644
--- a/src/plugins/designer/cpp/formclasswizardpage.cpp
+++ b/src/plugins/designer/cpp/formclasswizardpage.cpp
@@ -1,8 +1,8 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
+#include "designertr.h"
#include "formclasswizardpage.h"
-
#include "formclasswizardparameters.h"
#include "newclasswidget.h"
@@ -24,10 +24,10 @@ namespace Internal {
FormClassWizardPage::FormClassWizardPage()
{
- setTitle(tr("Choose a Class Name"));
+ setTitle(Tr::tr("Choose a Class Name"));
auto classGroupBox = new QGroupBox(this);
- classGroupBox->setTitle(tr("Class"));
+ classGroupBox->setTitle(Tr::tr("Class"));
m_newClassWidget = new NewClassWidget(classGroupBox);
m_newClassWidget->setHeaderExtension(
@@ -39,7 +39,7 @@ FormClassWizardPage::FormClassWizardPage()
connect(m_newClassWidget, &NewClassWidget::validChanged,
this, &FormClassWizardPage::slotValidChanged);
- setProperty(Utils::SHORT_TITLE_PROPERTY, tr("Class Details"));
+ setProperty(Utils::SHORT_TITLE_PROPERTY, Tr::tr("Class Details"));
auto verticalLayout = new QVBoxLayout(classGroupBox);
verticalLayout->addWidget(m_newClassWidget);
@@ -105,7 +105,7 @@ bool FormClassWizardPage::validatePage()
QString errorMessage;
const bool rc = m_newClassWidget->isValid(&errorMessage);
if (!rc)
- QMessageBox::warning(this, tr("%1 - Error").arg(title()), errorMessage);
+ QMessageBox::warning(this, Tr::tr("%1 - Error").arg(title()), errorMessage);
return rc;
}
diff --git a/src/plugins/designer/cpp/formclasswizardpage.h b/src/plugins/designer/cpp/formclasswizardpage.h
index f0fd50df07e..7a1c7f640bb 100644
--- a/src/plugins/designer/cpp/formclasswizardpage.h
+++ b/src/plugins/designer/cpp/formclasswizardpage.h
@@ -19,8 +19,6 @@ class NewClassWidget;
class FormClassWizardPage : public QWizardPage
{
- Q_DECLARE_TR_FUNCTIONS(Designer::Internal::FormClassWizardPage)
-
public:
FormClassWizardPage();
~FormClassWizardPage() override;
diff --git a/src/plugins/designer/cpp/newclasswidget.cpp b/src/plugins/designer/cpp/newclasswidget.cpp
index 5038e393be8..37bd883b372 100644
--- a/src/plugins/designer/cpp/newclasswidget.cpp
+++ b/src/plugins/designer/cpp/newclasswidget.cpp
@@ -1,6 +1,7 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
+#include "designertr.h"
#include "newclasswidget.h"
#include
@@ -66,11 +67,11 @@ NewClassWidget::NewClassWidget(QWidget *parent) :
using namespace Utils::Layouting;
Form {
- tr("&Class name:"), d->m_classLineEdit, br,
- tr("&Header file:"), d->m_headerFileLineEdit, br,
- tr("&Source file:"), d->m_sourceFileLineEdit, br,
- tr("&Form file:"), d->m_formFileLineEdit, br,
- tr("&Path:"), d->m_pathChooser, br,
+ Tr::tr("&Class name:"), d->m_classLineEdit, br,
+ Tr::tr("&Header file:"), d->m_headerFileLineEdit, br,
+ Tr::tr("&Source file:"), d->m_sourceFileLineEdit, br,
+ Tr::tr("&Form file:"), d->m_formFileLineEdit, br,
+ Tr::tr("&Path:"), d->m_pathChooser, br,
}.attachTo(this, WithoutMargins);
connect(d->m_classLineEdit, &ClassNameValidatingLineEdit::updateFileName,
@@ -211,21 +212,21 @@ bool NewClassWidget::isValid(QString *error) const
if (!d->m_headerFileLineEdit->isValid()) {
if (error)
- *error = tr("Invalid header file name: \"%1\"").
+ *error = Tr::tr("Invalid header file name: \"%1\"").
arg(d->m_headerFileLineEdit->errorMessage());
return false;
}
if (!d->m_sourceFileLineEdit->isValid()) {
if (error)
- *error = tr("Invalid source file name: \"%1\"").
+ *error = Tr::tr("Invalid source file name: \"%1\"").
arg(d->m_sourceFileLineEdit->errorMessage());
return false;
}
if (!d->m_formFileLineEdit->isValid()) {
if (error)
- *error = tr("Invalid form file name: \"%1\"").
+ *error = Tr::tr("Invalid form file name: \"%1\"").
arg(d->m_formFileLineEdit->errorMessage());
return false;
}
diff --git a/src/plugins/designer/formeditorfactory.cpp b/src/plugins/designer/formeditorfactory.cpp
index 6fdb1367718..c6d3108ba25 100644
--- a/src/plugins/designer/formeditorfactory.cpp
+++ b/src/plugins/designer/formeditorfactory.cpp
@@ -1,6 +1,7 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
+#include "designertr.h"
#include "formeditorfactory.h"
#include "formeditorw.h"
#include "formwindoweditor.h"
@@ -22,7 +23,7 @@ namespace Internal {
FormEditorFactory::FormEditorFactory()
{
setId(K_DESIGNER_XML_EDITOR_ID);
- setDisplayName(QCoreApplication::translate("Designer", C_DESIGNER_XML_DISPLAY_NAME));
+ setDisplayName(Tr::tr(C_DESIGNER_XML_DISPLAY_NAME));
addMimeType(FORM_MIMETYPE);
setEditorCreator([] { return FormEditorW::createEditor(); });
diff --git a/src/plugins/designer/formeditorplugin.cpp b/src/plugins/designer/formeditorplugin.cpp
index c5251f69809..e089ebba3d2 100644
--- a/src/plugins/designer/formeditorplugin.cpp
+++ b/src/plugins/designer/formeditorplugin.cpp
@@ -1,8 +1,9 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
-#include "formeditorplugin.h"
+#include "designertr.h"
#include "formeditorfactory.h"
+#include "formeditorplugin.h"
#include "formeditorw.h"
#include "formtemplatewizardpage.h"
@@ -43,7 +44,7 @@ namespace Internal {
class FormEditorPluginPrivate
{
public:
- QAction actionSwitchSource{FormEditorPlugin::tr("Switch Source/Form"), nullptr};
+ QAction actionSwitchSource{Tr::tr("Switch Source/Form"), nullptr};
FormEditorFactory formEditorFactory;
SettingsPageProvider settingsPageProvider;
@@ -68,10 +69,10 @@ bool FormEditorPlugin::initialize(const QStringList &arguments, QString *error)
IWizardFactory *wizard = new FormClassWizard;
wizard->setCategory(Core::Constants::WIZARD_CATEGORY_QT);
wizard->setDisplayCategory(QCoreApplication::translate("Core", Core::Constants::WIZARD_TR_CATEGORY_QT));
- wizard->setDisplayName(tr("Qt Designer Form Class"));
+ wizard->setDisplayName(Tr::tr("Qt Designer Form Class"));
wizard->setIcon({}, "ui/h");
wizard->setId("C.FormClass");
- wizard->setDescription(tr("Creates a Qt Designer form along with a matching class (C++ header and source file) "
+ wizard->setDescription(Tr::tr("Creates a Qt Designer form along with a matching class (C++ header and source file) "
"for implementation purposes. You can add the form and class to an existing Qt Widget Project."));
return {wizard};
@@ -101,14 +102,14 @@ void FormEditorPlugin::extensionsInitialized()
ActionContainer *mtools = ActionManager::actionContainer(Core::Constants::M_TOOLS);
ActionContainer *mformtools = ActionManager::createMenu(M_FORMEDITOR);
- mformtools->menu()->setTitle(tr("For&m Editor"));
+ mformtools->menu()->setTitle(Tr::tr("For&m Editor"));
mtools->addMenu(mformtools);
connect(&d->actionSwitchSource, &QAction::triggered, this, &FormEditorPlugin::switchSourceForm);
Context context(C_FORMEDITOR, Core::Constants::C_EDITORMANAGER);
Command *cmd = ActionManager::registerAction(&d->actionSwitchSource,
"FormEditor.FormSwitchSource", context);
- cmd->setDefaultKeySequence(tr("Shift+F4"));
+ cmd->setDefaultKeySequence(Tr::tr("Shift+F4"));
mformtools->addAction(cmd, Core::Constants::G_DEFAULT_THREE);
}
diff --git a/src/plugins/designer/formeditorw.cpp b/src/plugins/designer/formeditorw.cpp
index 072fcb6e7ef..550454f39cb 100644
--- a/src/plugins/designer/formeditorw.cpp
+++ b/src/plugins/designer/formeditorw.cpp
@@ -1,15 +1,16 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
+#include "designercontext.h"
+#include "designertr.h"
+#include "editordata.h"
+#include "editorwidget.h"
#include "formeditorw.h"
#include "formwindoweditor.h"
#include "formwindowfile.h"
+#include "qtcreatorintegration.h"
#include "settingsmanager.h"
#include "settingspage.h"
-#include "editorwidget.h"
-#include "editordata.h"
-#include "qtcreatorintegration.h"
-#include "designercontext.h"
#include
#include
@@ -126,9 +127,6 @@ public:
class FormEditorData
{
-public:
- Q_DECLARE_TR_FUNCTIONS(FormEditorW)
-
public:
FormEditorData();
~FormEditorData();
@@ -293,19 +291,19 @@ void FormEditorData::setupViewActions()
QTC_ASSERT(viewMenu, return);
addDockViewAction(viewMenu, WidgetBoxSubWindow, m_contexts,
- tr("Widget box"), "FormEditor.WidgetBox");
+ Tr::tr("Widget box"), "FormEditor.WidgetBox");
addDockViewAction(viewMenu, ObjectInspectorSubWindow, m_contexts,
- tr("Object Inspector"), "FormEditor.ObjectInspector");
+ Tr::tr("Object Inspector"), "FormEditor.ObjectInspector");
addDockViewAction(viewMenu, PropertyEditorSubWindow, m_contexts,
- tr("Property Editor"), "FormEditor.PropertyEditor");
+ Tr::tr("Property Editor"), "FormEditor.PropertyEditor");
addDockViewAction(viewMenu, SignalSlotEditorSubWindow, m_contexts,
- tr("Signals && Slots Editor"), "FormEditor.SignalsAndSlotsEditor");
+ Tr::tr("Signals && Slots Editor"), "FormEditor.SignalsAndSlotsEditor");
addDockViewAction(viewMenu, ActionEditorSubWindow, m_contexts,
- tr("Action Editor"), "FormEditor.ActionEditor");
+ Tr::tr("Action Editor"), "FormEditor.ActionEditor");
// Lock/Reset
Command *cmd = addToolAction(m_editorWidget->menuSeparator1(), m_contexts, "FormEditor.SeparatorLock", viewMenu);
cmd->setAttribute(Command::CA_Hide);
@@ -413,30 +411,30 @@ void FormEditorData::initDesignerSubWindows()
std::fill(m_designerSubWindows, m_designerSubWindows + DesignerSubWindowCount, static_cast(nullptr));
QDesignerWidgetBoxInterface *wb = QDesignerComponents::createWidgetBox(m_formeditor, nullptr);
- wb->setWindowTitle(tr("Widget Box"));
+ wb->setWindowTitle(Tr::tr("Widget Box"));
wb->setObjectName("WidgetBox");
m_formeditor->setWidgetBox(wb);
m_designerSubWindows[WidgetBoxSubWindow] = wb;
QDesignerObjectInspectorInterface *oi = QDesignerComponents::createObjectInspector(m_formeditor, nullptr);
- oi->setWindowTitle(tr("Object Inspector"));
+ oi->setWindowTitle(Tr::tr("Object Inspector"));
oi->setObjectName("ObjectInspector");
m_formeditor->setObjectInspector(oi);
m_designerSubWindows[ObjectInspectorSubWindow] = oi;
QDesignerPropertyEditorInterface *pe = QDesignerComponents::createPropertyEditor(m_formeditor, nullptr);
- pe->setWindowTitle(tr("Property Editor"));
+ pe->setWindowTitle(Tr::tr("Property Editor"));
pe->setObjectName("PropertyEditor");
m_formeditor->setPropertyEditor(pe);
m_designerSubWindows[PropertyEditorSubWindow] = pe;
QWidget *se = QDesignerComponents::createSignalSlotEditor(m_formeditor, nullptr);
- se->setWindowTitle(tr("Signals and Slots Editor"));
+ se->setWindowTitle(Tr::tr("Signals and Slots Editor"));
se->setObjectName("SignalsAndSlotsEditor");
m_designerSubWindows[SignalSlotEditorSubWindow] = se;
QDesignerActionEditorInterface *ae = QDesignerComponents::createActionEditor(m_formeditor, nullptr);
- ae->setWindowTitle(tr("Action Editor"));
+ ae->setWindowTitle(Tr::tr("Action Editor"));
ae->setObjectName("ActionEditor");
m_formeditor->setActionEditor(ae);
m_designerSubWindows[ActionEditorSubWindow] = ae;
@@ -513,32 +511,32 @@ void FormEditorData::setupActions()
m_toolActionIds.push_back("FormEditor.WidgetEditor");
createEditModeAction(m_actionGroupEditMode, m_contexts, medit,
- tr("Edit Widgets"), m_toolActionIds.back(),
- EditModeWidgetEditor, "widgettool.png", tr("F3"));
+ Tr::tr("Edit Widgets"), m_toolActionIds.back(),
+ EditModeWidgetEditor, "widgettool.png", Tr::tr("F3"));
m_toolActionIds.push_back("FormEditor.SignalsSlotsEditor");
createEditModeAction(m_actionGroupEditMode, m_contexts, medit,
- tr("Edit Signals/Slots"), m_toolActionIds.back(),
- EditModeSignalsSlotEditor, "signalslottool.png", tr("F4"));
+ Tr::tr("Edit Signals/Slots"), m_toolActionIds.back(),
+ EditModeSignalsSlotEditor, "signalslottool.png", Tr::tr("F4"));
m_toolActionIds.push_back("FormEditor.BuddyEditor");
createEditModeAction(m_actionGroupEditMode, m_contexts, medit,
- tr("Edit Buddies"), m_toolActionIds.back(),
+ Tr::tr("Edit Buddies"), m_toolActionIds.back(),
EditModeBuddyEditor, "buddytool.png");
m_toolActionIds.push_back("FormEditor.TabOrderEditor");
createEditModeAction(m_actionGroupEditMode, m_contexts, medit,
- tr("Edit Tab Order"), m_toolActionIds.back(),
+ Tr::tr("Edit Tab Order"), m_toolActionIds.back(),
EditModeTabOrderEditor, "tabordertool.png");
//tool actions
m_toolActionIds.push_back("FormEditor.LayoutHorizontally");
- const QString horizLayoutShortcut = useMacShortcuts ? tr("Meta+Shift+H") : tr("Ctrl+H");
+ const QString horizLayoutShortcut = useMacShortcuts ? Tr::tr("Meta+Shift+H") : Tr::tr("Ctrl+H");
addToolAction(m_fwm->actionHorizontalLayout(), m_contexts,
m_toolActionIds.back(), mformtools, horizLayoutShortcut);
m_toolActionIds.push_back("FormEditor.LayoutVertically");
- const QString vertLayoutShortcut = useMacShortcuts ? tr("Meta+L") : tr("Ctrl+L");
+ const QString vertLayoutShortcut = useMacShortcuts ? Tr::tr("Meta+L") : Tr::tr("Ctrl+L");
addToolAction(m_fwm->actionVerticalLayout(), m_contexts,
m_toolActionIds.back(), mformtools, vertLayoutShortcut);
@@ -555,7 +553,7 @@ void FormEditorData::setupActions()
m_toolActionIds.back(), mformtools);
m_toolActionIds.push_back("FormEditor.LayoutGrid");
- const QString gridShortcut = useMacShortcuts ? tr("Meta+Shift+G") : tr("Ctrl+G");
+ const QString gridShortcut = useMacShortcuts ? Tr::tr("Meta+Shift+G") : Tr::tr("Ctrl+G");
addToolAction(m_fwm->actionGridLayout(), m_contexts,
m_toolActionIds.back(), mformtools, gridShortcut);
@@ -564,7 +562,7 @@ void FormEditorData::setupActions()
m_toolActionIds.back(), mformtools);
m_toolActionIds.push_back("FormEditor.LayoutAdjustSize");
- const QString adjustShortcut = useMacShortcuts ? tr("Meta+J") : tr("Ctrl+J");
+ const QString adjustShortcut = useMacShortcuts ? Tr::tr("Meta+J") : Tr::tr("Ctrl+J");
addToolAction(m_fwm->actionAdjustSize(), m_contexts,
m_toolActionIds.back(), mformtools, adjustShortcut);
@@ -582,7 +580,7 @@ void FormEditorData::setupActions()
m_actionPreview = m_fwm->action(QDesignerFormWindowManagerInterface::DefaultPreviewAction);
QTC_ASSERT(m_actionPreview, return);
- addToolAction(m_actionPreview, m_contexts, "FormEditor.Preview", mformtools, tr("Alt+Shift+R"));
+ addToolAction(m_actionPreview, m_contexts, "FormEditor.Preview", mformtools, Tr::tr("Alt+Shift+R"));
// Preview in style...
m_actionGroupPreviewInStyle = m_fwm->actionGroup(QDesignerFormWindowManagerInterface::StyledPreviewActionGroup);
@@ -603,7 +601,7 @@ void FormEditorData::setupActions()
QString(), Core::Constants::G_DEFAULT_THREE);
mformtools->addSeparator(m_contexts, Core::Constants::G_DEFAULT_THREE);
- m_actionAboutPlugins = new QAction(tr("About Qt Designer Plugins..."), m_instance);
+ m_actionAboutPlugins = new QAction(Tr::tr("About Qt Designer Plugins..."), m_instance);
addToolAction(m_actionAboutPlugins, m_contexts, "FormEditor.AboutPlugins", mformtools,
QString(), Core::Constants::G_DEFAULT_THREE);
QObject::connect(m_actionAboutPlugins, &QAction::triggered,
@@ -638,7 +636,7 @@ ActionContainer *FormEditorData::createPreviewStyleMenu(QActionGroup *actionGrou
{
const QString menuId = M_FORMEDITOR_PREVIEW;
ActionContainer *menuPreviewStyle = ActionManager::createMenu(M_FORMEDITOR_PREVIEW);
- menuPreviewStyle->menu()->setTitle(tr("Preview in"));
+ menuPreviewStyle->menu()->setTitle(Tr::tr("Preview in"));
// The preview menu is a list of invisible actions for the embedded design
// device profiles (integer data) followed by a separator and the styles
@@ -685,7 +683,7 @@ void FormEditorData::saveSettings(QSettings *s)
void FormEditorData::critical(const QString &errorMessage)
{
- QMessageBox::critical(ICore::dialogParent(), tr("Designer"), errorMessage);
+ QMessageBox::critical(ICore::dialogParent(), Tr::tr("Designer"), errorMessage);
}
// Apply the command shortcut to the action and connects to the command's keySequenceChanged signal
@@ -755,8 +753,8 @@ IEditor *FormEditorData::createEditor()
if (formWindowEditor) {
Utils::InfoBarEntry info(Id(Constants::INFO_READ_ONLY),
- tr("This file can only be edited in Design mode."));
- info.addCustomButton(tr("Switch Mode"), []() { ModeManager::activateMode(Core::Constants::MODE_DESIGN); });
+ Tr::tr("This file can only be edited in Design mode."));
+ info.addCustomButton(Tr::tr("Switch Mode"), []() { ModeManager::activateMode(Core::Constants::MODE_DESIGN); });
formWindowEditor->document()->infoBar()->addInfo(info);
}
return formWindowEditor;
@@ -836,7 +834,7 @@ void FormEditorData::print()
QString errorMessage;
const QPixmap pixmap = m_fwm->createPreviewPixmap();
if (pixmap.isNull()) {
- critical(tr("The image could not be created: %1").arg(errorMessage));
+ critical(Tr::tr("The image could not be created: %1").arg(errorMessage));
break;
}
diff --git a/src/plugins/designer/formtemplatewizardpage.cpp b/src/plugins/designer/formtemplatewizardpage.cpp
index 4a5babe56ca..6d0ac1b6d2e 100644
--- a/src/plugins/designer/formtemplatewizardpage.cpp
+++ b/src/plugins/designer/formtemplatewizardpage.cpp
@@ -1,8 +1,9 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
-#include "formtemplatewizardpage.h"
+#include "designertr.h"
#include "formeditorw.h"
+#include "formtemplatewizardpage.h"
#include
@@ -60,7 +61,7 @@ FormTemplateWizardPage::FormTemplateWizardPage(QWidget * parent) :
m_newFormWidget(QDesignerNewFormWidgetInterface::createNewFormWidget(FormEditorW::designerEditor())),
m_templateSelected(m_newFormWidget->hasCurrentTemplate())
{
- setTitle(tr("Choose a Form Template"));
+ setTitle(Tr::tr("Choose a Form Template"));
QVBoxLayout *layout = new QVBoxLayout;
connect(m_newFormWidget, &QDesignerNewFormWidgetInterface::currentTemplateChanged,
@@ -70,7 +71,7 @@ FormTemplateWizardPage::FormTemplateWizardPage(QWidget * parent) :
layout->addWidget(m_newFormWidget);
setLayout(layout);
- setProperty(Utils::SHORT_TITLE_PROPERTY, tr("Form Template"));
+ setProperty(Utils::SHORT_TITLE_PROPERTY, Tr::tr("Form Template"));
}
bool FormTemplateWizardPage::isComplete() const
@@ -91,7 +92,7 @@ bool FormTemplateWizardPage::validatePage()
QString errorMessage;
m_templateContents = m_newFormWidget->currentTemplate(&errorMessage);
if (m_templateContents.isEmpty()) {
- QMessageBox::critical(this, tr("%1 - Error").arg(title()), errorMessage);
+ QMessageBox::critical(this, Tr::tr("%1 - Error").arg(title()), errorMessage);
return false;
}
wizard()->setProperty("FormContents", m_templateContents);
diff --git a/src/plugins/designer/qtcreatorintegration.cpp b/src/plugins/designer/qtcreatorintegration.cpp
index 3b906bbe1a0..85e57a3db9a 100644
--- a/src/plugins/designer/qtcreatorintegration.cpp
+++ b/src/plugins/designer/qtcreatorintegration.cpp
@@ -1,10 +1,11 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
-#include "qtcreatorintegration.h"
-#include "formwindoweditor.h"
-#include "formeditorw.h"
+#include "designertr.h"
#include "editordata.h"
+#include "formeditorw.h"
+#include "formwindoweditor.h"
+#include "qtcreatorintegration.h"
#include
#include
@@ -53,7 +54,7 @@ static QString msgClassNotFound(const QString &uiClassName, const QListfileName());
}
- return QtCreatorIntegration::tr(
+ return Designer::Tr::tr(
"The class containing \"%1\" could not be found in %2.\n"
"Please verify the #include-directives.")
.arg(uiClassName, files);
@@ -366,7 +367,7 @@ void QtCreatorIntegration::slotNavigateToSlot(const QString &objectName, const Q
{
QString errorMessage;
if (!navigateToSlot(objectName, signalSignature, parameterNames, &errorMessage) && !errorMessage.isEmpty())
- QMessageBox::warning(FormEditorW::designerEditor()->topLevel(), tr("Error finding/adding a slot."), errorMessage);
+ QMessageBox::warning(FormEditorW::designerEditor()->topLevel(), Tr::tr("Error finding/adding a slot."), errorMessage);
}
// Build name of the class as generated by uic, insert Ui namespace
@@ -461,7 +462,7 @@ bool QtCreatorIntegration::navigateToSlot(const QString &objectName,
if (Designer::Constants::Internal::debug)
qDebug() << Q_FUNC_INFO << objectName << signalSignature << "Looking for " << uicedName << " returned " << docList.size();
if (docMap.isEmpty()) {
- *errorMessage = tr("No documents matching \"%1\" could be found.\nRebuilding the project might help.").arg(uicedName);
+ *errorMessage = Tr::tr("No documents matching \"%1\" could be found.\nRebuilding the project might help.").arg(uicedName);
return false;
}
@@ -560,7 +561,7 @@ bool QtCreatorIntegration::navigateToSlot(const QString &objectName,
return true;
}
- *errorMessage = tr("Unable to add the method definition.");
+ *errorMessage = Tr::tr("Unable to add the method definition.");
return false;
}
diff --git a/src/plugins/designer/settingspage.cpp b/src/plugins/designer/settingspage.cpp
index afff4f3027b..c84cc4f1e54 100644
--- a/src/plugins/designer/settingspage.cpp
+++ b/src/plugins/designer/settingspage.cpp
@@ -1,8 +1,9 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
-#include "settingspage.h"
+#include "designertr.h"
#include "formeditorw.h"
+#include "settingspage.h"
#include
@@ -47,8 +48,7 @@ void SettingsPage::finish()
SettingsPageProvider::SettingsPageProvider()
{
setCategory(Designer::Constants::SETTINGS_CATEGORY);
- setDisplayCategory(QCoreApplication::translate("Designer",
- Designer::Constants::SETTINGS_TR_CATEGORY));
+ setDisplayCategory(Tr::tr(Designer::Constants::SETTINGS_TR_CATEGORY));
setCategoryIcon(Utils::Icon({{":/core/images/settingscategory_design.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}