diff --git a/share/qtcreator/translations/qtcreator_cs.ts b/share/qtcreator/translations/qtcreator_cs.ts index e8f5cd61e29..c985a984274 100644 --- a/share/qtcreator/translations/qtcreator_cs.ts +++ b/share/qtcreator/translations/qtcreator_cs.ts @@ -27819,7 +27819,7 @@ Ověřte, prosím, nastavení svého projektu. - QmlJSEditor::Internal::QmlJSTextEditor + QmlJSEditor Rename... Přejmenovat... @@ -27828,10 +27828,6 @@ Ověřte, prosím, nastavení svého projektu. New id: Nové ID: - - Unused variable - Nepoužívaná proměnná - Rename id '%1'... Přejmenovat ID '%1'... @@ -27840,9 +27836,6 @@ Ověřte, prosím, nastavení svého projektu. <Select Symbol> <Vybrat symbol> - - - QmlJSEditor::Internal::QmlJSEditorFactory Do you want to enable the experimental Qt Quick Designer? Chcete zapnout pokusný Qt Quick Designer? @@ -27879,9 +27872,6 @@ Ověřte, prosím, nastavení svého projektu. Please restart Qt Creator to make the change effective. Spusťte, prosím, Qt Creator znovu, aby se změny projevily. - - - QmlJSEditor::Internal::QmlJSEditorPlugin Creates a Qt QML file. Vytvoří soubor Qt QML. @@ -27890,10 +27880,6 @@ Ověřte, prosím, nastavení svého projektu. Qt QML File Soubor Qt QML - - Qt Quick - Qt Quick - Ctrl+Alt+R Ctrl+Alt+R @@ -27974,16 +27960,10 @@ Ověřte, prosím, nastavení svého projektu. QML Analysis Rozbor QML - - - QmlJSEditor::Internal::ModelManager Indexing Rejstříkování - - - QmlJSEditor::Internal::QmlJSPreviewRunner No file specified. Nebyl zadán žádný soubor. @@ -30621,7 +30601,7 @@ Při GDB může být zadána posloupnost příkazů oddělená oddělovačem &ap - QmlJSEditor::Internal::QuickToolBarSettingsPage + QmlJSEditor Form Formulář @@ -36978,14 +36958,11 @@ a vlastností součástek QML přímo. - QmlJSEditor::JsFileWizard + QmlJSEditor New %1 Nový %1 - - - QmlJSEditor::ComponentFromObjectDef Move Component into separate file Přesunout součástku do odděleného souboru @@ -36998,9 +36975,6 @@ a vlastností součástek QML přímo. Move Component into Separate File Přesunout součástku do odděleného souboru - - - QmlJSEditor::Internal::ComponentNameDialog Choose a path Vybrat cestu @@ -37013,10 +36987,6 @@ a vlastností součástek QML přímo. Invalid path Neplatná cesta - - Move Component into Separate File - Přesunout součástku do odděleného souboru - Path: Cesta: @@ -37033,21 +37003,10 @@ a vlastností součástek QML přímo. Choose... Vybrat... - - - QmlJSEditor::QmlJSTextEditorWidget Show Qt Quick ToolBar Ukázat nástrojový pruh Qt Quick - - Rename... - Přejmenovat... - - - New id: - Nové ID: - Unused variable Nepoužívaná proměnná @@ -37056,10 +37015,6 @@ a vlastností součástek QML přímo. Refactoring Refactoring - - Rename id '%1'... - Přejmenovat ID '%1'... - QmlJsEditor @@ -37069,7 +37024,7 @@ a vlastností součástek QML přímo. - QmlJSEditor::FindReferences + QmlJSEditor QML/JS Usages: Použití QML/JS: @@ -37078,9 +37033,6 @@ a vlastností součástek QML přímo. Searching Hledání - - - QmlJSEditor::Internal::HoverHandler Library at %1 Knihovna při %1 @@ -37093,16 +37045,10 @@ a vlastností součástek QML přímo. Read typeinfo files successfully. Soubory typeinfo úspěšně přečteny. - - - QmlJSEditor::Internal::QmlJSOutlineWidget Show All Bindings Ukázat všechny vazby - - - QmlJSEditor::Internal::QmlJSOutlineTreeView Expand All Rozbalit vše @@ -37111,9 +37057,6 @@ a vlastností součástek QML přímo. Collapse All Složit vše - - - QmlJSEditor::QuickFix Split initializer Rozdělit inicializaci @@ -37123,13 +37066,6 @@ a vlastností součástek QML přímo. Rozdělit inicializaci - - QmlJSEditor::Internal::QmlJSSnippetProvider - - QML - QML - - QmlJSInspector::Internal::ContextCrumblePath @@ -50178,7 +50114,7 @@ Chcete jej ukončit? - QmlJSEditor::AddAnalysisMessageSuppressionComment + QmlJSEditor Add a comment to suppress this message Přidat poznámku pro potlačení této zprávy @@ -50187,9 +50123,6 @@ Chcete jej ukončit? Add a Comment to Suppress This Message Přidat poznámku pro potlačení této zprávy - - - QmlJSEditor::Internal::Operation Wrap Component in Loader Zabalit součástku do nahrávače (loader) @@ -63179,15 +63112,7 @@ Tyto soubory jsou zachovány. - QmlJSEditor::Internal::QmlJSTextEditorWidget - - Show Qt Quick ToolBar - Ukázat nástrojový pruh Qt Quick - - - Refactoring - Refactoring - + QmlJSEditor QmlProfiler diff --git a/share/qtcreator/translations/qtcreator_da.ts b/share/qtcreator/translations/qtcreator_da.ts index 86cf22c9907..f1c00ef3fef 100644 --- a/share/qtcreator/translations/qtcreator_da.ts +++ b/share/qtcreator/translations/qtcreator_da.ts @@ -32435,17 +32435,6 @@ Se "Checking Code Syntax"-dokumentation for mere information.Qt Quick Qt Quick - - - QmlJSEditor::ComponentFromObjectDef - - Move Component into Separate File - - Flyt komponent ind i separat fil - - - - QmlJSEditor::FindReferences QML/JS Usages: QML/JS-anvendelser: @@ -32454,9 +32443,6 @@ Se "Checking Code Syntax"-dokumentation for mere information.Searching for Usages Søger efter anvendelser - - - QmlJSEditor::Internal::ComponentNameDialog Move Component into Separate File Flyt komponent ind i separat fil @@ -32493,9 +32479,6 @@ Se "Checking Code Syntax"-dokumentation for mere information.ui.qml file ui.qml-fil - - - QmlJSEditor::Internal::Operation Wrap Component in Loader Svøb komponent i indlæser @@ -32516,9 +32499,6 @@ Se "Checking Code Syntax"-dokumentation for mere information.// Omdøb alle ydre brugere af id'et "%1" til "%2.punkt.%1". - - - QmlJSEditor::Internal::QmlJSEditorDocumentPrivate This file should only be edited in <b>Design</b> mode. Denne fil bør kun redigeres i <b>Design</b>-tilstand. @@ -32527,9 +32507,6 @@ Se "Checking Code Syntax"-dokumentation for mere information.Switch Mode Skift tilstand - - - QmlJSEditor::Internal::QmlJSEditorPlugin QML SnippetProvider @@ -32579,9 +32556,6 @@ Se "Checking Code Syntax"-dokumentation for mere information.QML Analysis QML-analyse - - - QmlJSEditor::Internal::QmlJSEditorWidget Show Qt Quick ToolBar Vis Qt Quick-værktøjslinje @@ -32602,9 +32576,6 @@ Se "Checking Code Syntax"-dokumentation for mere information.Refactoring Genfaktoring - - - QmlJSEditor::Internal::QmlJSOutlineTreeView Expand All Udfold alle @@ -32613,16 +32584,10 @@ Se "Checking Code Syntax"-dokumentation for mere information.Collapse All Sammenfold alle - - - QmlJSEditor::Internal::QmlJSOutlineWidget Show All Bindings Vis alle bindinger - - - QmlJSEditor::Internal::QmlJSPreviewRunner No file specified. Ingen fil angivet. @@ -32637,9 +32602,6 @@ Se "Checking Code Syntax"-dokumentation for mere information.Kunne ikke forhåndsvise Qt Quick-fil (QML). Årsag: %1 - - - QmlJSEditor::Internal::QmlJsEditingSettingsPage Qt Quick Toolbars Qt Quick-værktøjslinjer @@ -32672,9 +32634,6 @@ Se "Checking Code Syntax"-dokumentation for mere information.QML/JS Editing QML/JS-redigering - - - QmlJSEditor::QuickFix Split Initializer Opdel initialiserer @@ -44140,7 +44099,7 @@ Vil du overskrive dem? - QmlJS Code Model Marks + QmlJSEditor Code Model Warning Kodemodel advarsel diff --git a/share/qtcreator/translations/qtcreator_de.ts b/share/qtcreator/translations/qtcreator_de.ts index e32fdf5cc4f..f27e640b06b 100644 --- a/share/qtcreator/translations/qtcreator_de.ts +++ b/share/qtcreator/translations/qtcreator_de.ts @@ -9835,7 +9835,7 @@ Dies ist unabhängig vom Wert der Eigenschaft "visible" in QML. - QmlJSEditor::Internal::QmlJSEditorPlugin + QmlJSEditor Show Qt Quick Toolbar Qt Quick-Werkzeugleiste anzeigen @@ -11849,21 +11849,15 @@ wenn es außerhalb von git bash aufgerufen wird. - QmlJSEditor::ComponentFromObjectDef + QmlJSEditor Move Component into Separate File Verschiebe Komponente in separate Datei - - - QmlJSEditor::Internal::QmlJSOutlineWidget Show All Bindings Alle Bindings anzeigen - - - QmlJSEditor::QuickFix Split Initializer Initalisierung aufspalten @@ -12011,7 +12005,7 @@ Sie werden möglicherweise gebeten, den Inhalt dieses Logs mitzuteilen, wenn Sie - QmlJSEditor::Internal::ComponentNameDialog + QmlJSEditor Property assignments for %1: Eigenschaftszuweisungen für %1: @@ -12032,10 +12026,6 @@ Sie werden möglicherweise gebeten, den Inhalt dieses Logs mitzuteilen, wenn Sie Path: Pfad: - - Move Component into Separate File - Verschiebe Komponente in separate Datei - Property assignments for Eigenschaftszuweisungen für @@ -12099,7 +12089,7 @@ Sie werden möglicherweise gebeten, den Inhalt dieses Logs mitzuteilen, wenn Sie - QmlJSEditor::FindReferences + QmlJSEditor QML/JS Usages: QML/JS Referenzen: @@ -13021,7 +13011,7 @@ Soll es noch einmal versucht werden? - QmlJSEditor::Internal::QmlJSOutlineTreeView + QmlJSEditor Expand All Alles aufklappen @@ -18409,7 +18399,7 @@ should a repository require SSH-authentication (see documentation on SSH and the - QmlJSEditor::Internal::Operation + QmlJSEditor Wrap Component in Loader Komponente in Loader einbetten @@ -37060,7 +37050,7 @@ Fehler: %5 - QmlJSEditor::Internal::QmlJsEditingSettingsPage + QmlJSEditor Qt Quick Toolbars Qt Quick-Werkzeugleisten @@ -40810,7 +40800,7 @@ Breche ausstehende Operationen ab... - QmlJS Code Model Marks + QmlJSEditor Code Model Warning Codemodell-Warnung @@ -47948,14 +47938,11 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e - QmlDesigner::Internal::QmlJsEditingSettingsPage + QmlJSEditor QML/JS Editing QML/JS-Bearbeitung - - - QmlJSEditor::QmlJSEditorWidget Show Qt Quick ToolBar Qt-Quick-Werkzeugleiste anzeigen @@ -47976,9 +47963,6 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e Refactoring Refactoring - - - QmlJSEditor::QmlJSEditorDocument This file should only be edited in <b>Design</b> mode. Diese Datei sollte nur im <b>Design</b>-Modus bearbeitet werden. diff --git a/share/qtcreator/translations/qtcreator_fr.ts b/share/qtcreator/translations/qtcreator_fr.ts index 886150ede1a..afa30885ad2 100644 --- a/share/qtcreator/translations/qtcreator_fr.ts +++ b/share/qtcreator/translations/qtcreator_fr.ts @@ -28048,11 +28048,7 @@ Merci de vérifier vos paramètres de projet. - QmlJSEditor::Internal::QmlJSTextEditor - - Show Qt Quick ToolBar - Montrer la barre d'outils Qt Quick - + QmlJSEditor Rename... Renommer... @@ -28061,14 +28057,6 @@ Merci de vérifier vos paramètres de projet. New id: Nouvel identifiant : - - Unused variable - Variable inutilisée - - - Refactoring - Refactoriser - Rename id '%1'... Renommer l'identifiant "%1"... @@ -28077,9 +28065,6 @@ Merci de vérifier vos paramètres de projet. <Select Symbol> <Selectionner un symbole> - - - QmlJSEditor::Internal::QmlJSEditorFactory Do you want to enable the experimental Qt Quick Designer? Voulez-vous activer le designer expérimental pour Qt Quick ? @@ -28116,9 +28101,6 @@ Merci de vérifier vos paramètres de projet. Please restart Qt Creator to make the change effective. Veuillez redémarrer Qt Creator pour rendre les changements actifs. - - - QmlJSEditor::Internal::QmlJSEditorPlugin Creates a Qt QML file. Créer un fichier QML. @@ -28127,10 +28109,6 @@ Merci de vérifier vos paramètres de projet. Qt QML File Fichier QML - - Qt Quick - Qt Quick - Ctrl+Alt+R Ctrl+Alt+R @@ -28211,9 +28189,6 @@ Merci de vérifier vos paramètres de projet. Show Qt Quick Toolbar Montrer la barre d'outils Qt Quick - - - QmlJSEditor::Internal::HoverHandler Unfiltered Sans filtre @@ -28230,9 +28205,6 @@ Merci de vérifier vos paramètres de projet. Read typeinfo files successfully. Lecture du fichier typeinfo avec succès. - - - QmlJSEditor::Internal::ModelManager Indexing Indexation @@ -28248,9 +28220,6 @@ Erreurs : %1 - - - QmlJSEditor::Internal::QmlJSPreviewRunner No file specified. Aucun fichier spécifié. @@ -29467,7 +29436,7 @@ Preselects Qt for Simulator and mobile targets if available - QmlJSEditor::Internal::QuickToolBarSettingsPage + QmlJSEditor Form Formulaire @@ -31272,7 +31241,7 @@ utilisez import Qt 4.7 au lieu de import QtQuick 1.0 - QmlJSEditor::ComponentFromObjectDef + QmlJSEditor Move Component into separate file déplacer ou déplace ? John : Difficle sans context, allons pour déplace. dourouc : en voyant l'autre, le contexte doit être fort semblable, donc indicatif. @@ -31286,9 +31255,6 @@ utilisez import Qt 4.7 au lieu de import QtQuick 1.0 Move Component into Separate File Déplace le composant dans un fichier séparé - - - QmlJSEditor::Internal::ComponentNameDialog Choose a path Choisir un chemin @@ -31317,10 +31283,6 @@ utilisez import Qt 4.7 au lieu de import QtQuick 1.0 Choose... Choisir... - - Move Component into Separate File - Déplace le composant dans un fichier séparé - QmlJsEditor @@ -31330,7 +31292,7 @@ utilisez import Qt 4.7 au lieu de import QtQuick 1.0 - QmlJSEditor::FindReferences + QmlJSEditor QML/JS Usages: Utilisations QML/JS : @@ -31339,17 +31301,11 @@ utilisez import Qt 4.7 au lieu de import QtQuick 1.0 Searching Recherche - - - QmlJSEditor::Internal::QmlJSOutlineWidget Show All Bindings myzu : faut-il traduire binding ? John : Non Montrer tous les bindings - - - QmlJSEditor::QuickFix Split initializer Fractionner l'initialisation @@ -36811,26 +36767,15 @@ QML component instance objects and properties directly. - QmlJSEditor::JsFileWizard + QmlJSEditor New %1 Nouveau %1 - - - QmlJSEditor::QmlJSTextEditorWidget Show Qt Quick ToolBar Montrer la barre d'outils Qt Quick - - Rename... - Renommer... - - - New id: - Nouvel identifiant : - Unused variable Variable inutilisée @@ -36839,13 +36784,6 @@ QML component instance objects and properties directly. Refactoring Refactoriser - - Rename id '%1'... - Renommer l'identifiant "%1"... - - - - QmlJSEditor::Internal::QmlJSOutlineTreeView Expand All Développer tout @@ -36855,13 +36793,6 @@ QML component instance objects and properties directly. Réduire tout - - QmlJSEditor::Internal::QmlJSSnippetProvider - - QML - QML - - QmlJSInspector::Internal::QmlInspectorToolBar @@ -40653,10 +40584,6 @@ These files are preserved. Code Style Style de code - - Qt Quick - Qt Quick - QmlJSTools::Internal::QmlJSToolsPlugin @@ -47203,7 +47130,7 @@ Voulez-vous la tuer ? - QmlJSEditor::AddAnalysisMessageSuppressionComment + QmlJSEditor Add a comment to suppress this message Ajouter un commentaire pour supprimer ce message @@ -47212,9 +47139,6 @@ Voulez-vous la tuer ? Add a Comment to Suppress This Message Ajouter un commentaire pour supprimer ce message - - - QmlJSEditor::Internal::Operation Wrap Component in Loader wrap en "enveloppez" = bof ; Component et Loader en majuscule = correspond à des noms de modules ? (et ne pas traduire alors ?) diff --git a/share/qtcreator/translations/qtcreator_hr.ts b/share/qtcreator/translations/qtcreator_hr.ts index 0887a23b1a9..c1fb51edd7f 100644 --- a/share/qtcreator/translations/qtcreator_hr.ts +++ b/share/qtcreator/translations/qtcreator_hr.ts @@ -7599,7 +7599,7 @@ Greška: %5 - QmlJSEditor::Internal::ComponentNameDialog + QmlJSEditor Move Component into Separate File Premjesti komponentu u odvojenu datoteku @@ -7636,9 +7636,6 @@ Greška: %5 Invalid path Neispravna staza - - - QmlJSEditor::Internal::QmlJsEditingSettingsPage Qt Quick Toolbars Qt Quick altne trake @@ -35453,14 +35450,7 @@ ID oznake moraju započeti malim slovom. - QmlJSEditor::ComponentFromObjectDef - - Move Component into Separate File - - - - - QmlJSEditor::Internal::QmlJSEditorWidget + QmlJSEditor Show Qt Quick ToolBar @@ -35481,9 +35471,6 @@ ID oznake moraju započeti malim slovom. Refactoring - - - QmlJSEditor::Internal::QmlJSEditorDocumentPrivate This file should only be edited in <b>Design</b> mode. @@ -35492,9 +35479,6 @@ ID oznake moraju započeti malim slovom. Switch Mode - - - QmlJSEditor::Internal::QmlJSEditorPlugin QML SnippetProvider @@ -35536,9 +35520,6 @@ ID oznake moraju započeti malim slovom. QML Analysis - - - QmlJSEditor::FindReferences QML/JS Usages: @@ -35564,14 +35545,11 @@ ID oznake moraju započeti malim slovom. - QmlJSEditor::Internal::QmlJSOutlineWidget + QmlJSEditor Show All Bindings - - - QmlJSEditor::Internal::QmlJSOutlineTreeView Expand All @@ -35580,9 +35558,6 @@ ID oznake moraju započeti malim slovom. Collapse All - - - QmlJSEditor::QuickFix Split Initializer @@ -35596,7 +35571,7 @@ ID oznake moraju započeti malim slovom. - QmlJS Code Model Marks + QmlJSEditor Code Model Warning @@ -35605,9 +35580,6 @@ ID oznake moraju započeti malim slovom. Code Model Error - - - QmlJSEditor::Internal::Operation Wrap Component in Loader @@ -35626,9 +35598,6 @@ ID oznake moraju započeti malim slovom. - - - QmlJSEditor Qt Quick diff --git a/share/qtcreator/translations/qtcreator_ja.ts b/share/qtcreator/translations/qtcreator_ja.ts index c1da81fcd02..57b25b79e05 100644 --- a/share/qtcreator/translations/qtcreator_ja.ts +++ b/share/qtcreator/translations/qtcreator_ja.ts @@ -5879,7 +5879,7 @@ Add, modify, and remove document filters, which determine the documentation set - QmlJSEditor::Internal::ComponentNameDialog + QmlJSEditor Move Component into Separate File コンポーネントを別のファイルに移動する @@ -5924,9 +5924,6 @@ Add, modify, and remove document filters, which determine the documentation set ui.qml file ui.qml ファイル - - - QmlJSEditor::Internal::QuickToolBarSettingsPage Form フォーム @@ -29725,22 +29722,12 @@ Ids must begin with a lowercase letter. 他を閉じる - - QmlJSEditor::ComponentFromObjectDef - - Move Component into Separate File - コンポーネントを分割ファイルに移動する - - QmlJSEditor Qt Quick Qt Quick - - - QmlJSEditor::Internal::QmlJSEditorPlugin Find Usages 出現箇所の検索 @@ -29790,9 +29777,6 @@ Ids must begin with a lowercase letter. QML Analysis QML 解析 - - - QmlJSEditor::FindReferences QML/JS Usages: QML/JS 出現箇所: @@ -29801,16 +29785,10 @@ Ids must begin with a lowercase letter. Searching for Usages 使用方法の検索中 - - - QmlJSEditor::Internal::QmlJSOutlineWidget Show All Bindings すべてのバインドを表示 - - - QmlJSEditor::Internal::QmlJSOutlineTreeView Expand All すべて展開 @@ -29819,9 +29797,6 @@ Ids must begin with a lowercase letter. Collapse All すべて折りたたむ - - - QmlJSEditor::Internal::QmlJSPreviewRunner No file specified. ファイルが指定されていません。 @@ -29836,30 +29811,14 @@ Ids must begin with a lowercase letter. 以下の理由で Qt Quick (QML) ファイルをプレビューできませんでした。 %1 - - - QmlJSEditor::QuickFix Split Initializer 初期化子を分割 - - - QmlJSEditor::AddAnalysisMessageSuppressionComment Add a Comment to Suppress This Message このメッセージを抑止する為のコメントを追加します - - - QmlJSEditor::Internal::QmlJSSnippetProvider - - QML - QML - - - - QmlJSEditor::Internal::Operation Wrap Component in Loader Loader で Component をラップする @@ -44408,7 +44367,7 @@ Android パッケージソースディレクトリのファイルはビルドデ - QmlJSEditor::Internal::QmlJSEditorWidget + QmlJSEditor Show Qt Quick ToolBar Qt Quick ツールバーを表示します @@ -44430,9 +44389,6 @@ Android パッケージソースディレクトリのファイルはビルドデ Refactoring リファクタリング - - - QmlJSEditor::Internal::QmlJSEditorDocumentPrivate This file should only be edited in <b>Design</b> mode. このファイルは<b>デザイン</b>モードでのみ編集することを推奨します。 @@ -44441,9 +44397,6 @@ Android パッケージソースディレクトリのファイルはビルドデ Switch Mode モード切替 - - - QmlJSEditor::Internal::QmlJSHoverHandler Library at %1 %1 のライブラリ @@ -47335,23 +47288,7 @@ Output: - QmlJSEditor::Internal::QmlJsEditingSettingsPage - - Qt Quick Toolbars - Qt Quick ツールバー - - - If enabled, the toolbar will remain pinned to an absolute position. - 有効になっている場合、ツールバーは絶対位置に固定されたままになります。 - - - Pin Qt Quick Toolbar - Qt Quick ツールバーを固定する - - - Always show Qt Quick Toolbar - 常に Qt Quick ツールバーを表示する - + QmlJSEditor Automatic Formatting on File Save ファイル保存時に自動的に整形する @@ -54484,40 +54421,6 @@ Stepping into the module or setting breakpoints by file and line is expected to 既定 - - QmlJSEditor::QmlJSEditorWidget - - Show Qt Quick ToolBar - Qt Quick ツールバーを表示します - - - Code Model Not Available - コードモデル利用不能 - - - Code model not available. - コードモデルが見つかりません。 - - - Code Model of %1 - %1 のコードモデル - - - Refactoring - リファクタリング - - - - QmlJSEditor::QmlJSEditorDocument - - This file should only be edited in <b>Design</b> mode. - このファイルは<b>デザイン</b>モードでのみ編集することを推奨します。 - - - Switch Mode - モード切替 - - QmlJSHoverHandler @@ -54541,7 +54444,7 @@ Stepping into the module or setting breakpoints by file and line is expected to - QmlJS Code Model Marks + QmlJSEditor Code Model Warning コードモデルの警告 diff --git a/share/qtcreator/translations/qtcreator_pl.ts b/share/qtcreator/translations/qtcreator_pl.ts index 3b61b96fb54..ee1f24195c3 100644 --- a/share/qtcreator/translations/qtcreator_pl.ts +++ b/share/qtcreator/translations/qtcreator_pl.ts @@ -12043,7 +12043,7 @@ Dla projektów CMake, upewnij się, że zmienna QML_IMPORT_PATH jest obecna w CM - QmlJSEditor::Internal::QmlJSEditorPlugin + QmlJSEditor Rename Symbol Under Cursor Zmień nazwę symbolu pod kursorem @@ -12523,7 +12523,7 @@ które można ustawić poniżej. - QmlJSEditor::Internal::QmlJSPreviewRunner + QmlJSEditor No file specified. Nie podano pliku. @@ -13759,14 +13759,11 @@ zamiast w jego katalogu instalacyjnym. - QmlJSEditor::ComponentFromObjectDef + QmlJSEditor Move Component into Separate File Przenieś komponent do oddzielnego pliku - - - QmlJSEditor::Internal::ComponentNameDialog Property assignments for %1: Przypisanie właściwości dla %1: @@ -13779,10 +13776,6 @@ zamiast w jego katalogu instalacyjnym. Invalid path Niepoprawna ścieżka - - Move Component into Separate File - Przenieś komponent do oddzielnego pliku - Path: Ścieżka: @@ -13803,9 +13796,6 @@ zamiast w jego katalogu instalacyjnym. ui.qml file plik ui.qml - - - QmlJSEditor::FindReferences QML/JS Usages: Użycia QML/JS: @@ -13814,9 +13804,6 @@ zamiast w jego katalogu instalacyjnym. Searching for Usages Wyszukiwanie użyć - - - QmlJSEditor::QuickFix Split Initializer Podziel inicjalizator @@ -14124,7 +14111,7 @@ Adds the library and include paths to the .pro file. - QmlJSEditor::Internal::QmlJSOutlineWidget + QmlJSEditor Show All Bindings Pokaż wszystkie powiązania @@ -16183,7 +16170,7 @@ Ponowić próbę? - QmlJSEditor::Internal::QmlJSOutlineTreeView + QmlJSEditor Expand All Rozwiń wszystko @@ -22612,14 +22599,11 @@ were not verified among remotes in %3. Select different folder? - QmlJSEditor::AddAnalysisMessageSuppressionComment + QmlJSEditor Add a Comment to Suppress This Message Dodaj komentarz aby zlikwidować ten komunikat - - - QmlJSEditor::Internal::Operation Wrap Component in Loader @@ -33706,7 +33690,7 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan - QmlJSEditor::Internal::QmlJSEditorWidget + QmlJSEditor Show Qt Quick ToolBar Pokaż pasek narzędzi Qt Quick @@ -37096,7 +37080,7 @@ Te pliki są zabezpieczone. - QmlJSEditor::Internal::QmlJSEditorDocumentPrivate + QmlJSEditor This file should only be edited in <b>Design</b> mode. Ten plik powinien być modyfikowany jedynie w trybie <b>Design</b>. @@ -41697,7 +41681,7 @@ Błąd: %2 - QmlJSEditor::Internal::QmlJsEditingSettingsPage + QmlJSEditor Form Formularz diff --git a/share/qtcreator/translations/qtcreator_ru.ts b/share/qtcreator/translations/qtcreator_ru.ts index 9eea9537a37..8fae1f61861 100644 --- a/share/qtcreator/translations/qtcreator_ru.ts +++ b/share/qtcreator/translations/qtcreator_ru.ts @@ -39357,7 +39357,7 @@ Neither the path to the library nor the path to its includes is added to the .pr - QmlDesigner::Internal::QmlJsEditingSettingsPage + QmlJSEditor QML/JS Editing Редактирование QML/JS @@ -41189,7 +41189,7 @@ This is independent of the visibility property in QML. - QmlJS Code Model Marks + QmlJSEditor Code Model Warning Предупреждение модели кода @@ -41869,16 +41869,10 @@ For more information, see the "Checking Code Syntax" documentation.Qt Quick Qt Quick - - - QmlJSEditor::ComponentFromObjectDef Move Component into Separate File Переместить компоненту в отдельный файл - - - QmlJSEditor::FindReferences QML/JS Usages: Использование QML/JS: @@ -41887,9 +41881,6 @@ For more information, see the "Checking Code Syntax" documentation.Searching for Usages Поиск использований - - - QmlJSEditor::Internal::ComponentNameDialog Property assignments for %1: Назначение свойств для %1: @@ -41910,10 +41901,6 @@ For more information, see the "Checking Code Syntax" documentation.Path: Путь: - - Move Component into Separate File - Перемещение компоненты в отдельный файл - Property assignments for Назначение свойств @@ -41926,9 +41913,6 @@ For more information, see the "Checking Code Syntax" documentation.ui.qml file Файл ui.qml - - - QmlJSEditor::Internal::Operation Wrap Component in Loader Выделить часть компонента в загрузчик @@ -41950,9 +41934,6 @@ For more information, see the "Checking Code Syntax" documentation.// Переименовать все внешние использования id «%1» в «%2.item.%1». - - - QmlJSEditor::Internal::QmlJSEditorPlugin QML SnippetProvider @@ -41986,9 +41967,6 @@ For more information, see the "Checking Code Syntax" documentation.QML Analysis Анализ QML - - - QmlJSEditor::Internal::QmlJSOutlineTreeView Expand All Развернуть всё @@ -41997,16 +41975,10 @@ For more information, see the "Checking Code Syntax" documentation.Collapse All Свернуть всё - - - QmlJSEditor::Internal::QmlJSOutlineWidget Show All Bindings Показать все привязки - - - QmlJSEditor::Internal::QmlJsEditingSettingsPage Qt Quick Toolbars Панели Qt Quick @@ -42043,9 +42015,6 @@ For more information, see the "Checking Code Syntax" documentation.Auto-fold auxiliary data Сворачивать вспомогательные данные - - - QmlJSEditor::QmlJSEditorDocument This file should only be edited in <b>Design</b> mode. Этот файл можно редактировать только в режиме <b>дизайна</b>. @@ -42054,9 +42023,6 @@ For more information, see the "Checking Code Syntax" documentation.Switch Mode Переключить режим - - - QmlJSEditor::QmlJSEditorWidget Show Qt Quick ToolBar Показать панель Qt Quick @@ -42077,9 +42043,6 @@ For more information, see the "Checking Code Syntax" documentation.Refactoring Рефакторинг - - - QmlJSEditor::QuickFix Split Initializer Разделить инициализатор diff --git a/share/qtcreator/translations/qtcreator_sl.ts b/share/qtcreator/translations/qtcreator_sl.ts index b1e99f0a315..92785b62123 100644 --- a/share/qtcreator/translations/qtcreator_sl.ts +++ b/share/qtcreator/translations/qtcreator_sl.ts @@ -17595,7 +17595,7 @@ ID-ji se morajo začeti z malo črko. - QmlJSEditor::Internal::QmlJSEditorFactory + QmlJSEditor Do you want to enable the experimental Qt Quick Designer? Ali želite omogočiti preizkusni Qt Quick Designer? @@ -17632,9 +17632,6 @@ ID-ji se morajo začeti z malo črko. Please restart Qt Creator to make the change effective. Da bi spremembe stopile v veljavo je potrebno znova zagnati Qt Creator. - - - QmlJSEditor::Internal::QmlJSEditorPlugin Creates a QML file. Ustvari datoteko QML. @@ -18407,7 +18404,7 @@ Projekte programov QML izvede pregledovalnik QML in jih ni potrebno zgraditi. - QmlJSEditor::Internal::QmlJSPreviewRunner + QmlJSEditor Failed to preview Qt Quick file Prikaz datoteke Qt Quick ni uspel @@ -19994,7 +19991,7 @@ GDB omogoča navedbo zaporedja ukazov, ki so ločeni z »\n«. - QmlJSEditor::Internal::QuickToolBarSettingsPage + QmlJSEditor Form Obrazec @@ -25693,14 +25690,11 @@ neposredno dostopati do objektov izvodov komponent QML in lastnosti. - QmlJSEditor::JsFileWizard + QmlJSEditor New %1 Nov %1 - - - QmlJSEditor::ComponentFromObjectDef Move Component into separate file Komponento premakni v ločeno datoteko @@ -25709,9 +25703,6 @@ neposredno dostopati do objektov izvodov komponent QML in lastnosti.Move Component into '%1.qml' Komponento premakni v »%1.qml« - - - QmlJSEditor::Internal::ComponentNameDialog Choose a path Izberite pot @@ -25724,9 +25715,6 @@ neposredno dostopati do objektov izvodov komponent QML in lastnosti.Invalid path Neveljavna pot - - - QmlJSEditor::QmlJSTextEditorWidget Show Qt Quick ToolBar Prikaži orodjarno Qt Quick @@ -25760,14 +25748,11 @@ neposredno dostopati do objektov izvodov komponent QML in lastnosti. - QmlJSEditor::FindReferences + QmlJSEditor Searching Iskanje - - - QmlJSEditor::Internal::HoverHandler Library at %1 Knjižnica v %1 @@ -25780,16 +25765,10 @@ neposredno dostopati do objektov izvodov komponent QML in lastnosti.Read typeinfo files successfully. Datoteke s podatki o tipih so bile uspešno prebrane. - - - QmlJSEditor::Internal::QmlJSOutlineWidget Show All Bindings Prikaži vse vezave - - - QmlJSEditor::Internal::QmlJSOutlineTreeView Expand All Razširi vse @@ -25798,21 +25777,11 @@ neposredno dostopati do objektov izvodov komponent QML in lastnosti.Collapse All Skrči vse - - - QmlJSEditor::QuickFix Split initializer Razdeli inicializator - - QmlJSEditor::Internal::QmlJSSnippetProvider - - QML - QML - - QmlJSInspector::Internal::ContextCrumblePath @@ -33486,30 +33455,11 @@ Preverite nastavitve projekta. - QmlJSEditor::Internal::QmlJSTextEditor - - Rename... - Preimenuj … - - - New id: - Novi ID: - - - Unused variable - Neuporabljena spremenljivka - - - Rename id '%1'... - Preimenuj ID »%1« … - + QmlJSEditor <Select Symbol> <izberite simbol> - - - QmlJSEditor::Internal::ModelManager Indexing Indeksiranje diff --git a/share/qtcreator/translations/qtcreator_uk.ts b/share/qtcreator/translations/qtcreator_uk.ts index afc0b822d2e..4b0df9a4258 100644 --- a/share/qtcreator/translations/qtcreator_uk.ts +++ b/share/qtcreator/translations/qtcreator_uk.ts @@ -7990,10 +7990,6 @@ Rebuilding the project might help. %1 - Error %1 - Помилка - - Switch mode - Перемкнути режим - Switch Source/Form Перемкнути код/форма @@ -17961,9 +17957,6 @@ For qmlproject projects, use the importPaths property to add import paths.Qt Quick Qt Quick - - - QmlJSEditor::FindReferences QML/JS Usages: Вживання QML/JS: @@ -17976,9 +17969,6 @@ For qmlproject projects, use the importPaths property to add import paths.Searching Пошук - - - QmlJSEditor::Internal::ComponentNameDialog Choose a path Виберіть шлях @@ -18003,16 +17993,6 @@ For qmlproject projects, use the importPaths property to add import paths.Move Component into Separate File Перенести компонент в окремий файл - - - QmlJSEditor::Internal::HoverHandler - - Library at %1 - Бібліотека в %1 - - - - QmlJSEditor::Internal::QmlJSEditorPlugin JS File Файл JS @@ -18069,9 +18049,6 @@ For qmlproject projects, use the importPaths property to add import paths.QML Analysis Аналіз QML - - - QmlJSEditor::Internal::QmlJSOutlineTreeView Expand All Розгорнути все @@ -18080,16 +18057,10 @@ For qmlproject projects, use the importPaths property to add import paths.Collapse All Згорнути все - - - QmlJSEditor::Internal::QmlJSOutlineWidget Show All Bindings Показати усі прив'язки - - - QmlJSEditor::Internal::QmlJSPreviewRunner No file specified. Файл не вказано. @@ -18104,16 +18075,6 @@ For qmlproject projects, use the importPaths property to add import paths.Не вдалось здійснити попередній перегляд файлу Qt Quick (QML). Причина: %1 - - - QmlJSEditor::Internal::QmlJSSnippetProvider - - QML - QML - - - - QmlJSEditor::Internal::QuickToolBarSettingsPage Form Форма @@ -18138,20 +18099,10 @@ For qmlproject projects, use the importPaths property to add import paths.Pin Qt Quick Toolbar - - - QmlJSEditor::JsFileWizard New %1 Новий %1 - - - QmlJSEditor::QmlJSTextEditorWidget - - Show Qt Quick ToolBar - Показати панель інструментів Qt Quick - Unused variable Невикористана змінна @@ -27814,7 +27765,7 @@ Do you want to kill it? - QmlJSEditor::Internal::Operation + QmlJSEditor Wrap Component in Loader @@ -32961,21 +32912,11 @@ Remote stderr was: %1 - QmlJSEditor::ComponentFromObjectDef - - Move Component into Separate File - Перенести компонент в окремий файл - - - - QmlJSEditor::QuickFix + QmlJSEditor Split Initializer - - - QmlJSEditor::AddAnalysisMessageSuppressionComment Add a Comment to Suppress This Message Додайте коментар, щоб відключити це повідомлення @@ -42075,17 +42016,6 @@ These files are preserved. Помилка - - QmlJSEditor::Internal::QmlJSTextEditorWidget - - Show Qt Quick ToolBar - Показати панель інструментів Qt Quick - - - Refactoring - Рефакторинг - - QmlProfiler @@ -47393,7 +47323,7 @@ The files in the Android package source directory are copied to the build direct - QmlJSEditor::Internal::QmlJSEditorWidget + QmlJSEditor Show Qt Quick ToolBar Показати панель інструментів Qt Quick @@ -47414,17 +47344,6 @@ The files in the Android package source directory are copied to the build direct Refactoring Рефакторинг - - This file should only be edited in <b>Design</b> mode. - Це файл можна редагувати лише в режимі <b>дизайну</b>. - - - Switch Mode - Перемкнути режим - - - - QmlJSEditor::Internal::QmlJSHoverHandler Library at %1 Бібліотека в %1 @@ -51341,7 +51260,7 @@ the program. - QmlJSEditor::Internal::QmlJSEditorDocumentPrivate + QmlJSEditor This file should 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 8c89a1a5d6d..174375fa5ce 100644 --- a/share/qtcreator/translations/qtcreator_zh_CN.ts +++ b/share/qtcreator/translations/qtcreator_zh_CN.ts @@ -24590,11 +24590,7 @@ Ids must begin with a lowercase letter. - QmlJSEditor::Internal::QmlJSTextEditor - - Show Qt Quick ToolBar - 显示Qt Quick工具栏 - + QmlJSEditor Rename... 重命名... @@ -24603,14 +24599,6 @@ Ids must begin with a lowercase letter. New id: 新ID: - - Unused variable - 未使用的变量 - - - Refactoring - 重构 - Rename id '%1'... 重命名ID '%1' ... @@ -24619,9 +24607,6 @@ Ids must begin with a lowercase letter. <Select Symbol> <选择符号> - - - QmlJSEditor::Internal::QmlJSEditorFactory Enable Qt Quick Designer 启用Qt Quick 设计器 @@ -24650,9 +24635,6 @@ Ids must begin with a lowercase letter. Please restart Qt Creator to make the change effective. 请重新启动Qt Creator使配置生效. - - - QmlJSEditor::Internal::QmlJSEditorPlugin Creates a Qt QML file. 创建一个Qt QML 文件. @@ -24721,9 +24703,6 @@ Ids must begin with a lowercase letter. Show Qt Quick Toolbar 显示Qt Quick工具栏 - - - QmlJSEditor::Internal::HoverHandler Unfiltered 未过滤 @@ -24741,9 +24720,6 @@ Ids must begin with a lowercase letter. Read typeinfo files successfully. 读取typeinfo文件成功。 - - - QmlJSEditor::Internal::ModelManager Indexing 索引中 @@ -26444,7 +26420,7 @@ with a password, which you can enter below. - QmlJSEditor::Internal::QmlJSPreviewRunner + QmlJSEditor Failed to preview Qt Quick file 预览Qt Quick文件失败 @@ -27911,7 +27887,7 @@ Id必须以小写字母开头。 - QmlJSEditor::Internal::QuickToolBarSettingsPage + QmlJSEditor Form 界面 @@ -29709,7 +29685,7 @@ import QtQuick 1.0 use import Qt 4.7 instead - QmlJSEditor::ComponentFromObjectDef + QmlJSEditor Move Component into separate file 将组件移到独立文件中 @@ -29722,9 +29698,6 @@ import QtQuick 1.0 use import Qt 4.7 instead Move Component into Separate File 将组件移到独立文件中 - - - QmlJSEditor::Internal::ComponentNameDialog Choose a path 选择路径 @@ -29737,10 +29710,6 @@ import QtQuick 1.0 use import Qt 4.7 instead Invalid path 非法路径 - - Move Component into Separate File - 将组件移到独立文件中 - Path: 路径: @@ -29758,7 +29727,7 @@ import QtQuick 1.0 use import Qt 4.7 instead - QmlJSEditor::FindReferences + QmlJSEditor QML/JS Usages: QML/JS 使用: @@ -29767,16 +29736,10 @@ import QtQuick 1.0 use import Qt 4.7 instead Searching 搜索中 - - - QmlJSEditor::Internal::QmlJSOutlineWidget Show All Bindings 显示所有绑定 - - - QmlJSEditor::QuickFix Split initializer 分离初始化 @@ -34471,26 +34434,15 @@ QML component instance objects and properties directly. - QmlJSEditor::JsFileWizard + QmlJSEditor New %1 新建 %1 - - - QmlJSEditor::QmlJSTextEditorWidget Show Qt Quick ToolBar 显示Qt Quick工具栏 - - Rename... - 重命名... - - - New id: - 新ID: - Unused variable 未使用的变量 @@ -34499,13 +34451,6 @@ QML component instance objects and properties directly. Refactoring 重构 - - Rename id '%1'... - 重命名ID '%1' ... - - - - QmlJSEditor::Internal::QmlJSOutlineTreeView Expand All 展开全部 @@ -34515,13 +34460,6 @@ QML component instance objects and properties directly. 折叠全部 - - QmlJSEditor::Internal::QmlJSSnippetProvider - - QML - QML - - QmlJSInspector::Internal::QmlInspectorToolBar @@ -48228,14 +48166,11 @@ Remote stderr was: %1 - QmlJSEditor::AddAnalysisMessageSuppressionComment + QmlJSEditor Add a Comment to Suppress This Message 添加一个说明掩盖此消息 - - - QmlJSEditor::Internal::Operation Wrap Component in Loader 在加载器中包含组件 diff --git a/share/qtcreator/translations/qtcreator_zh_TW.ts b/share/qtcreator/translations/qtcreator_zh_TW.ts index a3ccc84501b..039f005a477 100644 --- a/share/qtcreator/translations/qtcreator_zh_TW.ts +++ b/share/qtcreator/translations/qtcreator_zh_TW.ts @@ -14336,7 +14336,7 @@ For qmlproject projects, use the importPaths property to add import paths. - QmlJSEditor::Internal::QmlJSEditorPlugin + QmlJSEditor Creates a QML file. 建立一個 QML 檔案。 @@ -14397,9 +14397,6 @@ For qmlproject projects, use the importPaths property to add import paths.Show Qt Quick Toolbar 顯示 Qt Quick 工具列 - - - QmlJSEditor::Internal::HoverHandler Library at %1 在 %1 的函式庫 @@ -15016,7 +15013,7 @@ with a password, which you can enter below. - QmlJSEditor::Internal::QmlJSPreviewRunner + QmlJSEditor Failed to preview Qt Quick file 預覽 Qt Quick 檔案失敗 @@ -16032,7 +16029,7 @@ Ids must begin with a lowercase letter. - QmlJSEditor::Internal::QuickToolBarSettingsPage + QmlJSEditor Form 表單 @@ -17420,7 +17417,7 @@ instead of its installation directory when run outside git bash. - QmlJSEditor::ComponentFromObjectDef + QmlJSEditor Move Component into separate file 將組件移到分離的檔案中 @@ -17429,9 +17426,6 @@ instead of its installation directory when run outside git bash. Move Component into Separate File - - - QmlJSEditor::Internal::ComponentNameDialog Choose a path 選擇路徑 @@ -17460,13 +17454,6 @@ instead of its installation directory when run outside git bash. Choose... 選擇... - - Move Component into Separate File - - - - - QmlJSEditor::FindReferences QML/JS Usages: QML/JS 用法: @@ -17475,16 +17462,10 @@ instead of its installation directory when run outside git bash. Searching 搜尋中 - - - QmlJSEditor::Internal::QmlJSOutlineWidget Show All Bindings 顯示所有綁定 - - - QmlJSEditor::QuickFix Split initializer 分割初始器 @@ -20973,14 +20954,11 @@ QML component instance objects and properties directly. - QmlJSEditor::JsFileWizard + QmlJSEditor New %1 新增 %1 - - - QmlJSEditor::QmlJSTextEditorWidget Show Qt Quick ToolBar 顯示 Qt Quick 工具列 @@ -20993,9 +20971,6 @@ QML component instance objects and properties directly. Refactoring 重構中 - - - QmlJSEditor::Internal::QmlJSOutlineTreeView Expand All 全部展開 @@ -21005,13 +20980,6 @@ QML component instance objects and properties directly. 全部摺疊 - - QmlJSEditor::Internal::QmlJSSnippetProvider - - QML - QML - - QmlJSInspector::Internal::QmlJSPropertyInspector @@ -29246,7 +29214,7 @@ Do you want to kill it? - QmlJSEditor::AddAnalysisMessageSuppressionComment + QmlJSEditor Add a comment to suppress this message 新增註解以抑制此訊息 @@ -29255,9 +29223,6 @@ Do you want to kill it? Add a Comment to Suppress This Message - - - QmlJSEditor::Internal::Operation Wrap Component in Loader diff --git a/src/plugins/qmljseditor/qmljscomponentfromobjectdef.cpp b/src/plugins/qmljseditor/qmljscomponentfromobjectdef.cpp index a3fcb3ff878..ea828dc73b7 100644 --- a/src/plugins/qmljseditor/qmljscomponentfromobjectdef.cpp +++ b/src/plugins/qmljseditor/qmljscomponentfromobjectdef.cpp @@ -3,6 +3,7 @@ #include "qmljscomponentfromobjectdef.h" #include "qmljscomponentnamedialog.h" +#include "qmljseditortr.h" #include "qmljsquickfixassist.h" #include @@ -54,8 +55,7 @@ public: m_componentName.prepend("My"); } - setDescription(QCoreApplication::translate("QmlJSEditor::ComponentFromObjectDef", - "Move Component into Separate File")); + setDescription(Tr::tr("Move Component into Separate File")); } Operation(const QSharedPointer &interface, diff --git a/src/plugins/qmljseditor/qmljscomponentnamedialog.cpp b/src/plugins/qmljseditor/qmljscomponentnamedialog.cpp index 11a48002ccf..6953e992b9e 100644 --- a/src/plugins/qmljseditor/qmljscomponentnamedialog.cpp +++ b/src/plugins/qmljseditor/qmljscomponentnamedialog.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 "qmljscomponentnamedialog.h" +#include "qmljseditortr.h" #include #include @@ -21,23 +22,23 @@ using namespace QmlJSEditor::Internal; ComponentNameDialog::ComponentNameDialog(QWidget *parent) : QDialog(parent) { - setWindowTitle(tr("Move Component into Separate File")); + setWindowTitle(Tr::tr("Move Component into Separate File")); m_componentNameEdit = new Utils::ClassNameValidatingLineEdit; - m_componentNameEdit->setPlaceholderText(tr("Component Name")); + m_componentNameEdit->setPlaceholderText(Tr::tr("Component Name")); m_messageLabel = new QLabel; m_pathEdit = new Utils::PathChooser; m_label = new QLabel; m_listWidget = new QListWidget; m_plainTextEdit = new QPlainTextEdit; - m_checkBox = new QCheckBox(tr("ui.qml file")); + m_checkBox = new QCheckBox(Tr::tr("ui.qml file")); m_buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel); using namespace Utils::Layouting; Column { Form { - tr("Component name:"), m_componentNameEdit, br, + Tr::tr("Component name:"), m_componentNameEdit, br, empty, m_messageLabel, br, - tr("Path:"), m_pathEdit, br, + Tr::tr("Path:"), m_pathEdit, br, }, m_label, Row { m_listWidget, m_plainTextEdit }, @@ -76,7 +77,7 @@ bool ComponentNameDialog::go(QString *proposedName, d.m_pathEdit->setExpectedKind(Utils::PathChooser::ExistingDirectory); d.m_pathEdit->setHistoryCompleter(QLatin1String("QmlJs.Component.History")); d.m_pathEdit->setPath(*proposedPath); - d.m_label->setText(tr("Property assignments for %1:").arg(oldFileName)); + d.m_label->setText(Tr::tr("Property assignments for %1:").arg(oldFileName)); d.m_checkBox->setChecked(isUiFile); d.m_checkBox->setVisible(isUiFile); d.m_sourcePreview = sourcePreview; @@ -166,13 +167,13 @@ QString ComponentNameDialog::isValid() const QString compName = m_componentNameEdit->text(); if (compName.isEmpty() || !compName[0].isUpper()) - return tr("Invalid component name."); + return Tr::tr("Invalid component name."); if (!m_pathEdit->isValid()) - return tr("Invalid path."); + return Tr::tr("Invalid path."); if (m_pathEdit->filePath().pathAppended(compName + ".qml").exists()) - return tr("Component already exists."); + return Tr::tr("Component already exists."); return QString(); } diff --git a/src/plugins/qmljseditor/qmljseditingsettingspage.cpp b/src/plugins/qmljseditor/qmljseditingsettingspage.cpp index 2347f6ccc9e..22031a5d360 100644 --- a/src/plugins/qmljseditor/qmljseditingsettingspage.cpp +++ b/src/plugins/qmljseditor/qmljseditingsettingspage.cpp @@ -3,6 +3,7 @@ #include "qmljseditingsettingspage.h" #include "qmljseditorconstants.h" +#include "qmljseditortr.h" #include #include @@ -140,22 +141,22 @@ public: QmlJsEditingSettingsPageWidget() { auto s = QmlJsEditingSettings::get(); - autoFormatOnSave = new QCheckBox(tr("Enable auto format on file save")); + autoFormatOnSave = new QCheckBox(Tr::tr("Enable auto format on file save")); autoFormatOnSave->setChecked(s.autoFormatOnSave()); autoFormatOnlyCurrentProject = - new QCheckBox(tr("Restrict to files contained in the current project")); + new QCheckBox(Tr::tr("Restrict to files contained in the current project")); autoFormatOnlyCurrentProject->setChecked(s.autoFormatOnlyCurrentProject()); autoFormatOnlyCurrentProject->setEnabled(autoFormatOnSave->isChecked()); - pinContextPane = new QCheckBox(tr("Pin Qt Quick Toolbar")); + pinContextPane = new QCheckBox(Tr::tr("Pin Qt Quick Toolbar")); pinContextPane->setChecked(s.pinContextPane()); - enableContextPane = new QCheckBox(tr("Always show Qt Quick Toolbar")); + enableContextPane = new QCheckBox(Tr::tr("Always show Qt Quick Toolbar")); enableContextPane->setChecked(s.enableContextPane()); - foldAuxData = new QCheckBox(tr("Auto-fold auxiliary data")); + foldAuxData = new QCheckBox(Tr::tr("Auto-fold auxiliary data")); foldAuxData->setChecked(s.foldAuxData()); uiQmlOpenComboBox = new QComboBox; - uiQmlOpenComboBox->addItem(tr("Always Ask"), ""); - uiQmlOpenComboBox->addItem(tr("Qt Design Studio"), Core::Constants::MODE_DESIGN); - uiQmlOpenComboBox->addItem(tr("Qt Creator"), Core::Constants::MODE_EDIT); + uiQmlOpenComboBox->addItem(Tr::tr("Always Ask"), ""); + uiQmlOpenComboBox->addItem(Tr::tr("Qt Design Studio"), Core::Constants::MODE_DESIGN); + uiQmlOpenComboBox->addItem(Tr::tr("Qt Creator"), Core::Constants::MODE_EDIT); const int comboIndex = qMax(0, uiQmlOpenComboBox->findData(s.uiQmlOpenMode())); uiQmlOpenComboBox->setCurrentIndex(comboIndex); uiQmlOpenComboBox->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred); @@ -164,18 +165,18 @@ public: using namespace Utils::Layouting; Column { Group { - title(tr("Automatic Formatting on File Save")), + title(Tr::tr("Automatic Formatting on File Save")), Column { autoFormatOnSave, autoFormatOnlyCurrentProject }, }, Group { - title(tr("Qt Quick Toolbars")), + title(Tr::tr("Qt Quick Toolbars")), Column { pinContextPane, enableContextPane }, }, Group { - title(tr("Features")), + title(Tr::tr("Features")), Column { foldAuxData, - Form { tr("Open .ui.qml files with:"), uiQmlOpenComboBox }, + Form { Tr::tr("Open .ui.qml files with:"), uiQmlOpenComboBox }, }, }, st, @@ -217,7 +218,7 @@ QmlJsEditingSettings QmlJsEditingSettings::get() QmlJsEditingSettingsPage::QmlJsEditingSettingsPage() { setId("C.QmlJsEditing"); - setDisplayName(QmlJsEditingSettingsPageWidget::tr("QML/JS Editing")); + setDisplayName(Tr::tr("QML/JS Editing")); setCategory(Constants::SETTINGS_CATEGORY_QML); setWidgetCreator([] { return new QmlJsEditingSettingsPageWidget; }); } diff --git a/src/plugins/qmljseditor/qmljseditor.cpp b/src/plugins/qmljseditor/qmljseditor.cpp index 1616bbad4ef..b0ea81c7d71 100644 --- a/src/plugins/qmljseditor/qmljseditor.cpp +++ b/src/plugins/qmljseditor/qmljseditor.cpp @@ -5,16 +5,17 @@ #include "qmljsautocompleter.h" #include "qmljscompletionassist.h" +#include "qmljseditingsettingspage.h" #include "qmljseditorconstants.h" #include "qmljseditordocument.h" #include "qmljseditorplugin.h" +#include "qmljseditortr.h" #include "qmljsfindreferences.h" #include "qmljshighlighter.h" #include "qmljshoverhandler.h" #include "qmljsquickfixassist.h" #include "qmloutlinemodel.h" #include "quicktoolbar.h" -#include "qmljseditingsettingspage.h" #include #include @@ -317,7 +318,7 @@ void QmlJSEditorWidget::updateContextPane() QTextCursor tc(document()); tc.setPosition(end); marker.cursor = tc; - marker.tooltip = tr("Show Qt Quick ToolBar"); + marker.tooltip = Tr::tr("Show Qt Quick ToolBar"); marker.type = QT_QUICK_TOOLBAR_MARKER_ID; marker.callback = [this](TextEditorWidget *) { showContextPane(); @@ -700,15 +701,15 @@ void QmlJSEditorWidget::inspectElementUnderCursor() const const CppComponentValue *cppValue = findCppComponentToInspect(semanticInfo, cursorPosition); if (!cppValue) { - QString title = tr("Code Model Not Available"); + QString title = Tr::tr("Code Model Not Available"); const QString documentId = QML_JS_EDITOR_PLUGIN + QStringLiteral(".NothingToShow"); EditorManager::openEditorWithContents(Core::Constants::K_DEFAULT_TEXT_EDITOR_ID, &title, - tr("Code model not available.").toUtf8(), documentId, + Tr::tr("Code model not available.").toUtf8(), documentId, EditorManager::IgnoreNavigationHistory); return; } - QString title = tr("Code Model of %1").arg(cppValue->metaObject()->className()); + QString title = Tr::tr("Code Model of %1").arg(cppValue->metaObject()->className()); const QString documentId = QML_JS_EDITOR_PLUGIN + QStringLiteral(".Class.") + cppValue->metaObject()->className(); IEditor *outputEditor = EditorManager::openEditorWithContents( @@ -851,7 +852,7 @@ void QmlJSEditorWidget::contextMenuEvent(QContextMenuEvent *e) { QPointer menu(new QMenu(this)); - QMenu *refactoringMenu = new QMenu(tr("Refactoring"), menu); + QMenu *refactoringMenu = new QMenu(Tr::tr("Refactoring"), menu); if (!m_qmlJsEditorDocument->isSemanticInfoOutdated()) { AssistInterface *interface = createAssistInterface(QuickFix, ExplicitlyInvoked); diff --git a/src/plugins/qmljseditor/qmljseditordocument.cpp b/src/plugins/qmljseditor/qmljseditordocument.cpp index c33f9a607b7..c71dd48975c 100644 --- a/src/plugins/qmljseditor/qmljseditordocument.cpp +++ b/src/plugins/qmljseditor/qmljseditordocument.cpp @@ -6,6 +6,7 @@ #include "qmljseditorconstants.h" #include "qmljseditordocument_p.h" #include "qmljseditorplugin.h" +#include "qmljseditortr.h" #include "qmljshighlighter.h" #include "qmljsquickfixassist.h" #include "qmljssemantichighlighter.h" @@ -690,8 +691,8 @@ void QmlJSEditorDocument::setIsDesignModePreferred(bool value) if (value) { if (infoBar()->canInfoBeAdded(QML_UI_FILE_WARNING)) { Utils::InfoBarEntry info(QML_UI_FILE_WARNING, - tr("This file should only be edited in Design mode.")); - info.addCustomButton(tr("Switch Mode"), []() { + Tr::tr("This file should only be edited in Design mode.")); + info.addCustomButton(Tr::tr("Switch Mode"), []() { Core::ModeManager::activateMode(Core::Constants::MODE_DESIGN); }); infoBar()->addInfo(info); diff --git a/src/plugins/qmljseditor/qmljseditorplugin.cpp b/src/plugins/qmljseditor/qmljseditorplugin.cpp index 1ac9e91dd57..14560665630 100644 --- a/src/plugins/qmljseditor/qmljseditorplugin.cpp +++ b/src/plugins/qmljseditor/qmljseditorplugin.cpp @@ -6,6 +6,7 @@ #include "qmljseditorconstants.h" #include "qmljseditordocument.h" #include "qmljseditorplugin.h" +#include "qmljseditortr.h" #include "qmljshighlighter.h" #include "qmljsoutline.h" #include "qmljsquickfixassist.h" @@ -109,7 +110,7 @@ bool QmlJSEditorPlugin::initialize(const QStringList &arguments, QString *errorM QmlJSEditorPluginPrivate::QmlJSEditorPluginPrivate() { TextEditor::SnippetProvider::registerGroup(Constants::QML_SNIPPETS_GROUP_ID, - QmlJSEditorPlugin::tr("QML", "SnippetProvider"), + Tr::tr("QML", "SnippetProvider"), &QmlJSEditorFactory::decorateEditor); QmlJS::ModelManagerInterface *modelManager = QmlJS::ModelManagerInterface::instance(); @@ -148,20 +149,20 @@ QmlJSEditorPluginPrivate::QmlJSEditorPluginPrivate() contextMenu->addAction(cmd); qmlToolsMenu->addAction(cmd); - QAction *semanticScan = new QAction(QmlJSEditorPlugin::tr("Run Checks"), this); + QAction *semanticScan = new QAction(Tr::tr("Run Checks"), this); cmd = ActionManager::registerAction(semanticScan, Id("QmlJSEditor.RunSemanticScan")); - cmd->setDefaultKeySequence(QKeySequence(QmlJSEditorPlugin::tr("Ctrl+Shift+C"))); + cmd->setDefaultKeySequence(QKeySequence(Tr::tr("Ctrl+Shift+C"))); connect(semanticScan, &QAction::triggered, this, &QmlJSEditorPluginPrivate::runSemanticScan); qmlToolsMenu->addAction(cmd); - m_reformatFileAction = new QAction(QmlJSEditorPlugin::tr("Reformat File"), this); + m_reformatFileAction = new QAction(Tr::tr("Reformat File"), this); cmd = ActionManager::registerAction(m_reformatFileAction, Id("QmlJSEditor.ReformatFile"), context); connect(m_reformatFileAction, &QAction::triggered, this, &QmlJSEditorPluginPrivate::reformatFile); qmlToolsMenu->addAction(cmd); - QAction *inspectElementAction = new QAction(QmlJSEditorPlugin::tr("Inspect API for Element Under Cursor"), this); + QAction *inspectElementAction = new QAction(Tr::tr("Inspect API for Element Under Cursor"), this); cmd = ActionManager::registerAction(inspectElementAction, Id("QmlJSEditor.InspectElementUnderCursor"), context); @@ -171,7 +172,7 @@ QmlJSEditorPluginPrivate::QmlJSEditorPluginPrivate() }); qmlToolsMenu->addAction(cmd); - QAction *showQuickToolbar = new QAction(QmlJSEditorPlugin::tr("Show Qt Quick Toolbar"), this); + QAction *showQuickToolbar = new QAction(Tr::tr("Show Qt Quick Toolbar"), this); cmd = ActionManager::registerAction(showQuickToolbar, Constants::SHOW_QT_QUICK_HELPER, context); cmd->setDefaultKeySequence(useMacShortcuts ? QKeySequence(Qt::META | Qt::ALT | Qt::Key_Space) : QKeySequence(Qt::CTRL | Qt::ALT | Qt::Key_Space)); @@ -204,8 +205,8 @@ void QmlJSEditorPlugin::extensionsInitialized() FileIconProvider::registerIconOverlayForMimeType(ProjectExplorer::Constants::FILEOVERLAY_UI, "application/x-qt.ui+qml"); - TaskHub::addCategory(Constants::TASK_CATEGORY_QML, tr("QML")); - TaskHub::addCategory(Constants::TASK_CATEGORY_QML_ANALYSIS, tr("QML Analysis"), false); + TaskHub::addCategory(Constants::TASK_CATEGORY_QML, Tr::tr("QML")); + TaskHub::addCategory(Constants::TASK_CATEGORY_QML_ANALYSIS, Tr::tr("QML Analysis"), false); } ExtensionSystem::IPlugin::ShutdownFlag QmlJSEditorPlugin::aboutToShutdown() diff --git a/src/plugins/qmljseditor/qmljsfindreferences.cpp b/src/plugins/qmljseditor/qmljsfindreferences.cpp index b1e2cfe9887..4a58d6f2634 100644 --- a/src/plugins/qmljseditor/qmljsfindreferences.cpp +++ b/src/plugins/qmljseditor/qmljsfindreferences.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 "qmljseditortr.h" #include "qmljsfindreferences.h" #include @@ -992,7 +993,7 @@ void FindReferences::displayResults(int first, int last) Usage dummy = m_watcher.future().resultAt(0); const QString replacement = dummy.path.toString(); const QString symbolName = dummy.lineText; - const QString label = tr("QML/JS Usages:"); + const QString label = Tr::tr("QML/JS Usages:"); if (replacement.isEmpty()) { m_currentSearch = SearchResultWindow::instance()->startNewSearch( @@ -1014,7 +1015,7 @@ void FindReferences::displayResults(int first, int last) SearchResultWindow::instance()->popup(IOutputPane::Flags(IOutputPane::ModeSwitch | IOutputPane::WithFocus)); FutureProgress *progress = ProgressManager::addTask(m_watcher.future(), - tr("Searching for Usages"), + Tr::tr("Searching for Usages"), "QmlJSEditor.TaskSearch"); connect(progress, &FutureProgress::clicked, m_currentSearch.data(), &SearchResult::popup); diff --git a/src/plugins/qmljseditor/qmljshoverhandler.cpp b/src/plugins/qmljseditor/qmljshoverhandler.cpp index 9ac1dc58af9..1acae66b18a 100644 --- a/src/plugins/qmljseditor/qmljshoverhandler.cpp +++ b/src/plugins/qmljseditor/qmljshoverhandler.cpp @@ -1,11 +1,12 @@ // 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 "qmljshoverhandler.h" +#include "qmlexpressionundercursor.h" #include "qmljseditor.h" #include "qmljseditorconstants.h" #include "qmljseditordocument.h" -#include "qmlexpressionundercursor.h" +#include "qmljseditortr.h" +#include "qmljshoverhandler.h" #include #include @@ -342,14 +343,14 @@ void QmlJSHoverHandler::handleImport(const ScopeChain &scopeChain, AST::UiImport if (import.info.ast() == node) { if (import.info.type() == ImportType::Library && !import.libraryPath.isEmpty()) { - QString msg = tr("Library at %1").arg(import.libraryPath.toString()); + QString msg = Tr::tr("Library at %1").arg(import.libraryPath.toString()); const LibraryInfo &libraryInfo = scopeChain.context()->snapshot().libraryInfo(import.libraryPath); if (libraryInfo.pluginTypeInfoStatus() == LibraryInfo::DumpDone) { msg += QLatin1Char('\n'); - msg += tr("Dumped plugins successfully."); + msg += Tr::tr("Dumped plugins successfully."); } else if (libraryInfo.pluginTypeInfoStatus() == LibraryInfo::TypeInfoFileDone) { msg += QLatin1Char('\n'); - msg += tr("Read typeinfo files successfully."); + msg += Tr::tr("Read typeinfo files successfully."); } setToolTip(msg); } else { diff --git a/src/plugins/qmljseditor/qmljsoutline.cpp b/src/plugins/qmljseditor/qmljsoutline.cpp index 541728abd04..85dbf394980 100644 --- a/src/plugins/qmljseditor/qmljsoutline.cpp +++ b/src/plugins/qmljseditor/qmljsoutline.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 "qmljsoutline.h" -#include "qmloutlinemodel.h" #include "qmljseditor.h" +#include "qmljseditortr.h" +#include "qmljsoutline.h" #include "qmljsoutlinetreeview.h" +#include "qmloutlinemodel.h" #include #include @@ -113,7 +114,7 @@ QmlJSOutlineWidget::QmlJSOutlineWidget(QWidget *parent) layout->addWidget(Core::ItemViewFind::createSearchableWrapper(m_treeView)); m_showBindingsAction = new QAction(this); - m_showBindingsAction->setText(tr("Show All Bindings")); + m_showBindingsAction->setText(Tr::tr("Show All Bindings")); m_showBindingsAction->setCheckable(true); m_showBindingsAction->setChecked(true); connect(m_showBindingsAction, &QAction::toggled, this, &QmlJSOutlineWidget::setShowBindings); diff --git a/src/plugins/qmljseditor/qmljsoutlinetreeview.cpp b/src/plugins/qmljseditor/qmljsoutlinetreeview.cpp index 40ed0bc5c1c..4090e9ace85 100644 --- a/src/plugins/qmljseditor/qmljsoutlinetreeview.cpp +++ b/src/plugins/qmljseditor/qmljsoutlinetreeview.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 "qmljseditortr.h" #include "qmljsoutlinetreeview.h" #include "qmloutlinemodel.h" @@ -35,9 +36,9 @@ void QmlJSOutlineTreeView::contextMenuEvent(QContextMenuEvent *event) QMenu contextMenu; - connect(contextMenu.addAction(tr("Expand All")), &QAction::triggered, + connect(contextMenu.addAction(Tr::tr("Expand All")), &QAction::triggered, this, &QmlJSOutlineTreeView::expandAll); - connect(contextMenu.addAction(tr("Collapse All")), &QAction::triggered, + connect(contextMenu.addAction(Tr::tr("Collapse All")), &QAction::triggered, this, &QmlJSOutlineTreeView::collapseAllExceptRoot); contextMenu.exec(event->globalPos()); diff --git a/src/plugins/qmljseditor/qmljsquickfixes.cpp b/src/plugins/qmljseditor/qmljsquickfixes.cpp index 0c04443f2ba..e05e27e6817 100644 --- a/src/plugins/qmljseditor/qmljsquickfixes.cpp +++ b/src/plugins/qmljseditor/qmljsquickfixes.cpp @@ -1,11 +1,12 @@ // 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 "qmljsquickfix.h" #include "qmljscomponentfromobjectdef.h" -#include "qmljswrapinloader.h" #include "qmljseditor.h" +#include "qmljseditortr.h" +#include "qmljsquickfix.h" #include "qmljsquickfixassist.h" +#include "qmljswrapinloader.h" #include #include @@ -46,8 +47,7 @@ public: : QmlJSQuickFixOperation(interface, 0) , _objectInitializer(objectInitializer) { - setDescription(QApplication::translate("QmlJSEditor::QuickFix", - "Split Initializer")); + setDescription(Tr::tr("Split Initializer")); } void performChanges(QmlJSRefactoringFilePtr currentFile, @@ -113,7 +113,7 @@ public: : QmlJSQuickFixOperation(interface, 0) , _message(message) { - setDescription(tr("Add a Comment to Suppress This Message")); + setDescription(Tr::tr("Add a Comment to Suppress This Message")); } void performChanges(QmlJSRefactoringFilePtr currentFile, diff --git a/src/plugins/qmljseditor/qmljstextmark.cpp b/src/plugins/qmljseditor/qmljstextmark.cpp index 898fa673228..661fa93dba0 100644 --- a/src/plugins/qmljseditor/qmljstextmark.cpp +++ b/src/plugins/qmljseditor/qmljstextmark.cpp @@ -1,6 +1,7 @@ // Copyright (C) 2017 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 "qmljseditortr.h" #include "qmljstextmark.h" #include @@ -70,8 +71,8 @@ void QmlJSTextMark::init(bool warning, const QString &message) : Utils::Icons::CODEMODEL_ERROR.icon()); setColor(warning ? Utils::Theme::CodeModel_Warning_TextMarkColor : Utils::Theme::CodeModel_Error_TextMarkColor); - setDefaultToolTip(warning ? QApplication::translate("QmlJS Code Model Marks", "Code Model Warning") - : QApplication::translate("QmlJS Code Model Marks", "Code Model Error")); + setDefaultToolTip(warning ? Tr::tr("Code Model Warning") + : Tr::tr("Code Model Error")); setToolTip(message); setPriority(warning ? TextEditor::TextMark::NormalPriority : TextEditor::TextMark::HighPriority); diff --git a/src/plugins/qmljseditor/qmljswrapinloader.cpp b/src/plugins/qmljseditor/qmljswrapinloader.cpp index 05504b7d1a4..f9130f86cf9 100644 --- a/src/plugins/qmljseditor/qmljswrapinloader.cpp +++ b/src/plugins/qmljseditor/qmljswrapinloader.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 "qmljswrapinloader.h" +#include "qmljseditortr.h" #include "qmljsquickfixassist.h" +#include "qmljswrapinloader.h" #include @@ -73,7 +74,7 @@ public: { Q_ASSERT(m_objDef); - setDescription(tr("Wrap Component in Loader")); + setDescription(Tr::tr("Wrap Component in Loader")); } QString findFreeName(const QString &base) @@ -113,11 +114,11 @@ public: FindIds::Result innerIds = FindIds()(m_objDef); innerIds.remove(id); - QString comment = tr("// TODO: Move position bindings from the component to the Loader.\n" + QString comment = Tr::tr("// TODO: Move position bindings from the component to the Loader.\n" "// Check all uses of 'parent' inside the root element of the component.") + QLatin1Char('\n'); if (idBinding) { - comment += tr("// Rename all outer uses of the id \"%1\" to \"%2.item\".").arg( + comment += Tr::tr("// Rename all outer uses of the id \"%1\" to \"%2.item\".").arg( id, loaderId) + QLatin1Char('\n'); } @@ -125,7 +126,7 @@ public: QString innerIdForwarders; for (auto it = innerIds.cbegin(), end = innerIds.cend(); it != end; ++it) { const QString innerId = it.key(); - comment += tr("// Rename all outer uses of the id \"%1\" to \"%2.item.%1\".\n").arg( + comment += Tr::tr("// Rename all outer uses of the id \"%1\" to \"%2.item.%1\".\n").arg( innerId, loaderId); changes.replace(it.value().begin(), it.value().end(), QString::fromLatin1("inner_%1").arg(innerId)); innerIdForwarders += QString::fromLatin1("\nproperty alias %1: inner_%1").arg(innerId);