From 9e9c0630ee23a0bd980dfed177f70cb32116fa28 Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Thu, 1 Sep 2022 17:10:00 +0200 Subject: Welcome: Convert to using Tr::tr Change-Id: Ibcef6dab32894d3032b44965bdcd92fa4f6f780a Reviewed-by: Reviewed-by: hjk --- share/qtcreator/translations/qtcreator_cs.ts | 37 ++---- share/qtcreator/translations/qtcreator_da.ts | 5 +- share/qtcreator/translations/qtcreator_de.ts | 9 +- share/qtcreator/translations/qtcreator_es.ts | 26 +--- share/qtcreator/translations/qtcreator_fr.ts | 151 ++---------------------- share/qtcreator/translations/qtcreator_hr.ts | 11 +- share/qtcreator/translations/qtcreator_hu.ts | 23 +--- share/qtcreator/translations/qtcreator_it.ts | 26 +--- share/qtcreator/translations/qtcreator_ja.ts | 7 +- share/qtcreator/translations/qtcreator_pl.ts | 4 +- share/qtcreator/translations/qtcreator_ru.ts | 11 +- share/qtcreator/translations/qtcreator_sl.ts | 38 +----- share/qtcreator/translations/qtcreator_uk.ts | 5 +- share/qtcreator/translations/qtcreator_zh_CN.ts | 37 ++---- share/qtcreator/translations/qtcreator_zh_TW.ts | 4 +- src/plugins/welcome/introductionwidget.cpp | 97 +++++++-------- src/plugins/welcome/welcomeplugin.cpp | 23 ++-- 17 files changed, 116 insertions(+), 398 deletions(-) diff --git a/share/qtcreator/translations/qtcreator_cs.ts b/share/qtcreator/translations/qtcreator_cs.ts index c985a98427..fb15976536 100644 --- a/share/qtcreator/translations/qtcreator_cs.ts +++ b/share/qtcreator/translations/qtcreator_cs.ts @@ -17736,7 +17736,7 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás - ProjectWelcomePage + Welcome Form Formulář @@ -17913,11 +17913,7 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás - QmakeProjectManager::Internal::GettingStartedWelcomePageWidget - - Form - Formulář - + Welcome Examples not installed Příklady nenainstalovány @@ -18256,11 +18252,7 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás - Welcome::Internal::CommunityWelcomePageWidget - - Form - Formulář - + Welcome News From the Qt Labs Novinky z laboratoří Qt @@ -18338,9 +18330,6 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás Qt Links Odkazy na Qt - - - Welcome::WelcomeMode #gradientWidget { background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(247, 247, 247, 255), stop:1 rgba(215, 215, 215, 255)); @@ -18369,10 +18358,6 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás Feedback Zpětná vazba - - Welcome - Vítejte - Utils::ClassNameValidatingLineEdit @@ -20499,7 +20484,7 @@ Důvod: %2 - QmakeProjectManager::Internal::GettingStartedWelcomePage + Welcome Getting Started Rychlý nástup @@ -21262,7 +21247,7 @@ S60 emulator run configuration default display name, %1 is base pro-File name - Welcome::Internal::CommunityWelcomePage + Welcome Community Společenství @@ -36437,7 +36422,7 @@ když bude zavolán mimo git bash. - ProjectWelcomePageWidget + Welcome %1 (last session) %1 (poslední sezení) @@ -36446,10 +36431,6 @@ když bude zavolán mimo git bash. %1 (current session) %1 (nynější sezení) - - New Project - Nový projekt - ProjectExplorer::RunControl @@ -42213,7 +42194,7 @@ Prověřte, prosím, oprávnění pro přístup k adresáři. - Welcome::Internal::WelcomeMode + Welcome Welcome Vítejte @@ -42222,10 +42203,6 @@ Prověřte, prosím, oprávnění pro přístup k adresáři. Welcome Mode Load Error Chyba při nahrávání vítacího režimu - - New Project - Nový projekt - Coda::Session diff --git a/share/qtcreator/translations/qtcreator_da.ts b/share/qtcreator/translations/qtcreator_da.ts index f1c00ef3fe..56dd6858f1 100644 --- a/share/qtcreator/translations/qtcreator_da.ts +++ b/share/qtcreator/translations/qtcreator_da.ts @@ -42083,7 +42083,7 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o - Welcome::Internal::SideBar + Welcome New to Qt? Ny til Qt? @@ -42112,9 +42112,6 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o User Guide Brugervejledning - - - Welcome::Internal::WelcomeMode Welcome Velkomst diff --git a/share/qtcreator/translations/qtcreator_de.ts b/share/qtcreator/translations/qtcreator_de.ts index f27e640b06..e8120cca65 100644 --- a/share/qtcreator/translations/qtcreator_de.ts +++ b/share/qtcreator/translations/qtcreator_de.ts @@ -15828,7 +15828,7 @@ Wird ein Problem gefunden, dann wird die Anwendung angehalten und kann untersuch - Welcome::Internal::WelcomeMode + Welcome Welcome Willkommen @@ -40061,7 +40061,7 @@ Außer Leerzeichen innerhalb von Kommentaren und Zeichenketten. - Welcome::Internal::SideBar + Welcome New to Qt? Neu bei Qt? @@ -43913,7 +43913,7 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e - Welcome::Internal::IntroductionWidget + Welcome Would you like to take a quick UI tour? This tour highlights important user interface elements and shows how they are used. To take the tour later, select Help > UI Tour. Wollen Sie sich kurz die Oberfläche vorführen lassen? Dabei wird gezeigt, wo die wichtigsten Bedienelemente sind und wie man sie benutzt. Sie können die Vorführung auch später über "Hilfe" > "Oberfläche vorführen" starten. @@ -44014,9 +44014,6 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e UI Introduction %1/%2 > Vorführung der Oberfläche %1/%2 > - - - Welcome::Internal::WelcomePlugin UI Tour Oberfläche vorführen diff --git a/share/qtcreator/translations/qtcreator_es.ts b/share/qtcreator/translations/qtcreator_es.ts index bfe0e450e4..cbae647b21 100644 --- a/share/qtcreator/translations/qtcreator_es.ts +++ b/share/qtcreator/translations/qtcreator_es.ts @@ -1664,7 +1664,7 @@ Would you like to overwrite them? - Core::Internal::WelcomeMode + Welcome Projects Proyectos @@ -1827,9 +1827,6 @@ Would you like to overwrite them? If you add <a href="qthelp://org.qt-project.qtcreator/doc/creator-external-library-handling.html">external libraries</a>, Qt Creator will automatically offer syntax highlighting and code completion. Si agrega <a href="qthelp://org.qt-project.qtcreator/doc/creator-external-library-handling.html">librerías externas</a>, Qt Creator le ofrecerá automáticamente realce de sintaxis y autocompletado de código. - - - Core::Internal::WelcomePage <qt>Restore Last Session &gt;&gt; <qt>Restaurar última sesión &gt;&gt; @@ -11797,7 +11794,7 @@ p, li { white-space: pre-wrap; } - ProjectWelcomePage + Welcome Form Formulario @@ -12003,11 +12000,7 @@ p, li { white-space: pre-wrap; } - QmakeProjectManager::Internal::GettingStartedWelcomePageWidget - - Form - Formulario - + Welcome Examples not installed @@ -12217,11 +12210,7 @@ p, li { white-space: pre-wrap; } - Welcome::Internal::CommunityWelcomePageWidget - - Form - Formulario - + Welcome News From the Qt Labs Novedades desde los laboratorios de Qt @@ -12255,9 +12244,6 @@ p, li { white-space: pre-wrap; } Qt for S60 at Forum Nokia - - - Welcome::WelcomeMode #gradientWidget { background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(247, 247, 247, 255), stop:1 rgba(215, 215, 215, 255)); @@ -13255,7 +13241,7 @@ Reason: %2 - QmakeProjectManager::Internal::GettingStartedWelcomePage + Welcome Getting Started Comenzar con Qt @@ -13627,7 +13613,7 @@ Check if the phone is connected and the TRK application is running. - Welcome::Internal::CommunityWelcomePage + Welcome Community Comunidad diff --git a/share/qtcreator/translations/qtcreator_fr.ts b/share/qtcreator/translations/qtcreator_fr.ts index afa30885ad..5902df0188 100644 --- a/share/qtcreator/translations/qtcreator_fr.ts +++ b/share/qtcreator/translations/qtcreator_fr.ts @@ -2331,7 +2331,7 @@ Voulez vous les écraser ? - Core::Internal::WelcomeMode + Welcome Open Recent Project Ouvrir un projet récent @@ -2352,10 +2352,6 @@ Voulez vous les écraser ? Did You Know? Le saviez-vous ? - - News From the Qt Labs - Actualité de Qt Labs - Qt Websites Sites web Qt @@ -2430,9 +2426,6 @@ Voulez vous les écraser ? The code completion is CamelCase-aware. For example, to complete <tt>namespaceUri</tt> you can just type <tt>nU</tt> and hit <tt>Ctrl+Space</tt>. L'auto-complétion du code.est compatible avec CamelCase. Par exemple, pour compléter <tt>namespaceUri</tt> vous pouvez taper simplement <tt>nU</tt> puis <tt>Ctrl+Espace</tt>. - - - Core::Internal::WelcomePage Getting Started Commencer @@ -18899,7 +18892,7 @@ p, li { white-space: pre-wrap; } - ProjectWelcomePage + Welcome Form Formulaire @@ -19075,51 +19068,7 @@ p, li { white-space: pre-wrap; } - QmakeProjectManager::Internal::GettingStartedWelcomePageWidget - - Form - Formulaire - - - Examples not installed - Exemples non trouvés - - - Open - Ouvrir - - - Tutorials - Tutoriels - - - Explore Qt Examples - Explorer les exemples Qt - - - Did You Know? - Le saviez-vous ? - - - <b>Qt Creator - A quick tour</b> - <b>Qt Creator - Aperçu rapide</b> - - - Creating an address book - Créer un carnet d'adresses - - - Understanding widgets - Comprendre les widgets - - - Building with qmake - Compiler grâce à qmake - - - Writing test cases - Écrire des tests - + Welcome The Qt Creator User Interface L'interface utilisateur de Qt Creator @@ -19140,10 +19089,6 @@ p, li { white-space: pre-wrap; } Creating a Qt Quick Application Créer une application Qt Quick - - Choose an example... - Choisir un exemple... - Choose an Example... Choisir un exemple... @@ -19228,26 +19173,6 @@ p, li { white-space: pre-wrap; } Within a session, you can add <a href="qthelp://com.nokia.qtcreator/doc/creator-project-pane.html#dependencies">dependencies</a> between projects. Dans une session, vous pouvez ajouter des <a href="qthelp://com.nokia.qtcreator/doc/creator-project-pane.html#dependencies">dépendances</a> entre des projets. - - You can switch between Qt Creator's modes using <tt>Ctrl+number</tt>:<ul><li>1 - Welcome</li><li>2 - Edit</li><li>3 - Debug</li><li>4 - Projects</li><li>5 - Help</li><li></li><li>6 - Output</li></ul> - Vous pouvez basculer entre les modes de Qt Creator en utilisant <tt>Ctrl+number</tt>:<ul><li>1 - Accueil</li><li>2 - Éditeur</li><li>3 - Débogueur</li><li>4 - Projets</li><li>5 - Aide</li><li></li><li>6 - Output</li></ul> - - - You can show and hide the side bar using <tt>%1+0<tt>. - Vous pouvez afficher et masquer la barre latérale en utilisant <tt>%1+0<tt>. - - - You can fine tune the <tt>Find</tt> function by selecting &quot;Whole Words&quot; or &quot;Case Sensitive&quot;. Simply click on the icons on the right end of the line edit. - Vous pouvez affiner les résultats de la fonction recherche en sélectionnant &quot;Mots complets&quot; ou &quot;Sensible à la casse&quot;. Cliquez simplement sur les icônes sur le bord droit du champ de recherche. - - - If you add <a href="qthelp://com.nokia.qtcreator/doc/creator-external-library-handling.html">external libraries</a>, Qt Creator will automatically offer syntax highlighting and code completion. - Si vous ajoutez <a href="qthelp://com.nokia.qtcreator/doc/creator-external-library-handling.html">des bibliothèques externes</a>, Qt Creator proposera automatiquement la coloration syntaxique et l'auto-complétion du code. - - - The code completion is CamelCase-aware. For example, to complete <tt>namespaceUri</tt> you can just type <tt>nU</tt> and hit <tt>Ctrl+Space</tt>. - L'auto-complétion du code.est compatible avec CamelCase. Par exemple, pour compléter <tt>namespaceUri</tt> vous pouvez taper simplement <tt>nU</tt> puis <tt>Ctrl+Espace</tt>. - You can force code completion at any time using <tt>Ctrl+Space</tt>. Vous pouvez forcer la complétion de code en utilisant <tt>Ctrl+Space</tt>. @@ -19438,19 +19363,11 @@ p, li { white-space: pre-wrap; } - Welcome::Internal::CommunityWelcomePageWidget - - Form - Formulaire - + Welcome News From the Qt Labs Actualités de Qt Labs - - Qt Websites - Sites web Qt - <b>Forum Nokia</b><br /><font color='gray'>Mobile Application Support</font> <b>Forum Nokia</b><br /><font color='gray'>Support pour application mobile</font> @@ -19488,18 +19405,10 @@ p, li { white-space: pre-wrap; } Add localized feed here only if one exists http://labs.trolltech.com/blogs/feed - - Qt Home - Qt Home - Qt Labs Qt Labs - - Qt Git Hosting - Dépôts Git Qt - Qt Centre Qt Centre @@ -19512,10 +19421,6 @@ p, li { white-space: pre-wrap; } Qt for Symbian at Forum Nokia Qt pour Symbian - - Qt for S60 at Forum Nokia - Qt pour S60 - Qt Support Sites Sites du support Qt @@ -19524,9 +19429,6 @@ p, li { white-space: pre-wrap; } Qt Links Liens Qt - - - Welcome::WelcomeMode #gradientWidget { background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(247, 247, 247, 255), stop:1 rgba(215, 215, 215, 255)); @@ -19546,18 +19448,6 @@ p, li { white-space: pre-wrap; } border-width: 0; } - - Help us make Qt Creator even better - Aidez-nous à améliorer Qt Creator - - - Feedback - Votre avis nous interesse - - - Welcome - Accueil - Utils::DetailsButton @@ -20825,11 +20715,7 @@ Raison : %2 - QmakeProjectManager::Internal::GettingStartedWelcomePage - - Getting Started - Commencer - + Welcome QmakeProjectManager::Internal::S60DeviceRunConfiguration @@ -21443,11 +21329,7 @@ S60 emulator run configuration default display name, %1 is base pro-File name - Welcome::Internal::CommunityWelcomePage - - Community - Communauté - + Welcome News && Support Nouveauté && Support @@ -40367,19 +40249,11 @@ These files are preserved. - ProjectWelcomePageWidget - - %1 (last session) - %1 (dernière session) - + Welcome %1 (current session) %1 (session courante) - - New Project - Nouveau projet - QmlDesigner::ComponentAction @@ -42683,17 +42557,6 @@ Remote error output was: %1 Commande utilisée pour annuler des morceaux de différences (diff chunks) - - Welcome::Internal::WelcomeMode - - Welcome - Accueil - - - New Project - Nouveau projet - - Coda::Session diff --git a/share/qtcreator/translations/qtcreator_hr.ts b/share/qtcreator/translations/qtcreator_hr.ts index c1fb51edd7..827dc97aaf 100644 --- a/share/qtcreator/translations/qtcreator_hr.ts +++ b/share/qtcreator/translations/qtcreator_hr.ts @@ -40916,7 +40916,7 @@ What do you want to do? - Welcome::Internal::IntroductionWidget + Welcome Take a UI Tour Pregledaj vodič kroz grafičko sučelje @@ -41021,16 +41021,10 @@ What do you want to do? UI Introduction %1/%2 > Uvod za grafičko sučelje %1/%2 > - - - Welcome::Internal::WelcomePlugin UI Tour Vodič kroz grafičko sučelje - - - Welcome::Internal::SideBar New to Qt? Još ne poznaš Qt? @@ -41059,9 +41053,6 @@ What do you want to do? User Guide Korisnički vodič - - - Welcome::Internal::WelcomeMode Welcome Dobrodošla, dobrodošao diff --git a/share/qtcreator/translations/qtcreator_hu.ts b/share/qtcreator/translations/qtcreator_hu.ts index d578f3d5bc..ae7512670f 100644 --- a/share/qtcreator/translations/qtcreator_hu.ts +++ b/share/qtcreator/translations/qtcreator_hu.ts @@ -12617,7 +12617,7 @@ a verziókövetőhöz (%2)? - ProjectWelcomePage + Welcome Form Forma @@ -13954,18 +13954,11 @@ p, li { white-space: pre-wrap; } - QmakeProjectManager::Internal::GettingStartedWelcomePage + Welcome Getting Started Első lépések - - - QmakeProjectManager::Internal::GettingStartedWelcomePageWidget - - Form - Forma - Examples not installed A példák nincsenek telepítve @@ -18721,18 +18714,11 @@ p, li { white-space: pre-wrap; }(new line) - Welcome::Internal::CommunityWelcomePage + Welcome Community Közösség - - - Welcome::Internal::CommunityWelcomePageWidget - - Form - Forma - News From the Qt Labs Hírek a Qt Labs-tól @@ -18769,9 +18755,6 @@ p, li { white-space: pre-wrap; }(new line) Qt for Symbian at Forum Nokia Qt Symbianra a Nokia Fórumán - - - Welcome::WelcomeMode #gradientWidget { background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(247, 247, 247, 255), stop:1 rgba(215, 215, 215, 255)); diff --git a/share/qtcreator/translations/qtcreator_it.ts b/share/qtcreator/translations/qtcreator_it.ts index fa137df776..a18a50ad19 100644 --- a/share/qtcreator/translations/qtcreator_it.ts +++ b/share/qtcreator/translations/qtcreator_it.ts @@ -1671,7 +1671,7 @@ Vuoi sovrascriverli? - Core::Internal::WelcomeMode + Welcome http://labs.trolltech.com/blogs/feed Add localized feed here only if one exists @@ -1827,9 +1827,6 @@ Vuoi sovrascriverli? In the editor, <tt>F2</tt> toggles declaration and definition while <tt>F4</tt> toggles header file and source file. Nell'editor, <tt>F2</tt> commuta tra la dichiarazione e la definizione mentre <tt>F4</tt> alterna tra il file header ed il file sorgente. - - - Core::Internal::WelcomePage Help us make Qt Creator even better Aiutaci a migliorare Qt Creator @@ -11644,7 +11641,7 @@ p, li { white-space: pre-wrap; } - ProjectWelcomePage + Welcome Form @@ -11850,11 +11847,7 @@ p, li { white-space: pre-wrap; } - QmakeProjectManager::Internal::GettingStartedWelcomePageWidget - - Form - - + Welcome Examples not installed @@ -12064,11 +12057,7 @@ p, li { white-space: pre-wrap; } - Welcome::Internal::CommunityWelcomePageWidget - - Form - - + Welcome News From the Qt Labs Notizie dai Qt Labs @@ -12102,9 +12091,6 @@ p, li { white-space: pre-wrap; } Qt for S60 at Forum Nokia Qt per S60 su Forum Nokia - - - Welcome::WelcomeMode #gradientWidget { background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(247, 247, 247, 255), stop:1 rgba(215, 215, 215, 255)); @@ -13020,7 +13006,7 @@ Reason: %2 - QmakeProjectManager::Internal::GettingStartedWelcomePage + Welcome Getting Started Comincia @@ -13392,7 +13378,7 @@ Check if the phone is connected and the TRK application is running. - Welcome::Internal::CommunityWelcomePage + Welcome Community Comunità diff --git a/share/qtcreator/translations/qtcreator_ja.ts b/share/qtcreator/translations/qtcreator_ja.ts index 57b25b79e0..ca54a4bf56 100644 --- a/share/qtcreator/translations/qtcreator_ja.ts +++ b/share/qtcreator/translations/qtcreator_ja.ts @@ -33872,7 +33872,7 @@ When a problem is detected, the application is interrupted and can be debugged.< - Welcome::Internal::WelcomeMode + Welcome Welcome ようこそ @@ -55923,14 +55923,11 @@ Will not be applied to whitespace in comments and strings. - Welcome::Internal::IntroductionWidget + Welcome Locator クイックアクセス - - - Welcome::Internal::SideBar New to Qt? Qt を始めよう! diff --git a/share/qtcreator/translations/qtcreator_pl.ts b/share/qtcreator/translations/qtcreator_pl.ts index ee1f24195c..20bfa637fb 100644 --- a/share/qtcreator/translations/qtcreator_pl.ts +++ b/share/qtcreator/translations/qtcreator_pl.ts @@ -18167,7 +18167,7 @@ Kiedy zostaje wykryty problem, aplikacja jest zatrzymywana i może zostać zdebu - Welcome::Internal::WelcomeMode + Welcome Welcome Powitanie @@ -42757,7 +42757,7 @@ Termin wygaśnięcia: %3 - Welcome::Internal::SideBar + Welcome New to Qt? Nowicjusz? diff --git a/share/qtcreator/translations/qtcreator_ru.ts b/share/qtcreator/translations/qtcreator_ru.ts index 8fae1f6186..48eb0ff3b6 100644 --- a/share/qtcreator/translations/qtcreator_ru.ts +++ b/share/qtcreator/translations/qtcreator_ru.ts @@ -52657,7 +52657,7 @@ What do you want to do? - Welcome::Internal::IntroductionWidget + Welcome Would you like to take a quick UI tour? This tour highlights important user interface elements and shows how they are used. To take the tour later, select Help > UI Tour. Желаете познакомиться с интерфейсом программы? Всего за минуту вы узнаете, где и как используются наиболее важные элементы интерфейса пользователя. Ознакомиться можно и позже, для этого нужно зайти в Справка > Знакомство. @@ -52758,9 +52758,6 @@ What do you want to do? UI Introduction %1/%2 > Знакомство с UI %1/%2 > - - - Welcome::Internal::SideBar New to Qt? Впервые с Qt? @@ -52789,16 +52786,10 @@ What do you want to do? User Guide Справка - - - Welcome::Internal::WelcomeMode Welcome Начало - - - Welcome::Internal::WelcomePlugin UI Tour Знакомство diff --git a/share/qtcreator/translations/qtcreator_sl.ts b/share/qtcreator/translations/qtcreator_sl.ts index 92785b6212..7a57f5a7c1 100644 --- a/share/qtcreator/translations/qtcreator_sl.ts +++ b/share/qtcreator/translations/qtcreator_sl.ts @@ -11710,13 +11710,6 @@ Za uporabo v polje Iskalnika vtipkajte to bližnjico in presledek ter nato iskan Pri gradnji prikaži izhod prevajalnika - - ProjectWelcomePage - - Form - Obrazec - - QmakeProjectManager::Internal::ClassDefinition @@ -12029,7 +12022,7 @@ Za uporabo v polje Iskalnika vtipkajte to bližnjico in presledek ter nato iskan - Welcome::Internal::CommunityWelcomePageWidget + Welcome <b>Qt LGPL Support</b><br /><font color='gray'>Buy commercial Qt support</font> <b>Podpora za Qt</b><br /><font color='gray'>Kupite komercialno podporo za Qt</font> @@ -13725,7 +13718,7 @@ Razlog: %2 - Welcome::Internal::CommunityWelcomePage + Welcome News && Support Novice in podpora @@ -25332,7 +25325,7 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen. - ProjectWelcomePageWidget + Welcome %1 (last session) %1 (zadnja seja) @@ -30281,15 +30274,11 @@ Preverite pravice za dostop do mape. - Welcome::Internal::WelcomeMode + Welcome Welcome Dobrodošli - - New Project - Nov projekt - Coda::Session @@ -31489,11 +31478,7 @@ Vedite: to lahko odstrani krajevno datoteko. - QmakeProjectManager::Internal::GettingStartedWelcomePageWidget - - Form - Obrazec - + Welcome Tutorials Vodniki @@ -31554,10 +31539,6 @@ Vedite: to lahko odstrani krajevno datoteko. The specified location already exists. Please specify a valid location. Navedena lokacija že obstaja. Določite drugo lokacijo. - - New Project - Nov projekt - Cmd Shortcut key @@ -31653,9 +31634,6 @@ Vedite: to lahko odstrani krajevno datoteko. You can quickly search methods, classes, help and more using the <a href="qthelp://org.qt-project.qtcreator/doc/creator-navigation.html">Locator bar</a> (<tt>%1+K</tt>). Metode, razrede, pomoč in ostalo lahko hitro najdete z uporabo <a href="qthelp://org.qt-project.qtcreator/doc/creator-navigation.html">Lokatorja</a> (<tt>%1+K</tt>). - - - Welcome::WelcomeMode #headerFrame { border-image: url(:/welcome/images/center_frame_header.png) 0; @@ -31676,10 +31654,6 @@ Vedite: to lahko odstrani krajevno datoteko. Feedback Odziv - - Welcome - Dobrodošli - Debugger @@ -31893,7 +31867,7 @@ Vedite: to lahko odstrani krajevno datoteko. - QmakeProjectManager::Internal::GettingStartedWelcomePage + Welcome Getting Started Začnite tu diff --git a/share/qtcreator/translations/qtcreator_uk.ts b/share/qtcreator/translations/qtcreator_uk.ts index 4b0df9a425..c888bfa666 100644 --- a/share/qtcreator/translations/qtcreator_uk.ts +++ b/share/qtcreator/translations/qtcreator_uk.ts @@ -25080,14 +25080,11 @@ With cache simulation, further event counters are enabled: - Welcome::Internal::CommunityWelcomePage + Welcome News && Support Новини та підтримка - - - Welcome::Internal::WelcomeMode Welcome Ласкаво просимо diff --git a/share/qtcreator/translations/qtcreator_zh_CN.ts b/share/qtcreator/translations/qtcreator_zh_CN.ts index 174375fa5c..4b30c0c2e7 100644 --- a/share/qtcreator/translations/qtcreator_zh_CN.ts +++ b/share/qtcreator/translations/qtcreator_zh_CN.ts @@ -17365,7 +17365,7 @@ Will not be applied to whitespace in comments and strings. - ProjectWelcomePage + Welcome Form 界面 @@ -17541,11 +17541,7 @@ Will not be applied to whitespace in comments and strings. - QmakeProjectManager::Internal::GettingStartedWelcomePageWidget - - Form - 界面 - + Welcome Examples not installed 例子没有被安装 @@ -17622,10 +17618,6 @@ Will not be applied to whitespace in comments and strings. The specified location already exists. Please specify a valid location. 指定路径已经存在,请指定有效路径。 - - New Project - 新建项目 - <a href='%1'>Details...</a> <a href='%1'>详情...</a> @@ -17828,11 +17820,7 @@ Will not be applied to whitespace in comments and strings. - Welcome::Internal::CommunityWelcomePageWidget - - Form - 界面 - + Welcome <b>Forum Nokia</b><br /><font color='gray'>Mobile Application Support</font> <b>诺基亚论坛</b><br /><font color='gray'>移动应用帮助</font> @@ -17913,9 +17901,6 @@ Will not be applied to whitespace in comments and strings. Qt for Symbian at Forum Nokia 诺基亚论坛---Qt for Symbian - - - Welcome::WelcomeMode Help us make Qt Creator even better 协助我们使Qt Creator 更加完美 @@ -17924,10 +17909,6 @@ Will not be applied to whitespace in comments and strings. Feedback 反馈 - - Welcome - 欢迎 - Utils::DetailsButton @@ -19210,7 +19191,7 @@ Reason: %2 - QmakeProjectManager::Internal::GettingStartedWelcomePage + Welcome Getting Started 入门 @@ -19711,7 +19692,7 @@ S60 emulator run configuration default display name, %1 is base pro-File name - Welcome::Internal::CommunityWelcomePage + Welcome Community 社区 @@ -37233,7 +37214,7 @@ These files are preserved. - ProjectWelcomePageWidget + Welcome %1 (last session) %1 (最后的会话) @@ -37242,10 +37223,6 @@ These files are preserved. %1 (current session) %1 (当前会话) - - New Project - 新项目 - QmlDesigner::ComponentAction @@ -39663,7 +39640,7 @@ stderr was: %1 - Welcome::Internal::WelcomeMode + Welcome Welcome 欢迎 diff --git a/share/qtcreator/translations/qtcreator_zh_TW.ts b/share/qtcreator/translations/qtcreator_zh_TW.ts index 039f005a47..a634c705e8 100644 --- a/share/qtcreator/translations/qtcreator_zh_TW.ts +++ b/share/qtcreator/translations/qtcreator_zh_TW.ts @@ -11851,7 +11851,7 @@ Reason: %2 - Welcome::Internal::CommunityWelcomePage + Welcome News && Support 新聞與支持 @@ -24640,7 +24640,7 @@ In addition, device connectivity will be tested. - Welcome::Internal::WelcomeMode + Welcome Welcome 歡迎 diff --git a/src/plugins/welcome/introductionwidget.cpp b/src/plugins/welcome/introductionwidget.cpp index d9fea99d1f..434368bc75 100644 --- a/src/plugins/welcome/introductionwidget.cpp +++ b/src/plugins/welcome/introductionwidget.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 "introductionwidget.h" +#include "welcometr.h" #include #include @@ -34,11 +35,11 @@ void IntroductionWidget::askUserAboutIntroduction(QWidget *parent, QSettings *se Utils::InfoBarEntry info(kTakeTourSetting, - tr("Would you like to take a quick UI tour? This tour highlights important user " - "interface elements and shows how they are used. To take the tour later, " - "select Help > UI Tour."), + Tr::tr("Would you like to take a quick UI tour? This tour highlights important user " + "interface elements and shows how they are used. To take the tour later, " + "select Help > UI Tour."), Utils::InfoBarEntry::GlobalSuppression::Enabled); - info.addCustomButton(tr("Take UI Tour"), [parent] { + info.addCustomButton(Tr::tr("Take UI Tour"), [parent] { Core::ICore::infoBar()->removeInfo(kTakeTourSetting); Core::ICore::infoBar()->globallySuppressInfo(kTakeTourSetting); auto intro = new IntroductionWidget(parent); @@ -85,63 +86,63 @@ IntroductionWidget::IntroductionWidget(QWidget *parent) m_bodyCss = "font-size: 16px;"; m_items = { {QLatin1String("ModeSelector"), - tr("Mode Selector"), - tr("Select different modes depending on the task at hand."), - tr("

" - "" - "" - "" - "" - "" - "" - "
Welcome:Open examples, tutorials, and " - "recent sessions and projects.
Edit:Work with code and navigate your project.
Design:Visually edit Widget-based user interfaces, state charts and UML models.
Debug:Analyze your application with a debugger or other " - "analyzers.
Projects:Manage project settings.
Help:Browse the help database.

")}, + Tr::tr("Mode Selector"), + Tr::tr("Select different modes depending on the task at hand."), + Tr::tr("

" + "" + "" + "" + "" + "" + "" + "
Welcome:Open examples, tutorials, and " + "recent sessions and projects.
Edit:Work with code and navigate your project.
Design:Visually edit Widget-based user interfaces, state charts and UML models.
Debug:Analyze your application with a debugger or other " + "analyzers.
Projects:Manage project settings.
Help:Browse the help database.

")}, {QLatin1String("KitSelector.Button"), - tr("Kit Selector"), - tr("Select the active project or project configuration."), + Tr::tr("Kit Selector"), + Tr::tr("Select the active project or project configuration."), {}}, {QLatin1String("Run.Button"), - tr("Run Button"), - tr("Run the active project. By default this builds the project first."), + Tr::tr("Run Button"), + Tr::tr("Run the active project. By default this builds the project first."), {}}, {QLatin1String("Debug.Button"), - tr("Debug Button"), - tr("Run the active project in a debugger."), + Tr::tr("Debug Button"), + Tr::tr("Run the active project in a debugger."), {}}, - {QLatin1String("Build.Button"), tr("Build Button"), tr("Build the active project."), {}}, + {QLatin1String("Build.Button"), Tr::tr("Build Button"), Tr::tr("Build the active project."), {}}, {QLatin1String("LocatorInput"), - tr("Locator"), - tr("Type here to open a file from any open project."), - tr("Or:" - "
    " - "
  • type c<space><pattern> to jump to a class definition
  • " - "
  • type f<space><pattern> to open a file from the file " - "system
  • " - "
  • click on the magnifier icon for a complete list of possible options
  • " - "
")}, + Tr::tr("Locator"), + Tr::tr("Type here to open a file from any open project."), + Tr::tr("Or:" + "
    " + "
  • type c<space><pattern> to jump to a class definition
  • " + "
  • type f<space><pattern> to open a file from the file " + "system
  • " + "
  • click on the magnifier icon for a complete list of possible options
  • " + "
")}, {QLatin1String("OutputPaneButtons"), - tr("Output"), - tr("Find compile and application output here, " - "as well as a list of configuration and build issues, " - "and the panel for global searches."), + Tr::tr("Output"), + Tr::tr("Find compile and application output here, " + "as well as a list of configuration and build issues, " + "and the panel for global searches."), {}}, {QLatin1String("ProgressInfo"), - tr("Progress Indicator"), - tr("Progress information about running tasks is shown here."), + Tr::tr("Progress Indicator"), + Tr::tr("Progress information about running tasks is shown here."), {}}, {{}, - tr("Escape to Editor"), - tr("Pressing the Escape key brings you back to the editor. Press it " - "multiple times to also hide context help and output, giving the editor more " - "space."), + Tr::tr("Escape to Editor"), + Tr::tr("Pressing the Escape key brings you back to the editor. Press it " + "multiple times to also hide context help and output, giving the editor more " + "space."), {}}, {{}, - tr("The End"), - tr("You have now completed the UI tour. To learn more about the highlighted " - "controls, see User " - "Interface."), + Tr::tr("The End"), + Tr::tr("You have now completed the UI tour. To learn more about the highlighted " + "controls, see User " + "Interface."), {}}}; setStep(0); resizeToParent(); @@ -361,7 +362,7 @@ void IntroductionWidget::setStep(uint index) { QTC_ASSERT(index < m_items.size(), return); m_step = index; - m_continueLabel->setText(tr("UI Introduction %1/%2 >").arg(m_step + 1).arg(m_items.size())); + m_continueLabel->setText(Tr::tr("UI Introduction %1/%2 >").arg(m_step + 1).arg(m_items.size())); const Item &item = m_items.at(m_step); m_stepText->setText("" + "

" + item.title + "

" + item.brief + "

" + item.description + ""); diff --git a/src/plugins/welcome/welcomeplugin.cpp b/src/plugins/welcome/welcomeplugin.cpp index 41838f2d5c..343853a01a 100644 --- a/src/plugins/welcome/welcomeplugin.cpp +++ b/src/plugins/welcome/welcomeplugin.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 "introductionwidget.h" +#include "welcometr.h" #include #include @@ -123,7 +124,7 @@ public: { m_welcomeMode = new WelcomeMode; - auto introAction = new QAction(tr("UI Tour"), this); + auto introAction = new QAction(Tr::tr("UI Tour"), this); connect(introAction, &QAction::triggered, this, []() { auto intro = new IntroductionWidget(ICore::dialogParent()); intro->show(); @@ -240,7 +241,7 @@ public: auto projectVBox = new QVBoxLayout; projectVBox->setSpacing(buttonSpacing); auto newButton = new WelcomePageButton(mainWidget); - newButton->setText(tr("Create Project...")); + newButton->setText(Tr::tr("Create Project...")); newButton->setWithAccentColor(true); newButton->setOnClicked([] { QAction *openAction = ActionManager::command(Core::Constants::NEW)->action(); @@ -248,7 +249,7 @@ public: }); auto openButton = new WelcomePageButton(mainWidget); - openButton->setText(tr("Open Project...")); + openButton->setText(Tr::tr("Open Project...")); openButton->setWithAccentColor(true); openButton->setOnClicked([] { QAction *openAction = ActionManager::command(Core::Constants::OPEN)->action(); @@ -267,13 +268,13 @@ public: newVBox->setSpacing(buttonSpacing / 3); vbox->addItem(newVBox); - auto newLabel = new QLabel(tr("New to Qt?"), mainWidget); + auto newLabel = new QLabel(Tr::tr("New to Qt?"), mainWidget); newLabel->setFont(brandFont()); newLabel->setAlignment(Qt::AlignHCenter); newVBox->addWidget(newLabel); auto getStartedButton = new WelcomePageButton(mainWidget); - getStartedButton->setText(tr("Get Started")); + getStartedButton->setText(Tr::tr("Get Started")); getStartedButton->setOnClicked([] { QDesktopServices::openUrl( QString("qthelp://org.qt-project.qtcreator/doc/creator-getting-started.html")); @@ -314,11 +315,11 @@ public: hbox->setContentsMargins(0, 2 * ItemGap, HSpacing, 2 * ItemGap); const QList > links { - { tr("Get Qt"), "https://www.qt.io/download" }, - { tr("Qt Account"), "https://account.qt.io" }, - { tr("Online Community"), "https://forum.qt.io" }, - { tr("Blogs"), "https://planet.qt.io" }, - { tr("User Guide"), "qthelp://org.qt-project.qtcreator/doc/index.html" }, + { Tr::tr("Get Qt"), "https://www.qt.io/download" }, + { Tr::tr("Qt Account"), "https://account.qt.io" }, + { Tr::tr("Online Community"), "https://forum.qt.io" }, + { Tr::tr("Blogs"), "https://planet.qt.io" }, + { Tr::tr("User Guide"), "qthelp://org.qt-project.qtcreator/doc/index.html" }, }; for (const QPair &link : links) { auto button = new WelcomePageButton(this); @@ -337,7 +338,7 @@ public: WelcomeMode::WelcomeMode() { - setDisplayName(tr("Welcome")); + setDisplayName(Tr::tr("Welcome")); const Icon CLASSIC(":/welcome/images/mode_welcome.png"); const Icon FLAT({{":/welcome/images/mode_welcome_mask.png", -- cgit v1.2.1