From c5f7f5ab0aab672180714cb172818aa3cd394c90 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 13 Jan 2023 12:38:22 +0100 Subject: [PATCH] ProjectExplorer: Tr::tr Change-Id: I8f1b463c5cc7a53627f7a9ad261998b92f13e56a Reviewed-by: Alessandro Portale --- share/qtcreator/translations/qtcreator_cs.ts | 1160 +---------- share/qtcreator/translations/qtcreator_da.ts | 875 +------- share/qtcreator/translations/qtcreator_de.ts | 961 +-------- share/qtcreator/translations/qtcreator_es.ts | 213 +- share/qtcreator/translations/qtcreator_fr.ts | 1807 +---------------- share/qtcreator/translations/qtcreator_hr.ts | 1776 +--------------- share/qtcreator/translations/qtcreator_hu.ts | 245 +-- share/qtcreator/translations/qtcreator_it.ts | 225 +- share/qtcreator/translations/qtcreator_ja.ts | 1531 +------------- share/qtcreator/translations/qtcreator_pl.ts | 867 +------- share/qtcreator/translations/qtcreator_ru.ts | 1051 +--------- share/qtcreator/translations/qtcreator_sl.ts | 597 +----- share/qtcreator/translations/qtcreator_uk.ts | 1448 +------------ .../qtcreator/translations/qtcreator_zh_CN.ts | 1382 +------------ .../qtcreator/translations/qtcreator_zh_TW.ts | 689 +------ src/plugins/projectexplorer/abiwidget.cpp | 4 +- .../projectexplorer/abstractprocessstep.cpp | 18 +- .../projectexplorer/addrunconfigdialog.cpp | 13 +- .../projectexplorer/allprojectsfilter.cpp | 12 +- .../projectexplorer/allprojectsfind.cpp | 17 +- src/plugins/projectexplorer/appoutputpane.cpp | 54 +- .../baseprojectwizarddialog.cpp | 4 +- src/plugins/projectexplorer/buildaspects.cpp | 9 +- .../projectexplorer/buildconfiguration.cpp | 48 +- src/plugins/projectexplorer/buildmanager.cpp | 34 +- .../buildpropertiessettings.cpp | 16 +- .../projectexplorer/buildpropertiessettings.h | 2 - .../buildsettingspropertiespage.cpp | 54 +- src/plugins/projectexplorer/buildsteplist.cpp | 7 +- .../projectexplorer/buildstepspage.cpp | 24 +- src/plugins/projectexplorer/buildsystem.cpp | 7 +- .../codestylesettingspropertiespage.cpp | 3 +- .../projectexplorer/compileoutputwindow.cpp | 19 +- .../projectexplorer/compileoutputwindow.h | 5 +- .../projectexplorer/copytaskhandler.cpp | 6 +- .../projectexplorer/currentprojectfilter.cpp | 8 +- .../projectexplorer/currentprojectfind.cpp | 7 +- .../customexecutablerunconfiguration.cpp | 9 +- src/plugins/projectexplorer/customparser.cpp | 12 +- .../customparserconfigdialog.cpp | 68 +- .../customparserssettingspage.cpp | 13 +- .../projectexplorer/customtoolchain.cpp | 43 +- src/plugins/projectexplorer/customtoolchain.h | 2 - .../customwizard/customwizardpage.cpp | 4 +- .../customwizard/customwizardparameters.cpp | 4 +- .../projectexplorer/dependenciespanel.cpp | 12 +- .../projectexplorer/deployconfiguration.cpp | 5 +- .../projectexplorer/deploymentdataview.cpp | 11 +- .../desktoprunconfiguration.cpp | 5 +- .../devicesupport/desktopdevice.cpp | 11 +- .../devicesupport/desktopdevice.h | 2 - .../devicesupport/desktopdevicefactory.cpp | 5 +- .../desktopprocesssignaloperation.cpp | 22 +- .../devicesupport/devicecheckbuildstep.cpp | 15 +- .../devicefactoryselectiondialog.cpp | 6 +- .../devicesupport/devicefilesystemmodel.cpp | 8 +- .../devicesupport/devicemanagermodel.cpp | 3 +- .../devicesupport/deviceprocessesdialog.cpp | 22 +- .../devicesupport/deviceprocesslist.cpp | 6 +- .../devicesupport/devicesettingspage.cpp | 6 +- .../devicesupport/devicesettingswidget.cpp | 30 +- .../devicesupport/devicetestdialog.cpp | 8 +- .../devicesupport/deviceusedportsgatherer.cpp | 9 +- .../devicesupport/filetransfer.cpp | 7 +- .../projectexplorer/devicesupport/idevice.cpp | 17 +- .../devicesupport/sshdeviceprocesslist.cpp | 8 +- .../devicesupport/sshsettingspage.cpp | 24 +- .../projectexplorer/editorconfiguration.cpp | 10 +- .../editorsettingspropertiespage.cpp | 12 +- .../projectexplorer/environmentaspect.cpp | 4 +- .../environmentaspectwidget.cpp | 3 +- .../projectexplorer/environmentwidget.cpp | 55 +- .../filesinallprojectsfind.cpp | 5 +- .../filterkitaspectsdialog.cpp | 3 +- src/plugins/projectexplorer/gcctoolchain.cpp | 35 +- src/plugins/projectexplorer/gcctoolchain.h | 8 - src/plugins/projectexplorer/importwidget.cpp | 6 +- .../jsonwizard/jsonfieldpage.cpp | 89 +- .../jsonwizard/jsonkitspage.cpp | 14 +- .../jsonwizard/jsonprojectpage.cpp | 4 +- .../jsonwizard/jsonsummarypage.cpp | 15 +- .../projectexplorer/jsonwizard/jsonwizard.cpp | 57 +- .../jsonwizard/jsonwizardfactory.cpp | 74 +- .../jsonwizard/jsonwizardfilegenerator.cpp | 8 +- .../jsonwizard/jsonwizardgeneratorfactory.cpp | 15 +- .../jsonwizard/jsonwizardpagefactory_p.cpp | 31 +- .../jsonwizard/jsonwizardscannergenerator.cpp | 11 +- src/plugins/projectexplorer/kit.cpp | 22 +- src/plugins/projectexplorer/kitchooser.cpp | 5 +- .../projectexplorer/kitinformation.cpp | 113 +- src/plugins/projectexplorer/kitmanager.cpp | 9 +- .../kitmanagerconfigwidget.cpp | 25 +- src/plugins/projectexplorer/kitmodel.cpp | 7 +- .../projectexplorer/kitoptionspage.cpp | 24 +- .../localenvironmentaspect.cpp | 8 +- src/plugins/projectexplorer/makestep.cpp | 29 +- .../miniprojecttargetselector.cpp | 37 +- src/plugins/projectexplorer/msvctoolchain.cpp | 30 +- src/plugins/projectexplorer/msvctoolchain.h | 4 - src/plugins/projectexplorer/osparser.cpp | 9 +- .../projectexplorer/parseissuesdialog.cpp | 23 +- src/plugins/projectexplorer/processstep.cpp | 15 +- src/plugins/projectexplorer/project.cpp | 53 +- .../projectexplorer/projectexplorer.cpp | 382 ++-- .../projectexplorerconstants.cpp | 12 +- .../projectexplorersettingspage.cpp | 68 +- .../projectfilewizardextension.cpp | 10 +- .../projectexplorer/projectimporter.cpp | 16 +- src/plugins/projectexplorer/projectmodels.cpp | 40 +- src/plugins/projectexplorer/projecttree.cpp | 5 +- .../projectexplorer/projecttreewidget.cpp | 23 +- .../projectexplorer/projectwelcomepage.cpp | 39 +- .../projectexplorer/projectwelcomepage.h | 4 +- src/plugins/projectexplorer/projectwindow.cpp | 30 +- .../projectexplorer/projectwizardpage.cpp | 25 +- .../projectexplorer/removetaskhandler.cpp | 5 +- .../projectexplorer/runconfiguration.cpp | 17 +- .../runconfigurationaspects.cpp | 44 +- src/plugins/projectexplorer/runcontrol.cpp | 40 +- .../runsettingspropertiespage.cpp | 53 +- .../projectexplorer/selectablefilesmodel.cpp | 20 +- src/plugins/projectexplorer/session.cpp | 21 +- src/plugins/projectexplorer/sessiondialog.cpp | 19 +- src/plugins/projectexplorer/sessionmodel.cpp | 19 +- .../showineditortaskhandler.cpp | 5 +- .../projectexplorer/simpleprojectwizard.cpp | 18 +- src/plugins/projectexplorer/target.cpp | 13 +- .../projectexplorer/targetsettingspanel.cpp | 57 +- .../projectexplorer/targetsettingspanel.h | 2 - .../projectexplorer/targetsetuppage.cpp | 30 +- .../projectexplorer/targetsetupwidget.cpp | 5 +- src/plugins/projectexplorer/task.cpp | 7 +- src/plugins/projectexplorer/task.h | 2 - src/plugins/projectexplorer/taskfile.cpp | 13 +- src/plugins/projectexplorer/taskfile.h | 1 - src/plugins/projectexplorer/taskhub.cpp | 6 +- src/plugins/projectexplorer/taskwindow.cpp | 12 +- src/plugins/projectexplorer/taskwindow.h | 2 +- .../projectexplorer/toolchainconfigwidget.cpp | 6 +- .../projectexplorer/toolchainmanager.cpp | 6 +- .../projectexplorer/toolchainoptionspage.cpp | 57 +- .../projectexplorer/toolchainoptionspage.h | 2 - .../toolchainsettingsaccessor.cpp | 3 +- .../vcsannotatetaskhandler.cpp | 5 +- .../projectexplorer/waitforstopdialog.cpp | 7 +- .../projectexplorer/xcodebuildparser.cpp | 5 +- src/plugins/python/pythonsettings.cpp | 4 +- .../customwidgetwizard/customwidgetwizard.cpp | 6 +- .../wizards/subdirsprojectwizard.cpp | 6 +- 149 files changed, 1672 insertions(+), 15967 deletions(-) diff --git a/share/qtcreator/translations/qtcreator_cs.ts b/share/qtcreator/translations/qtcreator_cs.ts index 58fa987a868..752fb912069 100644 --- a/share/qtcreator/translations/qtcreator_cs.ts +++ b/share/qtcreator/translations/qtcreator_cs.ts @@ -4634,7 +4634,7 @@ informacemi o ladění. - DependenciesModel + ::ProjectExplorer Unable to add dependency Nepodařilo se přidat závislost @@ -9760,7 +9760,7 @@ ve svém .pro souboru. - ProjectExplorer::AbstractProcessStep + ::ProjectExplorer <font color="#0000ff">Starting: %1 %2</font> @@ -9809,9 +9809,6 @@ ve svém .pro souboru. Could not start process "%1" Proces "%1" se nepodařilo spustit - - - ProjectExplorer::BuildManager <font color="#ff0000">Canceled build.</font> <font color="#ff0000">Sestavování zrušeno.</font> @@ -9852,10 +9849,6 @@ ve svém .pro souboru. Canceled build. Zrušené sestavování. - - Build - Sestavování - Error while building project %1 (target: %2) Chyba při sestavování projektu %1 (cíl: %2) @@ -9947,9 +9940,6 @@ ve svém .pro souboru. Skipping disabled step %1. Přeskakuje se zakázaný krok %1. - - - ProjectExplorer::CustomExecutableRunConfiguration Custom Executable Uživatelsky stanovený spustitelný soubor @@ -9958,32 +9948,6 @@ ve svém .pro souboru. Could not find the executable, please specify one. Nepodařilo se najít spustitelný soubor; nějaký, prosím, zadejte. - - Clean Environment - Vyčistit prostředí - - - System Environment - Prostředí systému - - - Build Environment - Prostředí pro sestavování - - - Run %1 - Spustit %1 - - - - ProjectExplorer::CustomExecutableRunConfigurationFactory - - Custom Executable - Uživatelsky stanovený spustitelný soubor - - - - ProjectExplorer::EnvironmentModel <UNSET> <NENÍ NASTAVENO> @@ -10014,9 +9978,6 @@ ve svém .pro souboru. <VALUE> <HODNOTA> - - - ProjectExplorer::EnvironmentWidget &Edit &Upravit @@ -10075,9 +10036,6 @@ ve svém .pro souboru. Summary: No changes to Environment Shrnutí: Prostředí nezměněno - - - ProjectExplorer::Internal::AllProjectsFilter Files in any project Soubory ze všech projektů @@ -10086,9 +10044,6 @@ ve svém .pro souboru. Files in Any Project Soubory ze všech projektů - - - ProjectExplorer::Internal::AllProjectsFind All Projects Všechny projekty @@ -10111,24 +10066,14 @@ ve svém .pro souboru. File &pattern: &Vzor hledání pro názvy souborů: - - - ProjectExplorer::Internal::BuildSettingsPanel Build Settings Nastavení sestavování - - - ProjectExplorer::Internal::BuildSettingsWidget &Clone Selected &Zdvojit výběr - - Build Steps - Postup sestavování - Edit Build Configuration: Upravit nastavení sestavování: @@ -10141,14 +10086,6 @@ ve svém .pro souboru. Edit build configuration: Upravit nastavení sestavování: - - Add - Přidat - - - Remove - Odstranit - New Configuration Nové nastavení @@ -10210,10 +10147,6 @@ ve svém .pro souboru. New configuration name: Název nového nastavení: - - Clean Steps - Kroky k očistění - <a href="#">Make %1 active.</a> <a href="#">Udělat %1 činným.</a> @@ -10226,13 +10159,6 @@ ve svém .pro souboru. Clone configuration Zdvojit nastavení - - - ProjectExplorer::Internal::BuildStepsPage - - No Build Steps - Žádné kroky sestavování - Add clean step Přidat krok k urovnání @@ -10257,22 +10183,6 @@ ve svém .pro souboru. Clean Steps Postup pročišťování - - Move Up - Posunout nahoru - - - Move Down - Posunout dolů - - - Remove Item - Odstranit položku - - - Removing Step failed - Odstranění kroku sestavování se nezdařilo - Can't remove build step while building Během sestavování nelze krok sestavování odstranit @@ -10285,35 +10195,14 @@ ve svém .pro souboru. Add Build Step Přidat krok sestavovaní - - - ProjectExplorer::Internal::CompileOutputWindow Compile Output Výstup překladače - - - ProjectExplorer::Internal::CoreListenerCheckingForRunningBuild Cancel Build && Close Zrušit sestavování a zavřít - - A project is currently being built. - Právě je sestavován nějaký projekt. - - - Close Qt Creator? - Zavřít Qt Creator? - - - Do you want to cancel the build process and close Qt Creator anyway? - Chcete zrušit sestavování a každopádně zavřít Qt Creator? - - - - ProjectExplorer::Internal::CurrentProjectFilter Files in current project Soubory v nynějším projektu @@ -10322,9 +10211,6 @@ ve svém .pro souboru. Files in Current Project Soubory v nynějším projektu - - - ProjectExplorer::Internal::CurrentProjectFind Current Project Nynější projekt @@ -10333,88 +10219,10 @@ ve svém .pro souboru. Project '%1': Projekt '%1': - - File &pattern: - &Vzor hledání pro názvy souborů: - - - - ProjectExplorer::Internal::CustomExecutableConfigurationWidget - - Name: - Název: - Executable: Spustitelný soubor: - - Arguments: - Argumenty: - - - Working Directory: - Pracovní adresář: - - - Working directory: - Pracovní adresář: - - - Run in &Terminal - Spustit v &terminálu - - - Debugger: - Ladič: - - - Run Environment - Prováděcí prostředí - - - Base environment for this runconfiguration: - Základní prostředí pro toto nastavení spuštění: - - - Run in &terminal - Spustit v &terminálu - - - Base environment for this run configuration: - Základní prostředí pro toto nastavení spuštění: - - - Clean Environment - Smazat prostředí - - - System Environment - Prostředí systému - - - Build Environment - Prostředí pro sestavování - - - No Executable specified. - Nebyl zadán žádný spustitelný soubor. - - - - Running executable: <b>%1</b> %2 - Běží spustitelný soubor: <b>%1</b> %2 - - - - ProjectExplorer::Internal::DependenciesPanel - - Dependencies - Závislosti - - - - ProjectExplorer::Internal::DependenciesWidget %1 has no dependencies. %1 nemá žádné závislosti. @@ -10428,9 +10236,6 @@ ve svém .pro souboru. %1 depends on: %2. %1 závisí na: %2. - - - ProjectExplorer::Internal::DetailedModel %1 of project %2 %1 z projektu %2 @@ -10443,16 +10248,10 @@ ve svém .pro souboru. Renaming file %1 to %2 failed. Soubor %1 se nepodařilo přejmenovat na %2. - - - ProjectExplorer::Internal::EditorSettingsPanel Editor Settings Nastavení editoru - - - ProjectExplorer::Internal::EditorSettingsPropertiesPage Default File Encoding: Výchozí kódování souborů: @@ -10510,34 +10309,11 @@ ve svém .pro souboru. - ProjectExplorer::Internal::NewSessionInputDialog - - New session name - Název nového sezení - + ::ProjectExplorer Enter the name of the new session: Zadejte název nového sezení: - - - ProjectExplorer::Internal::OutputPane - - Re-run this run-configuration - Nastavení spuštění spustit ještě jednou - - - Stop - Zastavit - - - Application Output - Výstup programu - - - Application Output Window - Okno s výstupem programu - The application is still running. Program stále běží. @@ -10546,10 +10322,6 @@ ve svém .pro souboru. Force it to quit? Vynutit ukončení? - - Force Quit - Ukončit vynuceně - The application is still running. Close it first. Program ještě běží. Nejprve jej ukončete. @@ -10558,47 +10330,21 @@ ve svém .pro souboru. Unable to close Nepodařilo se zavřít - - - ProjectExplorer::Internal::OutputWindow - - Application Output Window - Okno s výstupem programu - Additional output omitted Dodatečný výstup opomenut - - - ProjectExplorer::Internal::ProcessStep - - Custom Process Step - Default ProcessStep display name - Uživatelsky stanovený krok - Custom Process Step item in combobox Uživatelsky stanovený krok - - - ProjectExplorer::Internal::ProcessStepWidget - - Name: - Název: - Command: Příkaz: - - Working Directory: - Pracovní adresář: - Command Arguments: Argumenty příkazu: @@ -10623,44 +10369,15 @@ ve svém .pro souboru. Arguments: Argumenty: - - - ProjectExplorer::Internal::ProjectExplorerSettingsPage - - Build and Run - Sestavování a spuštění - - - Projects - Projekty - General Obecné - - - ProjectExplorer::Internal::ProjectFileFactory Project File Factory ProjectExplorer::ProjectFileFactory display name. Project File Factory - - Failed to open project - Nepodařilo se otevřít projekt - - - All Projects - Všechny projekty - - - Could not open the following project: '%1' - Projekt '%1' se nepodařilo otevřít - - - - ProjectExplorer::Internal::ProjectFileWizardExtension <Implicitly Add> <Přidat implicitně> @@ -10707,9 +10424,6 @@ se projektu '%2' nepodařilo přidat. Failed to add '%1' to the version control system. '%1' se nepodařilo přidat do verzovacího systému. - - - ProjectExplorer::Internal::ProjectTreeWidget Simplify tree Zjednodušit strom @@ -10730,9 +10444,6 @@ se projektu '%2' nepodařilo přidat. Synchronize with Editor Seřídit s editorem - - - ProjectExplorer::Internal::ProjectTreeWidgetFactory Projects Projekty @@ -10753,20 +10464,10 @@ se projektu '%2' nepodařilo přidat. Filter tree Přefiltrovat strom - - - ProjectExplorer::Internal::ProjectWindow Active Build and Run Configurations Činná nastavení pro sestavování a spouštění - - No project loaded. - Není nahrán žádný projekt. - - - - ProjectExplorer::Internal::ProjectWizardPage Add to &VCS (%1) Přidat do verzovacího &systému (%1) @@ -10791,9 +10492,6 @@ se projektu '%2' nepodařilo přidat. Files to be added in Soubory k přidání v - - - ProjectExplorer::Internal::RemoveFileDialog Remove File Odstranit soubor @@ -10810,16 +10508,6 @@ se projektu '%2' nepodařilo přidat. File to remove: Soubor k odstranění: - - - ProjectExplorer::Internal::RunSettingsPanel - - Run Settings - Nastavení spuštění - - - - ProjectExplorer::Internal::RunSettingsPropertiesPage + + @@ -10832,10 +10520,6 @@ se projektu '%2' nepodařilo přidat. Edit run configuration: Upravit nastavení spuštění: - - Run configuration: - Nastavení spuštění: - Deployment: Nasazení: @@ -10848,17 +10532,10 @@ se projektu '%2' nepodařilo přidat. Remove Odstranit - - Rename - Přejmenovat - Rename ... Přejmenovat... - - - ProjectExplorer::Internal::SessionDialog Session Manager Správce sezení @@ -10871,10 +10548,6 @@ se projektu '%2' nepodařilo přidat. Clone Session Zdvojit sezení - - Delete Session - Smazat sezení - <a href="qthelp://org.qt-project.qtcreator/doc/creator-quick-tour.html#session-management-in-qt-creator">What is a Session?</a> <a href="qthelp://org.qt-project.qtcreator/doc/creator-quick-tour.html#session-management-in-qt-creator">Co je to sezení?</a> @@ -10927,13 +10600,6 @@ se projektu '%2' nepodařilo přidat. Automatically restores the last session when Qt Creator is started. Automaticky obnovit minulé sezení při spuštění Qt Creatoru. - - - ProjectExplorer::Internal::SessionFile - - Session - Sezení - Failed to open project Nepodařilo se otevřít projekt @@ -10943,16 +10609,10 @@ se projektu '%2' nepodařilo přidat. default file name to display Bez názvu - - - ProjectExplorer::Internal::TaskDelegate File not found: %1 Soubor nenalezen: %1 - - - ProjectExplorer::Internal::TaskWindow Build Issues Potíže při sestavování @@ -10961,10 +10621,6 @@ se projektu '%2' nepodařilo přidat. Issues Potíže - - Filter by categories - Filtrovat podle skupin - &Copy &Kopírovat @@ -10973,9 +10629,6 @@ se projektu '%2' nepodařilo přidat. Show Warnings Ukázat varování - - - ProjectExplorer::Internal::WinGuiProcess The process could not be started! Proces se nepodařilo spustit! @@ -10984,9 +10637,6 @@ se projektu '%2' nepodařilo přidat. Cannot retrieve debugging output! Nepodařilo se získat žádný výstup ladění! - - - ProjectExplorer::Internal::WizardPage Project management Správa projektu @@ -11015,10 +10665,6 @@ se projektu '%2' nepodařilo přidat. - - Add to &project: - Přidat do &projektu: - Add to &version control: Přidat do správy &verzí: @@ -11027,25 +10673,6 @@ se projektu '%2' nepodařilo přidat. Project Management Správa projektu - - Manage - Řídit - - - Manage ... - Spravovat... - - - Manage... - Spravovat... - - - - ProjectExplorer::ProjectExplorerPlugin - - Projects - Projekty - &Build &Sestavení @@ -11110,10 +10737,6 @@ se projektu '%2' nepodařilo přidat. Close All Projects Zavřít všechny projekty - - Session - Sezení - Set Build Configuration Nastavit nastavení sestavování @@ -11150,10 +10773,6 @@ se projektu '%2' nepodařilo přidat. Clean Project Pročistit projekt - - Run - Spustit - Ctrl+R Ctrl+R @@ -11186,10 +10805,6 @@ se projektu '%2' nepodařilo přidat. Remove File... Odstranit soubor... - - Rename - Přejmenovat - Load Project Nahrát projekt @@ -11255,18 +10870,10 @@ se projektu '%2' nepodařilo přidat. Run Without Deployment Spuštění bez nasazení - - Build - Sestavení - Rebuild Sestavit znovu - - Clean - Pročistit - Build Without Dependencies Sestavit s vyloučením závislostí @@ -11283,10 +10890,6 @@ se projektu '%2' nepodařilo přidat. Clean Without Dependencies Pročistit s vyloučením závislostí - - Deploy - Nasazení - Add Existing Directory... Přidat existující adresář... @@ -11304,10 +10907,6 @@ se projektu '%2' nepodařilo přidat. Delete File... Smazat soubor... - - Rename... - Přejmenovat... - Set as Active Project Nastavit jako činný projekt @@ -11392,10 +10991,6 @@ se projektu '%2' nepodařilo přidat. Name of current session. Název nynějšího sezení. - - Failed to open project - Nepodařilo se otevřít projekt - Cancel Build && Unload Zrušit sestavování a vyložit @@ -11590,10 +11185,6 @@ Chcete je přehlížet? Sestavování '%1' je vypnuto: %2 - - Cancel Build && Close - Zrušit sestavování a zavřít - Do Not Close Nezavírat @@ -11764,9 +11355,6 @@ přidat do správy verzí (%2)? Could not delete file %1. Soubor %1 se nepodařilo smazat. - - - ProjectExplorer::SessionManager Error while restoring session Při obnově sezení se vyskytla chyba @@ -11799,10 +11387,6 @@ přidat do správy verzí (%2)? Remove projects from Session Odstranit projekty ze sezení - - Failed to open project - Nepodařilo se otevřít projekt - Session Sezení @@ -11815,10 +11399,6 @@ přidat do správy verzí (%2)? Could not save session to file %1 Sezení se nepodařilo uložit do souboru %1 - - Qt Creator - Qt Creator - Untitled Bez názvu @@ -16882,7 +16462,7 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás - ProjectExplorer::Internal::ProjectExplorerSettingsPageUi + ::ProjectExplorer Build and Run Sestavování a spuštění @@ -16999,10 +16579,6 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás Default build directory: Výchozí adresář pro sestavování: - - Reset - Nastavit znovu - Open Compile Output pane when building Při sestavování ukázat výstup překladače @@ -17019,13 +16595,6 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás Asks before terminating the running application in response to clicking the stop button in Application Output. Po klepnutí na zastavovací tlačítko ve výstupním panelu běžícího programu se nejprve zeptá, a teprve pak ukončí běh. - - - ProjectExplorer::Internal::ProjectWelcomePageWidget - - Form - Formulář - Manage Sessions... Spravovat sezení... @@ -17050,22 +16619,6 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás %1 (current session) %1 (nynější sezení) - - New Project - Nový projekt - - - New Project... - Nový projekt... - - - Recent Sessions - Naposledy otevřená sezení - - - Recent Projects - Naposledy otevřené projekty - Open Project... Otevřít projekt... @@ -19195,7 +18748,7 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás - ProjectExplorer::ApplicationLauncher + ::ProjectExplorer Failed to start program. Path or permissions wrong? Program se nepodařilo spustit. Možná nesouhlasí cesta, nebo nejsou dostatečná oprávnění? @@ -19218,16 +18771,6 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás Nepodařilo se získat žádný výstup ladění. - - - ProjectExplorer::Internal::LocalApplicationRunControlFactory - - Run - Spustit - - - - ProjectExplorer::Internal::LocalApplicationRunControl No executable specified. Nebyl zadán žádný spustitelný soubor. @@ -19271,9 +18814,6 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás %1 ukončen. Vrácená hodnota %2 - - - ProjectExplorer::DebuggingHelperLibrary The target directory %1 could not be created. Cílový adresář %1 se nepodařilo vytvořit. @@ -19303,12 +18843,6 @@ Důvod: %2 Building debugging helper library in %1 Vytváří se pomocná knihovna pro výstup dat o ladění v %1 - - - - Running %1 %2... - - Provádí se %1 %2... @@ -19323,9 +18857,6 @@ Důvod: %2 Provádí se %1... - - - ProjectExplorer::Internal::ProcessStepConfigWidget <b>%1</b> %2 %3 %4 <b>%1</b> %2 %3 %4 @@ -19343,17 +18874,10 @@ Důvod: %2 %1 is the custom process step summary %1 (vypnuto) - - - ProjectExplorer::Internal::BuildConfigDialog Change build configuration && continue Změnit nastavení sestavování && pokračovat - - Cancel - Zrušit - Continue anyway Pokračovat tak jako tak @@ -19382,16 +18906,6 @@ Důvod: %2 Choose build configuration: Vybrat nastavení sestavování: - - - ProjectExplorer::Internal::ActiveConfigurationWidget - - Active run configuration - Činné nastavení spuštění - - - - ProjectExplorer::Internal::ProjectWelcomePage Develop Vývoj @@ -19400,13 +18914,6 @@ Důvod: %2 New Project Nový projekt - - Projects - Projekty - - - - ProjectExplorer::Internal::ProjectLabel Edit Project Settings for Project <b>%1</b> Upravit projektová nastavení pro projekt <b>%1</b> @@ -19415,28 +18922,10 @@ Důvod: %2 No Project loaded Nenahrán žádný projekt - - - ProjectExplorer::Internal::ProjectPushButton Select Project Vybrat projekt - - - ProjectExplorer::Internal::RunSettingsWidget - - Add - Přidat - - - Remove - Odstranit - - - <a href="#">Make %1 active.</a> - <a href="#">Udělat %1 činným.</a> - Remove Run Configuration? Odstranit nastavení spuštění? @@ -19445,10 +18934,6 @@ Důvod: %2 Do you really want to delete the run configuration <b>%1</b>? Opravdu chcete odstranit nastavení spuštění <b>%1</b>? - - Rename... - Přejmenovat... - Run Settings Nastavení spuštění @@ -19461,18 +18946,10 @@ Důvod: %2 Method: Metoda: - - Run - Spustit - Run configuration: Nastavení spuštění: - - &Clone Selected - &Zdvojit výběr - New name for run configuration <b>%1</b>: Nový název pro nastavení sestavování <b>%1</b>: @@ -19481,10 +18958,6 @@ Důvod: %2 Cancel Build && Remove Deploy Configuration Zrušit sestavování a odstranit nastavení nasazení - - Do Not Remove - Neodstraňovat - Remove Deploy Configuration %1? Odstranit nastavení nasazení %1? @@ -21091,7 +20564,7 @@ Můžete si vybrat mezi odložením změn nebo jejich vyhozením. - ProjectExplorer::Internal::AddTargetDialog + ::ProjectExplorer Add target Přidat cíl @@ -21100,16 +20573,10 @@ Můžete si vybrat mezi odložením změn nebo jejich vyhozením. Target: Cíl: - - - ProjectExplorer::Internal::DoubleTabWidget DoubleTabWidget DoubleTabWidget - - - ProjectExplorer::Internal::TargetSettingsWidget TargetSettingsWidget TargetSettingsWidget @@ -24847,7 +24314,7 @@ Proces Pdb po určité době od úspěšného spuštění spadl. - ProjectExplorer::BaseProjectWizardDialog + ::ProjectExplorer Location Umístění @@ -24857,14 +24324,6 @@ Proces Pdb po určité době od úspěšného spuštění spadl. File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. Bez názvu - - - ProjectExplorer::BuildConfiguration - - Build - Display name of the build build step list. Used as part of the labels in the project window. - Sestavení - Clean Display name of the clean build step list. Used as part of the labels in the project window. @@ -24878,9 +24337,6 @@ Proces Pdb po určité době od úspěšného spuštění spadl. Clean Environment Smazat prostředí - - - ProjectExplorer::BuildEnvironmentWidget Clear system environment Vyprázdnit prostředí systému @@ -24905,7 +24361,7 @@ Proces Pdb po určité době od úspěšného spuštění spadl. - ProjectExplorer::CustomWizard + ::ProjectExplorer Details Default short title for custom wizard page to be shown in the progress pane of the wizard. @@ -24963,10 +24419,6 @@ Proces Pdb po určité době od úspěšného spuštění spadl. Qt Creator plugin Přídavný modul pro Qt Creator - - Other Project - Jiný projekt - Creates an application descriptor file. Vytvoří soubor s popisem programu. @@ -25223,23 +24675,14 @@ Proces Pdb po určité době od úspěšného spuštění spadl. Qt Creator build: Adresář se sestavením Qt Creatoru: - - - ProjectExplorer::CustomProjectWizard The project %1 could not be opened. Projekt %1 se nepodařilo otevřít. - - - ProjectExplorer::Internal::CustomWizardPage Path: Cesta: - - - ProjectExplorer::Internal::DependenciesModel <No other projects in this session> <Žádné další projekty v tomto sezení> @@ -25253,18 +24696,11 @@ Proces Pdb po určité době od úspěšného spuštění spadl. - DependenciesPanelFactory + ::ProjectExplorer Dependencies Závislosti - - - EditorSettingsPanelFactory - - Editor Settings - Nastavení editoru - Editor Editor @@ -25405,7 +24841,7 @@ Proces Pdb po určité době od úspěšného spuštění spadl. - ProjectExplorer::Internal::MiniTargetWidget + ::ProjectExplorer Select active build configuration Vybrat nastavení sestavení @@ -25422,9 +24858,6 @@ Proces Pdb po určité době od úspěšného spuštění spadl. Run: Spuštění: - - - ProjectExplorer::Internal::MiniProjectTargetSelector Project Projekt @@ -25441,14 +24874,6 @@ Proces Pdb po určité době od úspěšného spuštění spadl. Kit Sada - - Deploy - Nasazení - - - Run - Spustit - Unconfigured Nenastaveno @@ -25521,14 +24946,6 @@ Proces Pdb po určité době od úspěšného spuštění spadl. Select active project Vybrat projekt - - Build: - Sestavení: - - - Run: - Spuštění: - <html><nobr><b>Project:</b> %1<br/>%2%3<b>Run:</b> %4%5</html> <html><nobr><b>Projekt:</b> %1<br/>%2%3<b>Spuštění:</b> %4%5</html> @@ -25545,20 +24962,10 @@ Proces Pdb po určité době od úspěšného spuštění spadl. <br/>%1 <br/>%1 - - - ProjectExplorer::ProjectConfiguration Clone of %1 Klon %1 - - - ::ProjectExplorer - - Projects - Projekty - Build & Run Sestavení a spuštění @@ -25571,14 +24978,6 @@ Proces Pdb po určité době od úspěšného spuštění spadl. Applications Programy - - Libraries - Knihovny - - - Non-Qt Project - Projekty C/C++ (bez Qt) - Import Project Importovat projekt @@ -25618,7 +25017,7 @@ Proces Pdb po určité době od úspěšného spuštění spadl. - ProjectExplorer::Internal::SessionNameInputDialog + ::ProjectExplorer Enter the name of the session: Zadejte název sezení: @@ -25627,20 +25026,10 @@ Proces Pdb po určité době od úspěšného spuštění spadl. Switch to Přepnout na - - - ProjectExplorer::Internal::TargetSelector Run Spuštění - - Build - Sestavení - - - - ProjectExplorer::Internal::TargetSettingsPanelWidget No target defined. Není stanoven cíl. @@ -25703,10 +25092,6 @@ Proces Pdb po určité době od úspěšného spuštění spadl. Cancel Build && Remove Kit Zrušit sestavování a odstranit sadu - - Do Not Remove - Neodstraňovat - Remove Kit %1? Odstranit sadu %1? @@ -25768,29 +25153,6 @@ Proces Pdb po určité době od úspěšného spuštění spadl. "%1"? - - ProjectExplorer::TaskWindow - - Build Issues - Potíže při sestavování - - - &Copy - &Kopírovat - - - &Annotate - &Opatřit vysvětlivkami - - - Show Warnings - Ukázat varování - - - Filter by categories - Filtrovat podle skupin - - GenericProjectManager::GenericTarget @@ -27412,7 +26774,7 @@ Projekty Qt Quick UI není potřeba je sestavovat a lze je spouštět přímo v - ProjectExplorer::Internal::S60ProjectChecker + ::ProjectExplorer The Symbian SDK and the project sources must reside on the same drive. Symbian SDK a projekt se musí nacházet na stejné diskové jednotce. @@ -29351,18 +28713,7 @@ Při GDB může být zadána posloupnost příkazů oddělená oddělovačem &ap - ProjectExplorer::CodeStyleSettingsPropertiesPage - - Form - Formulář - - - Language: - Jazyk: - - - - ProjectExplorer::Internal::PublishingWizardSelectionDialog + ::ProjectExplorer Publishing Wizard Selection Výběr průvodce pro zveřejnění @@ -29380,21 +28731,6 @@ Při GDB může být zadána posloupnost příkazů oddělená oddělovačem &ap Projekt '%1' nyní nelze zveřejnit. - - ToolChainOptionsPage - - Add - Přidat - - - Clone - Klonovat - - - Remove - Odstranit - - text @@ -31797,7 +31133,7 @@ With cache simulation, further event counters are enabled: - ProjectExplorer::BuildableHelperLibrary + ::ProjectExplorer Cannot start process: %1 Proces:"%1" se nepodařilo spustit @@ -31836,12 +31172,6 @@ With cache simulation, further event counters are enabled: Running %1 %2 ... Provádí se %1 %2 ... - - - - %1 not found in PATH - - %1 se v CESTĚ (PATH) nepodařilo najít @@ -34843,14 +34173,11 @@ když bude zavolán mimo git bash. - ProjectExplorer::AbiWidget + ::ProjectExplorer <custom> <vlastní> - - - ProjectExplorer::Internal::AppOutputPane Attach debugger to this process Připojit ladicí program k tomuto procesu @@ -34887,9 +34214,6 @@ když bude zavolán mimo git bash. Application Output Window Okno s výstupem programu - - - ProjectExplorer::Internal::BuildStepListWidget Disable Zakázat @@ -34931,9 +34255,6 @@ když bude zavolán mimo git bash. No Build Steps Prázdný postup sestavování - - - CodeStyleSettingsPanelFactory Code Style Settings Nastavení stylu kódování @@ -34955,7 +34276,7 @@ když bude zavolán mimo git bash. - ProjectExplorer::Internal::CopyTaskHandler + ::ProjectExplorer error: Task is of type: error @@ -34985,9 +34306,6 @@ když bude zavolán mimo git bash. Task is of type: warning Varování: - - - ProjectExplorer::DeployConfiguration Deploy Display name of the deploy build step list. Used as part of the labels in the project window. @@ -34998,21 +34316,10 @@ když bude zavolán mimo git bash. Default DeployConfiguration display name Nasadit místně - - No deployment - Default DeployConfiguration display name - Žádné nasazení - - - - ProjectExplorer::DeployConfigurationFactory Deploy Configuration Nastavení nasazení - - - ProjectExplorer::EditorConfiguration Project Settings @@ -35023,16 +34330,10 @@ když bude zavolán mimo git bash. Settings, %1 is a language (C++ or QML) Projekt %1 - - - ProjectExplorer::Internal::GccToolChainFactory GCC GCC - - - ProjectExplorer::Internal::GccToolChainConfigWidget &Compiler path: Cesta k &překladači: @@ -35049,37 +34350,22 @@ když bude zavolán mimo git bash. &ABI: &ABI: - - - ProjectExplorer::Internal::ClangToolChainFactory Clang Clang - - - ProjectExplorer::Internal::MingwToolChainFactory MinGW MinGW - - - ProjectExplorer::Internal::LinuxIccToolChainFactory Linux ICC Linux ICC - - - ProjectExplorer::Internal::MsvcToolChainFactory MSVC MSVC - - - ProjectExplorer::Internal::MsvcToolChainConfigWidget Initialization: Inicializace: @@ -35097,13 +34383,6 @@ když bude zavolán mimo git bash. Ladič CDB se v %1 nepodařilo najít - - ProjectExplorer::ProjectsMode - - Projects - Projekty - - ::Welcome @@ -35116,7 +34395,7 @@ když bude zavolán mimo git bash. - ProjectExplorer::RunControl + ::ProjectExplorer PID %1 PID %1 @@ -35146,9 +34425,6 @@ když bude zavolán mimo git bash. Do not ask again Neptat se znovu - - - ProjectExplorer::Internal::ShowInEditorTaskHandler &Show in Editor &Ukázat v editoru @@ -35161,9 +34437,6 @@ když bude zavolán mimo git bash. Show task location in an editor. Ukázat umístění úkolu v editoru. - - - ProjectExplorer::Internal::ShowOutputTaskHandler Show &Output Ukázat &výstup @@ -35176,16 +34449,6 @@ když bude zavolán mimo git bash. O O - Výstup - - - ProjectExplorer::ToolChain - - Clone of %1 - Klon %1 - - - - ProjectExplorer::ToolChainConfigWidget &Debugger: &Ladič: @@ -35210,9 +34473,6 @@ když bude zavolán mimo git bash. Name: Název: - - - ProjectExplorer::Internal::ToolChainModel Auto-detected Automaticky zjištěno @@ -35265,9 +34525,6 @@ když bude zavolán mimo git bash. The following tool chains were already configured:<br>&nbsp;%1<br>They were not configured again. Následující sady nástrojů již byly nastaveny:<br>&nbsp;%1<br>Nebyly nastaveny znovu ještě jednou. - - - ProjectExplorer::Internal::ToolChainOptionsPage Tool Chains Sady nástrojů @@ -35276,21 +34533,10 @@ když bude zavolán mimo git bash. Compilers Překladače - - Add - Přidat - Clone Klonovat - - Remove - Odstranit - - - - ProjectExplorer::UserFileAccessor Using Old Project Settings File Používá se soubor s nastavením projektu nějaké starší verze @@ -35315,9 +34561,6 @@ Soubory s nastavením .user obsahují nastavení zvláštní pro prostředí. Ne Chcete přesto soubor s nastavením nahrát? - - - ProjectExplorer::UserFileHandler No deployment Žádné nasazení @@ -35330,9 +34573,6 @@ Chcete přesto soubor s nastavením nahrát? Deploy to Symbian device Nasazení na zařízení Symbian - - - ProjectExplorer::Internal::VcsAnnotateTaskHandler &Annotate &Opatřit anotacemi @@ -37888,7 +37128,7 @@ Důvod: %2 - ProjectExplorer::QmlDumpTool + ::ProjectExplorer qmldump could not be built in any of the directories: - %1 @@ -37919,11 +37159,7 @@ Důvod: %2 - ProjectExplorer::QmlObserverTool - - The target directory %1 could not be created. - Cílový adresář %1 se nepodařilo vytvořit. - + ::ProjectExplorer QMLObserver could not be built in any of the directories: - %1 @@ -39397,7 +38633,7 @@ Chcete je přidat do projektu?</html> - TaskList::Internal::StopMonitoringHandler + ::ProjectExplorer Stop Monitoring Zastavit sledování @@ -39406,9 +38642,6 @@ Chcete je přidat do projektu?</html> Stop monitoring task files. Zastavit sledování souborů s úkoly. - - - TaskList::Internal::TaskFileFactory Task file reader Soubor s úkolem @@ -39417,9 +38650,6 @@ Chcete je přidat do projektu?</html> File Error Chyba souboru - - - TaskList::TaskListPlugin Cannot open task file %1: %2 Soubor s úkolem %1 nelze otevřít: %2 @@ -41461,19 +40691,7 @@ Prověřte, prosím, oprávnění pro přístup k adresáři. - ProjectExplorer::SettingsAccessor - - Using Old Project Settings File - Používá se soubor s nastavením projektu nějaké starší verze - - - <html><head/><body><p>A versioned backup of the .user settings file will be used, because the non-versioned file was created by an incompatible newer version of Qt Creator.</p><p>Project settings changes made since the last time this version of Qt Creator was used with this project are ignored, and changes made now will <b>not</b> be propagated to the newer version.</p></body></html> - <html><head/><body><p>Použije se verzovaná zajišťovací kopie souboru s nastavením .user, protože nynější soubor byl vytvořen novější, neslučitelnou verzí Qt Creatoru.</p><p>Na změny v nastavení projektu, které byly provedeny po posledním použití této verze Qt Creatoru pro tento projekt, nebude brán zřetel, a nyní následující změny <b>nebudou</b> na novou verzi přeneseny.</p></body></html> - - - Project Settings File from a different Environment? - Soubor s nastavením projektu z jiného prostředí? - + ::ProjectExplorer No valid .user file found for '%1' Nepodařilo se najít žádný platný soubor .user pro '%1' @@ -41503,18 +40721,6 @@ Prověřte, prosím, oprávnění pro přístup k adresáři. Settings File for '%1' from a different Environment? Soubor s nastavením pro '%1' z jiného prostředí? - - Qt Creator has found a .user settings file which was created for another development setup, maybe originating from another machine. - -The .user settings files contain environment specific settings. They should not be copied to a different environment. - -Do you still want to load the settings file? - Qt Creator zjistil, že soubor s uživatelským nastavením .user byl vytvořen pro jiné vývojářské nastavení, možná pochází z jiného stroje. - -Soubory s nastavením .user obsahují nastavení zvláštní pro prostředí. Neměly by se kopírovat do jiného prostředí. - -Chcete přesto soubor s nastavením nahrát? - Unsupported Shared Settings File Nepodporovaný .shared soubor s nastavením @@ -43971,7 +43177,7 @@ Tyto předpony se používají dodatečně k nynějšímu názvu souboru na Pře - ProjectExplorer::Internal::CodeStyleSettingsPropertiesPage + ::ProjectExplorer Form Formulář @@ -43980,9 +43186,6 @@ Tyto předpony se používají dodatečně k nynějšímu názvu souboru na Pře Language: Jazyk: - - - ProjectExplorer::Internal::DeviceFactorySelectionDialog Device Configuration Wizard Selection Výběr průvodce pro nastavení zařízení @@ -43991,13 +43194,6 @@ Tyto předpony se používají dodatečně k nynějšímu názvu souboru na Pře Available device types: Dostupné typy zařízení: - - Start Wizard - Spustit průvodce - - - - ProjectExplorer::Internal::DeviceSettingsWidget Linux Device Configurations Nastavení linuxového zařízení @@ -44006,14 +43202,6 @@ Tyto předpony se používají dodatečně k nynějšímu názvu souboru na Pře &Device: &Zařízení: - - General - Obecné - - - Type: - Typ: - &Name: &Název: @@ -47814,43 +47002,15 @@ Chcete jej ukončit? - ProjectExplorer::DesktopDevice + ::ProjectExplorer Local PC Místní PC - - Desktop - Stolní počítač - - - Run locally - Spustit místně - - - - ProjectExplorer::Internal::DesktopDeviceFactory - - Desktop - Stolní počítač - - - - ProjectExplorer::DeviceManagerModel %1 (default for %2) %1 (výchozí pro %2) - - - ProjectExplorer::Internal::DeviceSettingsPage - - Devices - Zařízení - - - - ProjectExplorer::IDevice Device Zařízení @@ -47865,44 +47025,22 @@ Chcete jej ukončit? Device is not connected Připojeno - - - ProjectExplorer::EnvironmentItemsDialog Edit Environment Upravit prostředí - - - ProjectExplorer::Internal::ProjectListWidget %1 (%2) %1 (%2) - - - ProjectExplorer::Internal::SessionModel - - New session name - Název nového sezení - - - - ProjectExplorer::DebuggerRunConfigurationAspect Debugger settings Nastavení ladiče - - - ProjectExplorer::Internal::WinCEToolChainFactory WinCE WinCE - - - ProjectExplorer::Internal::WinCEToolChainConfigWidget SDK: SDK: @@ -50525,7 +49663,7 @@ Zasáhnutí do modulu nebo nastavení bodů přerušení podle souboru, a oček - ProjectExplorer::DeviceApplicationRunner + ::ProjectExplorer Cannot run: Device is not able to create processes. Nelze spustit: Zařízení nedokáže vytvořit procesy. @@ -50578,9 +49716,6 @@ Zasáhnutí do modulu nebo nastavení bodů přerušení podle souboru, a oček Remote application finished with exit code 0. Vzdálený program byl ukončen. Vrácená hodnota 0. - - - ProjectExplorer::DeviceProcessesDialog Kit: Sada: @@ -50609,16 +49744,10 @@ Zasáhnutí do modulu nebo nastavení bodů přerušení podle souboru, a oček &Attach to Process &Připojit k procesu - - - ProjectExplorer::Internal::DeviceProcessesDialogPrivate Remote Error Vzdálená chyba - - - ProjectExplorer::DeviceProcessList Process ID ID procesu @@ -50627,9 +49756,6 @@ Zasáhnutí do modulu nebo nastavení bodů přerušení podle souboru, a oček Command Line Příkazový řádek - - - ProjectExplorer::DeviceUsedPortsGatherer Connection error: %1 Chyba ve spojení: %1 @@ -50656,9 +49782,6 @@ Remote error output was: %1 Vzdálený chybový výstup byl: %1 - - - ProjectExplorer::Internal::LocalProcessList Cannot terminate process %1: %2 Nelze ukončit proces %1: %2 @@ -50667,9 +49790,6 @@ Vzdálený chybový výstup byl: %1 Cannot open process %1: %2 Nelze otevřít proces %1: %2 - - - ProjectExplorer::SshDeviceProcessList Connection failure: %1 Chyba při vytváření spojení: %1 @@ -50712,17 +49832,10 @@ Remote stderr was: %1 Vzdálený chybový výstup byl: '%1' - - - ProjectExplorer::Kit Unnamed Bez názvu - - Clone of %1 - Klon %1 - Error: Chyba: @@ -50731,9 +49844,6 @@ Vzdálený chybový výstup byl: '%1' Warning: Varování: - - - ProjectExplorer::SysRootKitInformation Sys Root "%1" is not a directory. Sys Root "%1" není adresář. @@ -50742,9 +49852,6 @@ Vzdálený chybový výstup byl: '%1' Sys Root Sys Root - - - ProjectExplorer::ToolChainKitInformation Compiler Překladač @@ -50757,9 +49864,6 @@ Vzdálený chybový výstup byl: '%1' No compiler set in kit. V sadě není nastaven žádný překladač. - - - ProjectExplorer::DeviceTypeKitInformation Unknown device type Neznámý typ zařízení @@ -50768,9 +49872,6 @@ Vzdálený chybový výstup byl: '%1' Device type Typ zařízení - - - ProjectExplorer::DeviceKitInformation Device does not match device type. Zařízení neodpovídá typu zařízení. @@ -50783,17 +49884,6 @@ Vzdálený chybový výstup byl: '%1' No device set. Není nastaveno žádné zařízení. - - Device - Zařízení - - - Unconfigured - Nenastaveno - - - - ProjectExplorer::Internal::SysRootInformationConfigWidget The root directory of the system image to use.<br>Leave empty when building for the desktop. Kořenový adresář obrazu systému k použití.<br>Ponechte prázdné, když sestavujete pro desktop. @@ -50802,17 +49892,10 @@ Vzdálený chybový výstup byl: '%1' Sysroot: Sysroot: - - - ProjectExplorer::Internal::ToolChainInformationConfigWidget The compiler to use for building.<br>Make sure the compiler will produce binaries compatible with the target device, Qt version and other libraries used. Překladač k použití pro sestavování.<br>Ujistěte se, že bude překladač vytvářet spustitelné soubory slučitelné s cílovým zařízením, verzí Qt a jinými použitými knihovnami. - - Manage... - Spravovat... - Compiler: Překladač: @@ -50821,9 +49904,6 @@ Vzdálený chybový výstup byl: '%1' <No compiler available> <Žádný překladač není dostupný> - - - ProjectExplorer::Internal::DeviceTypeInformationConfigWidget The type of device to run applications on. Typ zařízení pro spuštění programů. @@ -50832,9 +49912,6 @@ Vzdálený chybový výstup byl: '%1' Device type: Typ zařízení: - - - ProjectExplorer::Internal::DeviceInformationConfigWidget Manage Spravovat @@ -50851,20 +49928,10 @@ Vzdálený chybový výstup byl: '%1' Device: Zařízení: - - - ProjectExplorer::KitManager Desktop Desktop - - - ProjectExplorer::Internal::KitManagerConfigWidget - - Name: - Název: - Kit name and icon. Název sady a ikona. @@ -50881,62 +49948,22 @@ Vzdálený chybový výstup byl: '%1' Images (*.png *.xpm *.jpg) Obrázky (*.png *.xpm *.jpg) - - - ProjectExplorer::Internal::KitModel - - Auto-detected - Automaticky zjištěno - - - Manual - Ručně - %1 (default) %1 (výchozí) - - Name - Název - - - Clone of %1 - Klon %1 - - - - ProjectExplorer::KitOptionsPage Kits Sady - - Add - Přidat - - - Clone - Klonovat - - - Remove - Odstranit - Make Default Udělat výchozí - - - ProjectExplorer::RunConfiguration Unknown error. Neznámá chyba. - - - ProjectExplorer::Target Default build Výchozí sestavení @@ -53513,14 +52540,7 @@ Vzdálený: %4 - ProjectExplorer::Internal::CustomToolChainFactory - - Custom - Vlastní - - - - ProjectExplorer::Internal::TextEditDetailsWidget + ::ProjectExplorer %n entries @@ -53533,9 +52553,6 @@ Vzdálený: %4 Empty Prázdný - - - ProjectExplorer::Internal::CustomToolChainConfigWidget Custom Parser Settings... Vlastní nastavení syntaktického analyzátoru... @@ -53560,18 +52577,10 @@ Vzdálený: %4 Comma-separated list of mkspecs. Čárkou oddělený seznam mkspecs. - - &Compiler path: - Cesta k &překladači: - &Make path: Cesta k &Make: - - &ABI: - &ABI: - &Predefined macros: &Přednastavená makra: @@ -53592,16 +52601,10 @@ Vzdálený: %4 &Error parser: &Chyba syntaktického analyzátoru: - - - ProjectExplorer::GccToolChain %1 (%2 %3 in %4) %1 (%2 %3 v %4) - - - ProjectExplorer::Internal::RemoveTaskHandler Remove Name of the action triggering the removetaskhandler @@ -54777,11 +53780,7 @@ Lze používat části jmen, pokud jsou jednoznačné. - ProjectExplorer::DesktopDeviceConfigurationWidget - - Form - Formulář - + ::ProjectExplorer Machine type: Typ stroje: @@ -55811,7 +54810,7 @@ Lze používat části jmen, pokud jsou jednoznačné. - ProjectExplorer::DeviceCheckBuildStep + ::ProjectExplorer No device configured. Nebylo nastaveno žádné zařízení. @@ -55828,36 +54827,15 @@ Lze používat části jmen, pokud jsou jednoznačné. Check for a configured device Prověřit, zda je nastaveno zařízení - - - ProjectExplorer::EnvironmentAspect Run Environment Prováděcí prostředí - - - ProjectExplorer::EnvironmentAspectWidget Base environment for this run configuration: Základní prostředí pro toto nastavení spuštění: - - ProjectExplorer::LocalEnvironmentAspect - - Build Environment - Prostředí pro sestavování - - - System Environment - Prostředí systému - - - Clean Environment - Smazat prostředí - - PythonEditor::FileWizard @@ -56691,7 +55669,7 @@ monitor reset - ProjectExplorer::Internal::CustomParserConfigDialog + ::ProjectExplorer Custom Parser Vlastní syntaktický analyzátor @@ -56720,10 +55698,6 @@ monitor reset &Message: &Zpráva: - - Test - Zkouška - E&rror message: Hlášení o &chybě: @@ -56736,10 +55710,6 @@ monitor reset File name: Název souboru: - - TextLabel - Textový štítek - Line number: Číslo řádku: @@ -56760,9 +55730,6 @@ monitor reset Pattern does not match the error message. Vzor neodpovídá zprávě o chybě. - - - ProjectExplorer::Internal::DeviceTestDialog Device Test Zkouška zařízení @@ -57995,30 +56962,11 @@ Soubory ve zdrojovém adresáři balíčku pro Android jsou zkopírovány do adr - CustomToolChain - - GCC - GCC - - - Clang - Clang - + ::ProjectExplorer ICC ICC - - MSVC - MSVC - - - Custom - Vlastní - - - - ProjectExplorer::DesktopProcessSignalOperation Cannot kill process with pid %1: %2 Nelze ukončit proces s PID %1: %2 @@ -58055,9 +57003,6 @@ Soubory ve zdrojovém adresáři balíčku pro Android jsou zkopírovány do adr could not break the process. Proces se nepodařilo přerušit. - - - ProjectExplorer::SshDeviceProcess Failed to kill remote process: %1 Nepodařilo se zabít vzdálený proces: %1 @@ -58070,9 +57015,6 @@ Soubory ve zdrojovém adresáři balíčku pro Android jsou zkopírovány do adr Terminated by request. Ukončeno na požádání. - - - ProjectExplorer::Internal::ImportWidget Import Build From... Importovat sestavení z... @@ -58081,25 +57023,12 @@ Soubory ve zdrojovém adresáři balíčku pro Android jsou zkopírovány do adr Import Importovat - - - ProjectExplorer::KitChooser - - Manage... - Spravovat... - - - - ProjectExplorer::OsParser The process can not access the file because it is being used by another process. Please close all running instances of your application before starting a build. Proces nemůže přistupovat k souboru, protože tento je používán jiným procesem. Zavřete, prosím, všechny běžící instance své aplikace, předtím než začnete se sestavováním. - - - ProjectExplorer::ProjectImporter %1 - temporary %1 - dočasný @@ -58109,7 +57038,7 @@ Zavřete, prosím, všechny běžící instance své aplikace, předtím než za ::QmakeProjectManager - ProjectExplorer::TargetSetupPage + ::ProjectExplorer <span style=" font-weight:600;">No valid kits found.</span> <span style=" font-weight:600;">Nenalezeny žádné platné sady.</span> @@ -58131,13 +57060,6 @@ Zavřete, prosím, všechny běžící instance své aplikace, předtím než za %1: Project name Qt Creator může pro projekt <b>%1</b> použít následující sady: - - - ProjectExplorer::Internal::TargetSetupWidget - - Manage... - Spravovat... - <b>Error:</b> Severity is Task::Error @@ -58148,16 +57070,6 @@ Zavřete, prosím, všechny běžící instance své aplikace, předtím než za Severity is Task::Warning <b>Varování:</b> - - - ProjectExplorer::Internal::UnconfiguredProjectPanel - - Configure Project - Nastavit projekt - - - - ProjectExplorer::Internal::TargetSetupPageWrapper Configure Project Nastavit projekt @@ -60054,14 +58966,7 @@ Chcete jej ukončit? - ProjectExplorer::KitConfigWidget - - Manage... - Spravovat... - - - - ProjectExplorer::SelectableFilesDialogEditFiles + ::ProjectExplorer Edit Files Upravit soubory @@ -60098,9 +59003,6 @@ Tyto soubory jsou zachovány. Tyto soubory jsou zachovány. - - - ProjectExplorer::SelectableFilesDialogAddDirectory Add Existing Directory Přidat existující adresář diff --git a/share/qtcreator/translations/qtcreator_da.ts b/share/qtcreator/translations/qtcreator_da.ts index 1f9668f32b0..5b884bfd450 100644 --- a/share/qtcreator/translations/qtcreator_da.ts +++ b/share/qtcreator/translations/qtcreator_da.ts @@ -5453,7 +5453,7 @@ p, li { white-space: pre-wrap; } - CodeStyleSettingsPanelFactory + ::ProjectExplorer Code Style Kodestil @@ -9654,7 +9654,7 @@ Flag: %3 - CustomToolChain + ::ProjectExplorer GCC GCC @@ -14278,7 +14278,7 @@ Trin ind i modulet eller sætning af brudpunkter efter fil eller linje forventes - DependenciesModel + ::ProjectExplorer Unable to Add Dependency Kunne ikke tilføje afhængighed @@ -14287,9 +14287,6 @@ Trin ind i modulet eller sætning af brudpunkter efter fil eller linje forventes This would create a circular dependency. Dette ville oprette en cirkulær afhængighed. - - - DependenciesPanelFactory Dependencies Afhængigheder @@ -14776,7 +14773,7 @@ Det hjælper måske at genbygge projektet. - EditorSettingsPanelFactory + ::ProjectExplorer Editor Redigering @@ -21974,16 +21971,10 @@ Fejl: %5 Kits Kits - - - ProjectExplorer::AbiWidget <custom> <brugerdefineret> - - - ProjectExplorer::AbstractProcessStep Configuration is faulty. Check the Issues view for details. Konfigurationen har fejl. Tjek visningen Problemstillinger for detaljer. @@ -22012,9 +22003,6 @@ Fejl: %5 Could not start process "%1" %2 Kunne ikke starte processen "%1" %2 - - - ProjectExplorer::ApplicationLauncher User requested stop. Shutting down... Brugeranmodet stop. Lukker ned... @@ -22059,9 +22047,6 @@ Fejl: %5 Application finished with exit code 0. Program afsluttede med afslutningskode 0. - - - ProjectExplorer::ArgumentsAspect Arguments Argumenter @@ -22070,17 +22055,11 @@ Fejl: %5 Command line arguments: Kommandolinjeargumenter: - - - ProjectExplorer::BaseProjectWizardDialog untitled File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. unavngivet - - - ProjectExplorer::BuildConfiguration Build Settings Bygindstillinger @@ -22089,10 +22068,6 @@ Fejl: %5 Build directory Bygmappe - - Name of current build - Navn på aktuelt byg - Variables in the current build environment Variabler i det aktuelle bygmiljø @@ -22105,9 +22080,6 @@ Fejl: %5 Clean Environment Rensmiljø - - - ProjectExplorer::BuildEnvironmentWidget Clear system environment Ryd systemmiljø @@ -22116,9 +22088,6 @@ Fejl: %5 Build Environment Bygmiljø - - - ProjectExplorer::BuildManager Finished %1 of %n steps @@ -22173,16 +22142,10 @@ Fejl: %5 Skipping disabled step %1. Springer over deaktiveret trin %1. - - - ProjectExplorer::BuildStep Build Step Byggetrin - - - ProjectExplorer::BuildableHelperLibrary Cannot start process: %1 Kan ikke starte process: %1 @@ -22229,16 +22192,6 @@ Fejl: %5 %1 ikke fundet i PATH - - - ProjectExplorer::ClangToolChainFactory - - Clang - Clang - - - - ProjectExplorer::CustomExecutableDialog Could not find the executable, please specify one. Kunne ikke finde den eksekverbare, angiv venligst en. @@ -22247,9 +22200,6 @@ Fejl: %5 Executable: Eksekverbar: - - - ProjectExplorer::CustomExecutableRunConfiguration Custom Executable Brugerdefineret eksekverbar @@ -22258,13 +22208,6 @@ Fejl: %5 Run %1 Kør %1 - - - ProjectExplorer::CustomWizard - - Other Project - Andet projekt - Creates a qmake-based test project for which a code snippet can be entered. Opretter et qmake-baseret testprojekt til hvilket en kode-snippet kan indtastes. @@ -22309,10 +22252,6 @@ Fejl: %5 Qt Creator Plugin Qt Creator-plugin - - Library - Bibliotek - Plugin Information Plugininformation @@ -22385,9 +22324,6 @@ Fejl: %5 Qt Quick 2 Extension Plugin Qt Quick 2 udvidelse-plugin - - - ProjectExplorer::DebuggingHelperLibrary The target directory %1 could not be created. Mål-mappen %1 kunne ikke oprettes. @@ -22400,20 +22336,6 @@ Fejl: %5 The file %1 could not be copied to %2. Filen %1 kunne ikke kopieres til %2. - - %1 not found in PATH - - %1 ikke fundet i PATH - - - - - ProjectExplorer::DeployConfiguration - - Deploy - Display name of the deploy build step list. Used as part of the labels in the project window. - Udsend - Deploy locally Default DeployConfiguration display name @@ -22428,9 +22350,6 @@ Fejl: %5 Deploy Settings Udsendindstillinger - - - ProjectExplorer::DeploymentDataModel Local File Path Lokal filsti @@ -22439,16 +22358,10 @@ Fejl: %5 Remote Directory Fjern-mappe - - - ProjectExplorer::DeploymentDataView Files to deploy: Filer som skal udsendes: - - - ProjectExplorer::DesktopDevice Local PC Lokal PC @@ -22457,9 +22370,6 @@ Fejl: %5 Desktop Desktop - - - ProjectExplorer::DesktopDeviceConfigurationWidget Machine type: Maskintype: @@ -22480,9 +22390,6 @@ Fejl: %5 You will need at least one port for QML debugging. Du får brug for mindst en port for QML-fejlretning. - - - ProjectExplorer::DesktopProcessSignalOperation Cannot kill process with pid %1: %2 Kan ikke dræbe proces med pid %1: %2 @@ -22519,9 +22426,6 @@ Fejl: %5 could not break the process. kunne ikke bryde processen. - - - ProjectExplorer::DeviceCheckBuildStep No device configured. Ingen enhed konfigureret. @@ -22538,9 +22442,6 @@ Fejl: %5 Check for a configured device Tjek for en konfigureret enhed - - - ProjectExplorer::DeviceKitInformation No device set. Ingen enhed sat. @@ -22577,16 +22478,10 @@ Fejl: %5 Device name Enhedsnavn - - - ProjectExplorer::DeviceManagerModel %1 (default for %2) %1 (standard for %2) - - - ProjectExplorer::DeviceProcessList Process ID Process-ID @@ -22595,9 +22490,6 @@ Fejl: %5 Command Line Kommandolinje - - - ProjectExplorer::DeviceProcessesDialog &Attach to Process &Tilkobl til process @@ -22626,9 +22518,6 @@ Fejl: %5 &Filter: &Filter: - - - ProjectExplorer::DeviceTypeKitInformation Unknown device type Ukendt enhedstype @@ -22637,9 +22526,6 @@ Fejl: %5 Device type Enhedstype - - - ProjectExplorer::DeviceUsedPortsGatherer Connection error: %1 Forbindelsesfejl: %1 @@ -22656,9 +22542,6 @@ Fejl: %5 Remote error output was: %1 Fjern-fejl-output var: %1 - - - ProjectExplorer::EditorConfiguration Project %1 Settings, %1 is a language (C++ or QML) @@ -22669,23 +22552,14 @@ Fejl: %5 Settings Projekt - - - ProjectExplorer::EnvironmentAspect Run Environment Kør-miljø - - - ProjectExplorer::EnvironmentAspectWidget Base environment for this run configuration: Basismiljø for denne kør-konfiguraton: - - - ProjectExplorer::EnvironmentKitInformation The environment setting value is invalid. Miljøindstillingsværdien er ugyldig. @@ -22694,16 +22568,10 @@ Fejl: %5 Environment Miljø - - - ProjectExplorer::EnvironmentValidator Variable already exists. Variabel findes allerede. - - - ProjectExplorer::EnvironmentWidget Ed&it &Rediger @@ -22742,39 +22610,20 @@ Fejl: %5 Yup, word puzzle. The Set/Unset phrases above are appended to this. %1 is "System Environment" or some such. Brug <b>%1</b> og - - - ProjectExplorer::GccToolChain %1 (%2, %3 %4 in %5) %1 (%2, %3 %4 i %5) - - - ProjectExplorer::IDevice - - Device - Enhed - - - - ProjectExplorer::Internal::AbstractMsvcToolChain Failed to retrieve MSVC Environment from "%1": %2 Kunne ikke hente MSVC-miljø fra "%1": %2 - - - ProjectExplorer::Internal::AllProjectsFilter Files in Any Project Filer i vilkårligt projekt - - - ProjectExplorer::Internal::AllProjectsFind All Projects Alle projekter @@ -22791,9 +22640,6 @@ Excluding: %2 Ekskludering: %2 %3 - - - ProjectExplorer::Internal::AppOutputPane Attach debugger to this process Tilkobl fejlretter til denne process @@ -22842,9 +22688,6 @@ Ekskludering: %2 Application Output Window Program-output-vindue - - - ProjectExplorer::Internal::BuildSettingsWidget No build settings available Ingen bygindstillinger tilgængelig @@ -22881,11 +22724,6 @@ Ekskludering: %2 New name for build configuration <b>%1</b>: Nyt navn for byggekonfigurationen <b>%1</b>: - - Clone Configuration - Title of a the cloned BuildConfiguration window, text of the window - Klon konfiguration - Cancel Build && Remove Build Configuration Annuller byg og fjern byggekonfiguration @@ -22914,9 +22752,6 @@ Ekskludering: %2 Do you really want to delete build configuration <b>%1</b>? Vil du virkelig slette byggekonfigurationen <b>%1</b>? - - - ProjectExplorer::Internal::BuildStepListWidget Disable Deaktivér @@ -22958,9 +22793,6 @@ Ekskludering: %2 No Build Steps Ingen byggetrin - - - ProjectExplorer::Internal::BuildStepsPage Build Steps Byggetrin @@ -22969,45 +22801,18 @@ Ekskludering: %2 Clean Steps Renstrin - - - ProjectExplorer::Internal::ClangClToolChainConfigWidget LLVM: LLVM: - - - ProjectExplorer::Internal::ClangToolChainFactory - - Clang - Clang - - - - ProjectExplorer::Internal::CodeStyleSettingsPropertiesPage Language: Sprog: - - - ProjectExplorer::Internal::CompileOutputWindow Compile Output Kompileringsoutput - - Increase Font Size - Forøg skriftstørrelse - - - Decrease Font Size - Formindsk skriftstørrelse - - - - ProjectExplorer::Internal::CopyTaskHandler error: Task is of type: error @@ -23018,16 +22823,10 @@ Ekskludering: %2 Task is of type: warning advarsel: - - - ProjectExplorer::Internal::CurrentProjectFilter Files in Current Project Filer i aktuelt projekt - - - ProjectExplorer::Internal::CurrentProjectFind Project "%1" Projektet "%1" @@ -23040,9 +22839,6 @@ Ekskludering: %2 Project "%1": Projektet "%1": - - - ProjectExplorer::Internal::CustomParserConfigDialog Custom Parser Brugerdefineret parser @@ -23095,10 +22891,6 @@ Ekskludering: %2 File name: Filnavn: - - TextLabel - Tekstetiket - Line number: Linjenummer: @@ -23135,9 +22927,6 @@ Ekskludering: %2 Pattern does not match the message. Mønster matcher ikke meddelelsen. - - - ProjectExplorer::Internal::CustomToolChainConfigWidget Custom Parser Settings... Brugerdefineret parserindstillinger... @@ -23194,30 +22983,14 @@ Ekskludering: %2 &Error parser: &Fejlparser: - - - ProjectExplorer::Internal::CustomToolChainFactory - - Custom - Brugerdefineret - - - - ProjectExplorer::Internal::CustomWizardPage Path: Sti: - - - ProjectExplorer::Internal::DependenciesModel <No other projects in this session> <ingen andre projekter i denne session> - - - ProjectExplorer::Internal::DependenciesWidget Synchronize configuration Synkroniser konfiguration @@ -23226,16 +22999,6 @@ Ekskludering: %2 Synchronize active kit, build, and deploy configuration between projects. Synkroniser aktive kit-, bygge- og udsend-konfiguration mellem projekter. - - - ProjectExplorer::Internal::DesktopDeviceFactory - - Desktop - Desktop - - - - ProjectExplorer::Internal::DeviceFactorySelectionDialog Device Configuration Wizard Selection Assistent til valg af enhed konfiguration @@ -23248,9 +23011,6 @@ Ekskludering: %2 Start Wizard Start assistent - - - ProjectExplorer::Internal::DeviceInformationConfigWidget Device: Enhed: @@ -23259,23 +23019,10 @@ Ekskludering: %2 The device to run the applications on. Enheden som programmet skal kører på. - - - ProjectExplorer::Internal::DeviceProcessesDialogPrivate Remote Error Fjern-fejl - - - ProjectExplorer::Internal::DeviceSettingsPage - - Devices - Enheder - - - - ProjectExplorer::Internal::DeviceSettingsWidget Linux Device Configurations Linux-enhed konfigurationer @@ -23292,10 +23039,6 @@ Ekskludering: %2 &Name: &Navn: - - Type: - Type: - Auto-detected: Auto-detekteret: @@ -23328,17 +23071,10 @@ Ekskludering: %2 No Nej - - Test - Test - Show Running Processes... Vis kørende processer... - - - ProjectExplorer::Internal::DeviceTestDialog Device Test Enhedstest @@ -23355,9 +23091,6 @@ Ekskludering: %2 Device test failed. Enhedstest mislykkedes. - - - ProjectExplorer::Internal::DeviceTypeInformationConfigWidget Device type: Enhedstype: @@ -23366,9 +23099,6 @@ Ekskludering: %2 The type of device to run applications on. Typen af enhed som programmet skal kører på. - - - ProjectExplorer::Internal::EditorSettingsPropertiesPage Editor settings: Redigeringsindstillinger: @@ -23377,10 +23107,6 @@ Ekskludering: %2 Global Globale - - Custom - Brugerdefineret - Restore Global Genskab globale @@ -23485,11 +23211,7 @@ Ekskludering: %2 - ProjectExplorer::Internal::GccToolChainConfigWidget - - &Compiler path: - &Kompilersti: - + ::ProjectExplorer Platform codegen flags: Platform codegen-flag: @@ -23498,20 +23220,6 @@ Ekskludering: %2 Platform linker flags: Platform linker-flag: - - &ABI: - &ABI: - - - - ProjectExplorer::Internal::GccToolChainFactory - - GCC - GCC - - - - ProjectExplorer::Internal::ImportWidget Import Build From... Importér byg fra... @@ -23520,9 +23228,6 @@ Ekskludering: %2 Import Importér - - - ProjectExplorer::Internal::JsonWizard Key is not an object. Nøgle er ikke et objekt. @@ -23535,16 +23240,10 @@ Ekskludering: %2 ScannerGenerator: Binary pattern "%1" not valid. SkannerGenerator: binær mønster "%1" ikke gyldigt. - - - ProjectExplorer::Internal::JsonWizardFileGenerator No 'key' in options object. Ingen 'key' i valgmuligheder-objekt. - - - ProjectExplorer::Internal::KitEnvironmentConfigWidget Change... Skift... @@ -23569,9 +23268,6 @@ Ekskludering: %2 Either switches MSVC to English or keeps the language and just forces UTF-8 output (may vary depending on the used MSVC compiler). Skifter enten MSVC til engelsk eller bevarer sproget og blot tvinger UTF-8-output (kan variere afhængig af den brugte MSVC-kompiler). - - - ProjectExplorer::Internal::KitManagerConfigWidget <html><head/><body><p>The name of the kit suitable for generating directory names. This value is used for the variable <i>%1</i>, which for example determines the name of the shadow build directory.</p></body></html> <html><head/><body><p>Navnet på kittet som er egnet til generering af mappenavne. Denne værdi bruges til variablen <i>%1</i>, som f.eks. beslutter navnet på skygge-bygmappen.</p></body></html> @@ -23612,9 +23308,6 @@ Ekskludering: %2 Images (*.png *.xpm *.jpg) Billeder (*.png *.xpm *.jpg) - - - ProjectExplorer::Internal::KitModel %1 (default) %1 (standard) @@ -23635,23 +23328,14 @@ Ekskludering: %2 Clone of %1 Klon af %1 - - - ProjectExplorer::Internal::LinuxIccToolChainFactory Linux ICC Linux ICC - - - ProjectExplorer::Internal::MingwToolChainFactory MinGW MinGW - - - ProjectExplorer::Internal::MiniProjectTargetSelector Project Projekt @@ -23660,10 +23344,6 @@ Ekskludering: %2 Kit Kit - - Build - Byg - Deploy Udsend @@ -23672,10 +23352,6 @@ Ekskludering: %2 Run Kør - - Unconfigured - Ukonfigureret - <b>Project:</b> %1 <b>Projekt:</b> %1 @@ -23732,43 +23408,14 @@ Ekskludering: %2 <style type=text/css>a:link {color: rgb(128, 128, 255, 240);}</style>The project <b>%1</b> is not yet configured<br/><br/>You can configure it in the <a href="projectmode">Projects mode</a><br/> <style type=text/css>a:link {color: rgb(128, 128, 255, 240);}</style>Projektet <b>%1</b> er endnu ikke konfigureret<br/><br/>Du kan konfigurere det i <a href="projectmode">Projekter-tilstand</a><br/> - - - ProjectExplorer::Internal::MsvcBasedToolChainConfigWidget Initialization: Initialisering: - - - ProjectExplorer::Internal::MsvcToolChainFactory - - MSVC - MSVC - - - - ProjectExplorer::Internal::ProcessStep - - Custom Process Step - Default ProcessStep display name - Brugerdefineret processtrin - - - Custom Process Step - item in combobox - Brugerdefineret processtrin - - - - ProjectExplorer::Internal::ProcessStepConfigWidget Custom Process Step Brugerdefineret processtrin - - - ProjectExplorer::Internal::ProcessStepWidget Command: Kommando: @@ -23781,16 +23428,6 @@ Ekskludering: %2 Working directory: Arbejdsmappe: - - - ProjectExplorer::Internal::ProjectExplorerSettingsPage - - General - Generelt - - - - ProjectExplorer::Internal::ProjectExplorerSettingsPageUi Projects Directory Projektets mappe @@ -23863,10 +23500,6 @@ Ekskludering: %2 Stop applications before building: Stop programmer før bygning: - - None - Ingen - Same Project Samme projekt @@ -23907,9 +23540,6 @@ Ekskludering: %2 Limit build output to Begræns byg-output til - - - ProjectExplorer::Internal::ProjectFileWizardExtension Open project anyway? Åbn projekt alligevel? @@ -23930,16 +23560,10 @@ til projektet "%2". Kunne ikke tilføje en eller flere filer til projektet "%1" (%2). - - - ProjectExplorer::Internal::ProjectListWidget %1 (%2) %1 (%2) - - - ProjectExplorer::Internal::ProjectTreeWidget Simplify Tree Simplificer træ @@ -23964,9 +23588,6 @@ til projektet "%2". Synchronize with Editor Synkroniser med redigering - - - ProjectExplorer::Internal::ProjectTreeWidgetFactory Projects Projekter @@ -23983,9 +23604,6 @@ til projektet "%2". Filter Tree Filtrer træ - - - ProjectExplorer::Internal::ProjectWelcomePage Open Session #%1 Åbn session #%1 @@ -24060,25 +23678,10 @@ til projektet "%2". Recent Projects Nylige projekter - - Projects - Projekter - - - - ProjectExplorer::Internal::ProjectWindow Project Settings Projektindstillinger - - Build & Run - Byg & kør - - - Projects - Projekter - Import Existing Build... Importér eksisterende byg... @@ -24099,9 +23702,6 @@ til projektet "%2". Import Directory Importér mappe - - - ProjectExplorer::Internal::ProjectWizardPage Summary Opsummering @@ -24134,9 +23734,6 @@ til projektet "%2". Files to be added in Filer som skal tilføjes i - - - ProjectExplorer::Internal::RemoveTaskHandler Remove Name of the action triggering the removetaskhandler @@ -24146,21 +23743,6 @@ til projektet "%2". Remove task from the task list. Fjern opgave fra opgaveliste. - - - ProjectExplorer::Internal::RunSettingsWidget - - Add - Tilføj - - - Remove - Fjern - - - Rename... - Omdøb... - Deployment Udsendelse @@ -24169,27 +23751,15 @@ til projektet "%2". Method: Metode: - - Run - Kør - Run configuration: Kør-konfiguration: - - &Clone Selected - &Klon valgte - Clone Configuration Title of a the cloned RunConfiguration window, text of the window Klon konfiguration - - New configuration name: - Nyt konfigurationsnavn: - Remove Run Configuration? Fjern kør-konfiguration? @@ -24206,10 +23776,6 @@ til projektet "%2". Cancel Build && Remove Deploy Configuration Annuller byg og fjern udsend-konfiguration - - Do Not Remove - Fjern ikke - Remove Deploy Configuration %1? Fjern udsend-konfigurationen %1? @@ -24238,9 +23804,6 @@ til projektet "%2". Run Settings Kør-indstillinger - - - ProjectExplorer::Internal::SessionDialog Session Manager Sessionshåndtering @@ -24273,9 +23836,6 @@ til projektet "%2". <a href="qthelp://org.qt-project.qtcreator/doc/creator-project-managing-sessions.html">What is a Session?</a> <a href="qthelp://org.qt-project.qtcreator/doc/creator-project-managing-sessions.html">Hvad er en session?</a> - - - ProjectExplorer::Internal::SessionModel Session Session @@ -24308,24 +23868,14 @@ til projektet "%2". Rename Session Omdøb session - - &Rename - &Omdøb - Rename and &Open Omdøb og &åbn - - - ProjectExplorer::Internal::SessionNameInputDialog Enter the name of the session: Indtast navnet på sessionen: - - - ProjectExplorer::Internal::ShowInEditorTaskHandler Show in Editor Vis i redigering @@ -24334,9 +23884,6 @@ til projektet "%2". Show task location in an editor. Vis placering af opgave i en redigering. - - - ProjectExplorer::Internal::ShowOutputTaskHandler Show &Output Vis &output @@ -24349,9 +23896,6 @@ til projektet "%2". O o - - - ProjectExplorer::Internal::SysRootInformationConfigWidget Sysroot: System-rod: @@ -24360,9 +23904,6 @@ til projektet "%2". The root directory of the system image to use.<br>Leave empty when building for the desktop. Rodmappen af systemaftrykket som skal bruges.<br>Lad være tom når der bygges til desktop. - - - ProjectExplorer::Internal::TargetSetupWidget <b>Error:</b> Severity is Task::Error @@ -24373,16 +23914,10 @@ til projektet "%2". Severity is Task::Warning <b>Advarsel:</b> - - - ProjectExplorer::Internal::TaskDelegate File not found: %1 Fil ikke fundet: %1 - - - ProjectExplorer::Internal::TaskWindow Issues Problemstillinger @@ -24395,9 +23930,6 @@ til projektet "%2". Filter by categories Filtrer efter kategorier - - - ProjectExplorer::Internal::TextEditDetailsWidget %n entries @@ -24409,9 +23941,6 @@ til projektet "%2". Empty Tom - - - ProjectExplorer::Internal::ToolChainInformationConfigWidget Compiler: Kompiler: @@ -24424,9 +23953,6 @@ til projektet "%2". <No compiler> <ingen kompiler> - - - ProjectExplorer::Internal::ToolChainOptionsPage <nobr><b>ABI:</b> %1 <nobr><b>ABI:</b> %1 @@ -24435,34 +23961,10 @@ til projektet "%2". not up-to-date ikke up-to-date - - Name - Navn - Type Type - - Auto-detected - Auto-detekteret - - - Manual - Manuelt - - - Add - Tilføj - - - Clone - Klon - - - Remove - Fjern - Duplicate Compilers Detected Duplikeret kompilere detekteret @@ -24479,9 +23981,6 @@ til projektet "%2". Compilers Kompilere - - - ProjectExplorer::Internal::VcsAnnotateTaskHandler &Annotate &Annotate @@ -24490,9 +23989,6 @@ til projektet "%2". Annotate using version control system. Annotate ved brug af versionsstyringssystem. - - - ProjectExplorer::Internal::WaitForStopDialog Waiting for Applications to Stop Venter på at programmer stopper @@ -24505,17 +24001,10 @@ til projektet "%2". Waiting for applications to stop. Venter på at programmer stopper. - - - ProjectExplorer::Internal::WizardPage Project Management Projekthåndtering - - Add to &project: - Tilføj til &projekt: - Add to &version control: Tilføj til &versionsstyring: @@ -24532,9 +24021,6 @@ til projektet "%2". - - - ProjectExplorer::JsonFieldPage Line Edit Validator Expander Linjeredigeringsvalidator-udvidder @@ -24643,9 +24129,6 @@ til projektet "%2". Source and target are both empty. Kilde og mål er begge tomme. - - - ProjectExplorer::JsonKitsPage Feature list is set and not of type list. Facilitetsliste er sat og ikke en typeliste. @@ -24658,17 +24141,6 @@ til projektet "%2". Feature list element is not a string or object. Facilitetsliste-element er ikke en streng eller objekt. - - - ProjectExplorer::JsonProjectPage - - untitled - File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. - unavngivet - - - - ProjectExplorer::JsonSummaryPage Failed to Commit to Version Control Kunne ikke commit til versionsstyring @@ -24681,21 +24153,6 @@ til projektet "%2". Failed to Add to Project Kunne ikke tilføje til projekt - - Failed to add subproject "%1" -to project "%2". - Kunne ikke tilføje underprojektet "%1" -til projektet "%2". - - - Failed to add one or more files to project -"%1" (%2). - Kunne ikke tilføje en eller flere filer til projektet -"%1" (%2). - - - - ProjectExplorer::JsonWizard "data" for a "Form" page needs to be unset or an empty object. "data" til en "Udformning"-side skal være usat eller et tomt objekt. @@ -24870,10 +24327,6 @@ til projektet "%2". Source file: Kildefil: - - Path: - Sti: - Define Class Definer klasse @@ -24926,14 +24379,6 @@ til projektet "%2". Project and Test Information Projekt- og testinformation - - Project Management - Projekthåndtering - - - Summary - Opsummering - Creates a new unit test project. Unit tests allow you to verify that the code is fit for use and that there are no regressions. Opretter et nyt unit-test-projekt. unit-tests giver dig mulighed for at verificere at koden er klar til brug og at der ikke er nogen regressions. @@ -25194,10 +24639,6 @@ til projektet "%2". Creates a scratch buffer using a temporary file. Opretter en scratch-buffer ved brug af en midlertidig fil. - - General - Generelt - Scratch Buffer Scratch-buffer @@ -25258,10 +24699,6 @@ til projektet "%2". Kit Selection Valg af kit - - Kits - Kits - Non-Qt Project Ikke-Qt-projekt @@ -25286,10 +24723,6 @@ Preselects a desktop Qt for building the application if available. Prævælger en desktop Qt til bygning af programmet, hvis tilgængeligt. - - Application - Program - Qt Console Application Qt-konsolprogram @@ -25370,10 +24803,6 @@ Brug det kun hvis du prototyper. Du kan ikke oprette et fuldt program med dette. Creates a qmake-based project without any files. This allows you to create an application without any default classes. Opretter et qmake-baseret projekt uden nogen filer. Dette giver dig mulighed for at oprette et program uden nogen standard klasser. - - Other Project - Andet projekt - Empty qmake Project Tomt qmake-projekt @@ -25542,18 +24971,10 @@ Brug det kun hvis du prototyper. Du kan ikke oprette et fuldt program med dette. Running Bazaar branch... Kører Bazaar-gren... - - Clone - Klon - Clones a Bazaar branch and tries to load the contained project. Kloner en Bazaar-gren og prøver at indlæse det indeholdte projekt. - - Import Project - Importér projekt - Bazaar Clone (Or Branch) Bazaar-klon (eller gren) @@ -25678,9 +25099,6 @@ Brug det kun hvis du prototyper. Du kan ikke oprette et fuldt program med dette. Vertex Shader (OpenGL/ES 2.0) Vertex shader (OpenGL/ES 2.0) - - - ProjectExplorer::JsonWizardFactory Generator is not a object. Generator er ikke et objekt. @@ -25821,9 +25239,6 @@ Brug det kun hvis du prototyper. Du kan ikke oprette et fuldt program med dette. When parsing "pages": %1 Ved parsing af "pages": %1 - - - ProjectExplorer::JsonWizardGenerator %1 [folder] %1 [mappe] @@ -25842,17 +25257,10 @@ Brug det kun hvis du prototyper. Du kan ikke oprette et fuldt program med dette. Mappen %1 indeholder filer som ikke kan overskrives: %2. - - - ProjectExplorer::Kit Unnamed Unavngivet - - Kit - Kit - Kit ID Kit-ID @@ -25873,10 +25281,6 @@ Brug det kun hvis du prototyper. Du kan ikke oprette et fuldt program med dette. The id of the currently active kit. Id'et af det aktuelt aktive kit. - - Clone of %1 - Klon af %1 - Error: Fejl: @@ -25885,70 +25289,20 @@ Brug det kun hvis du prototyper. Du kan ikke oprette et fuldt program med dette. Warning: Advarsel: - - - ProjectExplorer::KitConfigWidget Manage... Håndter... - - - ProjectExplorer::KitManager - - Desktop - Desktop - - - - ProjectExplorer::KitOptionsPage - - Add - Tilføj - - - Clone - Klon - - - Remove - Fjern - Make Default Gør standard - - Kits - Kits - - - - ProjectExplorer::LocalEnvironmentAspect - - Build Environment - Bygmiljø - - - System Environment - Systemmiljø - - - Clean Environment - Rensmiljø - - - - ProjectExplorer::OsParser The process can not access the file because it is being used by another process. Please close all running instances of your application before starting a build. Processen kan ikke tilgå filen fordi den bruges af en anden process. Luk venligst alle kørende instanser af dit program før en byg startes. - - - ProjectExplorer::PortsGatherer Found %n free ports. @@ -25960,13 +25314,6 @@ Luk venligst alle kørende instanser af dit program før en byg startes.Checking available ports... Tjekker tilgængelige porte... - - - ProjectExplorer::Project - - Project - Projekt - Project Name Projektnavn @@ -26003,9 +25350,6 @@ Luk venligst alle kørende instanser af dit program før en byg startes.Some configurations could not be copied. Nogle konfigurationer kunne ikke kopieres. - - - ProjectExplorer::ProjectExplorerPlugin &Build &Byg @@ -26018,10 +25362,6 @@ Luk venligst alle kørende instanser af dit program før en byg startes.&Start Debugging &Start fejlretning - - Run - Kør - Open With Åbn med @@ -26070,10 +25410,6 @@ Luk venligst alle kørende instanser af dit program før en byg startes.C C - - C++ - C++ - Open... Åbn... @@ -26166,10 +25502,6 @@ Luk venligst alle kørende instanser af dit program før en byg startes.Run Without Deployment Kør uden udsendelse - - Build - Byg - Build Without Dependencies Byg uden afhængigheder @@ -26182,10 +25514,6 @@ Luk venligst alle kørende instanser af dit program før en byg startes.Rebuild Without Dependencies Genbyg uden afhængigheder - - Clean - Rens - Clean Without Dependencies Rens uden afhængigheder @@ -26194,10 +25522,6 @@ Luk venligst alle kørende instanser af dit program før en byg startes.Deploy Without Dependencies Udsend uden afhængigheder - - Deploy - Udsend - Add Existing Files... Tilføj eksisterende filer... @@ -26263,10 +25587,6 @@ Luk venligst alle kørende instanser af dit program før en byg startes.The name of the current project. Navnet på det aktuelle projekt. - - The name of the currently active kit. - Navnet på det aktuelt aktive kit. - The name of the currently active kit as a filesystem-friendly version. Navnet på det aktuelt aktive kit som en filsystem venlig version. @@ -26295,10 +25615,6 @@ Luk venligst alle kørende instanser af dit program før en byg startes.The currently active build configuration's name. Det aktuelt aktive byggekonfigurations navn. - - The currently active run configuration's name. - Det aktuelt aktive kør-konfigurations navn. - The currently active run configuration's executable (if applicable). Den aktuelt aktive kør-konfigurations eksekverbar (hvis anvendelig). @@ -26339,10 +25655,6 @@ Luk venligst alle kørende instanser af dit program før en byg startes.Do you want to cancel the build process and unload the project anyway? Vil du annullere byggeprocessen og afindlæse projektet alligevel? - - All Projects - Alle projekter - New Project Title of dialog @@ -26487,10 +25799,6 @@ Vil du ignorere dem? A build is still in progress. En byg er stadig i gang. - - Run %1 - Kør %1 - New File Title of dialog @@ -26577,9 +25885,6 @@ Omdøb %2 til %3 alligevel? Cannot Rename File Kan ikke omdøbe fil - - - ProjectExplorer::ProjectImporter No Build Found Ingen byg fundet @@ -26596,27 +25901,10 @@ Omdøb %2 til %3 alligevel? Imported Kit Importeret kit - - - ProjectExplorer::ProjectTree <b>Warning:</b> This file is outside the project directory. <b>Advarsel:</b> Denne fil er udenfor projektets mappe. - - - ProjectExplorer::ProjectsMode - - Projects - Projekter - - - - ProjectExplorer::RunConfiguration - - Run Settings - Kør-indstillinger - Variables in the current run environment Variabler i det aktuelle kør-miljø @@ -26643,9 +25931,6 @@ Omdøb %2 til %3 alligevel? Shown in Run configuration, Add menu: "name of runnable (on device name)" %1 (på %2) - - - ProjectExplorer::RunControl PID %1 PID %1 @@ -26682,9 +25967,6 @@ Omdøb %2 til %3 alligevel? No executable specified. Ingen eksekverbar angivet. - - - ProjectExplorer::RunWorker Worker start timed out. Arbejder start fik timeout. @@ -26717,23 +25999,14 @@ Omdøb %2 til %3 alligevel? An error occurred when attempting to read from the process. For example, the process may not be running. Der opstod en fejl under forsøg på at læse fra processen. Det kan f.eks. være at processen ikke køre. - - - ProjectExplorer::SelectableFilesDialogAddDirectory Add Existing Directory Tilføj eksisterende mappe - - - ProjectExplorer::SelectableFilesDialogEditFiles Edit Files Rediger filer - - - ProjectExplorer::SelectableFilesWidget Source directory: Kildemappe: @@ -26772,9 +26045,6 @@ Denne fil bevares. Disse filer bevares. - - - ProjectExplorer::SessionManager Error while saving session Fejl ved gemning af session @@ -26823,9 +26093,6 @@ Disse filer bevares. Loading Session Indlæser session - - - ProjectExplorer::SimpleTargetRunner %1 crashed. %1 holdt op med at virke. @@ -26834,9 +26101,6 @@ Disse filer bevares. %2 exited with code %1 %2 afsluttede med kode %1 - - - ProjectExplorer::SshDeviceProcess Failed to kill remote process: %1 Kunne ikke dræbe fjern-process: %1 @@ -26849,9 +26113,6 @@ Disse filer bevares. Terminated by request. Termineret efter anmodning. - - - ProjectExplorer::SshDeviceProcessList Connection failure: %1 Oprettelse af forbindelse mislykkedes: %1 @@ -26876,9 +26137,6 @@ Disse filer bevares. Remote stderr was: %1 Fjern-stderr var: %1 - - - ProjectExplorer::SysRootKitInformation Sys Root "%1" does not exist in the file system. System-roden "%1" findes ikke i filsystemet. @@ -26895,9 +26153,6 @@ Disse filer bevares. Sys Root System-rod - - - ProjectExplorer::Target Target Settings Målindstillinger @@ -26906,9 +26161,6 @@ Disse filer bevares. Source directory Kildemappe - - - ProjectExplorer::TargetSetupPage <span style=" font-weight:600;">No valid kits found.</span> <span style=" font-weight:600;">Ingen gyldige kits fundet.</span> @@ -26929,22 +26181,11 @@ Disse filer bevares. Select Kits for Your Project Vælg kits til dit projekt - - Kit Selection - Valg af kit - - - Kits - Kits - The following kits can be used for project <b>%1</b>: %1: Project name Følgende kits kan bruges til projektet <b>%1</b>: - - - ProjectExplorer::Task You asked to build the current Run Configuration's build target only, but it is not associated with a build target. Update the Make Step in your build settings. Du spurgte om kun at bygge det aktuelle kør-konfigurations byggemål, men det er ikke tilknyttet et byggemål. Opdater Make-trinnet i dine byggeindstillinger. @@ -26957,9 +26198,6 @@ Disse filer bevares. %1 needs a build configuration set up to build. Configure a build configuration in the project settings. %1 har brug for en byggekonfiguration sat op for at bygge. Konfigurer en byggekonfiguration i projektindstillingerne. - - - ProjectExplorer::TerminalAspect Terminal Terminal @@ -26968,23 +26206,6 @@ Disse filer bevares. Run in terminal Kør i terminal - - - ProjectExplorer::ToolChain - - Clone of %1 - Klon af %1 - - - - ProjectExplorer::ToolChainConfigWidget - - Name: - Navn: - - - - ProjectExplorer::ToolChainKitInformation Compilers produce code for different ABIs: %1 Kompilere producere kode til forskellige ABI'er: %1 @@ -26993,10 +26214,6 @@ Disse filer bevares. Compiler Kompiler - - None - Ingen - Path to the compiler executable Sti til kompiler-eksekverbaren @@ -27013,9 +26230,6 @@ Disse filer bevares. No compiler set in kit. Ingen kompiler sat i kit. - - - ProjectExplorer::ToolChainManager None Intet @@ -27024,9 +26238,6 @@ Disse filer bevares. Tool Chains Værktøjskæder - - - ProjectExplorer::UserFileHandler No deployment Ingen udsendelse @@ -27035,9 +26246,6 @@ Disse filer bevares. Deploy to Maemo device Udsend til Maemo-enhed - - - ProjectExplorer::WorkingDirectoryAspect Working Directory Arbejdsmappe @@ -27050,13 +26258,6 @@ Disse filer bevares. Select Working Directory Vælg arbejdsmappe - - Working directory: - Arbejdsmappe: - - - - ProjectExplorer::XcodebuildParser Replacing signature Erstatter signatur @@ -27065,17 +26266,10 @@ Disse filer bevares. Xcodebuild failed. Xcodebuild mislykkedes. - - - ProjectWizard The files are implicitly added to the projects: Filerne tilføjes implicit til projekterne: - - <None> - <intet> - <Implicitly Add> <implicit tilføjelse> @@ -35214,7 +34408,7 @@ med en adgangskode, som du kan indtaste herunder. - TargetSettingsPanelItem + ::ProjectExplorer No kit defined in this project. Intet kit defineret i dette projekt. @@ -35223,13 +34417,6 @@ med en adgangskode, som du kan indtaste herunder. Configure Project Konfigurer projekt - - - TargetSettingsPanelWidget - - Configure Project - Konfigurer projekt - The project <b>%1</b> is not yet configured.<br/>%2 cannot parse the project, because no kit has been set up. Projektet <b>%1</b> er endnu ikke konfigureret.<br/>%2 kan ikke parse projektet, da intet kit er blevet sat op. @@ -35262,10 +34449,6 @@ med en adgangskode, som du kan indtaste herunder. Cancel Build and Disable Kit in This Project Annuller byg og deaktivér kit i dette projekt - - Do Not Remove - Fjern ikke - Disable Kit "%1" in This Project? Deaktivér kittet "%1" i projektet? @@ -35282,32 +34465,10 @@ med en adgangskode, som du kan indtaste herunder. Copy Steps From Another Kit... Kopiér trin fra andet kit... - - Build - Byg - - - Run - Kør - Enable Kit Aktivér kit - - - TaskHub - - Error - Fejl - - - Warning - Advarsel - - - - TaskList::Internal::StopMonitoringHandler Stop Monitoring Stop overvågning @@ -35316,9 +34477,6 @@ med en adgangskode, som du kan indtaste herunder. Stop monitoring task files. Stop overvågning af opgavefiler. - - - TaskList::Internal::TaskListPlugin Cannot open task file %1: %2 Kan ikke åbne opgavefilen %1: %2 @@ -42539,7 +41697,7 @@ Vil du overskrive dem? - ProjectExplorer::BuildStepList + ::ProjectExplorer Build Display name of the build build step list. Used as part of the labels in the project window. @@ -42550,23 +41708,14 @@ Vil du overskrive dem? Display name of the clean build step list. Used as part of the labels in the project window. Rens - - - ProjectExplorer::KitChooser Kit of Active Project: %1 Kit af aktivt projekt: %1 - - - ProjectExplorer::Internal::FlatModel No kits are enabled for this project. Enable kits in the "Projects" mode. Ingen kits er akitveret for dette projekt. Aktivér kits i "Projekter"-tilstand. - - - ProjectExplorer::ExecutableAspect Executable Eksekverbar @@ -42575,10 +41724,6 @@ Vil du overskrive dem? <unknown> <ukendt> - - Executable: - Eksekverbar: - Alternate executable on device: Alternativ eksekverbar på enhed: @@ -42587,9 +41732,6 @@ Vil du overskrive dem? Use this command instead Brug i stedet denne kommando - - - ProjectExplorer::UseLibraryPathsAspect Add build library search path to DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH Tilføj byggebibliotek søgesti til DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH @@ -42602,9 +41744,6 @@ Vil du overskrive dem? Add build library search path to LD_LIBRARY_PATH Tilføj byggebibliotek søgesti til LD_LIBRARY_PATH - - - ProjectExplorer::UseDyldSuffixAspect Use debug version of frameworks (DYLD_IMAGE_SUFFIX=_debug) Brug fejlret-version af frameworks (DYLD_IMAGE_SUFFIX=_debug) diff --git a/share/qtcreator/translations/qtcreator_de.ts b/share/qtcreator/translations/qtcreator_de.ts index 9e373e07ed6..eee595ca626 100644 --- a/share/qtcreator/translations/qtcreator_de.ts +++ b/share/qtcreator/translations/qtcreator_de.ts @@ -6530,7 +6530,7 @@ Weiterführende Informationen befinden sich in /etc/sysctl.d/10-ptrace.conf - DependenciesModel + ::ProjectExplorer Unable to Add Dependency Die Abhängigkeit konnte nicht hinzugefügt werden @@ -10224,7 +10224,7 @@ Leer lassen, um das Dateisystem zu durchsuchen. - ProjectExplorer::AbstractProcessStep + ::ProjectExplorer Configuration is faulty. Check the Issues view for details. Die Konfiguration ist fehlerhaft. Details befinden sich in der Ansicht "Probleme". @@ -10253,9 +10253,6 @@ Leer lassen, um das Dateisystem zu durchsuchen. Could not start process "%1" %2. Der Prozess "%1" %2 konnte nicht gestartet werden. - - - ProjectExplorer::BuildManager Finished %1 of %n steps @@ -10294,21 +10291,6 @@ Leer lassen, um das Dateisystem zu durchsuchen. Category for autotest issues listed under 'Issues' Autotests - - Clean - Displayed name for a "cleaning" build step - Bereinigen - - - Deploy - Displayed name for a deploy step - Deployment - - - Build - Displayed name for a normal build step - Erstellen - Build/Deployment canceled Erstellen/Deployment wurde abgebrochen @@ -10342,9 +10324,6 @@ Leer lassen, um das Dateisystem zu durchsuchen. Skipping disabled step %1. Überspringe deaktivierten Schritt %1. - - - ProjectExplorer::EnvironmentWidget Variable already exists. Variable existiert bereits. @@ -10431,9 +10410,6 @@ Leer lassen, um das Dateisystem zu durchsuchen. Enable Aktivieren - - - ProjectExplorer::Internal::AllProjectsFilter Files in Any Project Dateien aus allen Projekten @@ -10442,9 +10418,6 @@ Leer lassen, um das Dateisystem zu durchsuchen. Matches all files of all open projects. Append "+<number>" or ":<number>" to jump to the given line number. Append another "+<number>" or ":<number>" to jump to the column number as well. Filtert alle Dateien aus allen geöffneten Projekten. Fügen Sie "+<Zahl>" oder ":<Zahl>" an, um zur angegebenen Zeile zu springen. Fügen Sie noch einmal "+<Zahl>" oder ":<Zahl>" an, um auch zur angegebenen Spalte zu springen. - - - ProjectExplorer::Internal::AllProjectsFind All Projects Alle Projekte @@ -10461,9 +10434,6 @@ Excluding: %2 Außer: %2 %3 - - - ProjectExplorer::Internal::BuildSettingsWidget No build settings available Es sind keine Build-Einstellungen verfügbar @@ -10492,10 +10462,6 @@ Außer: %2 Cancel Build && Remove Build Configuration Build abbrechen und Build-Konfiguration löschen - - Do Not Remove - Nicht löschen - Remove Build Configuration %1? Build-Konfiguration %1 löschen? @@ -10516,11 +10482,6 @@ Außer: %2 Do you really want to delete build configuration <b>%1</b>? Möchten Sie die Build-Konfiguration <b>%1</b> wirklich löschen? - - Clone Configuration - Title of a the cloned BuildConfiguration window, text of the window - Duplizierte Konfiguration - New configuration name: Name der neuen Konfiguration: @@ -10533,9 +10494,6 @@ Außer: %2 New name for build configuration <b>%1</b>: Neuer Name der Build-Konfiguration <b>%1</b>: - - - ProjectExplorer::Internal::CompileOutputWindow Compile Output Kompilierung @@ -10556,9 +10514,6 @@ Außer: %2 O K - - - ProjectExplorer::Internal::CurrentProjectFilter Files in Current Project Dateien im aktuellen Projekt @@ -10567,9 +10522,6 @@ Außer: %2 Matches all files from the current document's project. Append "+<number>" or ":<number>" to jump to the given line number. Append another "+<number>" or ":<number>" to jump to the column number as well. Filtert alle Dateien aus dem Projekt des aktuellen Dokuments. Fügen Sie "+<Zahl>" oder ":<Zahl>" an, um zur angegebenen Zeile zu springen. Fügen Sie noch einmal "+<Zahl>" oder ":<Zahl>" an, um auch zur angegebenen Spalte zu springen. - - - ProjectExplorer::Internal::CurrentProjectFind Project "%1" Projekt "%1" @@ -10582,9 +10534,6 @@ Außer: %2 Project "%1": Projekt "%1": - - - ProjectExplorer::Internal::ProjectFileWizardExtension Open project anyway? Projekt trotzdem öffnen? @@ -10604,9 +10553,6 @@ konnte dem Projekt "%2" nicht hinzugefügt werden. "%1" (%2). Einige Dateien (%2) konnten nicht zum Projekt "%1" hinzugefügt werden. - - - ProjectExplorer::Internal::ProjectTreeWidget Simplify Tree Baum vereinfachen @@ -10647,9 +10593,6 @@ konnte dem Projekt "%2" nicht hinzugefügt werden. Filter Tree Baum filtern - - - ProjectExplorer::Internal::ProjectTreeWidgetFactory Projects Projekte @@ -10662,9 +10605,6 @@ konnte dem Projekt "%2" nicht hinzugefügt werden. Alt+X Alt+X - - - ProjectExplorer::Internal::ProjectWelcomePage Open Session #%1 Sitzung #%1 öffnen @@ -10739,13 +10679,6 @@ konnte dem Projekt "%2" nicht hinzugefügt werden. Sessions Sitzungen - - Projects - Projekte - - - - ProjectExplorer::Internal::ProjectWizardPage Add to &version control: Unter &Versionskontrolle stellen: @@ -10782,25 +10715,10 @@ konnte dem Projekt "%2" nicht hinzugefügt werden. Files to be added in Hinzuzufügende Dateien in - - - ProjectExplorer::Internal::RunSettingsWidget Run Settings Einstellungen zur Ausführung - - Add - Hinzufügen - - - Remove - Entfernen - - - Clone... - Klonen... - Run configuration: Ausführungskonfiguration: @@ -10813,10 +10731,6 @@ konnte dem Projekt "%2" nicht hinzugefügt werden. Do you really want to delete the run configuration <b>%1</b>? Möchten Sie die Ausführungskonfiguration <b>%1</b> löschen? - - Rename... - Umbenennen... - Add... Hinzufügen... @@ -10838,10 +10752,6 @@ konnte dem Projekt "%2" nicht hinzugefügt werden. Title of a the cloned RunConfiguration window, text of the window Duplizierte Konfiguration - - New configuration name: - Name der neuen Konfiguration: - New name for run configuration <b>%1</b>: Neuer Name der Ausführungskonfiguration <b>%1</b>: @@ -10850,10 +10760,6 @@ konnte dem Projekt "%2" nicht hinzugefügt werden. Cancel Build && Remove Deploy Configuration Build abbrechen und Deployment-Konfiguration löschen - - Do Not Remove - Nicht löschen - Remove Deploy Configuration %1? Deployment-Konfiguration %1 löschen? @@ -10878,9 +10784,6 @@ konnte dem Projekt "%2" nicht hinzugefügt werden. New name for deploy configuration <b>%1</b>: Neuer Name der Deployment-Konfiguration <b>%1</b>: - - - ProjectExplorer::Internal::SessionDialog Session Manager Sitzungsverwaltung @@ -10913,16 +10816,10 @@ konnte dem Projekt "%2" nicht hinzugefügt werden. &Open &Öffnen - - - ProjectExplorer::Internal::TaskDelegate File not found: %1 Datei nicht gefunden: %1 - - - ProjectExplorer::ProjectExplorerPlugin &Build &Erstellen @@ -10987,10 +10884,6 @@ konnte dem Projekt "%2" nicht hinzugefügt werden. Deploy Without Dependencies Deployment unter Ausschluss der Abhängigkeiten durchführen - - Run - Ausführen - Ctrl+R Ctrl+R @@ -11043,10 +10936,6 @@ konnte dem Projekt "%2" nicht hinzugefügt werden. Do you want to cancel the build process and unload the project anyway? Möchten Sie die Erstellung abbrechen und das Projekt trotzdem schließen? - - All Projects - Alle Projekte - Failed opening project "%1": No plugin can open project type "%2". Das Projekt "%1" konnte nicht geöffnet werden: Der Projekttyp "%2" kann von keinem Plugin geöffnet werden. @@ -11057,18 +10946,6 @@ Do you want to ignore them? Es wurden einige Build-Fehler im aktuellen Task festgestellt. Möchten Sie sie ignorieren? - - Clean - Bereinigen - - - Build - Erstellen - - - Deploy - Deployment - The project "%1" has no active kit. Das Projekt "%1" hat kein aktives Kit. @@ -11121,10 +10998,6 @@ Möchten Sie sie ignorieren? Remove... Entfernen... - - Rename... - Umbenennen... - Main file of the project the current document belongs to. Hauptdatei des Projekts, zu dem das aktuelle Dokument gehört. @@ -11632,9 +11505,6 @@ Rename %2 to %3 anyway? Could not delete file %1. Die Datei "%1" konnte nicht gelöscht werden. - - - ProjectExplorer::SessionManager Error while restoring session Beim Wiederherstellen der Sitzung ist ein Fehler aufgetreten @@ -13639,42 +13509,24 @@ Was möchten Sie tun? - ProjectExplorer::BaseProjectWizardDialog + ::ProjectExplorer untitled File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. untitled - - - ProjectExplorer::Internal::DependenciesModel <No other projects in this session> <Es existieren keine anderen Projekte in der Sitzung> - - - ProjectExplorer::Internal::MiniProjectTargetSelector Project Projekt - - Build - Erstellen - Kit Kit - - Deploy - Deployment - - - Run - Ausführen - Unconfigured Nicht konfiguriert @@ -13731,9 +13583,6 @@ Was möchten Sie tun? Run: <b>%1</b><br/> Ausführung: <b>%1</b><br/> - - - ::ProjectExplorer Build & Run Erstellung und Ausführung @@ -14894,14 +14743,11 @@ Locked components cannot be modified or selected. - DependenciesPanelFactory + ::ProjectExplorer Dependencies Abhängigkeiten - - - EditorSettingsPanelFactory Editor Editor @@ -15252,7 +15098,7 @@ zu deaktivieren, deaktiviert auch die folgenden Plugins: - ProjectExplorer::BuildConfiguration + ::ProjectExplorer Build Settings Build-Einstellungen @@ -15261,10 +15107,6 @@ zu deaktivieren, deaktiviert auch die folgenden Plugins: Build directory Build-Verzeichnis - - Name of current build - Name der aktuellen Build-Konfiguration - Name of the build configuration Name der Build-Konfiguration @@ -15297,10 +15139,6 @@ zu deaktivieren, deaktiviert auch die folgenden Plugins: The project was not parsed successfully. Das Projekt konnte nicht erfolgreich ausgewertet werden. - - Build - Build - Default The name of the build configuration created by default for a autotools project. @@ -15308,14 +15146,6 @@ zu deaktivieren, deaktiviert auch die folgenden Plugins: The name of the build configuration created by default for a generic project. Vorgabe - - Debug - Debug - - - Release - Release - Variables in the current build environment. Variablen in der aktuellen Build-Umgebung. @@ -15328,9 +15158,6 @@ The name of the build configuration created by default for a generic project.Variables in the active build environment of the active project. Variablen in der aktiven Build-Umgebung des aktiven Projekts. - - - ProjectExplorer::Internal::CustomWizardPage Path: Pfad: @@ -15526,7 +15353,7 @@ Für CMake-Projekte stellen Sie sicher, dass die Variable QML_IMPORT_PATH in CMa - ProjectExplorer::Internal::SessionNameInputDialog + ::ProjectExplorer Enter the name of the session: Geben Sie den Namen der Sitzung an: @@ -16135,7 +15962,7 @@ Möchten Sie sie überschreiben? - ProjectExplorer::Internal::BuildStepListWidget + ::ProjectExplorer %1 Steps %1 is the name returned by BuildStepList::displayName @@ -16153,10 +15980,6 @@ Möchten Sie sie überschreiben? Move Up Nach oben - - Disable - Deaktivieren - Move Down Nach unten @@ -16165,10 +15988,6 @@ Möchten Sie sie überschreiben? Remove Item Element löschen - - Enable - Aktivieren - Removing Step failed Das Entfernen des Build-Schritts schlug fehl @@ -16181,9 +16000,6 @@ Möchten Sie sie überschreiben? No Build Steps Keine Build-Schritte - - - ProjectExplorer::Internal::CopyTaskHandler error: Task is of type: error @@ -16194,9 +16010,6 @@ Möchten Sie sie überschreiben? Task is of type: warning Warnung: - - - ProjectExplorer::DeployConfiguration Deploy locally Default DeployConfiguration display name @@ -16207,9 +16020,6 @@ Möchten Sie sie überschreiben? Display name of the default deploy configuration Deployment-Konfiguration - - - ProjectExplorer::RunControl Unexpected run control state %1 when worker %2 started. Unerwarteter Run Control-Zustand %1 beim Start von Worker %2. @@ -16246,9 +16056,6 @@ Möchten Sie sie überschreiben? Invalid Ungültig - - - ProjectExplorer::Internal::ShowInEditorTaskHandler Show in Editor In Editor anzeigen @@ -16257,9 +16064,6 @@ Möchten Sie sie überschreiben? Show task location in an editor. Fundstelle in Editor anzeigen. - - - ProjectExplorer::Internal::TaskWindow Issues Probleme @@ -16272,9 +16076,6 @@ Möchten Sie sie überschreiben? Filter by categories Nach Kategorie filtern - - - ProjectExplorer::Internal::VcsAnnotateTaskHandler &Annotate &Annotation @@ -16283,9 +16084,6 @@ Möchten Sie sie überschreiben? Annotate using version control system. Annotation durch Versionskontrollsystem. - - - TaskList::Internal::StopMonitoringHandler Stop Monitoring Überwachung beenden @@ -16836,11 +16634,7 @@ konnte nicht unter Versionsverwaltung (%2) gestellt werden - ProjectExplorer::ProjectsMode - - Projects - Projekte - + ::ProjectExplorer QmlDesigner::ItemLibraryWidget @@ -17667,7 +17461,7 @@ Zum Beispiel bewirkt die Angabe "Revision: 15" dass der Branch auf Rev - ProjectExplorer::Internal::GccToolChainConfigWidget + ::ProjectExplorer &Compiler path: &Compiler-Pfad: @@ -17688,17 +17482,10 @@ Zum Beispiel bewirkt die Angabe "Revision: 15" dass der Branch auf Rev Target triple: Zieltripel: - - - ProjectExplorer::Internal::ToolChainOptionsPage Compilers Compiler - - Add - Hinzufügen - <nobr><b>ABI:</b> %1 <nobr><b>ABI:</b> %1 @@ -17735,14 +17522,6 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated eine für das native x86_64-Ziel und eine für ein x86-Ziel. Aktivieren Sie dies, wenn Sie 32bit-x86-Binärdateien erstellen wollen, ohne einen speziellen Cross-Compiler zu verwenden. - - Clone - Klonen - - - Remove - Entfernen - Remove All Alle entfernen @@ -18686,7 +18465,7 @@ Wird ein Problem gefunden, dann wird die Anwendung angehalten und kann untersuch - ProjectExplorer::ToolChain + ::ProjectExplorer Clone of %1 Kopie von %1 @@ -19944,14 +19723,11 @@ Speichern fehlgeschlagen. - ProjectExplorer::AbiWidget + ::ProjectExplorer <custom> <benutzerdefiniert> - - - ProjectExplorer::Internal::AppOutputPane Stop Anhalten @@ -19996,10 +19772,6 @@ Speichern fehlgeschlagen. Stop running program. Laufendes Programm anhalten. - - Open Settings Page - Einstellungsseite öffnen - Application Output Ausgabe der Anwendung @@ -20008,16 +19780,10 @@ Speichern fehlgeschlagen. Application Output Window Ausgabe der Anwendung - - - CodeStyleSettingsPanelFactory Code Style Coding-Stil - - - ProjectExplorer::EditorConfiguration Project Settings @@ -25277,7 +25043,7 @@ the manifest file by overriding your settings. Allow override? - ProjectExplorer::Internal::SessionModel + ::ProjectExplorer Session Sitzung @@ -25310,17 +25076,10 @@ the manifest file by overriding your settings. Allow override? Rename Session Sitzung umbenennen - - &Rename - &Umbenennen - Rename and &Open Umbenennen und ö&ffnen - - - ProjectExplorer::Internal::DeviceFactorySelectionDialog Available device types: Verfügbare Gerätetypen: @@ -25329,9 +25088,6 @@ the manifest file by overriding your settings. Allow override? Start Wizard Assistent starten - - - ProjectExplorer::Internal::DeviceSettingsWidget &Device: &Gerät: @@ -25388,10 +25144,6 @@ the manifest file by overriding your settings. Allow override? Show Running Processes... Laufende Prozesse anzeigen... - - Devices - Geräte - QmlDebug::QmlOutputParser @@ -25407,7 +25159,7 @@ the manifest file by overriding your settings. Allow override? - ProjectExplorer::DesktopDevice + ::ProjectExplorer Local PC Lokaler PC @@ -25416,16 +25168,10 @@ the manifest file by overriding your settings. Allow override? Desktop Desktop - - - ProjectExplorer::DeviceManagerModel %1 (default for %2) %1 (Vorgabe für %2) - - - ProjectExplorer::IDevice Device Gerät @@ -25709,7 +25455,7 @@ wirklich löschen? - ProjectExplorer::DeviceProcessesDialog + ::ProjectExplorer Filter Filter @@ -25738,9 +25484,6 @@ wirklich löschen? &Attach to Process &An Prozess anhängen - - - ProjectExplorer::DeviceProcessList Command Line Kommandozeile @@ -25801,7 +25544,7 @@ wirklich löschen? - ProjectExplorer::DeviceUsedPortsGatherer + ::ProjectExplorer Connection error: %1 Verbindungsfehler: %1 @@ -26283,14 +26026,11 @@ wirklich löschen? - ProjectExplorer::Internal::DeviceProcessesDialogPrivate + ::ProjectExplorer Remote Error Entfernter Fehler - - - ProjectExplorer::SshDeviceProcessList Process listing command failed with exit code %1. Das Kommando zur Auflistung der Prozesse schlug mit Rückgabewert %1 fehl. @@ -26303,9 +26043,6 @@ wirklich löschen? Remote stderr was: %1 Fehlerausgabe: %1 - - - ProjectExplorer::ToolChainConfigWidget Name: Name: @@ -26319,15 +26056,11 @@ wirklich löschen? - ProjectExplorer::Kit + ::ProjectExplorer Unnamed Unbenannt - - Kit - Kit - Kit ID Kit-ID @@ -26360,10 +26093,6 @@ wirklich löschen? The ID of the kit. Die ID des Kits. - - Clone of %1 - Kopie von %1 - Error: Fehler: @@ -26372,24 +26101,10 @@ wirklich löschen? Warning: Warnung: - - - ProjectExplorer::KitManager Desktop (%1) Desktop (%1) - - Desktop - Desktop - - - - ProjectExplorer::Internal::KitManagerConfigWidget - - Name: - Name: - Kit name and icon. Kit-Name und Symbol. @@ -26430,25 +26145,11 @@ wirklich löschen? Images (*.png *.xpm *.jpg) Bilddateien (*.png *.xpm *.jpg) - - - ProjectExplorer::Internal::KitModel %1 (default) Mark up a kit as the default one. %1 (Vorgabe) - - Name - Name - - - - ProjectExplorer::RunConfiguration - - Run Settings - Einstellungen zur Ausführung - Variables in the run environment. Variablen in der Ausführungsumgebung. @@ -26639,7 +26340,7 @@ wirklich löschen? - ProjectExplorer::Internal::TextEditDetailsWidget + ::ProjectExplorer Empty Leer @@ -26651,9 +26352,6 @@ wirklich löschen? %n Einträge - - - ProjectExplorer::Internal::CustomToolChainConfigWidget MACRO[=VALUE] MAKRO[=WERT] @@ -26674,18 +26372,10 @@ wirklich löschen? Comma-separated list of mkspecs. Kommaseparierte Liste der mkspecs. - - &Compiler path: - &Compiler-Pfad: - &Make path: Pfad zu &Make: - - &ABI: - &ABI: - &Predefined macros: &Vordefinierte Makros: @@ -26706,9 +26396,6 @@ wirklich löschen? &Error parser: &Fehler-Parser: - - - ProjectExplorer::GccToolChain GCC GCC @@ -26717,9 +26404,6 @@ wirklich löschen? %1 (%2, %3 %4 at %5) %1 (%2, %3 %4 an %5) - - - ProjectExplorer::Internal::RemoveTaskHandler Remove Name of the action triggering the removetaskhandler @@ -28371,34 +28055,16 @@ The affected files are: - ProjectExplorer::EnvironmentAspect + ::ProjectExplorer Environment Umgebung - - - ProjectExplorer::EnvironmentAspectWidget Base environment for this run configuration: Basisumgebung für diese Ausführungskonfiguration: - - ProjectExplorer::LocalEnvironmentAspect - - Build Environment - Build-Umgebung - - - System Environment - Systemumgebung - - - Clean Environment - Saubere Umgebung - - QmlDesigner::Internal::DebugView @@ -28811,7 +28477,7 @@ The affected files are: - ProjectExplorer::DeviceCheckBuildStep + ::ProjectExplorer No device configured. Es ist kein Gerät eingerichtet. @@ -28841,7 +28507,7 @@ The affected files are: - ProjectExplorer::Internal::CustomParserConfigDialog + ::ProjectExplorer Custom Parser Benutzerdefinierter Parser @@ -28866,10 +28532,6 @@ The affected files are: &Message: &Meldung: - - Test - Test - E&rror message: F&ehlermeldung: @@ -28930,9 +28592,6 @@ The affected files are: Warning message: Warnungsnachricht: - - - ProjectExplorer::Internal::DeviceTestDialog Close Schließen @@ -28966,11 +28625,7 @@ The affected files are: - CustomToolChain - - GCC - GCC - + ::ProjectExplorer Clang Clang @@ -28987,9 +28642,6 @@ The affected files are: Custom Benutzerdefiniert - - - ProjectExplorer::OsParser The process cannot access the file because it is being used by another process. Please close all running instances of your application before starting a build. @@ -30212,7 +29864,7 @@ benötigt wird, was meist die Geschwindigkeit erhöht. - ProjectExplorer::DesktopProcessSignalOperation + ::ProjectExplorer Cannot open process. Prozess kann nicht geöffnet werden. @@ -30249,9 +29901,6 @@ benötigt wird, was meist die Geschwindigkeit erhöht. Cannot start %1. Check src\tools\win64interrupt\win64interrupt.c for more information. %1 konnte nicht gestartet werden. Für weiterführende Informationen siehe auch src\tools\win64interrupt\win64interrupt.c. - - - ProjectExplorer::Internal::ImportWidget Import Build From... Build importieren von... @@ -30260,9 +29909,6 @@ benötigt wird, was meist die Geschwindigkeit erhöht. Import Import - - - ProjectExplorer::ProjectImporter No Build Found Kein Build gefunden @@ -30287,9 +29933,6 @@ benötigt wird, was meist die Geschwindigkeit erhöht. Imported Kit Importiertes Kit - - - ProjectExplorer::TargetSetupPage No suitable kits found. Es wurden keine geeigneten Kits gefunden. @@ -30314,18 +29957,11 @@ benötigt wird, was meist die Geschwindigkeit erhöht. Kit Selection Kit-Auswahl - - Kits - Kits - The following kits can be used for project <b>%1</b>: %1: Project name Für das Projekt <b>%1</b> können die folgenden Kits verwendet werden: - - - ProjectExplorer::Internal::TargetSetupWidget <b>Error:</b> Severity is Task::Error @@ -31509,14 +31145,11 @@ Möchten Sie es beenden? - ProjectExplorer::SelectableFilesDialogEditFiles + ::ProjectExplorer Edit Files Dateien Bearbeiten - - - ProjectExplorer::SelectableFilesDialogAddDirectory Add Existing Directory Vorhandenes Verzeichnis hinzufügen @@ -31843,7 +31476,7 @@ Möchten Sie es beenden? - ProjectWizard + ::ProjectExplorer The files are implicitly added to the projects: Die folgenden Dateien werden den Projekten implizit hinzugefügt: @@ -31852,10 +31485,6 @@ Möchten Sie es beenden? <Implicitly Add> <Implizites Hinzufügen> - - <None> - <Kein> - Utils::SettingsAccessor @@ -31905,7 +31534,7 @@ Möchten Sie es beenden? - ProjectExplorer::Task + ::ProjectExplorer You asked to build the current Run Configuration's build target only, but it is not associated with a build target. Update the Make Step in your build settings. Sie möchten nur das Übersetzungsergebnis für die aktuelle Ausführungsonfiguration bauen, aber sie ist mit keinem verknüpft. Korrigieren Sie den Make-Schritt in der Erstellungskonfiguration. @@ -31914,9 +31543,6 @@ Möchten Sie es beenden? %1 needs a compiler set up to build. Configure a compiler in the kit options. %1 benötigt einen Compiler zum Erstellen des Projekts. Bitte richten Sie einen Compiler in den Kit-Einstellungen ein. - - - ProjectExplorer::XcodebuildParser Replacing signature Ersetze Signatur @@ -31995,7 +31621,7 @@ Möchten Sie es beenden? - TaskList::Internal::TaskListPlugin + ::ProjectExplorer Cannot open task file %1: %2 Die Aufgabendatei %1 kann nicht geöffnet werden: %2 @@ -32852,7 +32478,7 @@ Möchten Sie sie jetzt auschecken? - ProjectExplorer::JsonWizard + ::ProjectExplorer "data" for a "Form" page needs to be unset or an empty object. "data" darf für eine "Form"-Seite nicht gesetzt sein oder muss ein leeres Objekt sein. @@ -32861,10 +32487,6 @@ Möchten Sie sie jetzt auschecken? Project File Projektdatei - - Choose Project File - Projektdatei auswählen - The project contains more than one project file. Select the one you would like to use. Das Projekt enthält mehr als eine Projektdatei. Bitte wählen Sie eine aus. @@ -33031,10 +32653,6 @@ Möchten Sie sie jetzt auschecken? Source file: Quelldatei: - - Path: - Pfad: - Define Class Klasse definieren @@ -33047,10 +32665,6 @@ Möchten Sie sie jetzt auschecken? Project Management Projektverwaltung - - Summary - Zusammenfassung - Creates a C++ header and a source file for a new class that you can add to a C++ project. Erzeugt jeweils eine C++-Header- und -Quelldatei für eine neue Klasse, die Sie zu einem C++-Projekt hinzufügen können. @@ -33223,10 +32837,6 @@ Möchten Sie sie jetzt auschecken? Model name: Modellname: - - Location: - Speicherort: - Model Name and Location Modellname und -speicherort @@ -33275,10 +32885,6 @@ Möchten Sie sie jetzt auschecken? Creates a scratch buffer using a temporary file. Erzeugt einen Notizbereich in Form einer temporären Datei. - - General - Allgemein - Scratch Buffer Notizbereich @@ -33328,14 +32934,6 @@ Möchten Sie sie jetzt auschecken? Build System Build-System - - Kit Selection - Kit-Auswahl - - - Kits - Kits - Non-Qt Project Projekt ohne Qt @@ -33376,10 +32974,6 @@ Möchten Sie sie jetzt auschecken? Creates a qmake-based project without any files. This allows you to create an application without any default classes. Erzeugt ein qmake-basiertes Projekt ohne Dateien. So können Sie eine Anwendung ohne irgendwelche Vorgaben erstellen. - - Other Project - Anderes Projekt - Empty qmake Project Leeres qmake-Projekt @@ -33597,10 +33191,6 @@ Möchten Sie sie jetzt auschecken? Creates a custom Qt Creator plugin. Erzeugt ein benutzerdefiniertes Qt Creator-Plugin. - - Library - Bibliothek - Qt Creator Plugin Qt Creator-Plugin @@ -33679,10 +33269,6 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü Qt Plugin Qt-Plugin - - Type: - Typ: - %{JS: value('Type') === 'qtplugin' ? value('BaseClassName').slice(1) : (value('ProjectName').charAt(0).toUpperCase() + value('ProjectName').slice(1))} %{JS: value('Type') === 'qtplugin' ? value('BaseClassName').slice(1) : (value('ProjectName').charAt(0).toUpperCase() + value('ProjectName').slice(1))} @@ -33715,11 +33301,6 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü QStylePlugin QStylePlugin - - None - Qt module for C++ library - Keines - Core Core @@ -33872,10 +33453,6 @@ Benutzen Sie dies nur für Prototypen. Sie können damit keine vollständige Anw Other Andere - - C - C - Cpp Cpp @@ -34144,18 +33721,10 @@ Benutzen Sie dies nur für Prototypen. Sie können damit keine vollständige Anw Running Bazaar branch... Führe Bazaar branch aus... - - Clone - Klonen - Clones a Bazaar branch and tries to load the contained project. Klont einen Bazaar-Branch und versucht, das darin enthaltene Projekt zu laden. - - Import Project - Projekt importieren - Bazaar Clone (Or Branch) Bazaar-Klon (oder Branch) @@ -34678,7 +34247,7 @@ Benutzen Sie dies nur für Prototypen. Sie können damit keine vollständige Anw - ProjectExplorer::JsonFieldPage + ::ProjectExplorer Field is not an object. Feld ist kein Objekt. @@ -34791,17 +34360,6 @@ Benutzen Sie dies nur für Prototypen. Sie können damit keine vollständige Anw Source and target are both empty. Quelle und Ziel sind beide leer. - - - ProjectExplorer::JsonProjectPage - - untitled - File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. - untitled - - - - ProjectExplorer::JsonSummaryPage Failed to Commit to Version Control Konnte keinen Commit im Versionskontrollsystem ausführen @@ -34814,20 +34372,6 @@ Benutzen Sie dies nur für Prototypen. Sie können damit keine vollständige Anw Failed to Add to Project Konnte nicht zu Projekt hinzufügen - - Failed to add subproject "%1" -to project "%2". - Das untergeordnete Projekt "%1" -konnte dem Projekt "%2" nicht hinzugefügt werden. - - - Failed to add one or more files to project -"%1" (%2). - Einige Dateien (%2) konnten nicht zum Projekt "%1" hinzugefügt werden. - - - - ProjectExplorer::JsonWizardFactory Generator is not a object. Generator ist kein Objekt. @@ -34962,9 +34506,6 @@ konnte dem Projekt "%2" nicht hinzugefügt werden. When parsing "pages": %1 Beim Auswerten von "pages": %1 - - - ProjectExplorer::JsonWizardGenerator %1 [folder] %1 [Verzeichnis] @@ -34983,21 +34524,10 @@ konnte dem Projekt "%2" nicht hinzugefügt werden. Das Verzeichnis %1 enthält Dateien, die nicht überschrieben werden können: %2. - - - ProjectExplorer::Project - - Project - Projekt - Project Name Projektname - - Kit is not valid. - Kit ist ungültig. - Incompatible Kit Inkompatibles Kit @@ -35046,9 +34576,6 @@ konnte dem Projekt "%2" nicht hinzugefügt werden. Could not find any qml_*.qm file at "%1" Konnte in "%1" keine qml_*.qm-Datei finden - - - ProjectExplorer::Target Target Settings Zieleinstellungen @@ -35936,7 +35463,7 @@ provided they were unmodified before the refactoring. - ProjectExplorer::Internal::DependenciesWidget + ::ProjectExplorer Synchronize configuration Konfiguration synchronisieren @@ -35945,9 +35472,6 @@ provided they were unmodified before the refactoring. Synchronize active kit, build, and deploy configuration between projects. Aktives Kit, Build- und Deployment-Konfiguration zwischen Projekten synchronisieren. - - - ProjectExplorer::JsonKitsPage At least one required feature is not present. Mindestens ein benötigtes Feature ist nicht vorhanden. @@ -35972,16 +35496,10 @@ provided they were unmodified before the refactoring. Feature list element is not a string or object. Feature-Listenelement ist keine Zeichenfolge und kein Objekt. - - - ProjectExplorer::Internal::JsonWizardFileGenerator No 'key' in options object. Kein 'key' im Einstellungsobjekt. - - - ProjectExplorer::Internal::JsonWizard Key is not an object. Schlüssel ist kein Objekt. @@ -35994,9 +35512,6 @@ provided they were unmodified before the refactoring. ScannerGenerator: Binary pattern "%1" not valid. ScannerGenerator: Das Binärmuster "%1" ist nicht zulässig. - - - ProjectExplorer::ProjectTree <b>Warning:</b> This file is generated. <b>Warnung:</b> Diese Datei wurde generiert. @@ -36005,9 +35520,6 @@ provided they were unmodified before the refactoring. <b>Warning:</b> This file is outside the project directory. <b>Warnung:</b> Diese Datei befindet sich außerhalb des Projektverzeichnisses. - - - ProjectExplorer::TerminalAspect Terminal Terminal @@ -36016,9 +35528,6 @@ provided they were unmodified before the refactoring. Run in terminal Im Terminal ausführen - - - ProjectExplorer::WorkingDirectoryAspect Working Directory Arbeitsverzeichnis @@ -36035,9 +35544,6 @@ provided they were unmodified before the refactoring. Working directory: Arbeitsverzeichnis: - - - ProjectExplorer::ArgumentsAspect Arguments Argumente @@ -36050,13 +35556,6 @@ provided they were unmodified before the refactoring. Toggle multi-line mode. Mehrzeiligen Modus umschalten. - - Reset to Default - Auf Vorgabe zurücksetzen - - - - ProjectExplorer::Internal::WaitForStopDialog Waiting for Applications to Stop Warte auf Beendigung laufender Anwendungen @@ -37132,10 +36631,6 @@ Warnung: Dies ist eine experimentelle Funktion und könnte dazu führen, dass di Automatically run tests after build - - None - Keine - All Alle @@ -38791,32 +38286,11 @@ Siehe auch die Einstellungen für Google Test. - ProjectExplorer::Internal::MsvcBasedToolChainConfigWidget + ::ProjectExplorer Initialization: Initialisierung: - - - ProjectExplorer::Internal::ClangClToolChainConfigWidget - - Initialization: - Initialisierung: - - - &Compiler path: - &Compiler-Pfad: - - - - ProjectExplorer::ClangToolChainFactory - - Clang - Clang - - - - ProjectExplorer::SelectableFilesWidget Source directory: Quellverzeichnis: @@ -39474,15 +38948,11 @@ Um eine Variable zu deaktivieren, stellen Sie der Zeile "#" voran. - ProjectExplorer::CustomExecutableRunConfiguration + ::ProjectExplorer Custom Executable Benutzerdefinierte ausführbare Datei - - Run %1 - %1 ausführen - You need to set an executable in the custom run configuration. Sie müssen eine ausführbare Datei in der benutzerdefinierten Ausführungskonfiguration einstellen. @@ -40858,7 +40328,7 @@ Ablaufdatum: %3 - ProjectExplorer::PortsGatherer + ::ProjectExplorer Found %n free ports. @@ -40870,9 +40340,6 @@ Ablaufdatum: %3 Checking available ports... Prüfe Verfügbarkeit von Ports... - - - ProjectExplorer::Internal::ProjectWindow Use Regular Expressions Reguläre Ausdrücke verwenden @@ -40889,14 +40356,6 @@ Ablaufdatum: %3 Project Settings Projekteinstellungen - - Build & Run - Erstellung und Ausführung - - - Projects - Projekte - Import Existing Build... Existierenden Build importieren... @@ -40921,24 +40380,10 @@ Ablaufdatum: %3 Import Directory Verzeichnis importieren - - - TaskHub - - Error - Fehler - - - Warning - Warnung - Build Issue Build-Problem - - - ProjectExplorer::RunWorker Worker start timed out. Start des Workers dauerte zu lange. @@ -40971,9 +40416,6 @@ Ablaufdatum: %3 An error occurred when attempting to read from the process. For example, the process may not be running. Ein Fehler trat beim Versuch vom Prozess zu lesen auf. Möglicherweise läuft der Prozess nicht. - - - TargetSettingsPanelWidget Kit is unsuited for project Das Kit ist für das Projekt nicht geeignet @@ -41026,21 +40468,10 @@ Ablaufdatum: %3 Copy Steps From Another Kit... Schritte aus einem anderen Kit kopieren... - - Build - Erstellen - - - Run - Ausführen - Enable Kit Kit aktivieren - - - TargetSettingsPanelItem No kit defined in this project. In diesem Projekt ist kein Kit festgelegt. @@ -41049,9 +40480,6 @@ Ablaufdatum: %3 Configure Project Projekt konfigurieren - - - ProjectExplorer::ToolChainManager None Keine @@ -42302,7 +41730,7 @@ Are you sure? - ProjectExplorer::BuildStepList + ::ProjectExplorer Build Display name of the build build step list. Used as part of the labels in the project window. @@ -42661,14 +42089,11 @@ Ausgabe: - ProjectExplorer::KitChooser + ::ProjectExplorer Kit of Active Project: %1 Kit des aktiven Projekts: %1 - - - ProjectExplorer::Internal::FlatModel No kits are enabled for this project. Enable kits in the "Projects" mode. Für dieses Projekt sind keine Kits ausgewählt. Wählen Sie Kits im Modus "Projekte" aus. @@ -42749,9 +42174,6 @@ Was soll %1 tun? Failure Updating Project Fehler beim Aktualisieren des Projekts - - - ProjectExplorer::ExecutableAspect Executable Ausführbare Datei @@ -42772,9 +42194,6 @@ Was soll %1 tun? Use this command instead Stattdessen dieses Kommando verwenden - - - ProjectExplorer::UseLibraryPathsAspect Add build library search path to DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH Bibliothekensuchpfad vom Erstellen zu DYLD_LIBRARY_PATH und DYLD_FRAMEWORK_PATH hinzufügen @@ -42787,9 +42206,6 @@ Was soll %1 tun? Add build library search path to LD_LIBRARY_PATH Bibliothekensuchpfad vom Erstellen zu LD_LIBRARY_PATH hinzufügen - - - ProjectExplorer::UseDyldSuffixAspect Use debug version of frameworks (DYLD_IMAGE_SUFFIX=_debug) Debug-Version von Frameworks verwenden (DYLD_IMAGE_SUFFIX=_debug) @@ -43230,7 +42646,7 @@ Was soll %1 tun? - ProjectExplorer::MakeStep + ::ProjectExplorer Make arguments: Kommandozeilenargumente für make: @@ -44352,11 +43768,7 @@ You might find further explanations in the Application Output view. - ProjectExplorer::Internal::SshSettingsWidget - - SSH - SSH - + ::ProjectExplorer Enable connection sharing: Verbindungsfreigabe aktivieren: @@ -44385,20 +43797,10 @@ You might find further explanations in the Application Output view. minutes Minuten - - - ProjectExplorer::Internal::ClangToolChainConfigWidget Parent toolchain: Basis-Toolchain: - - - ProjectExplorer::Internal::MsvcToolChain - - MSVC - MSVC - Failed to retrieve MSVC Environment from "%1": %2 @@ -46288,15 +45690,11 @@ Do you want to display them anyway? - ProjectExplorer::Internal::AddRunConfigDialog + ::ProjectExplorer [none] [leer] - - Name - Name - Source Quelle @@ -46313,9 +45711,6 @@ Do you want to display them anyway? Create Erzeugen - - - ProjectExplorer::Internal::AppOutputSettingsPage Word-wrap output Ausgabe umbrechen @@ -46352,13 +45747,6 @@ Do you want to display them anyway? Open Application Output when debugging: Ausgabe der Anwendung beim Debuggen öffnen: - - Application Output - Ausgabe der Anwendung - - - - ProjectExplorer::BuildDirectoryAspect Build directory: Build-Verzeichnis: @@ -46371,9 +45759,6 @@ Do you want to display them anyway? Shadow build: Shadow-Build: - - - ProjectExplorer::BuildSystem The project is currently being parsed. Das Projekt wird gerade ausgewertet. @@ -46386,28 +45771,10 @@ Do you want to display them anyway? The project file "%1" does not exist. Die Projektdatei "%1" existiert nicht. - - - ProjectExplorer::Internal::CompileOutputSettingsPage - - Word-wrap output - Ausgabe umbrechen - Open Compile Output when building Ausgabe der Kompilierung beim Erstellen öffnen - - Limit output to %1 characters - Ausgabe auf %1 Zeichen beschränken - - - Compile Output - Kompilierung - - - - ProjectExplorer::Internal::DeploymentDataView Source File Path Quelldateipfad @@ -46416,14 +45783,6 @@ Do you want to display them anyway? Target Directory Zielverzeichnis - - Add - Hinzufügen - - - Remove - Entfernen - Files to deploy: Dateien für Deployment: @@ -46432,16 +45791,10 @@ Do you want to display them anyway? Override deployment data from build system Deployment-Daten des Build-Systems überschreiben - - - ProjectExplorer::Internal::DesktopRunConfiguration Qt Run Configuration Qt-Ausführungskonfiguration - - - ProjectExplorer::Internal::FilterKitAspectsDialog Setting Einstellungen @@ -46450,9 +45803,6 @@ Do you want to display them anyway? Visible Sichtbar - - - ProjectExplorer::SysRootKitAspect Sysroot Sysroot @@ -46477,9 +45827,6 @@ Do you want to display them anyway? Sys Root Sys Root - - - ProjectExplorer::ToolChainKitAspect <No compiler> <Kein Compiler> @@ -46496,10 +45843,6 @@ Do you want to display them anyway? Compilers produce code for different ABIs: %1 Compiler erzeugen Code für verschiedene ABIs: %1 - - None - Keine - Path to the compiler executable Pfad zur ausführbaren Datei des Compilers @@ -46516,9 +45859,6 @@ Do you want to display them anyway? No compiler set in kit. Im Kit ist kein Compiler eingerichtet. - - - ProjectExplorer::DeviceTypeKitAspect Device type Gerätetyp @@ -46531,13 +45871,6 @@ Do you want to display them anyway? Unknown device type Unbekannter Gerätetyp - - - ProjectExplorer::DeviceKitAspect - - Device - Gerät - The device to run the applications on. Das Gerät, auf dem die Anwendungen laufen sollen. @@ -46550,10 +45883,6 @@ Do you want to display them anyway? Device is incompatible with this kit. Das Gerät ist inkompatibel zu diesem Kit. - - Unconfigured - Nicht konfiguriert - Host address Host-Adresse @@ -46574,9 +45903,6 @@ Do you want to display them anyway? Device name Gerätename - - - ProjectExplorer::EnvironmentKitAspect Change... Ändern... @@ -46593,10 +45919,6 @@ Do you want to display them anyway? Either switches MSVC to English or keeps the language and just forces UTF-8 output (may vary depending on the used MSVC compiler). Stellt MSVC entweder auf Englisch um oder behält die Sprache bei und erzwingt UTF-8-Ausgabe (abhängig vom benutzen MSVC-Compiler). - - Environment - Umgebung - Additional build environment settings when using this kit. Zusätzliche Build-Umgebungseinstellungen bei Benutzung dieses Kits. @@ -46605,17 +45927,10 @@ Do you want to display them anyway? The environment setting value is invalid. Der Wert der Umgebungseinstellung ist ungültig. - - - ProjectExplorer::KitAspectWidget Mark as Mutable Als veränderlich kennzeichnen - - Manage... - Verwalten... - RunConfigSelector @@ -46625,7 +45940,7 @@ Do you want to display them anyway? - ProjectExplorer::Internal::MsvcToolChainConfigWidget + ::ProjectExplorer <empty> <leer> @@ -46634,17 +45949,6 @@ Do you want to display them anyway? Additional arguments for the vcvarsall.bat call Zusätzliche Argumente für den Aufruf von vcvarsall.bat - - Initialization: - Initialisierung: - - - &ABI: - &ABI: - - - - ProjectExplorer::Internal::ParseIssuesDialog Parse Build Output Build-Ausgabe auswerten @@ -46693,9 +45997,6 @@ Do you want to display them anyway? Cannot parse: The chosen kit does not provide an output parser. Auswerten fehlgeschlagen: Das gewählte Kit stellt keine Ausgabe-Parser bereit. - - - ProjectExplorer::ProcessStep Custom Process Step Default ProcessStep display name @@ -46709,27 +46010,10 @@ Do you want to display them anyway? Arguments: Argumente: - - Working directory: - Arbeitsverzeichnis: - - - - EnvironmentPanelFactory - - Environment - Umgebung - - - - ProjectExplorerPluginPrivate Building "%1" is disabled: %2<br> Das Erstellen von "%1" ist deaktiviert: %2<br> - - - ProjextExplorer::Internal::ProjectExplorerSettings Current directory Arbeitsverzeichnis @@ -46786,10 +46070,6 @@ Do you want to display them anyway? Build Only the Application to Be Run Nur die auszuführende Anwendung erstellen - - None - Keine - All Alle @@ -46846,10 +46126,6 @@ Do you want to display them anyway? Default for "Run in terminal": Vorgabe für "Im Terminal ausführen": - - General - Allgemein - ::Python @@ -47347,14 +46623,11 @@ Do you want to display them anyway? - ProjectExplorer::Internal::FilesSelectionWizardPage + ::ProjectExplorer Files Dateien - - - ProjectExplorer::Internal::SimpleProjectWizardDialog Import Existing Project Import eines existierenden Projekts @@ -47400,19 +46673,7 @@ Do you want to display them anyway? - ProjextExplorer::Internal::KitOptionsPageWidget - - Add - Hinzufügen - - - Clone - Klonen - - - Remove - Entfernen - + ::ProjectExplorer Make Default Als Vorgabe setzen @@ -47433,10 +46694,6 @@ Do you want to display them anyway? Choose which kit settings to display by default. Wählen Sie, welche Einstellungen als Vorgabe angezeigt werden. - - Kits - Kits - IncrediBuild::Internal::BuildConsoleBuildStep @@ -48247,30 +47504,15 @@ Useful if build directory is corrupted or when rebuilding with a newer version o - ProjectExplorer::Internal::BuildEnvironmentWidget - - Build Environment - Build-Umgebung - + ::ProjectExplorer Clear system environment Systemumgebung bereinigen - - - ProjectExplorer::Internal::CustomParsersSettingsPage Custom output parsers defined here can be enabled individually in the project's build or run settings. Parser, die hier vom Benutzer definiert wurden, können einzeln in den Build- oder Ausführungseinstellungen des Projekts aktiviert werden. - - Add... - Hinzufügen... - - - Remove - Entfernen - New Parser Neuer Parser @@ -48279,56 +47521,18 @@ Useful if build directory is corrupted or when rebuilding with a newer version o Custom Output Parsers Benutzerdefinierte Ausgabe-Parser - - - EnvironmentWidget - - Add... - Hinzufügen... - - - Remove - Entfernen - Edit... Bearbeiten... - - Choose Directory - Verzeichnis wählen - - - - ProjectExplorer::ClangToolChain - - Clang - Clang - - - - ProjectExplorer::MingwToolChain MinGW MinGW - - - ProjectExplorer::LinuxIccToolChain - - ICC - ICC - - - - ProjectExplorer::Internal::ClangClToolChain clang-cl clang-cl - - - ProjectEnvironmentWidget Project Environment Projektumgebung @@ -55169,18 +54373,11 @@ Hinweis: Dies macht Sie anfällig für Man-in-the-middle-Angriffe. - ProjectExplorer::SeparateDebugInfoAspect + ::ProjectExplorer Separate debug info: Separate Debug-Information: - - - ProjectExplorer::Internal::CustomParsersBuildWidget - - Custom Output Parsers - Benutzerdefinierte Ausgabe-Parser - Parse standard output during build Standardausgabe während des Erstellens auswerten @@ -55189,17 +54386,6 @@ Hinweis: Dies macht Sie anfällig für Man-in-the-middle-Angriffe. Makes output parsers look for diagnostics on stdout rather than stderr. Veranlasst Parser, in der Standardausgabe anstelle der Standardfehlerausgabe nach Diagnosemeldungen zu suchen. - - - ProjectExplorer::Internal::BuildPropertiesSettings - - Enable - Aktivieren - - - Disable - Deaktivieren - Use Project Default Projekt-Vorgabe benutzen @@ -55208,10 +54394,6 @@ Hinweis: Dies macht Sie anfällig für Man-in-the-middle-Angriffe. Default build directory: Vorgabe-Build-Verzeichnis: - - Separate debug info: - Separate Debug-Information: - QML debugging: QML-Debuggen: @@ -55224,30 +54406,14 @@ Hinweis: Dies macht Sie anfällig für Man-in-the-middle-Angriffe. Default Build Properties Vorgabe-Build-Eigenschaften - - - ProjectExplorer::Internal::CodeStyleSettingsWidget Language: Sprache: - - - ProjectExplorer::CustomParsersAspect - - Custom Output Parsers - Benutzerdefinierte Ausgabe-Parser - - - - ProjectExplorer::Internal::SelectionWidget Custom output parsers scan command line output for user-provided error patterns<br>to create entries in Issues.<br>The parsers can be configured <a href="dummy">here</a>. Benutzerdefinierte Parser werten die Kommandozeilenausgabe mit vom Benutzer gewählten Fehler-Suchmustern aus.<br>Sie können diese Parser <a href="dummy">hier</a> konfigurieren. - - - ProjectExplorer::Internal::CustomParsersSelectionWidget There are no custom parsers active Es sind keine benutzerdefinierten Parser aktiv @@ -55259,9 +54425,6 @@ Hinweis: Dies macht Sie anfällig für Man-in-the-middle-Angriffe. Es sind %n benutzerdefinierte Parser aktiv - - - ProjectExplorer::DeviceFileSystemModel File Type Dateityp @@ -55270,9 +54433,6 @@ Hinweis: Dies macht Sie anfällig für Man-in-the-middle-Angriffe. File Name Dateiname - - - ProjectExplorer::FileTransferPrivate No device set for test transfer. Kein Gerät für die Testübertragung gesetzt. @@ -55285,9 +54445,6 @@ Hinweis: Dies macht Sie anfällig für Man-in-the-middle-Angriffe. Missing transfer implementation. Implementation der Dateiübertragungsmethode nicht vorhanden. - - - ProjectExplorer::FileTransfer sftp sftp @@ -55300,9 +54457,6 @@ Hinweis: Dies macht Sie anfällig für Man-in-the-middle-Angriffe. generic file copy Generisches Dateikopieren - - - ProjectExplorer::Internal::EditorSettingsWidget Restore Global Globale Einstellungen wiederherstellen @@ -55323,9 +54477,6 @@ Hinweis: Dies macht Sie anfällig für Man-in-the-middle-Angriffe. If available, use a different margin. For example, the ColumnLimit from the ClangFormat plugin. Benutzt unterschiedlichen Rand abhängig vom Kontext, falls verfügbar. Zum Beispiel das ColumnLimit vom ClangFormat Plugin. - - - ProjectExplorer::Internal::FilesInAllProjectsFind Files in All Project Directories Dateien in allen Projektverzeichnissen @@ -55334,9 +54485,6 @@ Hinweis: Dies macht Sie anfällig für Man-in-the-middle-Angriffe. Files in All Project Directories: Dateien in allen Projektverzeichnissen: - - - ProjectExplorer::Internal::TargetTripleWidget Override for code model Für Codemodell überschreiben @@ -55346,9 +54494,6 @@ Hinweis: Dies macht Sie anfällig für Man-in-the-middle-Angriffe. fails because Clang does not understand the target architecture. Aktivieren Sie diese Einstellung, falls das Codemodell Fehler anzeigt, weil Clang die Zielarchitektur nicht versteht. - - - ProjectExplorer::BuildDeviceKitAspect Build device Build-Gerät @@ -55361,10 +54506,6 @@ fails because Clang does not understand the target architecture. No build device set. Kein Build-Gerät gesetzt. - - Unconfigured - Nicht konfiguriert - Build host address Hostadresse des Build-Geräts @@ -55385,27 +54526,14 @@ fails because Clang does not understand the target architecture. Build device name Build-Gerätename - - - ProjectExplorer::RunAsRootAspect Run as root user Als root-Benutzer ausführen - - - ProjectExplorer::InterpreterAspect - - Manage... - Verwalten... - Interpreter Interpreter - - - ProjectExplorer::Internal::SimpleTargetRunnerPrivate Cannot retrieve debugging output. Es konnte keine Debug-Ausgabe erhalten werden. @@ -55430,9 +54558,6 @@ fails because Clang does not understand the target architecture. The process was ended forcefully. Der Prozess wurde gestoppt. - - - ProjectExplorer::Internal::SimpleProjectWizard Import as qmake or CMake Project (Limited Functionality) Als qmake- oder CMake-Projekt importieren (eingeschränkte Funktionalität) diff --git a/share/qtcreator/translations/qtcreator_es.ts b/share/qtcreator/translations/qtcreator_es.ts index 6fbde46888b..136ab8d4218 100644 --- a/share/qtcreator/translations/qtcreator_es.ts +++ b/share/qtcreator/translations/qtcreator_es.ts @@ -4068,7 +4068,7 @@ Es recomendado usar gdb 6.7 o posterior. - DependenciesModel + ::ProjectExplorer Unable to add dependency No fue posible agregar la dependencia @@ -4077,9 +4077,6 @@ Es recomendado usar gdb 6.7 o posterior. This would create a circular dependency. Esto creará una dependencia circular. - - - ProjectExplorer::Internal::DependenciesWidget %1 has no dependencies. @@ -6817,7 +6814,7 @@ Nombre base de librería: %1 - ProjectExplorer::AbstractProcessStep + ::ProjectExplorer <font color="#0000ff">Starting: %1 %2</font> @@ -6836,9 +6833,6 @@ Nombre base de librería: %1 <font color="#ff0000">Could not start process %1 </b></font> <font color="#ff0000">No se pudo arrancar el proceso %1 </b></font> - - - ProjectExplorer::BuildManager <font color="#ff0000">Canceled build.</font> <font color="#ff0000">Construcción cancelada.</font> @@ -6870,9 +6864,6 @@ Nombre base de librería: %1 <b>Running build steps for project %2...</b> <b>Ejecutando los pasos para construir el proyecto %2...</b> - - - ProjectExplorer::CustomExecutableRunConfiguration Custom Executable Ejecutable indicado @@ -6885,16 +6876,6 @@ Nombre base de librería: %1 Run %1 Ejecutar %1 - - - ProjectExplorer::CustomExecutableRunConfigurationFactory - - Custom Executable - Ejecutable indicado - - - - ProjectExplorer::EnvironmentModel <UNSET> @@ -6915,9 +6896,6 @@ Nombre base de librería: %1 <VALUE> - - - ProjectExplorer::EnvironmentWidget &Edit &Editar @@ -6946,16 +6924,10 @@ Nombre base de librería: %1 Summary: No changes to Environment - - - ProjectExplorer::Internal::AllProjectsFilter Files in any project Archivos en cualquier proyecto - - - ProjectExplorer::Internal::AllProjectsFind All Projects Todos los proyectos @@ -6964,9 +6936,6 @@ Nombre base de librería: %1 File &pattern: &Patrón de archivos: - - - ProjectExplorer::Internal::ApplicationLauncher Failed to start program. Path or permissions wrong? Fallo intentando iniciar el programa. ¿Ruta o permisos incorrectos? @@ -6979,16 +6948,10 @@ Nombre base de librería: %1 Some error has occurred while running the program. Ocurrió un error mientras se ejecutaba el programa. - - - ProjectExplorer::Internal::ApplicationRunConfigurationRunner Run Ejecutar - - - ProjectExplorer::Internal::ApplicationRunControl Starting %1... Iniciando %1... @@ -6997,23 +6960,14 @@ Nombre base de librería: %1 %1 exited with code %2 %1 finalizó retornando %2 - - - ProjectExplorer::Internal::BuildSettingsPanel Build Settings Ajustes de construcción - - - ProjectExplorer::Internal::BuildSettingsPropertiesPage Configurations Ajustes - - - ProjectExplorer::Internal::BuildSettingsWidget Create &New Crear &nuevo @@ -7066,9 +7020,6 @@ Nombre base de librería: %1 Clone configuration Clonar configuración - - - ProjectExplorer::Internal::BuildStepsPage No Build Steps @@ -7089,24 +7040,10 @@ Nombre base de librería: %1 Remove build step - - Build Steps - Etapas de construcción - - - Clean Steps - - - - - ProjectExplorer::Internal::CompileOutputWindow Compile Output Salida del compilador - - - ProjectExplorer::Internal::CoreListenerCheckingForRunningBuild Cancel Build && Close Cancelar construcción y cerrar @@ -7131,16 +7068,10 @@ Nombre base de librería: %1 Do you want to cancel the build process and close Qt Creator anyway? ¿Quiere cancelar la construcción y cerrar Qt Creator de todos modos? - - - ProjectExplorer::Internal::CurrentProjectFilter Files in current project Archivos en el proyecto actual - - - ProjectExplorer::Internal::CurrentProjectFind Current Project Proyecto actual @@ -7149,9 +7080,6 @@ Nombre base de librería: %1 File &pattern: &Patrón de archivo: - - - ProjectExplorer::Internal::CustomExecutableConfigurationWidget Name: Nombre: @@ -7204,16 +7132,10 @@ Nombre base de librería: %1 Base environment for this runconfiguration: Entorno base para éste ajuste de ejecución: - - - ProjectExplorer::Internal::DependenciesPanel Dependencies Dependencias - - - ProjectExplorer::Internal::DetailedModel %1 of project %2 %1, del proyecto %2 @@ -7226,16 +7148,10 @@ Nombre base de librería: %1 Renaming file %1 to %2 failed. El renombrado del archivo %1 a %2 ha fallado. - - - ProjectExplorer::Internal::EditorSettingsPanel Editor Settings Ajustes de edición - - - ProjectExplorer::Internal::EditorSettingsPropertiesPage Default File Encoding: Codificación de caracteres predefinida: @@ -7253,7 +7169,7 @@ Nombre base de librería: %1 - ProjectExplorer::Internal::NewSessionInputDialog + ::ProjectExplorer New session name Nuevo nombre de sesión @@ -7262,9 +7178,6 @@ Nombre base de librería: %1 Enter the name of the new session: Introduzca el nombre para la nueva sesión: - - - ProjectExplorer::Internal::SessionDialog Switch to session @@ -7297,9 +7210,6 @@ Nombre base de librería: %1 <a href="qthelp://org.qt-project.qtcreator/doc/creator-quick-tour.html#session-management-in-qt-creator">What is a Session?</a> <a href="qthelp://org.qt-project.qtcreator/doc/creator-quick-tour.html#session-management-in-qt-creator">¿Qué es una sesión?</a> - - - ProjectExplorer::Internal::OutputPane Re-run this run-configuration Volver a ejecutar con esta configuración @@ -7324,16 +7234,10 @@ Nombre base de librería: %1 Unable to close Imposible cerrar - - - ProjectExplorer::Internal::OutputWindow Application Output Window Ventana de salida de la aplicación - - - ProjectExplorer::Internal::ProcessStep Custom Process Step Etapa de construcción definida por el usuario @@ -7343,9 +7247,6 @@ Nombre base de librería: %1 item in combobox Etapa de construcción definida por el usuario - - - ProjectExplorer::Internal::ProcessStepConfigWidget <b>%1</b> %2 %3 %4 @@ -7354,17 +7255,10 @@ Nombre base de librería: %1 (disabled) - - - ProjectExplorer::Internal::ProcessStepWidget Enable custom process step Permitir etapa de construcción personalizada - - Name: - Nombre: - Command: @@ -7385,9 +7279,6 @@ Nombre base de librería: %1 Enable Custom Process Step - - - ProjectExplorer::Internal::ProjectExplorerSettingsPage Build and Run Construir y ejecutar @@ -7400,16 +7291,10 @@ Nombre base de librería: %1 Projectexplorer Explorador de proyecto - - - ProjectExplorer::Internal::ProjectFileFactory Could not open the following project: '%1' No se pudo abrir el siguiente proyecto: '%1' - - - ProjectExplorer::Internal::ProjectFileWizardExtension Failed to add one or more files to project '%1' (%2). @@ -7420,9 +7305,6 @@ Nombre base de librería: %1 Failed to add '%1' to the version control system. Fallo al agregar '%1' al sistema de control de versiones. - - - ProjectExplorer::Internal::ProjectTreeWidget Simplify tree Simplificar árbol @@ -7435,9 +7317,6 @@ Nombre base de librería: %1 Synchronize with Editor Sincronizar con el editor - - - ProjectExplorer::Internal::ProjectTreeWidgetFactory Projects Proyectos @@ -7446,9 +7325,6 @@ Nombre base de librería: %1 Filter tree Filtrar árbol - - - ProjectExplorer::Internal::ProjectWindow Project Explorer Explorardor de proyecto @@ -7473,9 +7349,6 @@ Nombre base de librería: %1 No project loaded. - - - ProjectExplorer::Internal::ProjectWizardPage Add to &VCS (%1) Agregar al &VCS (%1) @@ -7484,9 +7357,6 @@ Nombre base de librería: %1 Files to be added: Archivos a ser agregados: - - - ProjectExplorer::Internal::ProjetExplorerSettingsPageUi Save all files before Build Guardar todos los archivos antes de construir @@ -7499,9 +7369,6 @@ Nombre base de librería: %1 Build and Run Construir y ejecutar - - - ProjectExplorer::Internal::RemoveFileDialog Remove File Suprimir archivo @@ -7521,27 +7388,10 @@ Nombre base de librería: %1 File to remove: Archivo a suprimir: - - - ProjectExplorer::Internal::RunSettingsPanel Run Settings Ajustes de ejecución - - - ProjectExplorer::Internal::RunSettingsWidget - - Add - Agregar - - - Remove - - - - - ProjectExplorer::Internal::RunSettingsPropertiesPage Run &configuration: Ajuste de eje&cución: @@ -7564,9 +7414,6 @@ Nombre base de librería: %1 Edit run configuration: - - - ProjectExplorer::Internal::SessionFile Session Sesión @@ -7576,16 +7423,10 @@ Nombre base de librería: %1 default file name to display Sin título - - - ProjectExplorer::Internal::TaskDelegate File not found: %1 Archivo no encontrado: %1 - - - ProjectExplorer::Internal::TaskWindow Build Issues Construcción @@ -7598,9 +7439,6 @@ Nombre base de librería: %1 Show Warnings - - - ProjectExplorer::Internal::WinGuiProcess The process could not be started! El proceso no pudo ser iniciado! @@ -7609,9 +7447,6 @@ Nombre base de librería: %1 Cannot retrieve debugging output! No se pudo obtener salida de depurado! - - - ProjectExplorer::Internal::WizardPage Project management Gestor de proyectos @@ -7644,13 +7479,6 @@ Nombre base de librería: %1 - - - ProjectExplorer::ProjectExplorerPlugin - - Projects - Proyectos - &Build &Construir @@ -7715,10 +7543,6 @@ Nombre base de librería: %1 Close All Projects Cerrar todos los proyectos - - Session - Sesión - Set Build Configuration Establecer ajustes de construcción @@ -7933,9 +7757,6 @@ al control de versiones (%2)? Could not delete file %1. No se pudo eliminar el archivo %1. - - - ProjectExplorer::SessionManager Error while restoring session Error restaurando sesión @@ -11485,7 +11306,7 @@ p, li { white-space: pre-wrap; } - ProjectExplorer::Internal::ProjectExplorerSettingsPageUi + ::ProjectExplorer Build and Run Construir y ejecutar @@ -11515,9 +11336,6 @@ p, li { white-space: pre-wrap; } <i>jom</i> is a drop-in replacement for <i>nmake</i> which distributes the compilation process to multiple CPU cores. For more details, see the <a href="http://qt.gitorious.org/qt-labs/jom/">jom Homepage</a>. Disable it if you experience problems with your builds. - - - ProjectExplorer::Internal::ProjectWelcomePageWidget Form Formulario @@ -12712,7 +12530,7 @@ p, li { white-space: pre-wrap; } - ProjectExplorer::ApplicationLauncher + ::ProjectExplorer Failed to start program. Path or permissions wrong? Fallo intentando iniciar el programa. ¿Ruta o permisos incorrectos? @@ -12725,16 +12543,10 @@ p, li { white-space: pre-wrap; } Some error has occurred while running the program. Ocurrió un error mientras se ejecutaba el programa. - - - ProjectExplorer::Internal::LocalApplicationRunControlFactory Run Ejecutar - - - ProjectExplorer::Internal::LocalApplicationRunControl Starting %1... Iniciando %1... @@ -12743,9 +12555,6 @@ p, li { white-space: pre-wrap; } %1 exited with code %2 %1 finalizó retornando %2 - - - ProjectExplorer::DebuggingHelperLibrary The target directory %1 could not be created. @@ -12785,23 +12594,14 @@ Reason: %2 - - - ProjectExplorer::Internal::ProjectWelcomePage Develop Desarrollar - - - ProjectExplorer::Internal::ActiveConfigurationWidget Active run configuration - - - ProjectExplorer::Internal::ProjectLabel Edit Project Settings for Project <b>%1</b> @@ -12810,9 +12610,6 @@ Reason: %2 No Project loaded - - - ProjectExplorer::Internal::ProjectPushButton Select Project diff --git a/share/qtcreator/translations/qtcreator_fr.ts b/share/qtcreator/translations/qtcreator_fr.ts index bca2b721b93..2199fe91a48 100644 --- a/share/qtcreator/translations/qtcreator_fr.ts +++ b/share/qtcreator/translations/qtcreator_fr.ts @@ -336,30 +336,6 @@ Debugger: Débogueur : - - Run Environment - Environnement d'éxecution - - - Clean Environment - Environnement de nettoyage - - - System Environment - Environnement système - - - Running executable: <b>%1</b> %2 - Exécution en cours : <b>%1</b> %2 - - - Environment - Environnement - - - Base environment for this runconfiguration: - Environnement de base pour cette configuration d'éxecution : - Qt Creator has detected an <b>in-source-build in %1</b> which prevents shadow builds. Qt Creator will not allow you to change the build directory. If you want a shadow build, clean your source directory and re-open the project. Qt Creator a détecté une <b>compilation dans les sources de %1</b> qui empêche les shadow builds. Qt Creator ne permettra pas de changer le répertoire de compilation. Si vous voulez effectuer un "shadow build", nettoyez le répertoire source et rouvrez le projet. @@ -5512,7 +5488,7 @@ at debugger startup. - DependenciesModel + ::ProjectExplorer Unable to add dependency Impossible d'ajouter une dépendance @@ -5525,9 +5501,6 @@ at debugger startup. This would create a circular dependency. Ceci créerait une dépendance circulaire. - - - ProjectExplorer::Internal::DependenciesWidget %1 has no dependencies. %1 n'a aucune dépendance. @@ -10477,7 +10450,7 @@ francis : voila une nouvelle suggestion :) - ProjectExplorer::AbstractProcessStep + ::ProjectExplorer <font color="#0000ff">Starting: %1 %2</font> @@ -10542,95 +10515,6 @@ francis : voila une nouvelle suggestion :) Could not start process "%1" %2 Impossible de démarrer le processus "%1" %2 - - Could not start process "%1" - Impossible de démarrer le processus "%1" - - - - ProjectExplorer::BuildManager - - Finished %n of %1 build steps - - %n étape de compilation sur %1 terminée - %n étapes de compilation sur %1 terminées - - - - Finished %1 of %n build steps - - %1 étape de compilation sur %n terminée - %1 étapes de compilation sur %n terminées - - - - Compile - Category for compiler isses listened under 'Build Issues' - Compilation - - - Build System - Category for build system isses listened under 'Build Issues' - Système de compilation - - - Compile - Category for compiler isses listed under 'Issues' - Compilation - - - Build System - Category for build system isses listed under 'Issues' - Système de compilation - - - Build canceled - Compilation annulée - - - Canceled build. - Compilation annulée. - - - When executing build step '%1' - Lors de l'exécution de l'étape "%1" - - - Running build steps for project %1... - Exécution des étapes de compilation pour le projet %1... - - - <font color="#ff0000">Canceled build.</font> - <font color="#ff0000">Compilation annulée.</font> - - - Build - Compilation - - - <font color="#ff0000">Error while building project %1 (target: %2)</font> - <font color="#ff0000">Erreur lors de la compilation du projet %1 (cible : %2)</font> - - - Error while building project %1 (target: %2) - Erreur à la compilation du projet %1 (cible : %2) - - - <font color="#ff0000">Error while building project %1</font> - <font color="#ff0000">Erreur lors de la compilation du projet %1</font> - - - <font color="#ff0000">When executing build step '%1'</font> - <font color="#ff0000">lors de l'éxecution de l'étape "%1"</font> - - - Error while building project %1 - Erreur à la compilation du projet %1 - - - <b>Running build steps for project %2...</b> - <b>Exécution des étapes de compilation pour le projet %2...</b> - Finished %1 of %n steps lorsqu'il n'y a qu'une étape 1/1 n'est pas franchement utile... -> et comme ça ? @@ -10686,79 +10570,6 @@ francis : voila une nouvelle suggestion :) Skipping disabled step %1. Ignore l'étape désactivée %1. - - - ProjectExplorer::CustomExecutableRunConfiguration - - Custom Executable - custom ici a plutôt le sens de celui utilisé, usage mais je sais pas comment le traduire ? - Exécutable personnalisé - - - Could not find the executable, please specify one. - Exécutable introuvable, merci d'en spécifier un. - - - Clean Environment - Environnement vierge - - - System Environment - Environnement système - - - Build Environment - Environnement de compilation - - - Run %1 - Exécuter %1 - - - - ProjectExplorer::CustomExecutableRunConfigurationFactory - - Custom Executable - Exécutable personnalisé - - - - ProjectExplorer::EnvironmentModel - - <UNSET> - <NON-DÉFINI> - - - Variable - Variable - - - Value - Valeur - - - <VARIABLE> - Name when inserting a new variable - <VARIABLE> - - - <VALUE> - Value when inserting a new variable - <VALEUR> - - - <VARIABLE> - Name when inserting a new variable - <VARIABLE> - - - <VALUE> - Value when inserting a new variable - <VALEUR> - - - - ProjectExplorer::EnvironmentWidget &Edit &Édition @@ -10818,9 +10629,6 @@ francis : voila une nouvelle suggestion :) Summary: No changes to Environment Résumé : l'environnement n'est pas modifié - - - ProjectExplorer::Internal::AllProjectsFilter Files in any project Fichiers dans n'importe quel projet @@ -10829,14 +10637,6 @@ francis : voila une nouvelle suggestion :) Files in Any Project Fichiers dans n'importe quel projet - - - ProjectExplorer::Internal::AllProjectsFind - - All Projects - lower "t" at the beginning because this is indented after "Rechercher dans..." - tous les projets - All Projects: tous les projets : @@ -10851,33 +10651,10 @@ francis : voila une nouvelle suggestion :) Fi&le pattern: Pat&ron de fichier : - - File &pattern: - Schéma de fichier? - &Motif de fichier : - - - - ProjectExplorer::Internal::BuildSettingsPanel - - Build Settings - Paramètres de compilation - - - - ProjectExplorer::Internal::BuildSettingsWidget &Clone Selected &Cloner la version sélectionnée - - Build Steps - Étapes de compilation - - - Edit Build Configuration: - Éditer la configuration de compilation : - No build settings available Pas de paramètres de compilation disponibles @@ -10955,45 +10732,6 @@ francis : voila une nouvelle suggestion :) Do you really want to delete build configuration <b>%1</b>? Voulez-vous vraiment supprimer la configuration de compilation <b>%1</b> ? - - Clean Steps - Étapes de nettoyage - - - <a href="#">Make %1 active.</a> - <a href="#">Rendre %1 actif.</a> - - - New Configuration Name: - Nom de la nouvelle configuration : - - - Clone configuration - Configuration du clone - - - - ProjectExplorer::Internal::BuildStepsPage - - No Build Steps - Aucune étape de compilation - - - Add clean step - Ajouter une étape de nettoyage - - - Add build step - Ajouter une étape de compilation - - - Remove clean step - Supprimer une étape de nettoyage - - - Remove build step - Supprimer une étape de compilation - Build Steps Étapes de compilation @@ -11002,78 +10740,14 @@ francis : voila une nouvelle suggestion :) Clean Steps Étapes de nettoyage - - Move Up - Déplacer vers le haut - - - Move Down - Déplacer vers le bas - - - Remove Item - Supprimer l'élément - - - Removing Step failed - Échec de la suppression de l'étape - - - Can't remove build step while building - Impossible de supprimer une étape de compilation pendant la compilation - - - Add Clean Step - Ajouter une étape de nettoyage - - - Add Build Step - Ajouter une étape de compilation - - - - ProjectExplorer::Internal::CompileOutputWindow Compile Output Sortie de compilation - - - ProjectExplorer::Internal::CoreListenerCheckingForRunningBuild - - Cancel Build && Close - Annuler la compilation et fermer - - - Do not Close - Ne pas fermer - - - Close Qt Creator? - Fermer Qt Creator ? - - - A project is currently being built. - Un projet est en cours de compilation. - - - Do you want to cancel the build process and close Qt Creator anyway? - Voulez-vous annuler le processus de compilation et fermer Qt Creator ? - - - - ProjectExplorer::Internal::CurrentProjectFilter - - Files in current project - Fichiers dans le projet courant - Files in Current Project Fichiers dans le projet courant - - - ProjectExplorer::Internal::CurrentProjectFind Current Project lower character at the beginning because this is indented after "Rechercher dans..." @@ -11083,125 +10757,6 @@ francis : voila une nouvelle suggestion :) Project '%1': Projet '%1' : - - File &pattern: - &Motif de fichier : - - - - ProjectExplorer::Internal::CustomExecutableConfigurationWidget - - Name: - Nom : - - - Executable: - Exécutable : - - - Arguments: - Arguments : - - - Working Directory: - Répertoire de travail : - - - Working directory: - Répertoire de travail : - - - Run in &Terminal - Lancer dans un &terminal - - - Debugger: - Débogueur : - - - Run in &terminal - Exécuter dans le &terminal - - - Run Environment - Environnement d'éxecution - - - Base environment for this run configuration: - Environnement de base pour cette configuration d'exécution : - - - Clean Environment - Environnement de nettoyage - - - System Environment - Environnement système - - - Build Environment - Environnement de compilation - - - No Executable specified. - Aucun exécutable spécifié. - - - Running executable: <b>%1</b> %2 - Exécution en cours : <b>%1</b> %2 - - - Base environment for this runconfiguration: - Environnement de base pour cette configuration d'éxecution : - - - - ProjectExplorer::Internal::DependenciesPanel - - Dependencies - Dépendances - - - - ProjectExplorer::Internal::DetailedModel - - %1 of project %2 - %1 du projet %2 - - - Could not rename file - Impossible de renommer le fichier - - - Renaming file %1 to %2 failed. - Échec du renommage du fichier %1 en %2. - - - - ProjectExplorer::Internal::EditorSettingsPanel - - Editor Settings - Paramètres de l'éditeur - - - - ProjectExplorer::Internal::EditorSettingsPropertiesPage - - Default File Encoding: - Encodage de fichier par défaut : - - - Default file encoding: - Encodage de fichier par défaut : - - - Use global settings - Utiliser les paramètres globaux - - - Restore Global Values - Restaurer les valeurs globales - Editor settings: Paramètres de l'éditeur : @@ -11211,11 +10766,6 @@ francis : voila une nouvelle suggestion :) féminin ? Global - - Custom - ? - Personnalisé - Restore Global ? @@ -11246,42 +10796,11 @@ francis : voila une nouvelle suggestion :) - ProjectExplorer::Internal::NewSessionInputDialog - - New session name - Nom de la nouvelle session - - - Enter the name of the new session: - Entrez le nom de la nouvelle session : - - - - ProjectExplorer::Internal::SessionDialog - - Switch to session - Passer à la session - + ::ProjectExplorer Session Manager Gestionnaire de session - - Create New Session - Créer une nouvelle session - - - Clone Session - Cloner la session - - - Delete Session - Supprimer la session - - - <a href="qthelp://com.nokia.qtcreator/doc/creator-quick-tour.html#session-management-in-qt-creator">What is a Session?</a> - <a href="qthelp://com.nokia.qtcreator/doc/creator-quick-tour.html#session-management-in-qt-creator">Qu'est ce qu'une session ?</a> - &New &Nouveau @@ -11326,162 +10845,31 @@ francis : voila une nouvelle suggestion :) <a href="qthelp://org.qt-project.qtcreator/doc/creator-project-managing-sessions.html">What is a Session?</a> <a href="qthelp://org.qt-project.qtcreator/doc/creator-project-managing-sessions.html">Qu'est-ce qu'une session ?</a> - - - ProjectExplorer::Internal::OutputPane - - Re-run this run-configuration - Relancer cette configuration de lancement - - - Stop - Arrêter - - - Application Output Window - Fenêtre de sortie de l'application - - - The application is still running. - L'application est en cours d'éxecution. - - - Force it to quit? - l'application - La forcer à quitter ? - - - Force Quit - Forcer quitter - - - Ctrl+Shift+R - Ctrl+Shift+R - - - Application Output - Sortie de l'application - - - The application is still running. Close it first. - L'application est toujours en cours d'exécution. Veuillez la fermer d'abord. - - - Unable to close - Impossible de fermer - - - - ProjectExplorer::Internal::OutputWindow - - Application Output Window - Fenêtre de sortie de l'application - - - Additional output omitted - - Sortie supplémentaire omise - - - - - ProjectExplorer::Internal::ProcessStep - - Custom Process Step - Default ProcessStep display name - Étape personnalisée - - - Custom Process Step - item in combobox - Étape personnalisée - - - - ProjectExplorer::Internal::ProcessStepConfigWidget - - <b>%1</b> %2 %3 %4 - <b>%1</b> %2 %3 %4 - - - (disabled) - (désactivé) - Custom Process Step Étape personnalisée - - %1 (disabled) - %1 is the custom process step summary - %1 (désactivée) - - - - ProjectExplorer::Internal::ProcessStepWidget - - Name: - Nom : - Command: Commande : - - Working Directory: - Répertoire de travail : - - - Command Arguments: - Arguments de la commande : - - - Enable Custom Process Step - Activer les étapes personnalisés - - - Enable custom process step - Activer les étapes personnalisés - Working directory: Répertoire de travail : - - Command arguments: - Arguments de la commande : - Arguments: Arguments : - - - ProjectExplorer::Internal::ProjectExplorerSettingsPage - - Build and Run - Compiler et exécuter - - - Projects - Projets - General Général - - - ProjectExplorer::Internal::ProjectFileFactory Project File Factory ProjectExplorer::ProjectFileFactory display name. Fabrique de fichiers de projets - - Failed to open project - Échec lors de l'ouverture du projet - Could not open the following project: '%1' Impossible d'ouvrir le projet "%1" @@ -11490,9 +10878,6 @@ francis : voila une nouvelle suggestion :) All Projects tous les projets - - - ProjectExplorer::Internal::ProjectFileWizardExtension <Implicitly Add> <Ajouter Implicitement> @@ -11540,9 +10925,6 @@ au projet '%2'. Failed to add '%1' to the version control system. Échec de l'ajout de "%1" au système de gestion de version. - - - ProjectExplorer::Internal::ProjectTreeWidget Simplify tree Simplifier l'arbre @@ -11563,9 +10945,6 @@ au projet '%2'. Synchronize with Editor Synchroniser avec l'éditeur - - - ProjectExplorer::Internal::ProjectTreeWidgetFactory Projects Projets @@ -11586,9 +10965,6 @@ au projet '%2'. Filter tree Filtrer l'arbre - - - ProjectExplorer::Internal::ProjectWizardPage Add to &VCS (%1) Ajouter à &SGV (%1) @@ -11613,55 +10989,10 @@ au projet '%2'. Files to be added in Fichiers à ajouter dans - - - ProjectExplorer::Internal::RemoveFileDialog - - Remove File - Supprimer le fichier - - - File to remove: - Fichier à supprimer : - - - &Delete file permanently - &Supprimer le fichier de façon permanente - - - &Remove from Version Control - &Supprimer du système de gestion de version - - - - ProjectExplorer::Internal::RunSettingsPanel - - Run Settings - Paramètres d'exécution - - - - ProjectExplorer::Internal::RunSettingsWidget - - Add - Ajouter - - - Remove - Supprimer - - - <a href="#">Make %1 active.</a> - <a href="#">Rendre %1 actif.</a> - Run Settings Paramètres d'exécution - - Rename - Renommer - Deployment Déploiement @@ -11670,10 +11001,6 @@ au projet '%2'. Method: Méthode : - - Run - Exécuter - Run configuration: Configuration d'exécution : @@ -11686,10 +11013,6 @@ au projet '%2'. Do you really want to delete the run configuration <b>%1</b>? Êtes vous sûr de vouloir supprimer la configuration d'exécution <b>%1</b> ? - - Rename... - Renommer... - New name for run configuration <b>%1</b>: Nouveau nom pour la configuration d'exécution <b>%1</b> : @@ -11698,10 +11021,6 @@ au projet '%2'. Cancel Build && Remove Deploy Configuration Annuler la compilation && supprimer le configuration de déploiement - - Do Not Remove - Ne pas supprimer - Remove Deploy Configuration %1? Supprimer la configuration de déploiement %1 ? @@ -11726,75 +11045,10 @@ au projet '%2'. New name for deploy configuration <b>%1</b>: Nouveau nom pour la configuration de déploiement <b>%1</b> : - - - ProjectExplorer::Internal::RunSettingsPropertiesPage - - + - + - - - - - - - - - Edit run configuration: - Éditer la configuration d'exécution : - - - Run configuration: - Configuration d'exécution : - - - Deployment: - Déploiement : - - - Add - Ajouter - - - Remove - Supprimer - - - Rename - Renommer - - - Rename ... - Renommer ... - - - - ProjectExplorer::Internal::SessionFile - - Session - Session - - - Failed to open project - Échec d'ouverture du projet - - - Untitled - default file name to display - Sans titre - - - - ProjectExplorer::Internal::TaskDelegate File not found: %1 Fichier non trouvé : %1 - - - ProjectExplorer::Internal::TaskWindow - - Build Issues - Problèmes de compilation - Issues Problèmes @@ -11811,9 +11065,6 @@ au projet '%2'. Show Warnings Afficher les avertissements - - - ProjectExplorer::Internal::WinGuiProcess The process could not be started! Le processus n'a pas pû être démarré ! @@ -11826,9 +11077,6 @@ au projet '%2'. The process could not be started: %1 Le processus n'a pas pu être démarré : %1 - - - ProjectExplorer::Internal::WizardPage Project management Gestion du projet @@ -11857,10 +11105,6 @@ au projet '%2'. - - Add to &project: - &Ajouter au projet : - Add to &version control: Ajouter au gestionnaire de &version : @@ -11869,25 +11113,6 @@ au projet '%2'. Project Management Gestion du projet - - Manage - Gérer - - - Manage ... - Gérer ... - - - Manage... - Gérer... - - - - ProjectExplorer::ProjectExplorerPlugin - - Projects - Projets - &Build &Compiler @@ -11956,10 +11181,6 @@ au projet '%2'. Close All Projects Fermer tous les projets - - Session - Session - Set Build Configuration Définir la configuration de compilation @@ -12028,10 +11249,6 @@ au projet '%2'. Clean Without Dependencies Nettoyer sans les dépendances - - Run - Exécuter - Sessions Sessions @@ -12044,10 +11261,6 @@ au projet '%2'. Run Without Deployment Exécuter sans déploiement - - Rename... - Renommer... - Set as Active Project Définir comme projet actif @@ -12170,10 +11383,6 @@ au projet '%2'. Delete File... Effacer le fichier... - - Rename - Renommer - Set as Startup Project Définir en tant que projet de démarrage @@ -12217,26 +11426,14 @@ Souhaitez-vous les ignorer ? Always save files before build Toujours enregistrer les fichiers avant de compiler - - Clean - Nettoyer - Close All Projects and Editors Fermer tous les projets et éditeurs - - Build - Compilation - Rebuild Recompiler - - Deploy - Déploiement - Set "%1" as Active Project Définir "%1" comme projet actif @@ -12333,10 +11530,6 @@ Souhaitez-vous les ignorer ? Le projet %1 n'est pas configuré, il sera ignoré. - - No project loaded. - Aucun projet chargé. - Currently building the active project. En cours de compilation du projet actif. @@ -12561,9 +11754,6 @@ au système de gestion de version (%2) ? Could not delete file %1. Impossible de supprimer le fichier %1. - - - ProjectExplorer::SessionManager Error while restoring session Erreur lors de la restauration de la session @@ -12596,10 +11786,6 @@ au système de gestion de version (%2) ? Remove projects from Session Supprimer les projets de la session - - Failed to open project - Échec d'ouverture du projet - Session Session @@ -12612,10 +11798,6 @@ au système de gestion de version (%2) ? Could not save session to file %1 Impossible d'enregistrer la session dans le fichier %1 - - Qt Creator - Qt Creator - Untitled Sans titre @@ -13374,54 +12556,6 @@ Présélectionne une version desktop Qt pour compiler l'application si disp Run qmake in %1 Exécuter qmake dans %1 - - Build in %1 - Compiler dans %1 - - - Qt4RunConfiguration - Qt4RunConfiguration - - - Could not parse %1. The Qt4 run configuration %2 can not be started. - Impossible d'analyser %1. La configuration de Qt 4 %2 ne peut pas être démarrée. - - - The .pro file is currently being parsed. - Le fichier .pro est en cours d'analyse. - - - The .pro file could not be parsed. - Le fichier .pro n'a pas pu être analysé. - - - Clean Environment - Environnement vierge - - - System Environment - Environnement système - - - Qt Run Configuration - Configuration d'exécution Qt - - - Qt4 Run Configuration - Configuration d'exécution Qt4 - - - Qt4 RunConfiguration - Configuration d'exécution Qt4 - - - Running executable: <b>%1</b> %2 (in terminal) - Lancement de l'exécutable <b>%1</b> %2 (dans un terminal) - - - Running executable: <b>%1</b> %2 - Lancement de l'exécutable <b>%1</b> %2 - Arguments: Arguments : @@ -13442,22 +12576,6 @@ Présélectionne une version desktop Qt pour compiler l'application si disp Run in terminal Exécuter dans un terminal - - Debugger: - Débogueur : - - - Run Environment - Environnement d'exécution - - - Base environment for this run configuration: - Environnement de base pour cette configuration d'exécution : - - - Name: - Nom : - Executable: Exécutable : @@ -13518,35 +12636,6 @@ Présélectionne une version desktop Qt pour compiler l'application si disp Select the CSL ARM Toolchain (GCCE) Directory Sélectionner le répertoire de la chaîne de compilation CSL Arm (GCCE) - - Auto-detected - Auto-détecté - - - Manual - Manuel - - - Building helpers - Aide à la compilation - - - Helpers: None available - Assistants : aucun disponible - - - Helpers: %1. - %1 is list of tool names. - Assistants : %1. - - - <i>Not yet built.</i> - <i>Pas encore compilé.</i> - - - <i>Not needed.</i> - <i>Pas requis.</i> - <i>Cannot be compiled.</i> <i>Ne peut pas être compilé.</i> @@ -17952,7 +17041,7 @@ p, li { white-space: pre-wrap; } - ProjectExplorer::Internal::ProjectExplorerSettingsPageUi + ::ProjectExplorer Build and Run Compilation et exécution @@ -18086,61 +17175,6 @@ p, li { white-space: pre-wrap; } Réinitialiser - - ProjectExplorer::Internal::ProjectWelcomePageWidget - - Form - Formulaire - - - Manage Sessions... - Gestion des sessions... - - - Create New Project... - Créer un nouveau projet... - - - Open Recent Project - Ouvrir un projet récent - - - Resume Session - Reprendre la session - - - %1 (last session) - %1 (dernière session) - - - %1 (current session) - %1 (session courante) - - - New Project - Nouveau projet - - - New Project... - Nouveau projet... - - - Recent Sessions - Sessions récentes - - - Recent Projects - Projets récents - - - Open Project... - Ouvrir le projet... - - - Create Project... - Créer un projet... - - ::Welcome @@ -18362,25 +17396,6 @@ p, li { white-space: pre-wrap; } The specified location already exists. Please specify a valid location. L'emplacement spécifié existe déjà. Veuillez spécifier un autre emplacement. - - New Project - Nouveau projet - - - Cmd - Shortcut key - Cmd - - - Alt - Shortcut key - Alt - - - Ctrl - Shortcut key - Ctrl - If you add external libraries to your project, Qt Creator will automatically offer syntax highlighting and code completion. Si vous ajoutez des bibliothèques externes à votre projet, QtCreator va automatiquement mettre en place la coloration syntaxique et l'auto-complétion. @@ -18453,18 +17468,6 @@ p, li { white-space: pre-wrap; } In the editor, <tt>F2</tt> follows symbol definition, <tt>Shift+F2</tt> toggles declaration and definition while <tt>F4</tt> toggles header file and source file. Dans l'éditeur, vous pouvez aller à la définition du symbole en pressant <tt>F2</tt>, <tt>Maj+F2</tt> bascule entre déclaration et définition tandis que <tt>F4</tt> bascule entre en-tête et fichier source. - - You can modify the binary that is being executed when you press the <tt>Run</tt> button: Add a <tt>Custom Executable</tt> by clicking the <tt>+</tt> button in <tt>Projects -> Run Settings -> Run Configuration</tt> and then select the new target in the combo box. - Vous pouvez modifier le binaire qui sera exécuté lorsque vous appuyez sur le bouton <tt>Lancer</tt> : Ajoutez un <tt>exécutable personnalisé</tt> en cliquant sur le bouton <tt>+</tt> dans <tt>Projets -> Paramètres d'exécutions -> Configuration d'exécution</tt> et sélectionnez une nouvelle cible dans le menu déroulant. - - - You can use Qt Creator with a number of <a href="qthelp://com.nokia.qtcreator/doc/creator-version-control.html">revision control systems</a> such as Subversion, Perforce, CVS and Git. - Vous pouvez utiliser Qt Creator conjointement avec de nombreux <a href="qthelp://com.nokia.qtcreator/doc/creator-version-control.html">systèmes de gestion de version</a> tel que Subversion, Perforce, CVS et Git. - - - In the editor, <tt>F2</tt> toggles declaration and definition while <tt>F4</tt> toggles header file and source file. - Dans l'éditeur, <tt>F2</tt> passe de la déclaration à la définition de fonction, tandis que <tt>F4</tt> passe du fichier source au fichier d'en-tête. - Explore Qt C++ Examples Explorer les exemples Qt C++ @@ -19639,7 +18642,7 @@ p, li { white-space: pre-wrap; } - ProjectExplorer::ApplicationLauncher + ::ProjectExplorer Failed to start program. Path or permissions wrong? Échec lors de l'exécution du programme. Mauvais chemin ou permissions ? @@ -19661,16 +18664,10 @@ p, li { white-space: pre-wrap; } Impossible de récupérer la sortie de débogage. - - - ProjectExplorer::Internal::LocalApplicationRunControlFactory Run Exécuter - - - ProjectExplorer::Internal::LocalApplicationRunControl No executable specified. Aucun exécutable n'est spécifié. @@ -19706,9 +18703,6 @@ p, li { white-space: pre-wrap; } %1 a quitté avec le code %2 - - - ProjectExplorer::DebuggingHelperLibrary The target directory %1 could not be created. Le dossier cible %1 n'a pas pu être créé. @@ -19735,34 +18729,6 @@ Raison : %2 GDB helper Assistant GDB - - Building debugging helper library in %1 - - Compilation de la bibliothèque d'assistance au débogage dans %1 - - - - Running %1 %2... - - Exécute %1 %2... - - - - %1 not found in PATH - - traduire PATH ici ? - %1 non trouvé dans le PATH - - - - Running %1 ... - - Exécute %1... - - - - - ProjectExplorer::Internal::ProjectWelcomePage Develop Développer @@ -19771,42 +18737,6 @@ Raison : %2 New Project Nouveau projet - - Projects - Projets - - - - ProjectExplorer::Internal::ActiveConfigurationWidget - - Active run configuration - Configuration d'exécution active - - - - ProjectExplorer::Internal::ProjectLabel - - Edit Project Settings for Project <b>%1</b> - Éditer les paramètres du projet <b>%1</b> - - - No Project loaded - Aucun projet chargé - - - - ProjectExplorer::Internal::ProjectPushButton - - Select Project - Sectionner projet - - - - ProjectExplorer::Internal::ProjectWindow - - Active Build and Run Configurations - Configuration de compilation et d'exécution sélectionnées - No project loaded. Aucun projet chargé. @@ -20904,43 +19834,11 @@ S60 emulator run configuration default display name, %1 is base pro-File name - ProjectExplorer::Internal::BuildConfigDialog + ::ProjectExplorer Change build configuration && continue Changer la configuration de compilation et continuer - - Cancel - Annuler - - - Continue anyway - Continuer malgré tout - - - Run configuration does not match build configuration - La configuration d'éxecution ne correspond pas à la configuration de compilation - - - The active build configuration builds a target that cannot be used by the active run configuration. - La configuration de compilation sélectionnée compile une cible ne pouvant être utilisée par la configuration d'éxecution sélectionnée. - - - This can happen if the active build configuration uses the wrong Qt version and/or tool chain for the active run configuration (for example, running in Symbian emulator requires building with the WINSCW tool chain). - Ceci peut se produire lorsque la configuration de compilation sélectionnée utilise la mauvaise version de Qt et/ou chaîne de compilation pour la configuration d'éxecution sélectionnée (par exemple. l'exécution dans l'émulateur Symbian requiert une compilation avec la chaîne WINSCW). - - - No valid build configuration found. - Aucune configuration de compilation valide trouvée. - - - Active run configuration - Configuration d'exécution active - - - Choose build configuration: - Choisir la configuration de compilation : - trk::Session @@ -21288,7 +20186,7 @@ Vous pouvez choisir entre mettre les changements dans une remise ou de les aband - ProjectExplorer::Internal::AddTargetDialog + ::ProjectExplorer Add target Ajouter une cible @@ -21297,16 +20195,10 @@ Vous pouvez choisir entre mettre les changements dans une remise ou de les aband Target: Cible : - - - ProjectExplorer::Internal::DoubleTabWidget DoubleTabWidget DoubleTabWidget - - - ProjectExplorer::Internal::TargetSettingsWidget TargetSettingsWidget TargetSettingsWidget @@ -24928,7 +23820,7 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. - ProjectExplorer::BaseProjectWizardDialog + ::ProjectExplorer Location Emplacement @@ -24938,30 +23830,11 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. sans_titre - - - ProjectExplorer::BuildConfiguration - - Build - Display name of the build build step list. Used as part of the labels in the project window. - Compiler - Clean Display name of the clean build step list. Used as part of the labels in the project window. Nettoyer - - System Environment - Environnement système - - - Clean Environment - Environnement de nettoyage - - - - ProjectExplorer::BuildEnvironmentWidget Clear system environment Nettoyer l'environnement système @@ -24986,7 +23859,7 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. - ProjectExplorer::CustomWizard + ::ProjectExplorer Details Default short title for custom wizard page to be shown in the progress pane of the wizard. @@ -25028,10 +23901,6 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. Qt Creator plugin Plug-in Qt Creator - - Other Project - Autre projet - Creates a plain C project using QMake, not using the Qt library. Créer un projet C utilisant QMake mais pas la bibliothèque Qt. @@ -25317,23 +24186,14 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. Example Object Class-name: Nom de classe de l'objet exemple : - - - ProjectExplorer::CustomProjectWizard The project %1 could not be opened. Le projet %1 ne peut pas être ouvert. - - - ProjectExplorer::Internal::CustomWizardPage Path: Chemin : - - - ProjectExplorer::Internal::DependenciesModel <No other projects in this session> <Pas d'autres projets dans cette session> @@ -25347,18 +24207,11 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. - DependenciesPanelFactory + ::ProjectExplorer Dependencies Dépendances - - - EditorSettingsPanelFactory - - Editor Settings - Paramètres de l'éditeur - Editor Éditeur @@ -25500,7 +24353,7 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. - ProjectExplorer::Internal::MiniTargetWidget + ::ProjectExplorer Select active build configuration Sélectionner la configuration de compilation active @@ -25517,9 +24370,6 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. Run: Exécution : - - - ProjectExplorer::Internal::MiniProjectTargetSelector Project Projet @@ -25536,14 +24386,6 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. Kit Kit - - Deploy - Déployer - - - Run - Exécuter - Unconfigured Non configuré @@ -25612,14 +24454,6 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. Select active project Sélectionner le projet actif - - Build: - Compilation : - - - Run: - Exécution : - <html><nobr><b>Project:</b> %1<br/>%2%3<b>Run:</b> %4%5</html> <html><nobr><b>Projet :</b> %1<br/>%2%3<b>Exécution :</b> %4%5</html> @@ -25636,20 +24470,10 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. <br/>%1 <br/>%1 - - - ProjectExplorer::ProjectConfiguration Clone of %1 Clone de %1 - - - ::ProjectExplorer - - Projects - Projets - Build & Run Compiler & Exécuter @@ -25662,14 +24486,6 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. Applications Applications - - Libraries - Bibliothèques - - - Non-Qt Project - Projet non Qt - Import Project Importer un projet @@ -25678,10 +24494,6 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. Qt Application Application Qt - - Devices - Appareils mobiles - TargetSettingsPanelFactory @@ -25709,7 +24521,7 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. - ProjectExplorer::Internal::SessionNameInputDialog + ::ProjectExplorer Enter the name of the session: Entrez le nom de la session : @@ -25718,20 +24530,6 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. Switch to Basculer vers - - - ProjectExplorer::Internal::TargetSelector - - Run - Exécuter - - - Build - Compiler - - - - ProjectExplorer::Internal::TargetSettingsPanelWidget No target defined. Aucune cible définie. @@ -25790,10 +24588,6 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. Cancel Build && Remove Kit Annuler la compilation et supprimer le kit - - Do Not Remove - Ne pas supprimer - Remove Kit %1? Supprimer le kit %1 ? @@ -25843,35 +24637,6 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. Qt Creator Qt Creator - - Do you really want to remove the -"%1" target? - Voulez-vous vraiment supprimer la cible -"%1" ? - - - - ProjectExplorer::TaskWindow - - Build Issues - Problèmes de compilation - - - &Copy - Cop&ier - - - &Annotate - &Annoter - - - Show Warnings - Afficher les avertissements - - - Filter by categories - Filtrer par catégories - GenericProjectManager::GenericTarget @@ -27422,7 +26187,7 @@ Nécessite <b>Qt 4.8</b> ou plus récent. - ProjectExplorer::Internal::S60ProjectChecker + ::ProjectExplorer The Symbian SDK and the project sources must reside on the same drive. Le SDK Symbian et les sources du projet doivent être situés sur le même disque. @@ -28413,7 +27178,7 @@ Preselects Qt for Simulator and mobile targets if available - ProjectExplorer::BuildableHelperLibrary + ::ProjectExplorer Cannot start process: %1 Impossible de démarrer le processus : %1 @@ -28457,12 +27222,6 @@ Preselects Qt for Simulator and mobile targets if available Running %1 %2 ... Exécute %1 %2... - - - - Running %1 ... - - Exécute %1... @@ -29694,7 +28453,7 @@ plutôt que dans le répertoire d'installation lors d'une exècution e - ProjectExplorer::Internal::BuildStepListWidget + ::ProjectExplorer %1 Steps %1 is the name returned by BuildStepList::displayName @@ -29736,9 +28495,6 @@ plutôt que dans le répertoire d'installation lors d'une exècution e No Build Steps Aucune étape de compilation - - - ProjectExplorer::Internal::CopyTaskHandler error: Task is of type error @@ -29778,9 +28534,6 @@ plutôt que dans le répertoire d'installation lors d'une exècution e Task is of type: warning avertissement : - - - ProjectExplorer::DeployConfiguration Deploy Display name of the deploy build step list. Used as part of the labels in the project window. @@ -29791,28 +28544,6 @@ plutôt que dans le répertoire d'installation lors d'une exècution e Default DeployConfiguration display name Déployer localement - - No deployment - Default DeployConfiguration display name - Pas de déploiement - - - - ProjectExplorer::DeployConfigurationFactory - - Deploy Configuration - Configuration de déploiement - - - - ProjectExplorer::Internal::EditorSettingsWidget - - Default - Défaut - - - - ProjectExplorer::RunControl Application Still Running Application toujours en cours d'exécution @@ -29850,9 +28581,6 @@ plutôt que dans le répertoire d'installation lors d'une exècution e Do not ask again Ne plus me demander - - - ProjectExplorer::Internal::ShowInEditorTaskHandler &Show in editor &Afficher dans l'éditeur @@ -29873,9 +28601,6 @@ plutôt que dans le répertoire d'installation lors d'une exècution e Show task location in an editor. Montre l'emplacement de la tâche dans un éditeur. - - - ProjectExplorer::Internal::ShowOutputTaskHandler Show &Output Afficher la s&ortie @@ -29888,36 +28613,6 @@ plutôt que dans le répertoire d'installation lors d'une exècution e O O - - - ProjectExplorer::UserFileAccessor - - Using Old Project Settings File - Utiliser le fichier de paramètres de l'ancien projet - - - <html><head/><body><p>A versioned backup of the .user settings file will be used, because the non-versioned file was created by an incompatible newer version of Qt Creator.</p><p>Project settings changes made since the last time this version of Qt Creator was used with this project are ignored, and changes made now will <b>not</b> be propagated to the newer version.</p></body></html> - <html><head/><body><p>Un back-up versionné du fichier de paramètres .user sera utilisé parce qu'un fichier non versionné a été créé par une version plus récente et incompatible de Qt Creator.</p><p>Les changements aux préférences du projet effectuées depuis la dernière fois que cette version de Qt Creator a été utilisée avec ce projet sont ignorés et les changements effectués dès maintenant ne seront <b>pas</b> propagés à la nouvelle version.</p></body></html> - - - Project Settings File from a different Environment? - Le fichier de configuration du projet provient-il d'un environnement différent ? - - - Qt Creator has found a .user settings file which was created for another development setup, maybe originating from another machine. - -The .user settings files contain environment specific settings. They should not be copied to a different environment. - -Do you still want to load the settings file? - Qt Creator a trouvé un fichier de configuration .user qui a été créé pour une autre configuration de développement, peut-être à partir d'un autre ordinateur. - -Le fichier de configuration .user contient des paramètres spécifiques à un environnement. Ils ne devraient pas être copiés dans un environnement différent. - -Voulez-vous toujours charger le fichier de configuration ? - - - - ProjectExplorer::UserFileHandler No deployment Pas de déploiement @@ -29932,9 +28627,6 @@ Voulez-vous toujours charger le fichier de configuration ? myzu : le ou un ? Déployer sur un périphérique Symbian - - - ProjectExplorer::Internal::VcsAnnotateTaskHandler &Annotate &Annoter @@ -30314,7 +29006,7 @@ Ajoute la bibliothèque et les chemins d'inclusion dans le fichier .pro. - ProjectExplorer::QmlDumpTool + ::ProjectExplorer qmldump could not be built in any of the directories: - %1 @@ -30345,11 +29037,7 @@ Raison : %2 - ProjectExplorer::QmlObserverTool - - The target directory %1 could not be created. - Le dossier cible %1 n'a pas pu être créé. - + ::ProjectExplorer QMLObserver could not be built in any of the directories: - %1 @@ -30945,7 +29633,7 @@ Requiert <b>Qt 4.7.0</b> ou plus récent. - TaskList::Internal::StopMonitoringHandler + ::ProjectExplorer Stop monitoring Arrêter la surveillance @@ -30958,9 +29646,6 @@ Requiert <b>Qt 4.7.0</b> ou plus récent. Stop monitoring task files. Arrêter la surveillance des fichiers de tâches. - - - TaskList::Internal::TaskFileFactory Task file reader Lecteur de fichier de tâches @@ -30969,9 +29654,6 @@ Requiert <b>Qt 4.7.0</b> ou plus récent. File Error Erreur de fichier - - - TaskList::TaskListPlugin Cannot open task file %1: %2 Impossible d'ouvrir le fichier de tâche %1 : %2 @@ -31779,7 +30461,7 @@ Les pulls locaux ne sont pas appliqués à la branche maître. - ProjectExplorer::Internal::PublishingWizardSelectionDialog + ::ProjectExplorer Publishing Wizard Selection Sélection de l'assistant de publication @@ -34890,18 +33572,11 @@ Do you want to retry? - ProjectExplorer::Internal::GccToolChainFactory + ::ProjectExplorer GCC GCC - - - ProjectExplorer::Internal::GccToolChainConfigWidget - - &Compiler path: - Chemin du &compilateur : - Platform codegen flags: Flags de plateforme de la génération de code : @@ -34910,50 +33585,18 @@ Do you want to retry? Platform linker flags: Flags de plateforme de l'éditeur de liens : - - &ABI: - &ABI : - - - - ProjectExplorer::Internal::MingwToolChainFactory MinGW MinGW - - - ProjectExplorer::Internal::LinuxIccToolChainFactory Linux ICC ICC Linux - - - ProjectExplorer::Internal::MsvcToolChainFactory MSVC MSVC - - - ProjectExplorer::Internal::MsvcDebuggerConfigLabel - - <html><body><p>Specify the path to the <a href="%1">Windows Console Debugger executable</a> (%2) here.</p></body></html> - Label text for path configuration. %2 is "x-bit version". - <html><body><p>Spécifier le chemin à <a href="%1">l'exécutable du débogueur en console de Windows</a> (%2) ici.</p></body></html> - - - 64-bit version - version 64-bits - - - 32-bit version - version 32-bits - - - - ProjectExplorer::Internal::MsvcToolChainConfigWidget Initialization: Initialisation : @@ -34970,31 +33613,10 @@ Do you want to retry? The CDB debugger could not be found in %1 Le débogueur CDB n'a pas pu être trouvé dans %1 - - - ProjectExplorer::ProjectsMode - - Projects - Projets - - - - ProjectExplorer::ToolChain - - Clone of %1 - Clone de %1 - - - - ProjectExplorer::ToolChainConfigWidget &Debugger: &Débogueur : - - Autodetect - Autodétecter - mkspec: mkspec : @@ -35003,21 +33625,10 @@ Do you want to retry? All possible mkspecs separated by a semicolon (';'). Tout les mkspecs possibles séparés par un point virgule (';'). - - Reset - Réinitialiser - Name: Nom : - - - ProjectExplorer::Internal::ToolChainModel - - Auto-detected - Auto-détecté - Manual Manuel @@ -35066,9 +33677,6 @@ Do you want to retry? The following tool chains were already configured:<br> %1<br>They were not configured again. Les chaînes de compilation suivantes ont déjà été configurées : <br/> %1<br/>Elles n'ont pas été configurées à nouveau. - - - ProjectExplorer::Internal::ToolChainOptionsPage Tool Chains Chaînes de compilation @@ -35077,18 +33685,10 @@ Do you want to retry? Compilers Compilateurs - - Add - Ajouter - Clone Cloner - - Remove - Supprimer - QmlDesigner::ItemLibraryWidget @@ -35464,22 +34064,6 @@ Please build the debugging helpers on the Qt version options page. Main QML file: Fichier QML principal : - - Debugger: - Débogueur : - - - Run Environment - Environnement d'exécution - - - System Environment - Environnement système - - - Invalid Qt version - Version de Qt invalide - ::QmakeProjectManager @@ -36721,17 +35305,6 @@ if (a && &Envoyer - - ProjectExplorer::CodeStyleSettingsPropertiesPage - - Form - Formulaire - - - Language: - Langue : - - text @@ -38377,14 +36950,11 @@ These files are preserved. - ProjectExplorer::AbiWidget + ::ProjectExplorer <custom> <personnalisé> - - - ProjectExplorer::Internal::AppOutputPane Attach debugger to this process Attacher le débogueur à ce processus @@ -38421,9 +36991,6 @@ These files are preserved. Application Output Window Fenêtre de sortie de l'application - - - CodeStyleSettingsPanelFactory Code Style Settings Paramètres de style de code @@ -38445,7 +37012,7 @@ These files are preserved. - ProjectExplorer::EditorConfiguration + ::ProjectExplorer Project Settings @@ -38456,9 +37023,6 @@ These files are preserved. Settings, %1 is a language (C++ or QML) Projet %1 - - - ProjectExplorer::Internal::ClangToolChainFactory Clang Clang @@ -41451,31 +40015,11 @@ Pour compiler l'observateur QML, allez à la page des versions de Qt, séle - ProjectExplorer::SettingsAccessor - - Using Old Project Settings File - Utiliser le fichier de paramètres de l'ancien projet - + ::ProjectExplorer <html><head/><body><p>A versioned backup of the .user settings file will be used, because the non-versioned file was created by an incompatible newer version of Qt Creator.</p><p>Project settings changes made since the last time this version of Qt Creator was used with this project are ignored, and changes made now will <b>not</b> be propagated to the newer version.</p></body></html> <html><head/><body><p>Une sauvegarde versionnée du fichier de paramètres .user sera utilisée parce qu'un fichier non versionné a été créé par une version plus récente et incompatible de Qt Creator.</p><p>Les changements aux préférences du projet effectuées depuis la dernière fois que cette version de Qt Creator a été utilisée avec ce projet seront ignorés et les changements effectués dès maintenant ne seront <b>pas</b> propagés à la nouvelle version.</p></body></html> - - Project Settings File from a different Environment? - Le fichier de configuration du projet provient-il d'un environnement différent ? - - - Qt Creator has found a .user settings file which was created for another development setup, maybe originating from another machine. - -The .user settings files contain environment specific settings. They should not be copied to a different environment. - -Do you still want to load the settings file? - Qt Creator a trouvé un fichier de configuration .user qui a été créé pour une autre configuration de développement, peut-être à partir d'un autre ordinateur. - -Le fichier de configuration .user contient des paramètres spécifiques à un environnement. Ils ne devraient pas être copiés dans un environnement différent. - -Voulez-vous toujours charger le fichier de configuration ? - No valid .user file found for '%1' Aucun fichier .user valide trouvé pour "%1" @@ -42743,7 +41287,7 @@ Ces chemines sont utilisés en complément au répertoire courant pour basculer - ProjectExplorer::Internal::CodeStyleSettingsPropertiesPage + ::ProjectExplorer Form Formulaire @@ -44916,42 +43460,23 @@ Voulez-vous la tuer ? - ProjectExplorer::EnvironmentItemsDialog + ::ProjectExplorer Edit Environment Editer l'environnement - - - ProjectExplorer::Internal::ProjectListWidget %1 (%2) %1 (%2) - - - ProjectExplorer::Internal::SessionModel - - New session name - Nom de la nouvelle session - - - - ProjectExplorer::DebuggerRunConfigurationAspect Debugger settings Paramètres du débogueur - - - ProjectExplorer::Internal::WinCEToolChainFactory WinCE WinCE - - - ProjectExplorer::Internal::WinCEToolChainConfigWidget SDK: SDK : @@ -45261,10 +43786,6 @@ Les modèles de code C++ et QML ont besoin d'une version de Qt et d'un Failed to Open Project Échec d'ouverture du projet - - Failed to open project - Échec d'ouverture du projet - ::QtSupport @@ -46053,7 +44574,7 @@ Le fichier APL ne sera pas utilisable sur d'autres périphériques. - ProjectExplorer::Internal::DeviceFactorySelectionDialog + ::ProjectExplorer Device Configuration Wizard Selection Sélection de l'assistant de configuration du périphérique @@ -46062,13 +44583,6 @@ Le fichier APL ne sera pas utilisable sur d'autres périphériques.Available device types: Types de périphérique disponibles : - - Start Wizard - Démarrer l'assistant - - - - ProjectExplorer::Internal::DeviceSettingsWidget Linux Device Configurations Configurations des périphériques Linux @@ -46077,18 +44591,10 @@ Le fichier APL ne sera pas utilisable sur d'autres périphériques.&Device: &Périphérique : - - General - Général - &Name: &Nom : - - Type: - Type : - Auto-detected: Autodétecté : @@ -48971,7 +47477,7 @@ were not verified among remotes in %3. Select different folder? - ProjectExplorer::DesktopDevice + ::ProjectExplorer Run locally Exécuter localement @@ -48984,16 +47490,6 @@ were not verified among remotes in %3. Select different folder? Desktop Desktop - - - ProjectExplorer::Internal::DesktopDeviceFactory - - Desktop - Desktop - - - - ProjectExplorer::DeviceApplicationRunner Cannot run: Device is not able to create processes. Impossible d'exécuter : le périphérique n'est pas capable de créer le processus. @@ -49042,16 +47538,10 @@ were not verified among remotes in %3. Select different folder? Remote application finished with exit code 0. L'application distante s'est terminée avec le code 0. - - - ProjectExplorer::DeviceManagerModel %1 (default for %2) %1 (défaut pour %2) - - - ProjectExplorer::DeviceProcessesDialog Kit: Kit : @@ -49080,16 +47570,10 @@ were not verified among remotes in %3. Select different folder? &Attach to Process &Attacher au processus - - - ProjectExplorer::Internal::DeviceProcessesDialogPrivate Remote Error Erreur distante - - - ProjectExplorer::DeviceProcessList Process ID ID du processus @@ -49098,16 +47582,10 @@ were not verified among remotes in %3. Select different folder? Command Line Ligne de commande - - - ProjectExplorer::Internal::DeviceSettingsPage Devices Périphériques - - - ProjectExplorer::DeviceUsedPortsGatherer Connection error: %1 Erreur de connexion : %1 @@ -49129,16 +47607,10 @@ were not verified among remotes in %3. Select different folder? Remote error output was: %1 La sortie du processus distant était : %1 - - - ProjectExplorer::IDevice Device Périphérique - - - ProjectExplorer::Internal::LocalProcessList Cannot terminate process %1: %2 Impossible de terminer le processus %1 : %2 @@ -49147,9 +47619,6 @@ Remote error output was: %1 Cannot open process %1: %2 Impossible d'ouvrir le processus %1 : %2 - - - ProjectExplorer::SshDeviceProcessList Connection failure: %1 Échec de la connexion : %1 @@ -49187,17 +47656,10 @@ Remote error output was: %1 Remote stderr was: %1 Le stderr distant était : %1 - - - ProjectExplorer::Kit Unnamed Sans nom - - Clone of %1 - Clone de %1 - Error: Erreur : @@ -49206,9 +47668,6 @@ Remote stderr was: %1 Warning: Avertissement : - - - ProjectExplorer::SysRootKitInformation Sys Root "%1" is not a directory. La racine du système "%1" n'est pas un répertoire. @@ -49217,9 +47676,6 @@ Remote stderr was: %1 Sys Root Racine du système - - - ProjectExplorer::ToolChainKitInformation Compiler Compilateur @@ -49232,9 +47688,6 @@ Remote stderr was: %1 No compiler set in kit. Aucune compilateur défini dans le kit. - - - ProjectExplorer::DeviceTypeKitInformation Unknown device type Type de périphérique inconnu @@ -49243,9 +47696,6 @@ Remote stderr was: %1 Device type Type de périphérique - - - ProjectExplorer::DeviceKitInformation Device does not match device type. Le périphérique ne correspond pas au type de périphérique. @@ -49258,17 +47708,6 @@ Remote stderr was: %1 No device set. Pas de périphérique défini. - - Device - Périphérique - - - Unconfigured - Non configuré - - - - ProjectExplorer::Internal::SysRootInformationConfigWidget The root directory of the system image to use.<br>Leave empty when building for the desktop. Le répertoire racine du système image à utiliser.<br>Laisser vide lors d'une compilation sur desktop. @@ -49278,17 +47717,10 @@ Remote stderr was: %1 Traduit plus haut Racine du système : - - - ProjectExplorer::Internal::ToolChainInformationConfigWidget The compiler to use for building.<br>Make sure the compiler will produce binaries compatible with the target device, Qt version and other libraries used. Le compilateur à utiliser pour la compilation.<br>Assurez-vous que le compilateur génère des binaires compatibles avec le périphérique cible, la version de Qt et les autres bibliothèques utilisées. - - Manage... - Gérer... - Compiler: Compilateur : @@ -49297,9 +47729,6 @@ Remote stderr was: %1 <No compiler available> <Aucun compilateur disponible> - - - ProjectExplorer::Internal::DeviceTypeInformationConfigWidget The type of device to run applications on. Le type de périphérique sur lequel les applications sont exécutées. @@ -49308,9 +47737,6 @@ Remote stderr was: %1 Device type: Type de périphérique : - - - ProjectExplorer::Internal::DeviceInformationConfigWidget Manage Gérer @@ -49327,20 +47753,6 @@ Remote stderr was: %1 Device: Appareil mobile : - - - ProjectExplorer::KitManager - - Desktop - Desktop - - - - ProjectExplorer::Internal::KitManagerConfigWidget - - Name: - Nom : - Kit name and icon. Nom du kit et icône. @@ -49357,62 +47769,26 @@ Remote stderr was: %1 Images (*.png *.xpm *.jpg) Images (*.png *.xpm *.jpg) - - - ProjectExplorer::Internal::KitModel Auto-detected Autodétecté - - Manual - Manuel - %1 (default) %1 (par défaut) - - Name - Nom - - - Clone of %1 - Clone de %1 - - - - ProjectExplorer::KitOptionsPage Kits Kits - - Add - Ajouter - - - Clone - Cloner - - - Remove - Supprimer - Make Default Rendre par défaut - - - ProjectExplorer::RunConfiguration Unknown error. Erreur inconnue. - - - ProjectExplorer::Target Default build Compilation par défaut @@ -49995,14 +48371,6 @@ Voulez-vous que Qt Creator le génère pour votre projet ? Run in &terminal Exécuter dans le &terminal - - Run Environment - Environnement d'éxecution - - - Base environment for this run configuration: - Environnement de base pour cette configuration d'exécution : - CustomExecutableDialog @@ -50025,18 +48393,6 @@ cannot be found in the path. %1 n'a pas pu être trouvé dans le dossier. - - Clean Environment - Environnement de nettoyage - - - System Environment - Environnement système - - - Build Environment - Environnement de compilation - Custom Executable Exécutable personnalisé @@ -50468,19 +48824,11 @@ Les noms partiels peuvent êtres utilisé s'ils ne sont pas ambigües. - ProjectExplorer::DesktopDeviceConfigurationWidget - - Form - Formulaire - + ::ProjectExplorer Machine type: Type de machine : - - TextLabel - Étiquette de nom - Free ports: Ports libres : @@ -52981,14 +51329,11 @@ Distant : %4 - ProjectExplorer::Internal::CustomToolChainFactory + ::ProjectExplorer Custom Personnalisé - - - ProjectExplorer::Internal::TextEditDetailsWidget %n entries @@ -53000,9 +51345,6 @@ Distant : %4 Empty Vide - - - ProjectExplorer::Internal::CustomToolChainConfigWidget Custom Parser Settings... Paramètres d'analyse personnalisés... @@ -53055,9 +51397,6 @@ Distant : %4 &Error parser: &Erreur d'analyse syntaxique : - - - ProjectExplorer::DeviceCheckBuildStep No device configured. Aucun périphérique configuré. @@ -53074,34 +51413,18 @@ Distant : %4 Check for a configured device Vérifier pour les périphériques configurés - - - ProjectExplorer::EnvironmentAspect Run Environment Environnement d'exécution - - - ProjectExplorer::EnvironmentAspectWidget Base environment for this run configuration: Environnement de base pour cette configuration d'exécution : - - - ProjectExplorer::GccToolChain %1 (%2 %3 in %4) %1 (%2 %3 dans %4) - - - ProjectExplorer::LocalEnvironmentAspect - - Build Environment - Environnement de compilation - System Environment Environnement du système @@ -53110,9 +51433,6 @@ Distant : %4 Clean Environment Environnement vierge - - - ProjectExplorer::Internal::RemoveTaskHandler Remove Name of the action triggering the removetaskhandler @@ -54808,7 +53128,7 @@ réinitialisation du moniteur - ProjectExplorer::Internal::CustomParserConfigDialog + ::ProjectExplorer Custom Parser Analyseur personnalisé @@ -54837,10 +53157,6 @@ réinitialisation du moniteur &Message: &Message : - - Test - Test - E&rror message: &Message d'erreur : @@ -54877,9 +53193,6 @@ réinitialisation du moniteur Pattern does not match the error message. Le motif ne trouve pas de correspondance dans le message d'erreur. - - - ProjectExplorer::Internal::DeviceTestDialog Device Test Test de périphérique @@ -56038,30 +54351,11 @@ réinitialisation du moniteur - CustomToolChain - - GCC - GCC - - - Clang - Clang - + ::ProjectExplorer ICC ICC - - MSVC - MSVC - - - Custom - Personnalisé - - - - ProjectExplorer::DesktopProcessSignalOperation Cannot kill process with pid %1: %2 Impossible de tuer le processus avec le pid %1 : %2 @@ -56098,9 +54392,6 @@ réinitialisation du moniteur could not break the process. Impossible d'interrompre le processus. - - - ProjectExplorer::SshDeviceProcess Failed to kill remote process: %1 Impossible de tuer le processus distant : %1 @@ -56113,9 +54404,6 @@ réinitialisation du moniteur Terminated by request. Terminé par une requête. - - - ProjectExplorer::Internal::ImportWidget Import Build From... Importer la compilation depuis... @@ -56124,32 +54412,16 @@ réinitialisation du moniteur Import Importer - - - ProjectExplorer::KitChooser - - Manage... - Gérer... - - - - ProjectExplorer::OsParser The process can not access the file because it is being used by another process. Please close all running instances of your application before starting a build. Le processus ne peut pas accéder au fichier parce que celui-ci est utilisé par un autre processus. Veuillez fermer toutes les instances de votre application en cours d'exécution avant de lancer une compilation. - - - ProjectExplorer::ProjectImporter %1 - temporary %1 – temporaire - - - ProjectExplorer::TargetSetupPage <span style=" font-weight:600;">No valid kits found.</span> <span style=" font-weight:600;">Aucun kit valide trouvé.</span> @@ -56171,13 +54443,6 @@ Veuillez fermer toutes les instances de votre application en cours d'exécu %1: Project name Qt Creator peut utiliser les kits suivant pour le projet <b>%1</> : - - - ProjectExplorer::Internal::TargetSetupWidget - - Manage... - Gérer... - <b>Error:</b> Severity is Task::Error @@ -56188,16 +54453,6 @@ Veuillez fermer toutes les instances de votre application en cours d'exécu Severity is Task::Warning <b>Avertissement :</b> - - - ProjectExplorer::Internal::UnconfiguredProjectPanel - - Configure Project - Configurer le projet - - - - ProjectExplorer::Internal::TargetSetupPageWrapper Configure Project Configurer le projet diff --git a/share/qtcreator/translations/qtcreator_hr.ts b/share/qtcreator/translations/qtcreator_hr.ts index 7b548ff6c16..e80f7a0e412 100644 --- a/share/qtcreator/translations/qtcreator_hr.ts +++ b/share/qtcreator/translations/qtcreator_hr.ts @@ -5422,14 +5422,11 @@ Greška: %5 - ProjectExplorer::Internal::CodeStyleSettingsPropertiesPage + ::ProjectExplorer Language: Jezik: - - - ProjectExplorer::Internal::CustomParserConfigDialog Custom Parser Prilagođeno raščlanjivanje @@ -5470,10 +5467,6 @@ Greška: %5 Standard error Standardna greška - - Test - Test - E&rror message: Po&ruka greške: @@ -5522,24 +5515,14 @@ Greška: %5 Pattern does not match the message. Struktura se ne poklapa s porukom. - - - ProjectExplorer::DeploymentDataView Files to deploy: Datoteke za implemeniranje: - - - ProjectExplorer::DesktopDeviceConfigurationWidget Machine type: Vrsta stroja: - - TextLabel - Tekstualna oznaka - Free ports: Slobodni priključci: @@ -5552,9 +5535,6 @@ Greška: %5 You will need at least one port for QML debugging. Trebat ćeš barem jedan prikljjučak za QML uklanjanje grešaka. - - - ProjectExplorer::Internal::DeviceFactorySelectionDialog Device Configuration Wizard Selection Odabir čarobnjaka za konfiguraciju uređaja @@ -5567,9 +5547,6 @@ Greška: %5 Start Wizard Pokreni čarobnjaka - - - ProjectExplorer::Internal::DeviceSettingsWidget Linux Device Configurations Konfiguracije Linux uređaja @@ -5630,9 +5607,6 @@ Greška: %5 Show Running Processes... Prikaži pokrenute procese … - - - ProjectExplorer::Internal::DeviceTestDialog Device Test Testiranje uređaja @@ -5649,9 +5623,6 @@ Greška: %5 Device test failed. Neuspješno testiranje uređaja. - - - ProjectExplorer::Internal::EditorSettingsPropertiesPage Editor settings: Postavke uređivača @@ -5676,13 +5647,6 @@ Greška: %5 Display right &margin at column: Prikaži desnu &marginu pri stupcu: - - - ProjectExplorer::Internal::MakeStep - - Override %1: - Zanemari %1: - Make arguments: Izradi argumente: @@ -5699,9 +5663,6 @@ Greška: %5 Override MAKEFLAGS Zanemari MAKEFLAGS - - - ProjectExplorer::Internal::ProcessStepWidget Command: Naredba: @@ -5710,13 +5671,6 @@ Greška: %5 Arguments: Argumenti: - - Working directory: - Radni direktorij: - - - - ProjectExplorer::Internal::ProjectExplorerSettingsPageUi Projects Directory Direktorij projekta @@ -5809,10 +5763,6 @@ Greška: %5 Stop applications before building: Zaustavi aplikacije pije gradnje: - - None - Nijednu - Same Project Isti projekt @@ -5841,17 +5791,10 @@ Greška: %5 Reset Resetiraj - - - ProjectExplorer::Internal::WizardPage Project Management Upravljanje projektima - - Add to &project: - Dodaj &projektu: - Add to &version control: Dodaj kontroli &verzija: @@ -5868,9 +5811,6 @@ Greška: %5 - - - ProjectExplorer::Internal::SessionDialog Session Manager Upravljač za sesije @@ -12728,7 +12668,7 @@ The trace data is lost. - ProjectExplorer::DebuggingHelperLibrary + ::ProjectExplorer The target directory %1 could not be created. @@ -12746,9 +12686,6 @@ The trace data is lost. - - - ProjectExplorer::BuildableHelperLibrary Cannot start process: %1 @@ -12782,11 +12719,6 @@ The trace data is lost. Running %1 %2 ... - - - - - %1 not found in PATH @@ -17202,7 +17134,7 @@ Izlaz: - ProjectExplorer::Task + ::ProjectExplorer You asked to build the current Run Configuration's build target only, but it is not associated with a build target. Update the Make Step in your build settings. @@ -21747,7 +21679,7 @@ Affected are breakpoints %1 - ProjectExplorer::DeviceProcessesDialog + ::ProjectExplorer &Attach to Process @@ -22196,7 +22128,7 @@ Rebuilding the project might help. - ProjectExplorer::JsonWizard + ::ProjectExplorer "data" for a "Form" page needs to be unset or an empty object. @@ -22343,114 +22275,10 @@ Rebuilding the project might help. Test framework: - - GUI Application - GUI aplikacija - - - Test case name: - - - - Requires QApplication - - - - Generate initialization and cleanup code - - - - Test set name: - - - - Enable C++11 - - - - Googletest repository: - - - - qmake - - - - CMake - - - - Qbs - - - - Build system: - - - - Project and Test Information - - Details Detalji - - Kit Selection - - - - Kits - - - - Project Management - - - - Summary - - - - Creates a new unit test project. Unit tests allow you to verify that the code is fit for use and that there are no regressions. - - - - Other Project - - - - Auto Test Project - - - - Class name: - - - - <Custom> - - - - Base class: - - - - %{BaseCB} - - - - Include QObject - - - - Include QWidget - - - - Include QMainWindow - - Include QDeclarativeItem - Qt Quick 1 @@ -22703,10 +22531,6 @@ Rebuilding the project might help. Creates a scratch buffer using a temporary file. - - General - Opće - Scratch Buffer @@ -23151,54 +22975,10 @@ Use this only if you are prototyping. You cannot create a full application with Trust Server Certificate Vjeruj certifikatu poslužitelja - - Running Subversion checkout... - - - - Checks out a Subversion repository and tries to load the contained project. - - - - Subversion Checkout - - - - Creates a fragment shader in the Desktop OpenGL Shading Language (GLSL). Fragment shaders generate the final pixel colors for triangles, points and lines rendered with OpenGL. - - GLSL GLSL - - Fragment Shader (Desktop OpenGL) - - - - Creates a vertex shader in the Desktop OpenGL Shading Language (GLSL). Vertex shaders transform the positions, normals and texture coordinates of triangles, points and lines rendered with OpenGL. - - - - Vertex Shader (Desktop OpenGL) - - - - Creates a fragment shader in the OpenGL/ES 2.0 Shading Language (GLSL/ES). Fragment shaders generate the final pixel colors for triangles, points and lines rendered with OpenGL. - - - - Fragment Shader (OpenGL/ES 2.0) - - - - Creates a vertex shader in the OpenGL/ES 2.0 Shading Language (GLSL/ES). Vertex shaders transform the positions, normals and texture coordinates of triangles, points and lines rendered with OpenGL. - - - - Vertex Shader (OpenGL/ES 2.0) - - ::Designer @@ -27780,14 +27560,11 @@ Rok upotrebe: %3 - ProjectExplorer::AbiWidget + ::ProjectExplorer <custom> <prilagođeno> - - - ProjectExplorer::AbstractProcessStep Configuration is faulty. Check the Issues view for details. Konfiguracija je meispravna. Za detalje provjeri prikaz Problemi. @@ -27816,20 +27593,10 @@ Rok upotrebe: %3 Could not start process "%1" %2 Nije bilo moguće pokrenuti proces "%1" %2 - - - ProjectExplorer::Internal::AllProjectsFilter Files in Any Project Datoteke u bilo kojem projektu - - - ProjectExplorer::Internal::AllProjectsFind - - All Projects - Svi projekti - All Projects: Svi projekti: @@ -27842,9 +27609,6 @@ Excluding: %2 Isključivo: %2 %3 - - - ProjectExplorer::ApplicationLauncher User requested stop. Shutting down... @@ -27889,9 +27653,6 @@ Isključivo: %2 Application finished with exit code 0. - - - ProjectExplorer::Internal::AppOutputPane Attach debugger to this process Priloži program za uklanjanje grešaka ovom precesu @@ -27940,9 +27701,6 @@ Isključivo: %2 Application Output Window Prozor izlaznog rezultata aplikacije - - - ProjectExplorer::RunControl PID %1 PID %1 @@ -27979,17 +27737,6 @@ Isključivo: %2 No executable specified. Izvršna datoteka nije specificirana. - - - ProjectExplorer::BaseProjectWizardDialog - - untitled - File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. - bezimeno - - - - ProjectExplorer::BuildConfiguration Build Settings Postavke gradnje @@ -28006,28 +27753,10 @@ Isključivo: %2 Variables in the current build environment Varijable u okruženju trenutačne gradnje - - System Environment - Okruženje sustava - - - Clean Environment - Čisto okruženje - - - - ProjectExplorer::BuildEnvironmentWidget Clear system environment Izbriši okruženje sustava - - Build Environment - Okruženje gradnje - - - - ProjectExplorer::BuildManager Finished %1 of %n steps @@ -28083,9 +27812,6 @@ Isključivo: %2 Skipping disabled step %1. Preskakanje onemogućenog koraka %1. - - - ProjectExplorer::Internal::BuildSettingsWidget No build settings available Nema dostupnih postavki gradnje @@ -28106,10 +27832,6 @@ Isključivo: %2 Rename... Preimenuj … - - Clone... - Kloniraj … - New Configuration Nova konfiguracija @@ -28122,19 +27844,10 @@ Isključivo: %2 New name for build configuration <b>%1</b>: Novi naziv za konfiguraciju gradnje <b>%1</b>: - - Clone Configuration - Title of a the cloned BuildConfiguration window, text of the window - Kloniraj konfiguraciju - Cancel Build && Remove Build Configuration Prekini gradnju i ukloni konfiguraciju gradnje - - Do Not Remove - Nemoj ukloniti - Remove Build Configuration %1? Ukloniti konfiguraciju gradnje %1? @@ -28155,29 +27868,10 @@ Isključivo: %2 Do you really want to delete build configuration <b>%1</b>? Zaista želiš ukloniti konfiguraciju gradnje <b>%1</b>? - - - ProjectExplorer::BuildStep Build Step Korak gradnje - - - ProjectExplorer::BuildStepList - - Build - Display name of the build build step list. Used as part of the labels in the project window. - Gradnja - - - Clean - Display name of the clean build step list. Used as part of the labels in the project window. - Čišćenje - - - - ProjectExplorer::Internal::BuildStepListWidget Move Up Premjesti prema gore @@ -28223,9 +27917,6 @@ Isključivo: %2 Cannot remove build step while building Nije moguće ukloniti korak gradnje za vrijeme izgradnje - - - ProjectExplorer::Internal::BuildStepsPage Build Steps Koraci gradnje @@ -28234,24 +27925,10 @@ Isključivo: %2 Clean Steps Koraci čišćenja - - - ProjectExplorer::Internal::CompileOutputWindow - - Increase Font Size - Povećaj veličinu fonta - - - Decrease Font Size - Smanji veličinu fonta - Compile Output Kompiliraj izlazni rezultat - - - ProjectExplorer::Internal::CopyTaskHandler error: Task is of type: error @@ -28262,16 +27939,10 @@ Isključivo: %2 Task is of type: warning upozorenje: - - - ProjectExplorer::Internal::CurrentProjectFilter Files in Current Project Datoteke u trenutačnom projektu - - - ProjectExplorer::Internal::CurrentProjectFind Project "%1" Projekt "%1" @@ -28297,25 +27968,11 @@ Isključivo: %2 - ProjectExplorer::CustomExecutableRunConfiguration + ::ProjectExplorer Custom Executable Prilagođena izvršna datoteka: - - Run %1 - Pokreni %1 - - - - ProjectExplorer::Internal::CustomToolChainFactory - - Custom - Prilagođeno - - - - CustomToolChain GCC GCC @@ -28332,13 +27989,6 @@ Isključivo: %2 MSVC MSVC - - Custom - Prilagođeno - - - - ProjectExplorer::Internal::TextEditDetailsWidget %n entries @@ -28351,9 +28001,6 @@ Isključivo: %2 Empty Prazno - - - ProjectExplorer::Internal::CustomToolChainConfigWidget Custom Parser Settings... @@ -28410,23 +28057,10 @@ Isključivo: %2 &Error parser: - - - ProjectExplorer::Internal::CustomWizardPage - - Path: - Staza: - - - - ProjectExplorer::Internal::DependenciesModel <No other projects in this session> <U ovoj sesiji nema drugih projekata> - - - DependenciesModel Unable to Add Dependency @@ -28435,9 +28069,6 @@ Isključivo: %2 This would create a circular dependency. - - - ProjectExplorer::Internal::DependenciesWidget Synchronize configuration Sinkroniziraj konfiguraciju @@ -28446,18 +28077,10 @@ Isključivo: %2 Synchronize active kit, build, and deploy configuration between projects. - - - ProjectExplorer::DeployConfiguration Deploy Settings Postavke implementacije - - Deploy - Display name of the deploy build step list. Used as part of the labels in the project window. - Implementiraj - Deploy locally Default DeployConfiguration display name @@ -28468,9 +28091,6 @@ Isključivo: %2 Display name of the default deploy configuration Implementiraj konfiguraciju - - - ProjectExplorer::DeploymentDataModel Local File Path Staza lokalne datoteke @@ -28479,191 +28099,10 @@ Isključivo: %2 Remote Directory Udaljeni direktorij - - - ProjectExplorer::DesktopDevice Local PC Lokalno računalo - - Desktop - Radna površina - - - - ProjectExplorer::Internal::DesktopDeviceFactory - - Desktop - Radna površina - - - - ProjectExplorer::DesktopProcessSignalOperation - - Cannot kill process with pid %1: %2 - - - - Cannot interrupt process with pid %1: %2 - - - - Cannot open process. - - - - Invalid process id. - - - - Cannot open process: %1 - - - - DebugBreakProcess failed: - - - - %1 does not exist. If you built %2 yourself, check out https://code.qt.io/cgit/qt-creator/binary-artifacts.git/. - - - - Cannot start %1. Check src\tools\win64interrupt\win64interrupt.c for more information. - - - - could not break the process. - - - - - ProjectExplorer::DeviceCheckBuildStep - - No device configured. - - - - Set Up Device - - - - There is no device set up for this kit. Do you want to add a device? - - - - Check for a configured device - - - - - ProjectExplorer::DeviceManagerModel - - %1 (default for %2) - - - - - ProjectExplorer::Internal::DeviceProcessesDialogPrivate - - Remote Error - - - - - ProjectExplorer::DeviceProcessList - - Process ID - - - - Command Line - - - - - ProjectExplorer::Internal::DeviceSettingsPage - - Devices - - - - - ::ProjectExplorer - - Devices - - - - SSH - - - - Kits - - - - Other Project - - - - Application - Aplikacija - - - Library - - - - Import Project - - - - Build & Run - - - - Main file of current project - - - - Name of current project - - - - Name of current build - - - - Type of current build - - - - The currently active run configuration's name. - - - - - ProjectExplorer::DeviceUsedPortsGatherer - - Connection error: %1 - - - - Remote process crashed: %1 - - - - Remote process failed; exit code was %1. - - - - Remote error output was: %1 - - - - - ProjectExplorer::PortsGatherer Found %n free ports. @@ -28676,126 +28115,6 @@ Isključivo: %2 Checking available ports... Provjeravanje slobodnih priključaka … - - - ProjectExplorer::IDevice - - Device - - - - - ProjectExplorer::SshDeviceProcess - - Failed to kill remote process: %1 - - - - Timeout waiting for remote process to finish. - - - - Terminated by request. - - - - - ProjectExplorer::SshDeviceProcessList - - Connection failure: %1 - - - - Process listing command failed with exit code %1. - - - - Error: Kill process failed: %1 - - - - Remote stderr was: %1 - - - - - ProjectExplorer::Internal::SshSettingsPage - - SSH - - - - - ProjectExplorer::Internal::SshSettingsWidget - - Enable connection sharing: - - - - Connection sharing timeout: - - - - Path to ssh executable: - - - - Path to sftp executable: - - - - Path to ssh-askpass executable: - - - - Path to ssh-keygen executable: - - - - minutes - - - - - ProjectExplorer::EditorConfiguration - - Project %1 - Settings, %1 is a language (C++ or QML) - - - - Project - Settings - - - - - ProjectExplorer::EnvironmentAspect - - Run Environment - - - - - ProjectExplorer::EnvironmentAspectWidget - - Base environment for this run configuration: - - - - - ProjectExplorer::EnvironmentValidator - - Variable already exists. - - - - - ProjectExplorer::EnvironmentWidget - - Ed&it - - &Add Dod&aj @@ -28804,55 +28123,10 @@ Isključivo: %2 &Reset &Resetiraj - - &Unset - - - - &Batch Edit... - - - - Open &Terminal - - - - Open a terminal with this environment set up. - - - - Unset <a href="%1"><b>%1</b></a> - - - - Set <a href="%1"><b>%1</b></a> to <b>%2</b> - - - - Use <b>%1</b> - %1 is "System Environment" or some such. - - - - Use <b>%1</b> and - Yup, word puzzle. The Set/Unset phrases above are appended to this. %1 is "System Environment" or some such. - - - - - ProjectExplorer::ToolChainManager - - ABI - - None Bez - - Tool Chains - - Core::FolderNavigationWidget @@ -28914,7 +28188,7 @@ Isključivo: %2 - ProjectExplorer::ProjectExplorerPlugin + ::ProjectExplorer Project Editing Failed @@ -28932,10 +28206,6 @@ Isključivo: %2 C C - - C++ - - Open... Otvori … @@ -28988,10 +28258,6 @@ Isključivo: %2 Build Environment - - Run Environment - - Recent P&rojects @@ -29241,10 +28507,6 @@ Isključivo: %2 The currently active build configuration's name. - - The currently active run configuration's name. - - The currently active run configuration's executable (if applicable). @@ -29548,25 +28810,11 @@ Rename %2 to %3 anyway? - ProjectExplorer::GccToolChain + ::ProjectExplorer %1 (%2, %3 %4 in %5) - - - ProjectExplorer::Internal::GccToolChainFactory - - GCC - - - - - ProjectExplorer::Internal::GccToolChainConfigWidget - - &Compiler path: - - Platform codegen flags: @@ -29575,41 +28823,18 @@ Rename %2 to %3 anyway? Platform linker flags: - - &ABI: - - - - - ProjectExplorer::Internal::ClangToolChainFactory - - Clang - - - - - ProjectExplorer::Internal::ClangToolChainConfigWidget Parent toolchain: - - - ProjectExplorer::Internal::MingwToolChainFactory MinGW - - - ProjectExplorer::Internal::LinuxIccToolChainFactory Linux ICC - - - ProjectExplorer::Internal::ImportWidget Import Build From... @@ -29618,9 +28843,6 @@ Rename %2 to %3 anyway? Import Uvezi - - - ProjectExplorer::JsonFieldPage Line Edit Validator Expander @@ -29729,9 +28951,6 @@ Rename %2 to %3 anyway? Source and target are both empty. - - - ProjectExplorer::JsonKitsPage Feature list is set and not of type list. @@ -29744,17 +28963,11 @@ Rename %2 to %3 anyway? Feature list element is not a string or object. - - - ProjectExplorer::JsonProjectPage untitled File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. - - - ProjectExplorer::JsonSummaryPage Failed to Commit to Version Control @@ -29777,16 +28990,10 @@ to project "%2". "%1" (%2). - - - ProjectExplorer::Internal::JsonWizardFileGenerator No 'key' in options object. - - - ProjectExplorer::JsonWizardFactory Generator is not a object. @@ -29919,9 +29126,6 @@ to project "%2". When parsing "pages": %1 - - - ProjectExplorer::JsonWizardGenerator %1 [folder] @@ -29939,9 +29143,6 @@ to project "%2". %2. - - - ProjectExplorer::Internal::JsonWizard Key is not an object. @@ -29954,9 +29155,6 @@ to project "%2". ScannerGenerator: Binary pattern "%1" not valid. - - - ProjectExplorer::Kit Unnamed @@ -29973,10 +29171,6 @@ to project "%2". Kit filesystem-friendly name - - The name of the currently active kit. - - The name of the currently active kit in a filesystem-friendly version. @@ -29997,23 +29191,14 @@ to project "%2". Warning: Upozorenje: - - - ProjectExplorer::KitChooser Kit of Active Project: %1 - - - ProjectExplorer::KitConfigWidget Manage... - - - ProjectExplorer::SysRootKitInformation Sys Root "%1" does not exist in the file system. @@ -30030,9 +29215,6 @@ to project "%2". Sys Root - - - ProjectExplorer::ToolChainKitInformation Compilers produce code for different ABIs: %1 @@ -30041,10 +29223,6 @@ to project "%2". Compiler - - None - Bez - Path to the compiler executable @@ -30061,9 +29239,6 @@ to project "%2". No compiler set in kit. - - - ProjectExplorer::DeviceTypeKitInformation Unknown device type @@ -30072,9 +29247,6 @@ to project "%2". Device type - - - ProjectExplorer::DeviceKitInformation No device set. @@ -30083,10 +29255,6 @@ to project "%2". Device is incompatible with this kit. - - Device - - Unconfigured @@ -30107,118 +29275,10 @@ to project "%2". Private key file - - Device name - - - - - ProjectExplorer::EnvironmentKitInformation - - The environment setting value is invalid. - - - - Environment - - - - - ProjectExplorer::Internal::SysRootInformationConfigWidget - - Sysroot - - - - The root directory of the system image to use.<br>Leave empty when building for the desktop. - - - - - ProjectExplorer::Internal::ToolChainInformationConfigWidget - - Compiler - - - - The compiler to use for building.<br>Make sure the compiler will produce binaries compatible with the target device, Qt version and other libraries used. - - - - <No compiler> - - - - - ProjectExplorer::Internal::DeviceTypeInformationConfigWidget - - Device type - - - - The type of device to run applications on. - - - - - ProjectExplorer::Internal::DeviceInformationConfigWidget - - Device - - - - The device to run the applications on. - - - - - ProjectExplorer::Internal::KitEnvironmentConfigWidget Change... Promijeni … - - Environment - - - - Additional build environment settings when using this kit. - - - - No changes to apply. - - - - Force UTF-8 MSVC compiler output - - - - Either switches MSVC to English or keeps the language and just forces UTF-8 output (may vary depending on the used MSVC compiler). - - - - - ProjectExplorer::KitManager - - Desktop - Radna površina - - - - ProjectExplorer::Internal::KitManagerConfigWidget - - <html><head/><body><p>The name of the kit suitable for generating directory names. This value is used for the variable <i>%1</i>, which for example determines the name of the shadow build directory.</p></body></html> - - - - File system name: - - - - Kit name and icon. - - Name: Naziv: @@ -30247,9 +29307,6 @@ to project "%2". Images (*.png *.xpm *.jpg) - - - ProjectExplorer::Internal::KitModel %1 (default) Mark up a kit as the default one. @@ -30267,51 +29324,14 @@ to project "%2". Manual Ručno - - Clone of %1 - Klon od %1 - - - - ProjectExplorer::KitOptionsPage - - Add - Dodaj - - - Clone - Kloniraj - - - Remove - Ukloni - Make Default - - Kits - - - - - ProjectExplorer::LocalEnvironmentAspect - - Build Environment - - - - System Environment - - Clean Environment - - - ProjectExplorer::MakeStep Make @@ -30320,495 +29340,10 @@ to project "%2". Make command missing. Specify Make command in step configuration. - - - ProjectExplorer::MakeStepConfigWidget - - <code>MAKEFLAGS</code> specifies parallel jobs. Check "%1" to override. - - - - Make: - - - - Override %1: - - - - <b>Make:</b> %1 - - - - <b>Make:</b> No build configuration. - - - - <b>Make:</b> %1 not found in the environment. - - - - - ProjectExplorer::Internal::ProjectListWidget %1 (%2) %1 (%2) - - - ProjectExplorer::Internal::MiniProjectTargetSelector - - Project - - - - Kit - - - - Build - - - - Deploy - - - - Run - - - - Unconfigured - - - - <b>Project:</b> %1 - - - - <b>Path:</b> %1 - - - - <b>Kit:</b> %1 - - - - <b>Build:</b> %1 - - - - <b>Deploy:</b> %1 - - - - <b>Run:</b> %1 - - - - %1 - - - - Project: <b>%1</b><br/> - - - - Kit: <b>%1</b><br/> - - - - Build: <b>%1</b><br/> - - - - Deploy: <b>%1</b><br/> - - - - Run: <b>%1</b><br/> - - - - <style type=text/css>a:link {color: rgb(128, 128, 255, 240);}</style>The project <b>%1</b> is not yet configured<br/><br/>You can configure it in the <a href="projectmode">Projects mode</a><br/> - - - - - ProjectExplorer::Internal::MsvcToolChainFactory - - MSVC - - - - - ProjectExplorer::Internal::MsvcBasedToolChainConfigWidget - - Initialization: - - - - - ProjectExplorer::Internal::ClangClToolChainConfigWidget - - Initialization: - - - - &Compiler path: - - - - - ProjectExplorer::ClangToolChainFactory - - Clang - - - - - ProjectExplorer::Internal::ClangClToolChainFactory - - clang-cl - - - - - ProjectExplorer::Internal::MsvcToolChain - - Failed to retrieve MSVC Environment from "%1": -%2 - - - - - ProjectExplorer::OsParser - - The process cannot access the file because it is being used by another process. -Please close all running instances of your application before starting a build. - - - - - ProjectExplorer::Internal::ProcessStep - - Custom Process Step - Default ProcessStep display name - - - - Custom Process Step - item in combobox - - - - - ProjectExplorer::Internal::ProcessStepConfigWidget - - Custom Process Step - - - - - ProjectExplorer::Project - - Project - - - - Project Name - - - - Kit is not valid. - - - - Incompatible Kit - - - - Kit %1 is incompatible with kit %2. - - - - Build configurations: - - - - Deploy configurations: - - - - Run configurations: - - - - Partially Incompatible Kit - - - - Some configurations could not be copied. - - - - - ProjectExplorer::ProjectsMode - - Projects - - - - - EditorSettingsPanelFactory - - Editor - Uređivač - - - - CodeStyleSettingsPanelFactory - - Code Style - - - - - DependenciesPanelFactory - - Dependencies - - - - - ProjectExplorer::Internal::ProjectExplorerSettingsPage - - General - Opće - - - - ProjectExplorer::Internal::ProjectFileWizardExtension - - Open project anyway? - - - - Version Control Failure - - - - Failed to add subproject "%1" -to project "%2". - - - - Failed to add one or more files to project -"%1" (%2). - - - - - ProjectExplorer::ProjectImporter - - No Build Found - - - - No build found in %1 matching project %2. - - - - %1 - temporary - - - - Imported Kit - - - - - ProjectExplorer::Internal::FlatModel - - No kits are enabled for this project. Enable kits in the "Projects" mode. - - - - - ProjectExplorer::ProjectTree - - <b>Warning:</b> This file is outside the project directory. - - - - - ProjectExplorer::Internal::ProjectTreeWidget - - Simplify Tree - - - - Hide Generated Files - - - - Focus Document in Project Tree - - - - Meta+Shift+L - - - - Alt+Shift+L - - - - Hide Empty Directories - - - - Synchronize with Editor - - - - - ProjectExplorer::Internal::ProjectTreeWidgetFactory - - Projects - - - - Meta+X - - - - Alt+X - - - - Filter Tree - - - - - ProjectExplorer::Internal::ProjectWelcomePage - - Open Session #%1 - - - - Ctrl+Meta+%1 - - - - Ctrl+Alt+%1 - - - - Open Recent Project #%1 - - - - Ctrl+Shift+%1 - - - - Open %1 "%2" - - - - Open %1 "%2" (%3) - - - - session - Appears in "Open session <name>" - - - - %1 (last session) - - - - %1 (current session) - - - - Clone - Kloniraj - - - Rename - Preimenuj - - - Delete - Ukloni - - - project - Appears in "Open project <name>" - - - - New Project - - - - Open Project - - - - Sessions - - - - Recent Projects - - - - Projects - - - - - ProjectExplorer::Internal::ProjectWindow - - Project Settings - - - - Build & Run - - - - Projects - - - - Import Existing Build... - - - - Manage Kits... - - - - Project Selector - - - - Active Project - - - - Import Directory - - - - - ProjectWizard The files are implicitly added to the projects: Datoteke se implicitno dodaju projektima: @@ -30821,44 +29356,6 @@ to project "%2". <Implicitly Add> <Implicitno dodavanje> - - - ProjectExplorer::Internal::ProjectWizardPage - - Summary - - - - Add as a subproject to project: - - - - Add to &project: - - - - <None> - - - - A version control system repository could not be created in "%1". - - - - Failed to add "%1" to the version control system. - - - - Files to be added: - - - - Files to be added in - - - - - ProjectExplorer::Internal::RemoveTaskHandler Remove Name of the action triggering the removetaskhandler @@ -30868,9 +29365,6 @@ to project "%2". Remove task from the task list. - - - ProjectExplorer::RunConfiguration Run Settings @@ -30901,20 +29395,6 @@ to project "%2". Shown in Run configuration, Add menu: "name of runnable (on device name)" - - - TaskHub - - Error - Greška - - - Warning - Upozorenje - - - - ProjectExplorer::SimpleTargetRunner %1 crashed. @@ -30923,9 +29403,6 @@ to project "%2". %2 exited with code %1 - - - ProjectExplorer::RunWorker Worker start timed out. @@ -30958,9 +29435,6 @@ to project "%2". An error occurred when attempting to read from the process. For example, the process may not be running. - - - ProjectExplorer::TerminalAspect Terminal Terminal @@ -30969,9 +29443,6 @@ to project "%2". Run in terminal - - - ProjectExplorer::WorkingDirectoryAspect Working Directory @@ -30988,9 +29459,6 @@ to project "%2". Working directory: - - - ProjectExplorer::ArgumentsAspect Arguments @@ -30999,9 +29467,6 @@ to project "%2". Command line arguments: - - - ProjectExplorer::ExecutableAspect Executable @@ -31022,9 +29487,6 @@ to project "%2". Use this command instead - - - ProjectExplorer::UseLibraryPathsAspect Add build library search path to DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH @@ -31037,108 +29499,14 @@ to project "%2". Add build library search path to LD_LIBRARY_PATH - - - ProjectExplorer::UseDyldSuffixAspect Use debug version of frameworks (DYLD_IMAGE_SUFFIX=_debug) - - - ProjectExplorer::Internal::RunSettingsWidget - - Add - Dodaj - - - Remove - Ukloni - - - Rename... - Preimenuj … - - - Clone... - - - - Deployment - - Method: Metoda: - - Run - - - - Run configuration: - - - - Clone Configuration - Title of a the cloned RunConfiguration window, text of the window - - - - New configuration name: - - - - Remove Run Configuration? - - - - Do you really want to delete the run configuration <b>%1</b>? - - - - New name for run configuration <b>%1</b>: - - - - Cancel Build && Remove Deploy Configuration - - - - Do Not Remove - - - - Remove Deploy Configuration %1? - - - - The deploy configuration <b>%1</b> is currently being built. - - - - Do you want to cancel the build process and remove the Deploy Configuration anyway? - - - - Remove Deploy Configuration? - - - - Do you really want to delete deploy configuration <b>%1</b>? - - - - New name for deploy configuration <b>%1</b>: - - - - Run Settings - - - - - ProjectExplorer::SelectableFilesWidget Source directory: @@ -31174,23 +29542,14 @@ These files are preserved. - - - ProjectExplorer::SelectableFilesDialogEditFiles Edit Files - - - ProjectExplorer::SelectableFilesDialogAddDirectory Add Existing Directory - - - ProjectExplorer::SessionManager Error while saving session @@ -31239,16 +29598,10 @@ These files are preserved. Loading Session - - - ProjectExplorer::Internal::SessionNameInputDialog Enter the name of the session: - - - ProjectExplorer::Internal::SessionModel Session @@ -31281,17 +29634,10 @@ These files are preserved. Rename Session - - &Rename - &Preimenuj - Rename and &Open - - - ProjectExplorer::Internal::ShowInEditorTaskHandler Show in Editor @@ -31300,9 +29646,6 @@ These files are preserved. Show task location in an editor. - - - ProjectExplorer::Internal::ShowOutputTaskHandler Show &Output @@ -31315,9 +29658,6 @@ These files are preserved. O - - - ProjectExplorer::Target Target Settings @@ -31326,9 +29666,6 @@ These files are preserved. Source directory - - - TargetSettingsPanelWidget Configure Project @@ -31385,29 +29722,14 @@ These files are preserved. Copy Steps From Another Kit... - - Build - - - - Run - - Enable Kit - - - TargetSettingsPanelItem No kit defined in this project. - - Configure Project - - BuildSettingsPanel @@ -31417,7 +29739,7 @@ These files are preserved. - ProjectExplorer::TargetSetupPage + ::ProjectExplorer <span style=" font-weight:600;">No valid kits found.</span> @@ -31438,22 +29760,11 @@ These files are preserved. Select Kits for Your Project - - Kit Selection - - - - Kits - - The following kits can be used for project <b>%1</b>: %1: Project name - - - ProjectExplorer::Internal::TargetSetupWidget <b>Error:</b> Severity is Task::Error @@ -31464,9 +29775,6 @@ These files are preserved. Severity is Task::Warning - - - ProjectExplorer::Internal::TaskWindow Show Warnings @@ -31479,30 +29787,10 @@ These files are preserved. Issues Problemi - - - ProjectExplorer::Internal::TaskDelegate File not found: %1 - - - ProjectExplorer::ToolChain - - Clone of %1 - Klon od %1 - - - - ProjectExplorer::ToolChainConfigWidget - - Name: - Naziv: - - - - ProjectExplorer::Internal::ToolChainOptionsPage <nobr><b>ABI:</b> %1 <nobr><b>ABI:</b> %1 @@ -31511,34 +29799,10 @@ These files are preserved. not up-to-date nije aktualno - - Name - Naziv - Type Vrsta - - Auto-detected - Pronađi automatski - - - Manual - Ručno - - - Add - Dodaj - - - Clone - Kloniraj - - - Remove - Ukloni - Duplicate Compilers Detected Nađeni su dupli kompajleri @@ -31555,9 +29819,6 @@ These files are preserved. Compilers Kompajleri - - - ProjectExplorer::Internal::VcsAnnotateTaskHandler &Annotate &Pribilježi @@ -31566,9 +29827,6 @@ These files are preserved. Annotate using version control system. Pribilježi pomoću susatava za kontrolu verzija. - - - ProjectExplorer::Internal::WaitForStopDialog Waiting for Applications to Stop Čekanje na zaustavljanje aplikacije @@ -31581,9 +29839,6 @@ These files are preserved. Waiting for applications to stop. Čekanje na zaustavljanje aplikacije. - - - ProjectExplorer::XcodebuildParser Replacing signature Zamjena potpisa @@ -36289,7 +34544,7 @@ Row: %4, Column: %5 - TaskList::Internal::StopMonitoringHandler + ::ProjectExplorer Stop Monitoring Prekini praćenje @@ -36298,9 +34553,6 @@ Row: %4, Column: %5 Stop monitoring task files. Prekini praćenje datoteka zadataka. - - - TaskList::Internal::TaskListPlugin Cannot open task file %1: %2 Nije moguće otvoriti datoteku zadataka %1: %2 @@ -39842,7 +38094,7 @@ What do you want to do? - ProjectExplorer::CustomWizard + ::ProjectExplorer Creates a new project including auto test skeleton. Izrađuje novi projekt zajedno s okvirom za automatsko testiranje. @@ -39903,10 +38155,6 @@ What do you want to do? Code: Kȏd: - - Type: - Vrsta: - Console application Aplikacija za konzolu diff --git a/share/qtcreator/translations/qtcreator_hu.ts b/share/qtcreator/translations/qtcreator_hu.ts index 8bb0fa0896d..a7255f2648f 100644 --- a/share/qtcreator/translations/qtcreator_hu.ts +++ b/share/qtcreator/translations/qtcreator_hu.ts @@ -5302,7 +5302,7 @@ Gdb 6.7 vagy későbbi használata erősen ajánlott. - DependenciesModel + ::ProjectExplorer Unable to add dependency Nem lehet függőséget hozzáadni @@ -10419,7 +10419,7 @@ p, li { white-space: pre-wrap; } - ProjectExplorer::0 + ::ProjectExplorer <font color="#0000ff">Starting: %1 %2</font> @@ -10820,9 +10820,6 @@ a verziókövetőhöz (%2)? Session ('%1') ('%1') szakasz - - - ProjectExplorer::AbstractProcessStep <font color="#0000ff">Starting: %1 %2</font> @@ -10841,9 +10838,6 @@ a verziókövetőhöz (%2)? <font color="#ff0000">Could not start process %1 </b></font> <font color="#ff0000">Nem sikerült elindítani a(z) %1 folyamatot </b></font> - - - ProjectExplorer::ApplicationLauncher Failed to start program. Path or permissions wrong? Nem sikerült elindítani a programot. Rossz útvonal vagy jogosultságok? @@ -10856,9 +10850,6 @@ a verziókövetőhöz (%2)? Some error has occurred while running the program. Néhány hiba történt a program futtatása közben. - - - ProjectExplorer::BuildManager Finished %n of %1 build steps %1 %n építési lépése befejezve @@ -10888,9 +10879,6 @@ a verziókövetőhöz (%2)? <b>Running build steps for project %2...</b> <b>Építések lépések futtatása a(z) %2 projektre...</b> - - - ProjectExplorer::CustomExecutableRunConfiguration Custom Executable Szokásos futtatható @@ -10903,16 +10891,6 @@ a verziókövetőhöz (%2)? Run %1 %1 futtatása - - - ProjectExplorer::CustomExecutableRunConfigurationFactory - - Custom Executable - Szokásos futtatható - - - - ProjectExplorer::DebuggingHelperLibrary The target directory %1 could not be created. Nem lehet létrehozni a(z) %1 cél könytárat. @@ -10955,9 +10933,6 @@ Ok: %2 %1 futtatása .... - - - ProjectExplorer::EnvironmentModel <UNSET> <Nincs beállítva> @@ -10978,9 +10953,6 @@ Ok: %2 <VALUE> <ÉRTÉK> - - - ProjectExplorer::EnvironmentWidget &Edit &Szerkesztés @@ -11009,9 +10981,6 @@ Ok: %2 Summary: No changes to Environment Összegzés: Nem történt változás a környezetben - - - ProjectExplorer::Internal::0 Files in any project Bármely projektben levő fájlok @@ -11036,10 +11005,6 @@ Ok: %2 Some error has occurred while running the program. Néhány hiba történt a program futtatása közben. - - Run - Futtatás - Starting %1... %1 elindítása... @@ -11298,10 +11263,6 @@ Ok: %2 Hide generated files Generált fájlok elrejtése - - Projects - Projektek - Filter tree Szűrő fa @@ -11386,10 +11347,6 @@ Ok: %2 <a href="qthelp://org.qt-project.qtcreator/doc/creator-quick-tour.html#session-management-in-qt-creator">What is a Session?</a> <a href="qthelp://org.qt-project.qtcreator/doc/creator-quick-tour.html#session-management-in-qt-creator">Mi az a szakasz?</a> - - Session - Szakasz - Untitled default file name to display @@ -11437,23 +11394,14 @@ Ok: %2 A következő fájlok lesznek hozzáadva: - - - ProjectExplorer::Internal::ActiveConfigurationWidget Active run configuration Aktív futtatás konfiguráció - - - ProjectExplorer::Internal::AllProjectsFilter Files in any project Bármely projektben levő fájlok - - - ProjectExplorer::Internal::AllProjectsFind All Projects Az összes projekt @@ -11462,9 +11410,6 @@ Ok: %2 File &pattern: Fájl &minta: - - - ProjectExplorer::Internal::BuildConfigDialog Change build configuration && continue Építési konfigurcáiók megváltoztatása && folytatása @@ -11497,16 +11442,10 @@ Ok: %2 Choose build configuration: Válasszon építési konfigurációt: - - - ProjectExplorer::Internal::BuildSettingsPanel Build Settings Építési beállítások - - - ProjectExplorer::Internal::BuildSettingsWidget Edit Build Configuration: Építési konfiguráció szerkesztése: @@ -11543,9 +11482,6 @@ Ok: %2 New Configuration Name: Új konfiguráció név: - - - ProjectExplorer::Internal::BuildStepsPage No Build Steps Nincsenek építési lépések @@ -11570,20 +11506,10 @@ Ok: %2 Clean Steps Lépések kiürítése - - Build Steps - Építése lépések - - - - ProjectExplorer::Internal::CompileOutputWindow Compile Output Fordítási kimenet - - - ProjectExplorer::Internal::CoreListenerCheckingForRunningBuild Cancel Build && Close Építés visszavonása && bezárása @@ -11604,27 +11530,14 @@ Ok: %2 Do you want to cancel the build process and close Qt Creator anyway? Vissza szeretné vonni az építési folyamatot és bezárni a Qt Creatort? - - - ProjectExplorer::Internal::CurrentProjectFilter Files in current project Fájlok a jelenlegi projektben - - - ProjectExplorer::Internal::CurrentProjectFind Current Project Aktuális Projekt - - File &pattern: - Fájl &minta: - - - - ProjectExplorer::Internal::CustomExecutableConfigurationWidget Name: Név: @@ -11673,16 +11586,10 @@ Ok: %2 Running executable: <b>%1</b> %2 Futtatható futtatása: <b>%1</b> %2 - - - ProjectExplorer::Internal::DependenciesPanel Dependencies Függpségek - - - ProjectExplorer::Internal::DependenciesWidget %1 has no dependencies. %1-nek nincsen függősége. @@ -11695,9 +11602,6 @@ Ok: %2 %1 depends on: %2. %1 a(z) %2-től függ. - - - ProjectExplorer::Internal::DetailedModel %1 of project %2 A(z) %2 projekt %1-e @@ -11710,16 +11614,10 @@ Ok: %2 Renaming file %1 to %2 failed. A(z) %1 fájl átnevezése %2-re nem sikerült. - - - ProjectExplorer::Internal::EditorSettingsPanel Editor Settings Szerkesztő beállítások - - - ProjectExplorer::Internal::EditorSettingsPropertiesPage Default File Encoding: Alapértelmezett fájl kódolás: @@ -11737,7 +11635,7 @@ Ok: %2 - ProjectExplorer::Internal::LocalApplicationRunControl + ::ProjectExplorer Starting %1... %1 elindítása... @@ -11746,16 +11644,10 @@ Ok: %2 %1 exited with code %2 %1 befejeződött %2-s kóddal - - - ProjectExplorer::Internal::LocalApplicationRunControlFactory Run Futtatás - - - ProjectExplorer::Internal::NewSessionInputDialog New session name Új szakasz név @@ -11764,9 +11656,6 @@ Ok: %2 Enter the name of the new session: Gépelje be az új szakasz nevét: - - - ProjectExplorer::Internal::OutputPane Re-run this run-configuration Futtatás-konfiguráció újrafuttatása @@ -11787,16 +11676,10 @@ Ok: %2 Unable to close Nem lehet bezárni - - - ProjectExplorer::Internal::OutputWindow Application Output Window Alkalmazás kimeneti ablak - - - ProjectExplorer::Internal::ProcessStep Custom Process Step Szokásos folyamat lépés @@ -11806,9 +11689,6 @@ Ok: %2 item in combobox Szokásos folyamat lépés - - - ProjectExplorer::Internal::ProcessStepConfigWidget <b>%1</b> %2 %3 %4 <b>%1</b> %2 %3 %4 @@ -11817,32 +11697,18 @@ Ok: %2 (disabled) (tiltva) - - - ProjectExplorer::Internal::ProcessStepWidget Enable Custom Process Step Szokásos folyamat lépések engedélyezése - - Name: - Név: - Command: Parancs: - - Working Directory: - Munka könyvtár: - Command Arguments: Parancs argumentumok: - - - ProjectExplorer::Internal::ProjectExplorerSettingsPage Build and Run Építés és futtatás @@ -11851,13 +11717,6 @@ Ok: %2 Projects Projektek - - - ProjectExplorer::Internal::ProjectExplorerSettingsPageUi - - Build and Run - Építés és futtatás - Save all files before Build Az összes fájl mentése építés előtt @@ -11878,16 +11737,10 @@ Ok: %2 <i>jom</i> is a drop-in replacement for <i>nmake</i> which distributes the compilation process to multiple CPU cores. For more details, see the <a href="http://qt.gitorious.org/qt-labs/jom/">jom Homepage</a>. Disable it if you experience problems with your builds. <i>jom</i> egy megérkezett leváltás az <i>nmake</i>-re, amelyik elosztja a fordítási folyamatot több CPU mag számára. További részletekért tekintse meg a <a href="http://qt.gitorious.org/qt-labs/jom/">jom Honlapot</a>. Tiltsa le, ha problémát tapasztal az építésnél. - - - ProjectExplorer::Internal::ProjectFileFactory Could not open the following project: '%1' A következő projekt megnyitása nem sikerült: '%1' - - - ProjectExplorer::Internal::ProjectFileWizardExtension Failed to add one or more files to project '%1' (%2). @@ -11898,9 +11751,6 @@ Ok: %2 Failed to add '%1' to the version control system. A(z) '%1' hozzáadása nem sikerült a verziókövetőhöz. - - - ProjectExplorer::Internal::ProjectLabel Edit Project Settings for Project <b>%1</b> Projekt beállítások a(z) <b>%1</b> projektre szerkesztése @@ -11909,16 +11759,10 @@ Ok: %2 No Project loaded Nincs Projekt betöltve - - - ProjectExplorer::Internal::ProjectPushButton Select Project Projekt kiválasztása - - - ProjectExplorer::Internal::ProjectTreeWidget Simplify tree Fa egyszerűsítése @@ -11931,27 +11775,14 @@ Ok: %2 Synchronize with Editor Mit Editor synchronisieren - - - ProjectExplorer::Internal::ProjectTreeWidgetFactory - - Projects - Projektek - Filter tree Szűrő fa - - - ProjectExplorer::Internal::ProjectWelcomePage Develop Fejlesztés - - - ProjectExplorer::Internal::ProjectWelcomePageWidget Form Forma @@ -11984,9 +11815,6 @@ Ok: %2 New Project... Új Projekt... - - - ProjectExplorer::Internal::ProjectWindow Active Build and Run Configurations Aktív építés és konfigurációk futtatása @@ -11995,9 +11823,6 @@ Ok: %2 No project loaded. Nincs Projekt betöltve. - - - ProjectExplorer::Internal::ProjectWizardPage Add to &VCS (%1) Hozzáadás &VC-hez (%1) @@ -12006,9 +11831,6 @@ Ok: %2 Files to be added: A hozzáadni kívánt fájlok: - - - ProjectExplorer::Internal::RemoveFileDialog Remove File Fájl eltávolítás @@ -12025,16 +11847,10 @@ Ok: %2 &Remove from Version Control Verzió követőből való &eltávolítás - - - ProjectExplorer::Internal::RunSettingsPanel Run Settings Beállítások futtatása - - - ProjectExplorer::Internal::RunSettingsPropertiesPage Edit run configuration: Futtatás konfiguráció szerkesztése: @@ -12047,24 +11863,6 @@ Ok: %2 - - - - - ProjectExplorer::Internal::RunSettingsWidget - - Add - Hozzáadás - - - Remove - Eltávolítás - - - <a href="#">Make %1 active.</a> - <a href="#">Make %1 aktív.</a> - - - - ProjectExplorer::Internal::SessionDialog Session Manager Szakasz kezelő @@ -12089,9 +11887,6 @@ Ok: %2 Switch to session Szakasz kapcsolása - - - ProjectExplorer::Internal::SessionFile Session Szakasz @@ -12101,16 +11896,10 @@ Ok: %2 default file name to display Címtelen - - - ProjectExplorer::Internal::TaskDelegate File not found: %1 A fájl nem található: %1 - - - ProjectExplorer::Internal::TaskWindow Build Issues Építési problémák @@ -12123,9 +11912,6 @@ Ok: %2 Show Warnings Figyelmeztetések megjelenítése - - - ProjectExplorer::Internal::WinGuiProcess The process could not be started! Nem sikerült elindítani a folyamatot! @@ -12134,9 +11920,6 @@ Ok: %2 Cannot retrieve debugging output! Nem sikerült kinyerni a debug kimeneteket! - - - ProjectExplorer::Internal::WizardPage Project management Projekt vezetés @@ -12161,13 +11944,6 @@ Ok: %2 A következő fájlok lesznek hozzáadva: - - - ProjectExplorer::ProjectExplorerPlugin - - Projects - Projektek - &Build &Építés @@ -12188,10 +11964,6 @@ Ok: %2 Session Manager... Szakasz kezelő... - - New Project... - Új Projekt... - Ctrl+Shift+N Ctrl+Shift+H @@ -12236,10 +12008,6 @@ Ok: %2 Close All Projects Az összes projekt bezárása - - Session - Szakasz - Set Build Configuration Építési konfiguráció beállítása @@ -12300,10 +12068,6 @@ Ok: %2 Clean Without Dependencies Függőségek nélküli tisztogatás - - Run - Futtatás - Ctrl+R Ctrl+R @@ -12422,9 +12186,6 @@ a verziókövetőhöz (%2)? Could not delete file %1. Nem sikerült törölni a(z) %1 fájlt. - - - ProjectExplorer::SessionManager Error while restoring session Hiba történt a szakasz visszaállítása közben diff --git a/share/qtcreator/translations/qtcreator_it.ts b/share/qtcreator/translations/qtcreator_it.ts index 6236cc2b58c..5fa3e9d8c8c 100644 --- a/share/qtcreator/translations/qtcreator_it.ts +++ b/share/qtcreator/translations/qtcreator_it.ts @@ -3971,7 +3971,7 @@ L'utilizzo di gdb 6.7 o successivi è fortemente consigliato. - DependenciesModel + ::ProjectExplorer Unable to add dependency Impossibile aggiungere la dipendenza @@ -3980,9 +3980,6 @@ L'utilizzo di gdb 6.7 o successivi è fortemente consigliato. This would create a circular dependency. Questo creerebbe una dipendenza circolare. - - - ProjectExplorer::Internal::DependenciesWidget %1 has no dependencies. @@ -6718,7 +6715,7 @@ Nome di base della libreria: %1 - ProjectExplorer::AbstractProcessStep + ::ProjectExplorer <font color="#0000ff">Starting: %1 %2</font> @@ -6737,9 +6734,6 @@ Nome di base della libreria: %1 <font color="#ff0000">Could not start process %1 </b></font> <font color="#ff0000">Impossibile avviare il processo %1 </b></font> - - - ProjectExplorer::BuildManager <font color="#ff0000">Canceled build.</font> <font color="#ff0000">Compilazione annullata.</font> @@ -6771,9 +6765,6 @@ Nome di base della libreria: %1 <b>Running build steps for project %2...</b> <b>Avvio delle fasi di compilazione del progetto %2...</b> - - - ProjectExplorer::CustomExecutableRunConfiguration Custom Executable Eseguibile Speciale @@ -6786,16 +6777,6 @@ Nome di base della libreria: %1 Run %1 Esegui %1 - - - ProjectExplorer::CustomExecutableRunConfigurationFactory - - Custom Executable - Eseguibile Speciale - - - - ProjectExplorer::EnvironmentModel <UNSET> @@ -6816,9 +6797,6 @@ Nome di base della libreria: %1 <VALUE> - - - ProjectExplorer::EnvironmentWidget &Edit &Modifica @@ -6847,16 +6825,10 @@ Nome di base della libreria: %1 Summary: No changes to Environment - - - ProjectExplorer::Internal::AllProjectsFilter Files in any project File in tutti i progetti - - - ProjectExplorer::Internal::AllProjectsFind All Projects Tutti i Progetti @@ -6865,9 +6837,6 @@ Nome di base della libreria: %1 File &pattern: &Schema file: - - - ProjectExplorer::Internal::ApplicationLauncher Failed to start program. Path or permissions wrong? Non è possibile avviare il programma. Il percorso o i permessi sono errati? @@ -6880,16 +6849,10 @@ Nome di base della libreria: %1 Some error has occurred while running the program. C'è stato un errore durante l'esecuzione del programma. - - - ProjectExplorer::Internal::ApplicationRunConfigurationRunner Run Esegui - - - ProjectExplorer::Internal::ApplicationRunControl Starting %1... Avvio di %1... @@ -6898,16 +6861,10 @@ Nome di base della libreria: %1 %1 exited with code %2 %1 è uscito con il codice %2 - - - ProjectExplorer::Internal::BuildSettingsPanel Build Settings Impostazioni di Compilazione - - - ProjectExplorer::Internal::BuildSettingsPropertiesPage Configurations Configurazioni @@ -6920,9 +6877,6 @@ Nome di base della libreria: %1 - - - - - ProjectExplorer::Internal::BuildSettingsWidget Create &New Crea &Nuovo @@ -6983,21 +6937,10 @@ Nome di base della libreria: %1 Clone configuration Clona la configurazione - - - ProjectExplorer::Internal::BuildStepsPage 1 1 - - + - + - - - - - - - ^ ^ @@ -7026,24 +6969,10 @@ Nome di base della libreria: %1 Remove build step - - Build Steps - Fasi di Compilazione - - - Clean Steps - - - - - ProjectExplorer::Internal::CompileOutputWindow Compile Output Output di Compilazione - - - ProjectExplorer::Internal::CoreListenerCheckingForRunningBuild Cancel Build && Close Annulla la Compilazione && Chiudi @@ -7068,27 +6997,14 @@ Nome di base della libreria: %1 Do you want to cancel the build process and close Qt Creator anyway? Vuoi annullare il processo di compilazione e chiudere Qt Creator comunque? - - - ProjectExplorer::Internal::CurrentProjectFilter Files in current project File nel progetto corrente - - - ProjectExplorer::Internal::CurrentProjectFind Current Project Progetto Corrente - - File &pattern: - &Schema file: - - - - ProjectExplorer::Internal::CustomExecutableConfigurationWidget Name: Nome: @@ -7137,16 +7053,10 @@ Nome di base della libreria: %1 Running executable: <b>%1</b> %2 - - - ProjectExplorer::Internal::DependenciesPanel Dependencies Dipendenze - - - ProjectExplorer::Internal::DetailedModel %1 of project %2 %1 del progetto %2 @@ -7159,16 +7069,10 @@ Nome di base della libreria: %1 Renaming file %1 to %2 failed. Non è stato possibile rinominare %1 in %2. - - - ProjectExplorer::Internal::EditorSettingsPanel Editor Settings Impostazioni dell'Editor - - - ProjectExplorer::Internal::EditorSettingsPropertiesPage Default File Encoding: Codifica File Predefinita: @@ -7186,7 +7090,7 @@ Nome di base della libreria: %1 - ProjectExplorer::Internal::NewSessionInputDialog + ::ProjectExplorer New session name Nome della nuova sessione @@ -7195,9 +7099,6 @@ Nome di base della libreria: %1 Enter the name of the new session: Inserisci il nome della nuova sessione: - - - ProjectExplorer::Internal::SessionDialog Switch to session @@ -7226,9 +7127,6 @@ Nome di base della libreria: %1 <a href="qthelp://org.qt-project.qtcreator/doc/creator-quick-tour.html#session-management-in-qt-creator">What is a Session?</a> <a href="qthelp://org.qt-project.qtcreator/doc/creator-quick-tour.html#session-management-in-qt-creator">Cos'è una Sessione?</a> - - - ProjectExplorer::Internal::OutputPane Re-run this run-configuration Riavvia questa esecuzione @@ -7253,16 +7151,10 @@ Nome di base della libreria: %1 Unable to close Impossibile chiudere - - - ProjectExplorer::Internal::OutputWindow Application Output Window Finestra di Output dell'Applicazione - - - ProjectExplorer::Internal::ProcessStep Custom Process Step Fase Speciale @@ -7272,9 +7164,6 @@ Nome di base della libreria: %1 item in combobox Fase Speciale - - - ProjectExplorer::Internal::ProcessStepConfigWidget <b>%1</b> %2 %3 %4 @@ -7283,17 +7172,10 @@ Nome di base della libreria: %1 (disabled) - - - ProjectExplorer::Internal::ProcessStepWidget Enable custom process step Abilita fase speciale - - Name: - Nome: - Command: @@ -7314,9 +7196,6 @@ Nome di base della libreria: %1 Enable Custom Process Step - - - ProjectExplorer::Internal::ProjectExplorerSettingsPage Build and Run Compila ed Esegui @@ -7329,16 +7208,10 @@ Nome di base della libreria: %1 Projectexplorer Projectexplorer - - - ProjectExplorer::Internal::ProjectFileFactory Could not open the following project: '%1' Non è stato possibile aprire il progetto: '%1' - - - ProjectExplorer::Internal::ProjectFileWizardExtension Failed to add one or more files to project '%1' (%2). @@ -7349,9 +7222,6 @@ Nome di base della libreria: %1 Failed to add '%1' to the version control system. Non è stato possibile aggiungere '%1' al sistema di revisione del codice. - - - ProjectExplorer::Internal::ProjectTreeWidget Simplify tree Semplifica albero @@ -7364,9 +7234,6 @@ Nome di base della libreria: %1 Synchronize with Editor Sincronizza con l'Editor - - - ProjectExplorer::Internal::ProjectTreeWidgetFactory Projects Progetti @@ -7375,9 +7242,6 @@ Nome di base della libreria: %1 Filter tree Filtra l'albero - - - ProjectExplorer::Internal::ProjectWindow Project Explorer Progetto @@ -7402,9 +7266,6 @@ Nome di base della libreria: %1 No project loaded. - - - ProjectExplorer::Internal::ProjectWizardPage Add to &VCS (%1) Aggiungi al &VCS (%1) @@ -7413,9 +7274,6 @@ Nome di base della libreria: %1 Files to be added: File da aggiungere: - - - ProjectExplorer::Internal::ProjetExplorerSettingsPageUi Save all files before Build Salva tutti i file prima della Compilazione @@ -7428,9 +7286,6 @@ Nome di base della libreria: %1 Build and Run Compila ed Esegui - - - ProjectExplorer::Internal::RemoveFileDialog Remove File Rimozione del File @@ -7450,27 +7305,10 @@ Nome di base della libreria: %1 &Remove from Version Control &Rimuovi dal sistema di revisione - - - ProjectExplorer::Internal::RunSettingsPanel Run Settings Impostazioni di Esecuzione - - - ProjectExplorer::Internal::RunSettingsWidget - - Add - Aggiungi - - - Remove - Rimuovi - - - - ProjectExplorer::Internal::RunSettingsPropertiesPage Run &configuration: Ese&cuzione di: @@ -7493,9 +7331,6 @@ Nome di base della libreria: %1 Edit run configuration: - - - ProjectExplorer::Internal::SessionFile Session Sessione @@ -7505,16 +7340,10 @@ Nome di base della libreria: %1 default file name to display Senza titolo - - - ProjectExplorer::Internal::TaskDelegate File not found: %1 File non trovato: %1 - - - ProjectExplorer::Internal::TaskWindow Build Issues Problemi di Compilazione @@ -7527,9 +7356,6 @@ Nome di base della libreria: %1 Show Warnings - - - ProjectExplorer::Internal::WinGuiProcess The process could not be started! Non è stato possibile avviare il processo! @@ -7538,9 +7364,6 @@ Nome di base della libreria: %1 Cannot retrieve debugging output! Non è possibile recuperare l'output di debug! - - - ProjectExplorer::Internal::WizardPage Project management Gestione progetto @@ -7573,13 +7396,6 @@ Nome di base della libreria: %1 - - - ProjectExplorer::ProjectExplorerPlugin - - Projects - Progetti - &Build &Compila @@ -7644,10 +7460,6 @@ Nome di base della libreria: %1 Close All Projects Chiudi Tutti i Progetti - - Session - Sessione - Set Build Configuration Compilazione di @@ -7838,9 +7650,6 @@ al VCS (%2)? Could not delete file %1. Non è stato possibile cancellare il file %1. - - - ProjectExplorer::SessionManager Error while restoring session Errore durante il ripristino della sessione @@ -11340,7 +11149,7 @@ p, li { white-space: pre-wrap; } - ProjectExplorer::Internal::ProjectExplorerSettingsPageUi + ::ProjectExplorer Build and Run Compila ed Esegui @@ -11370,9 +11179,6 @@ p, li { white-space: pre-wrap; } <i>jom</i> is a drop-in replacement for <i>nmake</i> which distributes the compilation process to multiple CPU cores. For more details, see the <a href="http://qt.gitorious.org/qt-labs/jom/">jom Homepage</a>. Disable it if you experience problems with your builds. - - - ProjectExplorer::Internal::ProjectWelcomePageWidget Form @@ -12485,7 +12291,7 @@ p, li { white-space: pre-wrap; } - ProjectExplorer::ApplicationLauncher + ::ProjectExplorer Failed to start program. Path or permissions wrong? Non è possibile avviare il programma. Il percorso o i permessi sono errati? @@ -12498,16 +12304,10 @@ p, li { white-space: pre-wrap; } Some error has occurred while running the program. C'è stato un errore durante l'esecuzione del programma. - - - ProjectExplorer::Internal::LocalApplicationRunControlFactory Run Esegui - - - ProjectExplorer::Internal::LocalApplicationRunControl Starting %1... Avvio di %1... @@ -12516,9 +12316,6 @@ p, li { white-space: pre-wrap; } %1 exited with code %2 %1 è uscito con il codice %2 - - - ProjectExplorer::DebuggingHelperLibrary The target directory %1 could not be created. @@ -12558,23 +12355,14 @@ Reason: %2 - - - ProjectExplorer::Internal::ProjectWelcomePage Develop Sviluppa - - - ProjectExplorer::Internal::ActiveConfigurationWidget Active run configuration - - - ProjectExplorer::Internal::ProjectLabel Edit Project Settings for Project <b>%1</b> @@ -12583,9 +12371,6 @@ Reason: %2 No Project loaded - - - ProjectExplorer::Internal::ProjectPushButton Select Project diff --git a/share/qtcreator/translations/qtcreator_ja.ts b/share/qtcreator/translations/qtcreator_ja.ts index 79a2a170b88..7199bdcb9a3 100644 --- a/share/qtcreator/translations/qtcreator_ja.ts +++ b/share/qtcreator/translations/qtcreator_ja.ts @@ -4082,7 +4082,7 @@ Add, modify, and remove document filters, which determine the documentation set - ProjectExplorer::Internal::CodeStyleSettingsPropertiesPage + ::ProjectExplorer Form フォーム @@ -4091,9 +4091,6 @@ Add, modify, and remove document filters, which determine the documentation set Language: 言語: - - - ProjectExplorer::Internal::CustomParserConfigDialog Custom Parser カスタムパーサー @@ -4186,21 +4183,10 @@ Add, modify, and remove document filters, which determine the documentation set Warning message: 警告メッセージ: - - - ProjectExplorer::DesktopDeviceConfigurationWidget - - Form - フォーム - Machine type: マシンタイプ: - - TextLabel - テキストラベル - Free ports: 空きポート: @@ -4213,9 +4199,6 @@ Add, modify, and remove document filters, which determine the documentation set You will need at least one port for QML debugging. QML のデバッグには少なくとも一つの空きポートが必要です。 - - - ProjectExplorer::Internal::DeviceFactorySelectionDialog Device Configuration Wizard Selection デバイス設定ウィザードを選択 @@ -4228,9 +4211,6 @@ Add, modify, and remove document filters, which determine the documentation set Start Wizard ウィザード開始 - - - ProjectExplorer::Internal::DeviceSettingsWidget Linux Device Configurations Linux デバイス設定 @@ -4283,10 +4263,6 @@ Add, modify, and remove document filters, which determine the documentation set No いいえ - - Test - テスト - Show Running Processes... 実行中のプロセスを表示... @@ -4295,9 +4271,6 @@ Add, modify, and remove document filters, which determine the documentation set Devices デバイス - - - ProjectExplorer::Internal::DeviceTestDialog Device Test デバイステスト @@ -4314,16 +4287,10 @@ Add, modify, and remove document filters, which determine the documentation set Device test failed. デバイステストに失敗しました。 - - - ProjectExplorer::Internal::DoubleTabWidget DoubleTabWidget DoubleTabWidget - - - ProjectExplorer::Internal::EditorSettingsPropertiesPage Editor settings: エディタ設定: @@ -4356,9 +4323,6 @@ Add, modify, and remove document filters, which determine the documentation set Use context-specific margin 文脈に応じたマージンを使用する - - - ProjectExplorer::Internal::ProcessStepWidget Command: コマンド: @@ -4371,9 +4335,6 @@ Add, modify, and remove document filters, which determine the documentation set Working directory: 作業ディレクトリ: - - - ProjectExplorer::Internal::ProjectExplorerSettingsPageUi Projects Directory プロジェクトディレクトリ @@ -4538,9 +4499,6 @@ Add, modify, and remove document filters, which determine the documentation set Deduced from Project プロジェクトから推測する - - - ProjectExplorer::Internal::WizardPage Project Management プロジェクト管理 @@ -4565,9 +4523,6 @@ Add, modify, and remove document filters, which determine the documentation set - - - ProjectExplorer::Internal::SessionDialog Session Manager セッションマネージャ @@ -4612,9 +4567,6 @@ Add, modify, and remove document filters, which determine the documentation set &Open 開く(&O) - - - ProjectExplorer::Internal::TargetSettingsWidget Add Kit キットを追加 @@ -10584,7 +10536,7 @@ with a password, which you can enter below. - ProjectExplorer::DebuggingHelperLibrary + ::ProjectExplorer The target directory %1 could not be created. ターゲットディレクトリ %1 を作成できませんでした。 @@ -10603,9 +10555,6 @@ with a password, which you can enter below. %1 が PATH に見つかりません - - - ProjectExplorer::BuildableHelperLibrary Cannot start process: %1 プロセスを起動できません: %1 @@ -10644,12 +10593,6 @@ with a password, which you can enter below. Running %1 %2 ... %1 %2 を実行中... - - - - %1 not found in PATH - - %1 が PATH に見つかりません @@ -17539,7 +17482,7 @@ Qt Creator はアタッチできません。 - ProjectExplorer::DeviceProcessesDialog + ::ProjectExplorer &Attach to Process プロセスにアタッチ(&A) @@ -22764,14 +22707,11 @@ instead of its installation directory when run outside git bash. - ProjectExplorer::AbiWidget + ::ProjectExplorer <custom> <カスタム> - - - ProjectExplorer::AbstractProcessStep Configuration is faulty. Check the Issues view for details. 設定が不完全です。詳細は問題ペインで確認してください。 @@ -22800,16 +22740,10 @@ instead of its installation directory when run outside git bash. Could not start process "%1" %2 プロセス "%1" を開始できません %2 - - - ProjectExplorer::Internal::AllProjectsFilter Files in Any Project いずれかのプロジェクトに含まれるファイル - - - ProjectExplorer::Internal::AllProjectsFind All Projects すべてのプロジェクト @@ -22836,9 +22770,6 @@ Excluding: %2 Fi&le pattern: ファイルパターン(&L): - - - ProjectExplorer::ApplicationLauncher User requested stop. Shutting down... ユーザーが停止を要求しました。シャットダウンします... @@ -22883,9 +22814,6 @@ Excluding: %2 Application finished with exit code 0. アプリケーションは終了コード 0 で終了しました。 - - - ProjectExplorer::Internal::AppOutputPane Attach debugger to this process デバッガでこのプロセスにアタッチします @@ -22942,27 +22870,11 @@ Excluding: %2 Application Output Window アプリケーション出力ウィンドウ - - - ProjectExplorer::BaseProjectWizardDialog untitled File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. 無題 - - - ProjectExplorer::BuildConfiguration - - Build - Display name of the build build step list. Used as part of the labels in the project window. - ビルド - - - Clean - Display name of the clean build step list. Used as part of the labels in the project window. - クリーン - Build Settings ビルド設定 @@ -23019,9 +22931,6 @@ Excluding: %2 Variables in the active build environment of the active project. アクティブなプロジェクトのアクティブなビルド環境の変数。 - - - ProjectExplorer::BuildEnvironmentWidget Clear system environment システム環境変数を非表示にする @@ -23030,9 +22939,6 @@ Excluding: %2 Build Environment ビルド時の環境変数 - - - ProjectExplorer::BuildManager Finished %1 of %n steps @@ -23076,11 +22982,6 @@ Excluding: %2 Displayed name for a "cleaning" build step クリーン - - Deploy - Displayed name for a deploy step - デプロイ - Build Displayed name for a normal build step @@ -23127,7 +23028,7 @@ Excluding: %2 - ProjectExplorer::Internal::BuildSettingsWidget + ::ProjectExplorer No build settings available 有効なビルド設定がありません @@ -23168,11 +23069,6 @@ Excluding: %2 New name for build configuration <b>%1</b>: ビルド設定 <b>%1</b> の新しい名前: - - Clone Configuration - Title of a the cloned BuildConfiguration window, text of the window - 設定を複製 - Cancel Build && Remove Build Configuration ビルドを中止してビルド設定を削除 @@ -23201,9 +23097,6 @@ Excluding: %2 Do you really want to delete build configuration <b>%1</b>? 本当にビルド設定 <b>%1</b> を削除しますか? - - - ProjectExplorer::Internal::BuildStepListWidget Disable 無効化 @@ -23249,9 +23142,6 @@ Excluding: %2 No Build Steps ビルドステップなし - - - ProjectExplorer::Internal::BuildStepsPage Build Steps ビルドステップ @@ -23260,35 +23150,14 @@ Excluding: %2 Clean Steps クリーンステップ - - - CodeStyleSettingsPanelFactory Code Style コードスタイル - - - ProjectExplorer::Internal::CompileOutputWindow Compile Output コンパイル出力 - - Increase Font Size - フォントを大きく - - - Decrease Font Size - フォントを小さく - - - Open Settings Page - 設定画面を開く - - - - ProjectExplorer::Internal::CopyTaskHandler error: Task is of type: error @@ -23299,16 +23168,10 @@ Excluding: %2 Task is of type: warning 警告: - - - ProjectExplorer::Internal::CurrentProjectFilter Files in Current Project 現在のプロジェクトに含まれるファイル - - - ProjectExplorer::Internal::CurrentProjectFind Project "%1" プロジェクト "%1" @@ -23321,16 +23184,6 @@ Excluding: %2 Project "%1": プロジェクト "%1": - - - ProjectExplorer::Internal::CustomToolChainFactory - - Custom - カスタム - - - - CustomToolChain Parser for toolchain %1 ツールチェーン %1 用のパーサー @@ -23351,13 +23204,6 @@ Excluding: %2 MSVC MSVC - - Custom - カスタム - - - - ProjectExplorer::Internal::TextEditDetailsWidget %n entries @@ -23368,9 +23214,6 @@ Excluding: %2 Empty - - - ProjectExplorer::Internal::CustomToolChainConfigWidget Custom Parser Settings... カスタムパーサ設定... @@ -23427,9 +23270,6 @@ Excluding: %2 &Error parser: エラーパーサ(&E): - - - ProjectExplorer::CustomWizard Creates a qmake-based test project for which a code snippet can be entered. コードのテンプレートを入力可能な qmake ベースのテストプロジェクトを作成します。 @@ -23446,10 +23286,6 @@ Excluding: %2 Code: コード: - - Type: - 型: - Console application コンソールアプリケーション @@ -23474,10 +23310,6 @@ Excluding: %2 Qt Creator Plugin Qt Creator プラグイン - - Other Project - その他のプロジェクト - Library ライブラリ @@ -23562,23 +23394,14 @@ Excluding: %2 Qt Quick 2 Extension Plugin Qt Quick 2 拡張プラグイン - - - ProjectExplorer::Internal::CustomWizardPage Path: パス: - - - ProjectExplorer::Internal::DependenciesModel <No other projects in this session> <このセッション内に他のプロジェクトはありません> - - - DependenciesModel Unable to Add Dependency 依存関係の追加不可 @@ -23587,16 +23410,10 @@ Excluding: %2 This would create a circular dependency. 循環依存を作り出してしまいます。 - - - DependenciesPanelFactory Dependencies 依存関係 - - - ProjectExplorer::DeployConfiguration Deploy Display name of the deploy build step list. Used as part of the labels in the project window. @@ -23616,16 +23433,6 @@ Excluding: %2 Deploy Settings デプロイ設定 - - - ProjectExplorer::DeployConfigurationFactory - - Deploy Configuration - デプロイ設定 - - - - ProjectExplorer::DesktopDevice Local PC ローカル PC @@ -23634,16 +23441,6 @@ Excluding: %2 Desktop デスクトップ - - - ProjectExplorer::Internal::DesktopDeviceFactory - - Desktop - デスクトップ - - - - ProjectExplorer::DesktopProcessSignalOperation Cannot kill process with pid %1: %2 PID %1 のプロセスを KILL できません: %2 @@ -23684,40 +23481,6 @@ Excluding: %2 could not break the process. プロセスをブレークできませんでした。 - - - ProjectExplorer::DeviceApplicationRunner - - Cannot run: No device. - 実行エラー: デバイスがありません。 - - - Cannot run: Device is not able to create processes. - 実行エラー: デバイスがプロセスを作成できません。 - - - Cannot run: No command given. - 実行エラー: コマンドが渡されていません。 - - - User requested stop. Shutting down... - ユーザーが停止を要求しました。シャットダウンします... - - - Application failed to start: %1 - アプリケーションの開始に失敗しました: %1 - - - Application finished with exit code %1. - アプリケーションは終了コード %1 で終了しました。 - - - Application finished with exit code 0. - アプリケーションは終了コード 0 で終了しました。 - - - - ProjectExplorer::DeviceCheckBuildStep No device configured. デバイスが設定されていません。 @@ -23734,23 +23497,14 @@ Excluding: %2 Check for a configured device 設定されたデバイスの確認 - - - ProjectExplorer::DeviceManagerModel %1 (default for %2) %1 (%2 向けの既定) - - - ProjectExplorer::Internal::DeviceProcessesDialogPrivate Remote Error リモートエラー - - - ProjectExplorer::DeviceProcessList Process ID プロセス ID @@ -23759,20 +23513,6 @@ Excluding: %2 Command Line コマンドライン - - - ProjectExplorer::Internal::DeviceSettingsPage - - Devices - デバイス - - - - ::ProjectExplorer - - Devices - デバイス - Build & Run ビルドと実行 @@ -23781,22 +23521,10 @@ Excluding: %2 Other Project 他のプロジェクト - - Application - アプリケーション - - - Library - ライブラリ - Import Project プロジェクトのインポート - - Name of current build - 現在のビルドの名前 - Main file of current project 現在のプロジェクトのメインファイル @@ -23827,10 +23555,6 @@ Excluding: %2 Type of the project's active build configuration プロジェクトの有効なビルド構成の型 - - The currently active run configuration's name. - 現在アクティブな実行設定の名前です。 - SSH SSH @@ -23855,9 +23579,6 @@ Excluding: %2 Manual 手動 - - - ProjectExplorer::DeviceUsedPortsGatherer Connection error: %1 接続エラー: %1 @@ -23878,16 +23599,10 @@ Excluding: %2 Remote error output was: %1 リモートのエラー出力: %1 - - - ProjectExplorer::IDevice Device デバイス - - - ProjectExplorer::SshDeviceProcess Internal error 内部エラー @@ -23904,9 +23619,6 @@ Excluding: %2 Terminated by request. 要求により終了しました。 - - - ProjectExplorer::SshDeviceProcessList Connection failure: %1 接続エラー: %1 @@ -23931,9 +23643,6 @@ Excluding: %2 Remote stderr was: %1 リモート側標準エラー出力: %1 - - - ProjectExplorer::EditorConfiguration Project %1 Settings, %1 is a language (C++ or QML) @@ -23944,16 +23653,10 @@ Excluding: %2 Settings プロジェクト - - - EditorSettingsPanelFactory Editor エディタ - - - ProjectExplorer::EnvironmentAspect Run Environment 実行時の環境変数 @@ -23962,16 +23665,10 @@ Excluding: %2 Environment 環境 - - - ProjectExplorer::EnvironmentAspectWidget Base environment for this run configuration: この実行構成用の基本環境: - - - ProjectExplorer::EnvironmentWidget &Edit 編集(&E) @@ -23996,10 +23693,6 @@ Excluding: %2 &Unset 解除(&U) - - Disable - 無効化 - Append Path... パスを追加する... @@ -24058,10 +23751,6 @@ Excluding: %2 Choose Directory ディレクトリを選択してください - - Enable - 有効 - Core::FolderNavigationWidget @@ -24182,33 +23871,15 @@ Excluding: %2 - ProjectExplorer::GccToolChain + ::ProjectExplorer %1 (%2 %3 in %4) %1(%2 %3 パス: %4) - - GCC - GCC - %1 (%2, %3 %4 in %5) %1(%2 %3 %4 パス: %5) - - - ProjectExplorer::Internal::GccToolChainFactory - - GCC - GCC - - - - ProjectExplorer::Internal::GccToolChainConfigWidget - - &Compiler path: - コンパイラのパス(&C): - Platform codegen flags: プラットフォーム用コード生成オプション: @@ -24217,34 +23888,14 @@ Excluding: %2 Platform linker flags: プラットフォーム用リンクオプション: - - &ABI: - &ABI: - - - - ProjectExplorer::Internal::ClangToolChainFactory - - Clang - Clang - - - - ProjectExplorer::Internal::MingwToolChainFactory MinGW MinGW - - - ProjectExplorer::Internal::LinuxIccToolChainFactory Linux ICC Linux ICC - - - ProjectExplorer::Internal::ImportWidget Import Build From... ビルドをインポート... @@ -24253,9 +23904,6 @@ Excluding: %2 Import インポート - - - ProjectExplorer::Kit Unnamed 無名 @@ -24308,9 +23956,6 @@ Excluding: %2 Warning: 警告: - - - ProjectExplorer::SysRootKitInformation Sys Root "%1" does not exist in the file system. ファイルシステム上に Sys Root "%1" が存在しません。 @@ -24327,17 +23972,10 @@ Excluding: %2 Sys Root Sys Root - - - ProjectExplorer::ToolChainKitInformation Compiler コンパイラ - - None - なし - Path to the compiler executable コンパイラの実行ファイルのパス @@ -24346,9 +23984,6 @@ Excluding: %2 No compiler set in kit. キットにコンパイラが設定されていません。 - - - ProjectExplorer::DeviceTypeKitInformation Unknown device type 不明なデバイス種類 @@ -24357,9 +23992,6 @@ Excluding: %2 Device type デバイス種類 - - - ProjectExplorer::DeviceKitInformation No device set. デバイスが設定されていません。 @@ -24368,10 +24000,6 @@ Excluding: %2 Device is incompatible with this kit. デバイスとこのキットに互換性がありません。 - - Device - デバイス - Unconfigured 未設定 @@ -24392,9 +24020,6 @@ Excluding: %2 Private key file 秘密鍵ファイル - - - ProjectExplorer::Internal::SysRootInformationConfigWidget Sysroot: Sysroot: @@ -24403,9 +24028,6 @@ Excluding: %2 The root directory of the system image to use.<br>Leave empty when building for the desktop. システムイメージが使用するルートディレクトリ。<br>デスクトップ用ビルドの場合は空のままにしてください。 - - - ProjectExplorer::Internal::ToolChainInformationConfigWidget Compiler: コンパイラ: @@ -24418,9 +24040,6 @@ Excluding: %2 <No compiler> <コンパイラなし> - - - ProjectExplorer::Internal::DeviceTypeInformationConfigWidget Device type: デバイス種類: @@ -24429,9 +24048,6 @@ Excluding: %2 The type of device to run applications on. アプリケーションを実行するデバイスの種類です。 - - - ProjectExplorer::Internal::DeviceInformationConfigWidget Device: デバイス: @@ -24440,20 +24056,10 @@ Excluding: %2 The device to run the applications on. アプリケーションを実行するデバイスです。 - - - ProjectExplorer::KitManager Desktop (%1) デスクトップ (%1) - - Desktop - デスクトップ - - - - ProjectExplorer::Internal::KitManagerConfigWidget <html><head/><body><p>The name of the kit suitable for generating directory names. This value is used for the variable <i>%1</i>, which for example determines the name of the shadow build directory.</p></body></html> <html><head/><body><p>キットの名前は生成されるディレクトリ名に対応します。この値は変数 <i>%1</i> に使用され、例えばシャドウビルドディレクトリの名前を決定するのに用いられます。</p></body></html> @@ -24502,17 +24108,6 @@ Excluding: %2 Images (*.png *.xpm *.jpg) 画像 (*.png *.xpm *.jpg) - - - ProjectExplorer::Internal::KitModel - - Auto-detected - 自動検出 - - - Manual - 手動 - %1 (default) %1 (既定) @@ -24521,40 +24116,14 @@ Excluding: %2 Name 名前 - - Clone of %1 - %1 を複製 - - - - ProjectExplorer::KitOptionsPage - - Kits - キット - - - Add - 追加 - Clone 複製 - - Remove - 削除 - Make Default 既定にする - - - ProjectExplorer::Internal::LocalApplicationRunControl - - No executable specified. - 実行ファイルが指定されていません。 - Executable %1 does not exist. 実行ファイル %1 が存在しません。 @@ -24571,55 +24140,18 @@ Excluding: %2 %1 exited with code %2 %1 は終了コード %2 で終了しました - - - ProjectExplorer::LocalEnvironmentAspect - - Build Environment - ビルド時の環境変数 - - - System Environment - システム環境変数 - - - Clean Environment - 環境変数なし - - - - ProjectExplorer::Internal::ProjectListWidget %1 (%2) %1 (%2) - - - ProjectExplorer::Internal::MiniProjectTargetSelector Project プロジェクト - - Kit - キット - - - Build - ビルド - - - Deploy - デプロイ - Run 実行 - - Unconfigured - 未設定 - <b>Project:</b> %1 <b>プロジェクト:</b> %1 @@ -24676,16 +24208,6 @@ Excluding: %2 <style type=text/css>a:link {color: rgb(128, 128, 255, 240);}</style>The project <b>%1</b> is not yet configured<br/><br/>You can configure it in the <a href="projectmode">Projects mode</a><br/> <style type=text/css>a:link {color: rgb(128, 128, 255, 240);}</style>プロジェクト <b>%1</b> は、まだ設定されていません。<br/><br/><a href="projectmode">プロジェクトモード</a>で設定できます。<br/> - - - ProjectExplorer::Internal::MsvcToolChainFactory - - MSVC - MSVC - - - - ProjectExplorer::OsParser The process can not access the file because it is being used by another process. Please close all running instances of your application before starting a build. @@ -24698,9 +24220,6 @@ Please close all running instances of your application before starting a build.< ファイルが他のプロセスで使用されているためこのプロセスからアクセスできません。 ビルドを開始する前にすべての実行中のアプリケーションを閉じてください。 - - - ProjectExplorer::Internal::ProjectFileFactory Project File Factory ProjectExplorer::ProjectFileFactory display name. @@ -24710,13 +24229,6 @@ Please close all running instances of your application before starting a build.< Failed to open project プロジェクトを開くのに失敗しました - - All Projects - すべてのプロジェクト - - - - ProjectExplorer::Internal::ProcessStep Custom Process Step Default ProcessStep display name @@ -24727,30 +24239,10 @@ Please close all running instances of your application before starting a build.< item in combobox 独自プロセスステップ - - - ProjectExplorer::Internal::ProcessStepConfigWidget - - Custom Process Step - 独自プロセスステップ - - - - ProjectExplorer::ProjectConfiguration - - Clone of %1 - %1 を複製 - - - - ProjectExplorer::ProjectsMode Projects プロジェクト - - - ProjectExplorer::ProjectExplorerPlugin &Build ビルド(&B) @@ -24763,10 +24255,6 @@ Please close all running instances of your application before starting a build.< &Start Debugging デバッグ開始(&S) - - Run - 実行 - Open With エディタを指定して開く @@ -24791,14 +24279,6 @@ Please close all running instances of your application before starting a build.< Open File ファイルを開く - - Build Environment - ビルド時の環境変数 - - - Run Environment - 実行時の環境変数 - Recent P&rojects 最近使ったプロジェクト(&R) @@ -24895,18 +24375,10 @@ Please close all running instances of your application before starting a build.< Run Without Deployment デプロイせずに実行 - - Build - ビルド - Rebuild リビルド - - Clean - クリーン - The name of the currently active kit as a filesystem-friendly version. 現在アクティブなキットのファイルシステム用の名前です。 @@ -24915,10 +24387,6 @@ Please close all running instances of your application before starting a build.< The ID of the currently active kit. 現在アクティブなキットの ID です。 - - The currently active run configuration's name. - 現在アクティブな実行設定の名前です。 - The file %1 could not be renamed %2. ファイル %1 を %2 へ名前を変更できませんでした。 @@ -24947,10 +24415,6 @@ Please close all running instances of your application before starting a build.< S&essions セッション(&E) - - Deploy - デプロイ - Add New... 新しいファイルを追加... @@ -24980,10 +24444,6 @@ Please close all running instances of your application before starting a build.< Delete File... ファイルを削除... - - Rename... - 名前を変更... - Set as Active Project アクティブプロジェクトに設定 @@ -25056,10 +24516,6 @@ Please close all running instances of your application before starting a build.< The name of the current project. 現在のプロジェクトの名前です。 - - The name of the currently active kit. - 現在アクティブなキットの名前です。 - The currently active build configuration's name. 現在有効なビルド設定の名前。 @@ -25298,10 +24754,6 @@ Please try again. Duplicate File... ファイルの複製... - - All Projects - すべてのプロジェクト - Parse Build Output... ビルドの出力を解析する... @@ -25362,18 +24814,6 @@ Do you want to ignore them? Build step ビルド - - Stop Applications - アプリケーションの停止 - - - Stop these applications before building? - ビルド前に以下のアプリケーションを停止しますか? - - - The project %1 is not configured, skipping it. - プロジェクト %1 は設定されていないため、スキップします。 - No project loaded. プロジェクトが読み込まれていません。 @@ -25532,16 +24972,6 @@ Rename %2 to %3 anyway? The file %1 was renamed to %2, but the project file %3 could not be automatically changed. ファイル %1 が %2 に名前変更されましたが、プロジェクトファイル %3 で、自動的に変更できませんでした。 - - - ProjectExplorer::Internal::ProjectExplorerSettingsPage - - General - 一般 - - - - ProjectExplorer::Internal::ProjectFileWizardExtension Open project anyway? それでもプロジェクトを開きますか? @@ -25562,9 +24992,6 @@ to project "%2". 1つ以上のファイルをプロジェクト "%1" に追加できませんでした (%2). - - - ProjectExplorer::ProjectImporter %1 - temporary %1 - テンポラリ @@ -25589,9 +25016,6 @@ to project "%2". Imported Kit インポートされたキット - - - ProjectExplorer::Internal::ProjectTreeWidget Simplify Tree 簡易ツリー @@ -25624,13 +25048,6 @@ to project "%2". Synchronize with Editor エディタと同期 - - - ProjectExplorer::Internal::ProjectTreeWidgetFactory - - Projects - プロジェクト - Meta+X Meta+X @@ -25643,9 +25060,6 @@ to project "%2". Filter Tree フィルタツリー - - - ProjectExplorer::Internal::SessionModel New session name 新しいセッションの名前 @@ -25658,10 +25072,6 @@ to project "%2". Last Modified 最終変更日 - - New Session Name - 新しいセッション名 - &Create 作成(&C) @@ -25678,21 +25088,10 @@ to project "%2". Clone and &Open クローンして開く(&O) - - Rename Session - セッションの名前変更 - - - &Rename - 名前を変更(&R) - Rename and &Open 名前変更して開く(&O) - - - ProjectExplorer::Internal::ProjectWelcomePage New Project 新しいプロジェクト @@ -25738,10 +25137,6 @@ to project "%2". %1 (current session) %1 (現在のセッション) - - Clone - 複製 - Rename 名前を変更 @@ -25779,10 +25174,6 @@ to project "%2". Sessions セッション - - Projects - プロジェクト - TargetSettingsPanelFactory @@ -25792,7 +25183,7 @@ to project "%2". - ProjectExplorer::Internal::ProjectWizardPage + ::ProjectExplorer Summary 概要 @@ -25801,10 +25192,6 @@ to project "%2". Add as a subproject to project: サブプロジェクトとしてプロジェクトに追加: - - Add to &project: - プロジェクトに追加(&P): - <None> <なし> @@ -25825,9 +25212,6 @@ to project "%2". Files to be added in ファイルの追加先 - - - ProjectExplorer::Internal::RemoveTaskHandler Remove Name of the action triggering the removetaskhandler @@ -25837,9 +25221,6 @@ to project "%2". Remove task from the task list. タスクリストからタスクを削除します。 - - - ProjectExplorer::RunControl PID %1 PID %1 @@ -25873,10 +25254,6 @@ to project "%2". Starting %1 %2... 起動中 %1 %2... - - No executable specified. - 実行ファイルが指定されていません。 - Force Quit 強制終了 @@ -25885,9 +25262,6 @@ to project "%2". Keep Running そのままにする - - - ProjectExplorer::RunConfiguration Run Settings 実行時の設定 @@ -25915,33 +25289,10 @@ to project "%2". Unknown error. 不明なエラーです。 - - - ProjectExplorer::Internal::RunSettingsWidget - - Run Settings - 実行時の設定 - - - Add - 追加 - - - Remove - 削除 - - - Rename... - 名前を変更... - Add... 追加... - - Clone... - 複製... - Deployment デプロイ @@ -25950,27 +25301,15 @@ to project "%2". Method: メソッド: - - Run - 実行 - Run configuration: 実行構成: - - &Clone Selected - 選択された設定を複製(&C) - Clone Configuration Title of a the cloned RunConfiguration window, text of the window 設定を複製 - - New configuration name: - 新しい設定名: - Remove Run Configuration? 実行構成を削除しますか? @@ -25987,10 +25326,6 @@ to project "%2". Cancel Build && Remove Deploy Configuration ビルドを中止してデプロイ設定を削除 - - Do Not Remove - 削除しない - Remove Deploy Configuration %1? デプロイ設定 %1 を削除しますか? @@ -26015,9 +25350,6 @@ to project "%2". New name for deploy configuration <b>%1</b>: デプロイ設定 <b>%1</b> の新しい名前: - - - ProjectExplorer::SessionManager Error while saving session セッションの保存中にエラー @@ -26080,9 +25412,6 @@ to project "%2". Loading Session セッション読込中 - - - ProjectExplorer::Internal::SessionNameInputDialog Enter the name of the session: セッションの名前を入力してください: @@ -26091,9 +25420,6 @@ to project "%2". Switch To 切替 - - - ProjectExplorer::SettingsAccessor Unsupported Shared Settings File 共有設定ファイルは未サポート @@ -26146,7 +25472,7 @@ to project "%2". - ProjectExplorer::UserFileHandler + ::ProjectExplorer No deployment デプロイしない @@ -26155,9 +25481,6 @@ to project "%2". Deploy to Maemo device Maemo デバイスにデプロイ - - - ProjectExplorer::Internal::ShowInEditorTaskHandler Show in Editor エディタで表示 @@ -26166,9 +25489,6 @@ to project "%2". Show task location in an editor. エディタ内にタスクの位置を表示します。 - - - ProjectExplorer::Internal::ShowOutputTaskHandler Show &Output 出力を表示(&O) @@ -26181,20 +25501,6 @@ to project "%2". O O - - - ProjectExplorer::Internal::TargetSelector - - Run - 実行 - - - Build - ビルド - - - - ProjectExplorer::Internal::TargetSettingsPanelWidget Import existing build... 既存のビルドをインポート... @@ -26207,10 +25513,6 @@ to project "%2". Cancel Build && Remove Kit ビルド中止 && キット削除 - - Do Not Remove - 削除しない - Remove Kit %1? キット %1 を削除しますか? @@ -26250,9 +25552,6 @@ to project "%2". Import directory インポートするディレクトリ - - - ProjectExplorer::TargetSetupPage <span style=" font-weight:600;">No valid kits found.</span> <span style=" font-weight:600;">有効なキットがありません。</span> @@ -26285,10 +25584,6 @@ to project "%2". Kit Selection キットの選択 - - Kits - キット - The following kits can be used for project <b>%1</b>: %1: Project name @@ -26299,9 +25594,6 @@ to project "%2". %1: Project name Qt Creator は以下のキットをプロジェクト <b>%1</b> で使用できます: - - - ProjectExplorer::Internal::TargetSetupWidget <b>Error:</b> Severity is Task::Error @@ -26312,9 +25604,6 @@ to project "%2". Severity is Task::Warning <b>警告:</b> - - - ProjectExplorer::Internal::TaskWindow Issues 問題 @@ -26327,38 +25616,14 @@ to project "%2". Filter by categories カテゴリでフィルタします - - - ProjectExplorer::Internal::TaskDelegate File not found: %1 ファイルが見つかりません: %1 - - - ProjectExplorer::ToolChain - - Clone of %1 - %1 を複製 - - - - ProjectExplorer::ToolChainConfigWidget - - Name: - 名前: - - - - ProjectExplorer::Internal::ToolChainOptionsPage Compilers コンパイラ - - Add - 追加 - This toolchain is invalid. このツールチェーンは無効です。 @@ -26387,30 +25652,10 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated 1 つはネイティブの x86_64 ターゲット用で、もう 1 つはプレーンの x86 ターゲット用です。 専用のクロス・コンパイラを使用せずに 32 ビット x86 バイナリを作成する場合は、この機能を有効にしてください。 - - Name - 名前 - Type タイプ - - Auto-detected - 自動検出 - - - Manual - 手動 - - - Clone - 複製 - - - Remove - 削除 - Remove All すべて削除 @@ -26435,13 +25680,6 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated The following compilers were already configured:<br>&nbsp;%1<br>They were not configured again. 以下のコンパイラは既に設定済みです。<br>&nbsp;%1<br>重複した設定は行いません。 - - - ProjectExplorer::Internal::TargetSetupPageWrapper - - Configure Project - プロジェクトの設定 - Cancel キャンセル @@ -26458,9 +25696,6 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated The project <b>%1</b> is not yet configured.<br/>Qt Creator uses the <b>invalid</b> kit <b>%2</b> to parse the project. プロジェクト <b>%1</b> はまだ設定されていません。<br/>Qt Creator はこのプロジェクトの解析に<b>無効な</b>キット <b>%2</b> を使用します。 - - - ProjectExplorer::Internal::VcsAnnotateTaskHandler &Annotate アノテーション(&A) @@ -26469,16 +25704,10 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated Annotate using version control system. バージョン管理システムを使ってアノテーションします。 - - - ProjectExplorer::Internal::WinCEToolChainFactory WinCE WinCE - - - ProjectExplorer::Internal::WinCEToolChainConfigWidget SDK: SDK: @@ -29728,25 +28957,15 @@ Do you want to save the data first? - ProjectExplorer::Internal::CustomExecutableConfigurationWidget + ::ProjectExplorer Executable: 実行ファイル: - - Working directory: - 作業ディレクトリ: - - - - ProjectExplorer::CustomExecutableDialog Could not find the executable, please specify one. 実行ファイルが見つかりません。実行ファイルを指定してください。 - - - ProjectExplorer::CustomExecutableRunConfiguration No executable. 実行可能ファイルがありません。 @@ -29763,22 +28982,11 @@ cannot be found in the path. Custom Executable カスタム実行ファイル - - Run %1 - %1 を実行 - You need to set an executable in the custom run configuration. カスタム実行構成に実行ファイルを設定する必要があります。 - - ProjectExplorer::CustomExecutableRunConfigurationFactory - - Custom Executable - カスタム実行ファイル - - ::QtSupport @@ -30987,7 +30195,7 @@ In addition, device connectivity will be tested. - TaskList::Internal::StopMonitoringHandler + ::ProjectExplorer Stop Monitoring モニタリングを停止 @@ -34154,21 +33362,15 @@ kill しますか? - ProjectExplorer::KitConfigWidget + ::ProjectExplorer Manage... 管理... - - - ProjectExplorer::SelectableFilesDialogEditFiles Edit Files ファイルの編集 - - - ProjectExplorer::SelectableFilesDialogAddDirectory Add Existing Directory 既存のディレクトリの追加 @@ -34500,11 +33702,7 @@ kill しますか? - ProjectExplorer::DeploymentDataView - - Form - フォーム - + ::ProjectExplorer Files to deploy: デプロイするファイル: @@ -35114,7 +34312,7 @@ API バージョンが %1 以上の SDK をインストールしてください - ProjectExplorer::DeploymentDataModel + ::ProjectExplorer Local File Path ローカルファイルのパス @@ -35123,9 +34321,6 @@ API バージョンが %1 以上の SDK をインストールしてください Remote Directory リモートディレクトリ - - - ProjectWizard The files are implicitly added to the projects: これらのファイルは自動的にプロジェクトに追加されます: @@ -35134,10 +34329,6 @@ API バージョンが %1 以上の SDK をインストールしてください <Implicitly Add> <自動的に追加> - - <None> - <なし> - Utils::SettingsAccessor @@ -35159,7 +34350,7 @@ API バージョンが %1 以上の SDK をインストールしてください - ProjectExplorer::EnvironmentIdAccessor + ::ProjectExplorer <p>No .user settings file created by this instance of Qt Creator was found.</p><p>Did you work with this project on another machine or using a different settings path before?</p><p>Do you still want to load the settings file "%1"?</p> <p>この Qt Creator で作成された .user 設定ファイルが見つかりません。</p><p>他のマシン上でこのプロジェクトの作業を行ったか、以前は異なるパスでこの設定ファイルを使用していましたか?</p><p>この設定ファイル "%1" を読み込みますか?</p> @@ -35168,9 +34359,6 @@ API バージョンが %1 以上の SDK をインストールしてください Settings File for "%1" from a different Environment? 設定ファイル "%1" は他の環境由来のものですか? - - - ProjectExplorer::Task Qt Creator needs a compiler set up to build. Configure a compiler in the kit options. ビルドする為にはコンパイラの設定が必要です。キットオプションでコンパイラを設定してください。 @@ -35187,9 +34375,6 @@ API バージョンが %1 以上の SDK をインストールしてください %1 needs a compiler set up to build. Configure a compiler in the kit options. %1 をビルドする為にはコンパイラの設定が必要です。キットオプションでコンパイラを設定してください。 - - - ProjectExplorer::XcodebuildParser Replacing signature 署名を交換しています @@ -35363,7 +34548,7 @@ API バージョンが %1 以上の SDK をインストールしてください - TaskList::Internal::TaskListPlugin + ::ProjectExplorer Cannot open task file %1: %2 タスクファイル %1 を開けません: %2 @@ -39863,15 +39048,11 @@ Affected are breakpoints %1 - ProjectExplorer::JsonWizard + ::ProjectExplorer "data" for a "Form" page needs to be unset or an empty object. "Form" ページの "data" は未設定か空オブジェクトである必要があります。 - - Choose Project File - プロジェクトファイルを選択する - Check whether a variable exists.<br>Returns "true" if it does and an empty string if not. 変数が存在するかどうかを確認します。<br>存在する場合は "true" を、存在しない場合は空文字列を返します。 @@ -40042,10 +39223,6 @@ Affected are breakpoints %1 Source file: ソースファイル: - - Path: - パス: - Define Class クラスの定義 @@ -40054,22 +39231,10 @@ Affected are breakpoints %1 Details 詳細 - - Project Management - プロジェクト管理 - - - Summary - 概要 - Creates a C++ header and a source file for a new class that you can add to a C++ project. プロジェクトへ追加する C++ の新しいクラス用のヘッダとソースファイルを作成します。 - - C++ - C++ - C++ Class C++ クラス @@ -40274,10 +39439,6 @@ Affected are breakpoints %1 Creates a scratch buffer using a temporary file. 一時ファイルを使ってスクラッチバッファを作成します。 - - General - 一般 - Scratch Buffer スクラッチバッファ @@ -40334,14 +39495,6 @@ Affected are breakpoints %1 Build System ビルドシステム - - Kit Selection - キットの選択 - - - Kits - キット - Creates a simple C application using either qmake, CMake, or Qbs to build. qmake や CMake、Qbs をビルドに使用するシンプルな C アプリケーションを作成します。 @@ -40374,10 +39527,6 @@ Preselects a desktop Qt for building the application if available. デスクトップ用 Qt が存在する場合、アプリケーションのビルド用に選択します。 - - Application - アプリケーション - Qt Console Application Qt コンソールアプリケーション @@ -40390,10 +39539,6 @@ Preselects a desktop Qt for building the application if available. Creates a qmake-based project without any files. This allows you to create an application without any default classes. ファイルを持たない qmake プロジェクトを作成します。既定のクラスを一切持たないアプリケーションが作成できます。 - - Other Project - 他のプロジェクト - Empty qmake Project 空の qmake プロジェクト @@ -40526,10 +39671,6 @@ Preselects a desktop Qt for building the application if available. Core Core - - Library - ライブラリ - C++ Library C++ ライブラリ @@ -40542,10 +39683,6 @@ Preselects a desktop Qt for building the application if available. Author: 作成者: - - Description: - 説明: - 0.1.0 0.1.0 @@ -40558,14 +39695,6 @@ Preselects a desktop Qt for building the application if available. Other その他 - - License: - ライセンス: - - - C - C - 1.0.0 1.0.0 @@ -40574,18 +39703,6 @@ Preselects a desktop Qt for building the application if available. Project file: プロジェクトファイル: - - Object class-name: - オブジェクトクラス名: - - - URI: - URI: - - - Qt Quick 2 Extension Plugin - Qt Quick 2 拡張プラグイン - Qt 5.15 Qt 5.15 @@ -40642,34 +39759,6 @@ Preselects a desktop Qt for building the application if available. "%{JS: Util.toNativeSeparators('%{TargetPath}')}" exists in the filesystem. "%{JS: Util.toNativeSeparators('%{TargetPath}')}" は既にファイルシステムに存在しています。 - - Plugin name: - プラグイン名: - - - Vendor name: - ベンダ名: - - - Copyright: - Copyright: - - - URL: - URL: - - - Qt Creator build: - Qt Creator ビルド: - - - Creates a custom Qt Creator plugin. - 独自の Qt Creator プラグインを作成します。 - - - Qt Creator Plugin - Qt Creator プラグイン - This wizard creates a simple Qmake based project with additional auto test skeleton. このウィザードは自動テストのスケルトンが追加されたシンプルな qmake ベースのプロジェクトを作成します。 @@ -40858,18 +39947,10 @@ Preselects a desktop Qt for building the application if available. Running Bazaar branch... Bazaar ブランチの実行中... - - Clone - 複製 - Clones a Bazaar branch and tries to load the contained project. Bazaar ブランチを複製し、プロジェクトとして読み込みます。 - - Import Project - プロジェクトのインポート - Bazaar Clone (Or Branch) Bazaar クローン(またはブランチ) @@ -41825,7 +40906,7 @@ Would you like to overwrite it? - ProjectExplorer::Internal::DependenciesWidget + ::ProjectExplorer Synchronize configuration 設定を同期する @@ -41834,16 +40915,6 @@ Would you like to overwrite it? Synchronize active kit, build, and deploy configuration between projects. アクティブなキットやビルド、デプロイ設定をプロジェクト間で同期します。 - - - ProjectExplorer::EnvironmentValidator - - Variable already exists. - 変数は既に存在しています。 - - - - ProjectExplorer::JsonFieldPage Field is not an object. フィールドがオブジェクトではありません。 @@ -41956,9 +41027,6 @@ Would you like to overwrite it? Source and target are both empty. source と target の双方を空にすることはできません。 - - - ProjectExplorer::JsonKitsPage Feature list is set and not of type list. feature リストが設定されていますがリスト型ではありません。 @@ -41971,17 +41039,6 @@ Would you like to overwrite it? Feature list element is not a string or object. feature リストが文字列やオブジェクトではありません。 - - - ProjectExplorer::JsonProjectPage - - untitled - File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. - 無題 - - - - ProjectExplorer::JsonSummaryPage Failed to Commit to Version Control バージョン管理システムへのコミットに失敗 @@ -41994,28 +41051,10 @@ Would you like to overwrite it? Failed to Add to Project プロジェクトへの追加に失敗 - - Failed to add subproject "%1" -to project "%2". - サブプロジェクト "%1" を -プロジェクト "%2" に追加できませんでした。 - - - Failed to add one or more files to project -"%1" (%2). - ファイルをプロジェクト "%1" に追加できませんでした -(%2). - - - - ProjectExplorer::Internal::JsonWizardFileGenerator No 'key' in options object. オプションオブジェクトに 'key' が見つかりません。 - - - ProjectExplorer::JsonWizardFactory Generator is not a object. "generators" がオブジェクトではありません。 @@ -42156,9 +41195,6 @@ to project "%2". When parsing "pages": %1 "pages" 解析中のエラー: %1 - - - ProjectExplorer::JsonWizardGenerator %1 [folder] %1 [フォルダ] @@ -42177,9 +41213,6 @@ to project "%2". ディレクトリ %1 に上書き不可能なファイルが存在します: %2. - - - ProjectExplorer::Internal::JsonWizard Key is not an object. 鍵がオブジェクトではありません。 @@ -42192,16 +41225,10 @@ to project "%2". ScannerGenerator: Binary pattern "%1" not valid. ScannerGenerator: 無効なバイナリパターン "%1" です。 - - - ProjectExplorer::EnvironmentKitInformation The environment setting value is invalid. 環境変数の設定に無効な値が含まれています。 - - - ProjectExplorer::Internal::KitEnvironmentConfigWidget Change... 変更... @@ -42218,50 +41245,18 @@ to project "%2". No changes to apply. 変更しません。 - - - ProjectExplorer::Internal::MsvcBasedToolChainConfigWidget Initialization: 初期化: - - - ProjectExplorer::Internal::ClangClToolChainConfigWidget LLVM: LLVM: - - Initialization: - 初期化: - - - &Compiler path: - コンパイラのパス(&C): - - - - ProjectExplorer::ClangToolChainFactory - - Clang - Clang - - - - ProjectExplorer::Project - - Project - プロジェクト - Project Name プロジェクト名 - - Kit is not valid. - 無効なキット。 - Incompatible Kit 互換性のないキット @@ -42290,16 +41285,10 @@ to project "%2". Some configurations could not be copied. いくつかの設定がコピーできませんでした。 - - - ProjectExplorer::ProjectTree <b>Warning:</b> This file is outside the project directory. <b>警告:</b> このファイルはプロジェクトディレクトリの外部にあります。 - - - ProjectExplorer::TerminalAspect Terminal ターミナル @@ -42308,9 +41297,6 @@ to project "%2". Run in terminal ターミナルで実行 - - - ProjectExplorer::WorkingDirectoryAspect Working Directory 作業ディレクトリ @@ -42323,13 +41309,6 @@ to project "%2". Reset to Default 既定に戻す - - Working directory: - 作業ディレクトリ: - - - - ProjectExplorer::ArgumentsAspect Arguments 引数 @@ -42338,13 +41317,6 @@ to project "%2". Command line arguments: コマンドライン引数: - - Reset to Default - 既定に戻す - - - - ProjectExplorer::SelectableFilesWidget Source directory: ソースディレクトリ: @@ -42381,9 +41353,6 @@ These files are preserved. これらのファイルは維持されます。 - - - ProjectExplorer::Target Target Settings ターゲット設定 @@ -42396,17 +41365,10 @@ These files are preserved. The currently active run configuration's name. 現在アクティブな実行構成の名前です。 - - - ProjectExplorer::Internal::WaitForStopDialog Waiting for Applications to Stop アプリケーションの停止まで待機中 - - Cancel - キャンセル - Waiting for applications to stop. アプリケーションが停止するまで待機しています。 @@ -49052,11 +48014,7 @@ Stepping into the module or setting breakpoints by file and line is expected to - ProjectExplorer::Internal::AddRunConfigDialog - - Name - 名前 - + ::ProjectExplorer Source ソース @@ -49065,24 +48023,10 @@ Stepping into the module or setting breakpoints by file and line is expected to Create 生成 - - - ProjectExplorer::Internal::AppOutputSettingsPage - - Merge stderr and stdout - 標準エラー出力と標準出力をマージする - Never 実行しない - - Application Output - アプリケーション出力 - - - - ProjectExplorer::BuildDirectoryAspect Build directory: ビルドディレクトリ: @@ -49091,122 +48035,18 @@ Stepping into the module or setting breakpoints by file and line is expected to Shadow build: シャドウビルド: - - - ProjectExplorer::Internal::BuildEnvironmentWidget - - Build Environment - ビルド時の環境変数 - - - Clear system environment - システム環境変数を非表示にする - - - - ProjectExplorer::Internal::BuildPropertiesSettingsPage - - Enable - 有効化 - - - Disable - 無効化 - - - Reset - リセット - - - Default build directory: - 既定のビルドディレクトリ: - - - - ProjectExplorer::BuildStepList - - Build - Display name of the build build step list. Used as part of the labels in the project window. - ビルド - - - Clean - Display name of the clean build step list. Used as part of the labels in the project window. - クリーン - - - Deploy - Display name of the deploy build step list. Used as part of the labels in the project window. - デプロイ - - - - ProjectExplorer::Internal::CompileOutputSettingsPage - - Compile Output - コンパイル出力 - - - - ProjectExplorer::Internal::CustomParsersSettingsPage - - Add... - 追加... - - - - ProjectExplorer::Internal::DeploymentDataView - - Local File Path - ローカルファイルのパス - - - Remote Directory - リモートディレクトリ - - - Files to deploy: - デプロイするファイル: - - - - ProjectExplorer::Internal::DesktopRunConfiguration Qt Run Configuration Qt 実行構成 - - - ProjectExplorer::PortsGatherer Checking available ports... 使用可能なポートを確認中... - - - ProjectExplorer::Internal::SshSettingsWidget - - SSH - SSH - - - - EnvironmentWidget - - Add... - 追加... - Edit... 編集... - - Choose Directory - ディレクトリを選択してください - - - - ProjectExplorer::Internal::FilterKitAspectsDialog Setting 設定 @@ -49215,179 +48055,10 @@ Stepping into the module or setting breakpoints by file and line is expected to Visible 可視性 - - - ProjectExplorer::ClangToolChain - - Clang - Clang - - - - ProjectExplorer::MingwToolChain - - MinGW - MinGW - - - - ProjectExplorer::LinuxIccToolChain - - ICC - ICC - - - - ProjectExplorer::SysRootKitAspect - - The root directory of the system image to use.<br>Leave empty when building for the desktop. - システムイメージが使用するルートディレクトリ。<br>デスクトップ用ビルドの場合は空のままにしてください。 - - - Sys Root "%1" does not exist in the file system. - ファイルシステム上に Sys Root "%1" が存在しません。 - - - Sys Root "%1" is not a directory. - Sys Root "%1" はディレクトリではありません。 - - - Sys Root "%1" is empty. - Sys Root "%1" が空です。 - - - Sys Root - Sys Root - - - - ProjectExplorer::ToolChainKitAspect - - <No compiler> - <コンパイラなし> - - - Compiler - コンパイラ - - - The compiler to use for building.<br>Make sure the compiler will produce binaries compatible with the target device, Qt version and other libraries used. - 選択したコンパイラがビルド時に使用されます。<br>コンパイラが対象となるデバイスや選択したバージョンの Qt、その他の使用しているライブラリとバイナリ互換があることを確認してください。 - - - Path to the compiler executable - コンパイラの実行ファイルのパス - - - No compiler set in kit. - キットにコンパイラが設定されていません。 - - - - ProjectExplorer::DeviceTypeKitAspect - - Device type - デバイス種類 - - - The type of device to run applications on. - アプリケーションを実行するデバイスの種類です。 - - - Unknown device type - 不明なデバイス種類 - - - - ProjectExplorer::DeviceKitAspect - - Device - デバイス - - - The device to run the applications on. - アプリケーションを実行するデバイスです。 - - - No device set. - デバイスが設定されていません。 - - - Device is incompatible with this kit. - デバイスとこのキットに互換性がありません。 - - - Unconfigured - 未設定 - - - Host address - ホストアドレス - - - SSH port - SSH ポート - - - User name - ユーザー名 - - - Private key file - 秘密鍵ファイル - Device name デバイス名 - - - ProjectExplorer::EnvironmentKitAspect - - Change... - 変更... - - - No changes to apply. - 変更しません。 - - - Environment - 環境 - - - Additional build environment settings when using this kit. - このキット使用時に追加するビルド用環境変数です。 - - - The environment setting value is invalid. - 環境変数の設定に無効な値が含まれています。 - - - - ProjectExplorer::KitAspectWidget - - Manage... - 管理... - - - - ProjextExplorer::Internal::KitOptionsPageWidget - - Clone - 複製 - - - Make Default - 既定にする - - - Kits - キット - - - - ProjectExplorer::MakeStep Make arguments: Make の引数: @@ -49429,116 +48100,23 @@ Stepping into the module or setting breakpoints by file and line is expected to - ProjectExplorer::Internal::MsvcToolChain - - MSVC - MSVC - - - - ProjectExplorer::Internal::MsvcToolChainConfigWidget + ::ProjectExplorer <empty> <空> - - Initialization: - 初期化: - - - &ABI: - &ABI: - - - - ProjectExplorer::Internal::ParseIssuesDialog Choose File ファイルを選択してください - - - ProjectExplorer::ProcessStep - - Command: - コマンド: - - - Arguments: - 引数: - - - Working directory: - 作業ディレクトリ: - - - Custom Process Step - Default ProcessStep display name - 独自プロセスステップ - - - - EnvironmentPanelFactory - - Environment - 環境 - - - - ProjectExplorerPluginPrivate - - Building "%1" is disabled: %2<br> - "%1" のビルドは無効化されています: %2<br> - - - - ProjextExplorer::Internal::ProjectExplorerSettings - - All - すべて - - - Same Project - 同一プロジェクト - - - Same Build Directory - 同一ビルドディレクトリ - - - General - 一般 - - - - ProjectExplorer::Internal::ProjectWindow - - Build & Run - ビルドと実行 - - - Projects - プロジェクト - - - Manage Kits... - キットの管理... - Active Project アクティブプロジェクト - - - ProjectExplorer::ExecutableAspect <unknown> <不明> - - Executable: - 実行ファイル: - Alternate executable on device: デバイス上の代替実行可能ファイル: @@ -49547,9 +48125,6 @@ Stepping into the module or setting breakpoints by file and line is expected to Use this command instead 代わりにこのコマンドを使う - - - ProjectExplorer::UseLibraryPathsAspect Add build library search path to DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH DYLD_LIBRARY_PATH と DYLD_FRAMEWORK_PATH にビルドライブラリ検索パスを追加する @@ -49562,52 +48137,22 @@ Stepping into the module or setting breakpoints by file and line is expected to Add build library search path to LD_LIBRARY_PATH LD_LIBRARY_PATH にビルドライブラリ検索パスを追加する - - - ProjectExplorer::UseDyldSuffixAspect Use debug version of frameworks (DYLD_IMAGE_SUFFIX=_debug) デバッグ版のフレームワークを使用する (DYLD_IMAGE_SUFFIX=_debug) - - - ProjectExplorer::RunAsRootAspect Run as root user 管理者として実行する - - - TaskHub - - Error - エラー - - - Warning - 警告 - - - - ProjectExplorer::SimpleTargetRunner - - %1 crashed. - %1 がクラッシュしました。 - %2 exited with code %1 %2 はコード %1 で終了しました - - - ProjectExplorer::Internal::FilesSelectionWizardPage Files ファイル - - - ProjectExplorer::Internal::SimpleProjectWizardDialog Import Existing Project 既存プロジェクトのインポート @@ -49620,49 +48165,11 @@ Stepping into the module or setting breakpoints by file and line is expected to Project name: プロジェクト名: - - Location: - パス: - File Selection ファイル選択 - - TargetSettingsPanelWidget - - Do Not Remove - 削除しない - - - The kit <b>%1</b> is currently being built. - キット <b>%1</b> をビルドしています。 - - - Do you want to cancel the build process and remove the kit anyway? - 強制的にビルドプロセスを中止してキットを削除しますか? - - - Build - ビルド - - - Run - 実行 - - - - TargetSettingsPanelItem - - No kit defined in this project. - このプロジェクトには、キットが定義されていません。 - - - Configure Project - プロジェクトの設定 - - ::Python diff --git a/share/qtcreator/translations/qtcreator_pl.ts b/share/qtcreator/translations/qtcreator_pl.ts index 4d220911f1f..d3e389cb4a5 100644 --- a/share/qtcreator/translations/qtcreator_pl.ts +++ b/share/qtcreator/translations/qtcreator_pl.ts @@ -756,7 +756,7 @@ - ProjectExplorer::Internal::EditorSettingsPropertiesPage + ::ProjectExplorer Editor settings: Ustawienia edytora: @@ -765,10 +765,6 @@ Global Globalne - - Custom - Własne - Restore Global Przywróć globalne @@ -781,9 +777,6 @@ Display right &margin at column: Wyświetlaj prawy &margines w kolumnie: - - - ProjectExplorer::Internal::ProcessStepWidget Command: Komenda: @@ -796,9 +789,6 @@ Arguments: Argumenty: - - - ProjectExplorer::Internal::ProjectExplorerSettingsPageUi Build and Run Budowanie i uruchamianie @@ -891,10 +881,6 @@ Stop applications before building: Aplikacje zatrzymywane przed budowaniem: - - None - Żadne - Same Project Pochodzące z tego samego projektu @@ -907,9 +893,6 @@ Same Build Directory Pochodzące z tego samego katalogu budowania - - - ProjectExplorer::Internal::WizardPage The following files will be added: @@ -934,9 +917,6 @@ Project Management Organizacja projektu - - - ProjectExplorer::Internal::SessionDialog Session Manager Zarządzanie sesjami @@ -7122,7 +7102,7 @@ Dodaj, zmodyfikuj lub usuń filtry dokumentów, które determinują zestaw dokum - ProjectExplorer::AbstractProcessStep + ::ProjectExplorer Configuration is faulty. Check the Issues view for details. Błędna konfiguracja. Sprawdź szczegóły w widoku "Problemy budowania". @@ -7151,16 +7131,10 @@ Dodaj, zmodyfikuj lub usuń filtry dokumentów, które determinują zestaw dokum Could not start process "%1" %2 Nie można uruchomić procesu "%1" %2 - - - ProjectExplorer::Internal::AllProjectsFilter Files in Any Project Pliki we wszystkich projektach - - - ProjectExplorer::Internal::AllProjectsFind All Projects Wszystkie projekty @@ -7177,16 +7151,10 @@ Excluding: %2 Wykluczenia: %2 %3 - - - ProjectExplorer::ApplicationLauncher Cannot retrieve debugging output. Nie można pobrać komunikatów debuggera. - - - ProjectExplorer::BuildManager Finished %1 of %n steps @@ -7242,9 +7210,6 @@ Wykluczenia: %2 Skipping disabled step %1. Pominięcie zablokowanego kroku %1. - - - ProjectExplorer::Internal::BuildSettingsWidget No build settings available Brak dostępnych ustawień budowania @@ -7305,18 +7270,10 @@ Wykluczenia: %2 New name for build configuration <b>%1</b>: Nowa nazwa dla konfiguracji budowania <b>%1</b>: - - Clone Configuration - Title of a the cloned BuildConfiguration window, text of the window - Sklonuj konfigurację - New configuration name: Nazwa nowej konfiguracji: - - - ProjectExplorer::Internal::BuildStepsPage Clean Steps Kroki procesu czyszczenia @@ -7325,9 +7282,6 @@ Wykluczenia: %2 Build Steps Kroki procesu budowania - - - ProjectExplorer::Internal::CompileOutputWindow Compile Output Komunikaty kompilatora @@ -7340,16 +7294,10 @@ Wykluczenia: %2 Decrease Font Size Zmniejsz rozmiar czcionki - - - ProjectExplorer::Internal::CurrentProjectFilter Files in Current Project Pliki w bieżącym projekcie - - - ProjectExplorer::Internal::CurrentProjectFind Project "%1" Projekt "%1" @@ -7362,9 +7310,6 @@ Wykluczenia: %2 Project "%1": Projekt "%1": - - - ProjectExplorer::DebuggingHelperLibrary The target directory %1 could not be created. Nie można utworzyć docelowego katalogu %1. @@ -7383,9 +7328,6 @@ Wykluczenia: %2 Nie znaleziono %1 w zmiennej PATH - - - DependenciesModel Unable to Add Dependency Nie można dodać zależności @@ -7394,9 +7336,6 @@ Wykluczenia: %2 This would create a circular dependency. Utworzyłoby to cykliczną zależność. - - - ProjectExplorer::EnvironmentWidget Ed&it Z&modyfikuj @@ -7456,27 +7395,16 @@ Wykluczenia: %2 - ProjectExplorer::Internal::ProcessStep - - Custom Process Step - Default ProcessStep display name - Własny krok procesu - + ::ProjectExplorer Custom Process Step item in combobox Własny krok procesu - - - ProjectExplorer::Internal::ProcessStepConfigWidget Custom Process Step Własny krok procesu - - - ProjectExplorer::ProjectExplorerPlugin &Build &Budowanie @@ -7601,10 +7529,6 @@ Wykluczenia: %2 C++ C++ - - Run - Uruchom - Close All Projects and Editors Zamknij wszystkie projekty i edytory @@ -7621,22 +7545,10 @@ Wykluczenia: %2 Run Without Deployment Uruchom z pominięciem instalowania - - Build - Zbuduj - Rebuild Przebuduj - - Clean - Wyczyść - - - Deploy - Zainstaluj - Add Existing Directory... Dodaj istniejący katalog... @@ -7658,10 +7570,6 @@ Wykluczenia: %2 Delete File... Usuń plik... - - Rename... - Zmień nazwę... - Diff Against Current File Pokaż różnice w stosunku do bieżącego pliku @@ -8002,10 +7910,6 @@ Czy, pomimo to, zmienić nazwę "%2" na "%3"? Load Project Załaduj projekt - - All Projects - Wszystkie projekty - New Project Title of dialog @@ -8056,16 +7960,10 @@ Czy, pomimo to, zmienić nazwę "%2" na "%3"? Could not delete file %1. Nie można usunąć pliku %1. - - - ProjectExplorer::Internal::ProjectExplorerSettingsPage General Ogólne - - - ProjectExplorer::Internal::ProjectFileWizardExtension Open project anyway? Czy otworzyć projekt mimo to? @@ -8086,9 +7984,6 @@ do projektu "%2". Nie można dodać jednego lub więcej plików do projektu "%1" (%2). - - - ProjectExplorer::Internal::ProjectTreeWidget Simplify Tree Uprość drzewo @@ -8105,9 +8000,6 @@ do projektu "%2". Synchronize with Editor Synchronizuj z edytorem - - - ProjectExplorer::Internal::ProjectTreeWidgetFactory Projects Projekty @@ -8124,13 +8016,6 @@ do projektu "%2". Filter Tree Przefiltruj drzewo - - - ProjectExplorer::Internal::ProjectWelcomePage - - Projects - Projekty - Open Session #%1 Otwórz sesję #%1 @@ -8195,9 +8080,6 @@ do projektu "%2". Recent Projects Ostatnie projekty - - - ProjectExplorer::Internal::ProjectWizardPage Summary Podsumowanie @@ -8206,10 +8088,6 @@ do projektu "%2". Add as a subproject to project: Dodaj podprojekt do projektu: - - Add to &project: - Dodaj do &projektu: - <None> <Brak> @@ -8230,21 +8108,10 @@ do projektu "%2". Files to be added in Pliki, które zostaną dodane w - - - ProjectExplorer::Internal::RunSettingsWidget Run Settings Ustawienia uruchamiania - - Add - Dodaj - - - Remove - Usuń - Deployment Instalacja @@ -8269,23 +8136,11 @@ do projektu "%2". Do you really want to delete the run configuration <b>%1</b>? Czy na pewno usunąć konfigurację uruchamiania <b>%1</b>? - - Rename... - Zmień nazwę... - - - &Clone Selected - S&klonuj wybraną - Clone Configuration Title of a the cloned RunConfiguration window, text of the window Sklonuj konfigurację - - New configuration name: - Nazwa nowej konfiguracji: - New name for run configuration <b>%1</b>: Nowa nazwa dla konfiguracji uruchamiania <b>%1</b>: @@ -8294,10 +8149,6 @@ do projektu "%2". Cancel Build && Remove Deploy Configuration Przerwij budowanie i usuń konfigurację instalacji - - Do Not Remove - Nie usuwaj - Remove Deploy Configuration %1? Usunąć konfigurację instalacji %1? @@ -8322,9 +8173,6 @@ do projektu "%2". New name for deploy configuration <b>%1</b>: Nowa nazwa dla konfiguracji instalacji <b>%1</b>: - - - ProjectExplorer::SessionManager Error while restoring session Błąd podczas przywracania sesji @@ -8373,9 +8221,6 @@ do projektu "%2". Untitled Nienazwany - - - ProjectExplorer::Internal::TaskDelegate File not found: %1 Brak pliku: %1 @@ -11359,20 +11204,12 @@ Dla projektów CMake, upewnij się, że zmienna QML_IMPORT_PATH jest obecna w CM - ProjectExplorer::BaseProjectWizardDialog + ::ProjectExplorer untitled File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. nienazwany - - - ProjectExplorer::BuildConfiguration - - Build - Display name of the build build step list. Used as part of the labels in the project window. - budowania - Clean Display name of the clean build step list. Used as part of the labels in the project window. @@ -11402,9 +11239,6 @@ Dla projektów CMake, upewnij się, że zmienna QML_IMPORT_PATH jest obecna w CM Clean Environment Czyste środowisko - - - ProjectExplorer::BuildEnvironmentWidget Clear system environment Wyczyść środowisko systemowe @@ -11422,7 +11256,7 @@ Dla projektów CMake, upewnij się, że zmienna QML_IMPORT_PATH jest obecna w CM - ProjectExplorer::CustomWizard + ::ProjectExplorer URI: URI: @@ -11547,30 +11381,18 @@ Dla projektów CMake, upewnij się, że zmienna QML_IMPORT_PATH jest obecna w CM Qt Quick 2 Extension Plugin Wtyczka z rozszerzeniem Qt Quick 2 - - - ProjectExplorer::Internal::CustomWizardPage Path: Ścieżka: - - - ProjectExplorer::Internal::DependenciesModel <No other projects in this session> <Brak innych projektów w tej sesji> - - - DependenciesPanelFactory Dependencies Zależności - - - EditorSettingsPanelFactory Editor Edytor @@ -11612,7 +11434,7 @@ Dla projektów CMake, upewnij się, że zmienna QML_IMPORT_PATH jest obecna w CM - ProjectExplorer::Internal::MiniProjectTargetSelector + ::ProjectExplorer Project Projekt @@ -11625,14 +11447,6 @@ Dla projektów CMake, upewnij się, że zmienna QML_IMPORT_PATH jest obecna w CM Kit Zestaw narzędzi - - Deploy - Instalacja - - - Run - Do uruchomienia - Unconfigured Nieskonfigurowane @@ -11693,44 +11507,22 @@ Dla projektów CMake, upewnij się, że zmienna QML_IMPORT_PATH jest obecna w CM <style type=text/css>a:link {color: rgb(128, 128, 255, 240);}</style>The project <b>%1</b> is not yet configured<br/><br/>You can configure it in the <a href="projectmode">Projects mode</a><br/> <style type=text/css>a:link {color: rgb(128, 128, 255, 240);}</style>Projekt <b>%1</b> nie został skonfigurowany<br/><br/>Można go skonfigurować w <a href="projectmode">trybie "Projekty"</a><br/> - - - ProjectExplorer::ProjectConfiguration Clone of %1 Klon %1 - - - ::ProjectExplorer Build & Run Budowanie i uruchamianie - - Other Project - Inne projekty - Application Aplikacja - - Library - Biblioteka - - - Import Project - Projekty zaimportowane - Devices Urządzenia - - Name of current build - Nazwa bieżącej wersji - Main file of current project Plik główny bieżącego projektu @@ -11743,10 +11535,6 @@ Dla projektów CMake, upewnij się, że zmienna QML_IMPORT_PATH jest obecna w CM Type of current build Rodzaj bieżącej wersji - - The currently active run configuration's name. - Nazwa aktywnej konfiguracji uruchamiania. - GenericProjectManager::GenericTarget @@ -12284,7 +12072,7 @@ które można ustawić poniżej. - ProjectExplorer::Internal::SessionNameInputDialog + ::ProjectExplorer Enter the name of the session: Podaj nazwę sesji: @@ -13348,7 +13136,7 @@ zamiast w jego katalogu instalacyjnym. - ProjectExplorer::Internal::BuildStepListWidget + ::ProjectExplorer %1 Steps %1 is the name returned by BuildStepList::displayName @@ -13390,9 +13178,6 @@ zamiast w jego katalogu instalacyjnym. No Build Steps Brak kroków procesu budowania - - - ProjectExplorer::Internal::CopyTaskHandler error: Task is of type: error @@ -13403,9 +13188,6 @@ zamiast w jego katalogu instalacyjnym. Task is of type: warning ostrzeżenie: - - - ProjectExplorer::DeployConfiguration Deploy Display name of the deploy build step list. Used as part of the labels in the project window. @@ -13420,16 +13202,10 @@ zamiast w jego katalogu instalacyjnym. Deploy Settings Ustawienia instalowania - - - ProjectExplorer::DeployConfigurationFactory Deploy Configuration Konfiguracja instalacji - - - ProjectExplorer::RunControl Application Still Running Program wciąż uruchomiony @@ -13466,9 +13242,6 @@ zamiast w jego katalogu instalacyjnym. Invalid Niepoprawny - - - ProjectExplorer::Internal::ShowInEditorTaskHandler Show in Editor Pokaż w edytorze @@ -13477,9 +13250,6 @@ zamiast w jego katalogu instalacyjnym. Show task location in an editor. Pokaż położenie zadania w edytorze. - - - ProjectExplorer::Internal::ShowOutputTaskHandler Show &Output Pokaż &wyjście @@ -13492,9 +13262,6 @@ zamiast w jego katalogu instalacyjnym. O O - - - ProjectExplorer::Internal::TaskWindow Issues Problemy @@ -13507,9 +13274,6 @@ zamiast w jego katalogu instalacyjnym. Filter by categories Przefiltruj według kategorii - - - ProjectExplorer::UserFileHandler No deployment Brak instalacji @@ -13518,9 +13282,6 @@ zamiast w jego katalogu instalacyjnym. Deploy to Maemo device Zainstaluj na urządzeniu Maemo - - - ProjectExplorer::Internal::VcsAnnotateTaskHandler &Annotate Dołącz &adnotację @@ -13691,7 +13452,7 @@ Adds the library and include paths to the .pro file. - TaskList::Internal::StopMonitoringHandler + ::ProjectExplorer Stop Monitoring Zatrzymaj monitorowanie @@ -13806,7 +13567,7 @@ Adds the library and include paths to the .pro file. - ProjectExplorer::BuildableHelperLibrary + ::ProjectExplorer Cannot start process: %1 Nie można uruchomić procesu: %1 @@ -13845,12 +13606,6 @@ Adds the library and include paths to the .pro file. Running %1 %2 ... Uruchamianie %1 %2 ... - - - - %1 not found in PATH - - Nie znaleziono %1 w zmiennej PATH @@ -15703,14 +15458,11 @@ Ponowić próbę? - ProjectExplorer::Internal::GccToolChainFactory + ::ProjectExplorer GCC GCC - - - ProjectExplorer::Internal::GccToolChainConfigWidget &Compiler path: Ścieżka do &kompilatora: @@ -15727,52 +15479,22 @@ Ponowić próbę? &ABI: &ABI: - - - ProjectExplorer::Internal::MingwToolChainFactory MinGW MinGW - - - ProjectExplorer::Internal::LinuxIccToolChainFactory Linux ICC Linux ICC - - - ProjectExplorer::Internal::MsvcToolChainFactory MSVC MSVC - - - ProjectExplorer::ProjectsMode - - Projects - Projekty - - - - ProjectExplorer::ToolChain - - Clone of %1 - Klon %1 - - - - ProjectExplorer::Internal::ToolChainOptionsPage Compilers Kompilatory - - Add - Dodaj - <nobr><b>ABI:</b> %1 <nobr><b>ABI:</b> %1 @@ -15797,14 +15519,6 @@ Ponowić próbę? Manual Ustawione ręcznie - - Clone - Sklonuj - - - Remove - Usuń - Duplicate Compilers Detected Wykryto powielone kompilatory @@ -17230,14 +16944,11 @@ With cache simulation, further event counters are enabled: - ProjectExplorer::AbiWidget + ::ProjectExplorer <custom> <własny> - - - ProjectExplorer::Internal::AppOutputPane Stop Zatrzymaj @@ -17270,14 +16981,6 @@ With cache simulation, further event counters are enabled: Stop Running Program Zatrzymaj uruchomiony program - - Increase Font Size - Zwiększ rozmiar czcionki - - - Decrease Font Size - Zmniejsz rozmiar czcionki - Application Output Komunikaty aplikacji @@ -17286,16 +16989,10 @@ With cache simulation, further event counters are enabled: Application Output Window Okno z komunikatami aplikacji - - - CodeStyleSettingsPanelFactory Code Style Styl kodu - - - ProjectExplorer::EditorConfiguration Project Settings @@ -17306,9 +17003,6 @@ With cache simulation, further event counters are enabled: Settings, %1 is a language (C++ or QML) Projektu %1 - - - ProjectExplorer::Internal::ClangToolChainFactory Clang Clang @@ -18350,7 +18044,7 @@ Dodatkowo, przetestowane zostanie połączenie z urządzeniem. - ProjectExplorer::SettingsAccessor + ::ProjectExplorer Unsupported Shared Settings File Nieobsługiwany plik z dzielonymi ustawieniami @@ -19553,7 +19247,7 @@ Przedrostki te, w dodatku do nazwy bieżącego pliku, używane są do przełącz - ProjectExplorer::Internal::CodeStyleSettingsPropertiesPage + ::ProjectExplorer Form Formularz @@ -19562,9 +19256,6 @@ Przedrostki te, w dodatku do nazwy bieżącego pliku, używane są do przełącz Language: Język: - - - ProjectExplorer::Internal::DeviceFactorySelectionDialog Device Configuration Wizard Selection Wybór kreatora konfiguracji urządzenia @@ -19577,9 +19268,6 @@ Przedrostki te, w dodatku do nazwy bieżącego pliku, używane są do przełącz Start Wizard Uruchom kreatora - - - ProjectExplorer::Internal::DeviceSettingsWidget Linux Device Configurations Konfiguracje urządzenia linuksowego @@ -19588,18 +19276,10 @@ Przedrostki te, w dodatku do nazwy bieżącego pliku, używane są do przełącz &Device: Urzą&dzenie: - - General - Ogólne - &Name: &Nazwa: - - Type: - Typ: - Auto-detected: Automatycznie wykryte: @@ -19632,10 +19312,6 @@ Przedrostki te, w dodatku do nazwy bieżącego pliku, używane są do przełącz No Nie - - Test - Przetestuj - Show Running Processes... Pokazuj uruchomione procesy... @@ -21830,7 +21506,7 @@ were not verified among remotes in %3. Select different folder? - ProjectExplorer::DesktopDevice + ::ProjectExplorer Local PC Lokalny PC @@ -21839,23 +21515,10 @@ were not verified among remotes in %3. Select different folder? Desktop Desktop - - - ProjectExplorer::Internal::DesktopDeviceFactory - - Desktop - Desktop - - - - ProjectExplorer::DeviceManagerModel %1 (default for %2) %1 (domyślne dla %2) - - - ProjectExplorer::DeviceProcessesDialog Kit: Zestaw narzędzi: @@ -21884,16 +21547,10 @@ were not verified among remotes in %3. Select different folder? &Attach to Process &Dołącz do procesu - - - ProjectExplorer::Internal::DeviceProcessesDialogPrivate Remote Error Zdalny błąd - - - ProjectExplorer::DeviceProcessList Process ID Identyfikator procesu @@ -21902,16 +21559,6 @@ were not verified among remotes in %3. Select different folder? Command Line Linia komend - - - ProjectExplorer::Internal::DeviceSettingsPage - - Devices - Urządzenia - - - - ProjectExplorer::DeviceUsedPortsGatherer Connection error: %1 Błąd połączenia: %1 @@ -21928,16 +21575,10 @@ were not verified among remotes in %3. Select different folder? Remote error output was: %1 Zawartość zdalnego wyjścia z błędami: %1 - - - ProjectExplorer::IDevice Device Urządzenie - - - ProjectExplorer::SshDeviceProcessList Connection failure: %1 Błąd połączenia: %1 @@ -21962,16 +21603,10 @@ were not verified among remotes in %3. Select different folder? Remote stderr was: %1 Zawartość zdalnego stderr: %1 - - - ProjectExplorer::Internal::ProjectListWidget %1 (%2) %1 (%2) - - - ProjectExplorer::Internal::SysRootInformationConfigWidget The root directory of the system image to use.<br>Leave empty when building for the desktop. Główny katalog obrazu systemu.<br>Można pozostawić pustym podczas budowania dla desktopu. @@ -21980,9 +21615,6 @@ were not verified among remotes in %3. Select different folder? Sysroot: Sysroot: - - - ProjectExplorer::Internal::ToolChainInformationConfigWidget The compiler to use for building.<br>Make sure the compiler will produce binaries compatible with the target device, Qt version and other libraries used. Kompilator, który ma być użyty do budowania.<br>Upewnij się, że kompilator zdoła wyprodukować pliki binarne kompatybilne z urządzeniem docelowym, wersją Qt i innymi użytymi bibliotekami. @@ -21995,9 +21627,6 @@ were not verified among remotes in %3. Select different folder? Compiler: Kompilator: - - - ProjectExplorer::Internal::DeviceTypeInformationConfigWidget The type of device to run applications on. Typ urządzenia, na którym mają być uruchamiane aplikacje. @@ -22006,9 +21635,6 @@ were not verified among remotes in %3. Select different folder? Device type: Typ urządzenia: - - - ProjectExplorer::Internal::DeviceInformationConfigWidget The device to run the applications on. Urządzenie, na którym mają być uruchamiane aplikacje. @@ -22017,9 +21643,6 @@ were not verified among remotes in %3. Select different folder? Device: Urządzenie: - - - ProjectExplorer::Internal::SessionModel Session Sesja @@ -22052,10 +21675,6 @@ were not verified among remotes in %3. Select different folder? Rename Session Zmień nazwę sesji - - &Rename - Z&mień nazwę - Rename and &Open Zmień nazwę i &otwórz @@ -23066,7 +22685,7 @@ You can choose another communication channel here, such as a serial line or cust - ProjectExplorer::ToolChainConfigWidget + ::ProjectExplorer Name: Nazwa: @@ -23195,15 +22814,11 @@ You can choose another communication channel here, such as a serial line or cust - ProjectExplorer::Kit + ::ProjectExplorer Unnamed Nienazwany - - Kit - Zestaw narzędzi - Kit ID Identyfikator zestawu narzędzi @@ -23212,10 +22827,6 @@ You can choose another communication channel here, such as a serial line or cust Kit filesystem-friendly name Nazwa zestawu narzędzi w wersji przyjaznej dla systemu plików - - The name of the currently active kit. - Nazwa aktywnego zestawu narzędzi. - The name of the currently active kit in a filesystem-friendly version. Nazwa aktywnego zestawu narzędzi w wersji przyjaznej dla systemu plików. @@ -23224,10 +22835,6 @@ You can choose another communication channel here, such as a serial line or cust The id of the currently active kit. Identyfikator aktywnego zestawu narzędzi. - - Clone of %1 - Klon %1 - Error: Błąd: @@ -23236,9 +22843,6 @@ You can choose another communication channel here, such as a serial line or cust Warning: Ostrzeżenie: - - - ProjectExplorer::SysRootKitInformation Sys Root "%1" does not exist in the file system. Sys Root "%1" nie istnieje w systemie plików. @@ -23255,9 +22859,6 @@ You can choose another communication channel here, such as a serial line or cust Sys Root Sys Root - - - ProjectExplorer::ToolChainKitInformation Compilers produce code for different ABIs. Kompilatory generują kod dla innych ABI. @@ -23286,9 +22887,6 @@ You can choose another communication channel here, such as a serial line or cust No compiler set in kit. Brak ustawionego kompilatora w zestawie narzędzi. - - - ProjectExplorer::DeviceTypeKitInformation Unknown device type Nieznany typ urządzenia @@ -23297,9 +22895,6 @@ You can choose another communication channel here, such as a serial line or cust Device type Typ urządzenia - - - ProjectExplorer::DeviceKitInformation No device set. Brak ustawionego urządzenia. @@ -23308,14 +22903,6 @@ You can choose another communication channel here, such as a serial line or cust Device is incompatible with this kit. Urządzenie nie jest kompatybilne z tym zestawem narzędzi. - - Device - Urządzenie - - - Unconfigured - Nieskonfigurowane - Host address Adres hosta @@ -23336,20 +22923,6 @@ You can choose another communication channel here, such as a serial line or cust Device name Nazwa urządzenia - - - ProjectExplorer::KitManager - - Desktop - Desktop - - - - ProjectExplorer::Internal::KitManagerConfigWidget - - Name: - Nazwa: - Kit name and icon. Nazwa i ikona zestawu narzędzi. @@ -23386,48 +22959,14 @@ You can choose another communication channel here, such as a serial line or cust Images (*.png *.xpm *.jpg) Pliki graficzne (*.png *.xpm *.jpg) - - - ProjectExplorer::Internal::KitModel - - Auto-detected - Automatycznie wykryte - - - Manual - Ustawione ręcznie - %1 (default) %1 (domyślny) - - Name - Nazwa - - - Clone of %1 - Klon %1 - - - - ProjectExplorer::KitOptionsPage Kits Zestawy narzędzi - - Add - Dodaj - - - Clone - Sklonuj - - - Remove - Usuń - Make Default Ustaw jako domyślny @@ -23571,11 +23110,7 @@ You can choose another communication channel here, such as a serial line or cust - ProjectExplorer::RunConfiguration - - Run Settings - Ustawienia uruchamiania - + ::ProjectExplorer Variables in the current run environment Zmienne w bieżącym środowisku uruchamiania @@ -23750,11 +23285,7 @@ Można używać nazw częściowych, jeśli są one unikalne. - ProjectExplorer::DesktopDeviceConfigurationWidget - - Form - Formularz - + ::ProjectExplorer Machine type: Typ maszyny: @@ -25288,14 +24819,11 @@ Zdalny: %4 - ProjectExplorer::Internal::CustomToolChainFactory + ::ProjectExplorer Custom Własny - - - ProjectExplorer::Internal::TextEditDetailsWidget %n entries @@ -25308,9 +24836,6 @@ Zdalny: %4 Empty Brak - - - ProjectExplorer::Internal::CustomToolChainConfigWidget Custom Parser Settings... Własne ustawienia parsera... @@ -25331,18 +24856,10 @@ Zdalny: %4 Comma-separated list of mkspecs. Oddzielona przecinkami lista mkspec'ów. - - &Compiler path: - Ścieżka do &kompilatora: - &Make path: Ścieżka do "&make": - - &ABI: - &ABI: - &Predefined macros: &Predefiniowane makra: @@ -25363,9 +24880,6 @@ Zdalny: %4 &Error parser: &Błąd parsowania: - - - ProjectExplorer::DeviceCheckBuildStep No device configured. Brak skonfigurowanego urządzenia. @@ -25382,45 +24896,18 @@ Zdalny: %4 Check for a configured device Wyszukaj skonfigurowane urządzenie - - - ProjectExplorer::EnvironmentAspect Run Environment Środowisko uruchamiania - - - ProjectExplorer::EnvironmentAspectWidget Base environment for this run configuration: Podstawowe środowisko dla tej konfiguracji uruchamiania: - - - ProjectExplorer::GccToolChain %1 (%2, %3 %4 in %5) %1 (%2, %3 %4 w %5) - - - ProjectExplorer::LocalEnvironmentAspect - - Build Environment - Środowisko budowania - - - System Environment - Środowisko systemowe - - - Clean Environment - Czyste środowisko - - - - ProjectExplorer::Internal::RemoveTaskHandler Remove Name of the action triggering the removetaskhandler @@ -26376,7 +25863,7 @@ Zdalny: %4 - ProjectExplorer::Internal::CustomParserConfigDialog + ::ProjectExplorer Custom Parser Własny parser @@ -26413,10 +25900,6 @@ Zdalny: %4 File name: Nazwa pliku: - - TextLabel - Etykietka - Line number: Numer linii: @@ -26465,9 +25948,6 @@ Zdalny: %4 Warning message: Komunikat z ostrzeżeniem: - - - ProjectExplorer::Internal::DeviceTestDialog Device Test Test urządzenia @@ -27473,30 +26953,11 @@ Czy odinstalować istniejący pakiet? - CustomToolChain - - GCC - GCC - - - Clang - Clang - + ::ProjectExplorer ICC ICC - - MSVC - MSVC - - - Custom - Własny - - - - ProjectExplorer::DesktopProcessSignalOperation Cannot kill process with pid %1: %2 Nie można zakończyć procesu z pid %1: %2 @@ -27533,9 +26994,6 @@ Czy odinstalować istniejący pakiet? could not break the process. nie można przerwać procesu. - - - ProjectExplorer::SshDeviceProcess Internal error Błąd wewnętrzny @@ -27552,9 +27010,6 @@ Czy odinstalować istniejący pakiet? Terminated by request. Zakończono na żądanie. - - - ProjectExplorer::Internal::ImportWidget Import Build From... Zaimportuj wersję z... @@ -27563,18 +27018,12 @@ Czy odinstalować istniejący pakiet? Import Zaimportuj - - - ProjectExplorer::OsParser The process can not access the file because it is being used by another process. Please close all running instances of your application before starting a build. Proces nie ma dostępu do pliku, ponieważ plik jest używany przez inny proces. Proszę zamknąć wszystkie instancje tej aplikacji przed uruchomieniem budowania. - - - ProjectExplorer::ProjectImporter No Build Found Brak zbudowanej wersji @@ -27611,7 +27060,7 @@ Proszę zamknąć wszystkie instancje tej aplikacji przed uruchomieniem budowani - ProjectExplorer::TargetSetupPage + ::ProjectExplorer <span style=" font-weight:600;">No valid kits found.</span> <span style=" font-weight:600;">Brak poprawnych zestawów narzędzi.</span> @@ -27632,18 +27081,11 @@ Proszę zamknąć wszystkie instancje tej aplikacji przed uruchomieniem budowani Kit Selection Wybór zestawu narzędzi - - Kits - Zestawy narzędzi - Qt Creator can use the following kits for project <b>%1</b>: %1: Project name Qt Creator może ustawić następujące zestawy narzędzi dla projektu <b>%1</b>: - - - ProjectExplorer::Internal::TargetSetupWidget <b>Error:</b> Severity is Task::Error @@ -28866,21 +28308,15 @@ Czy przerwać ją? - ProjectExplorer::KitConfigWidget + ::ProjectExplorer Manage... Zarządzaj... - - - ProjectExplorer::SelectableFilesDialogEditFiles Edit Files Zmodyfikuj pliki - - - ProjectExplorer::SelectableFilesDialogAddDirectory Add Existing Directory Dodaj istniejący katalog @@ -29205,11 +28641,7 @@ Instalowanie lokalnych bibliotek Qt nie jest kompatybilne z Androidem 5. - ProjectExplorer::DeploymentDataView - - Form - Formularz - + ::ProjectExplorer Files to deploy: Pliki do zainstalowania: @@ -30685,7 +30117,7 @@ Dotyczy to następujących pułapek: %1 - ProjectExplorer::JsonWizard + ::ProjectExplorer "data" for a "Form" page needs to be unset or an empty object. "data" na stronie "Form" powinna pozostać nieustawiona lub być pustym obiektem. @@ -30863,10 +30295,6 @@ Dotyczy to następujących pułapek: %1 Source file: Plik źródłowy: - - Path: - Ścieżka: - Define Class Zdefiniuj klasę @@ -30879,22 +30307,10 @@ Dotyczy to następujących pułapek: %1 This wizard creates a simple unit test project. - - Project Management - Organizacja projektu - - - Summary - Podsumowanie - Creates a C++ header and a source file for a new class that you can add to a C++ project. Tworzy plik nagłówkowy i plik źródłowy dla nowej klasy, które można dodać do projektu C++. - - C++ - C++ - C++ Class Klasa C++ @@ -31119,10 +30535,6 @@ Dotyczy to następujących pułapek: %1 Creates a scratch buffer using a temporary file. - - General - Ogólne - Scratch Buffer @@ -31171,14 +30583,6 @@ Dotyczy to następujących pułapek: %1 Build System System budowania - - Kit Selection - Wybór zestawu narzędzi - - - Kits - Zestawy narzędzi - Non-Qt Project Projekt nieużywający Qt @@ -31203,10 +30607,6 @@ Preselects a desktop Qt for building the application if available. Używa desktopowego Qt do budowania aplikacji, jeśli jest on dostępny. - - Application - Aplikacja - Qt Console Application Aplikacja konsolowa Qt @@ -31219,10 +30619,6 @@ Używa desktopowego Qt do budowania aplikacji, jeśli jest on dostępny.Creates a qmake-based project without any files. This allows you to create an application without any default classes. Tworzy pusty projekt używający qmake. Umożliwia to utworzenie aplikacji niezawierającej domyślnych klas. - - Other Project - Inne projekty - Empty qmake Project Pusty projekt qmake @@ -31493,10 +30889,6 @@ Use this only if you are prototyping. You cannot create a full application with Running Bazaar branch... - - Clone - Sklonuj - Clones a Bazaar branch and tries to load the contained project. @@ -32174,7 +31566,7 @@ Use this only if you are prototyping. You cannot create a full application with - ProjectExplorer::DeploymentDataModel + ::ProjectExplorer Local File Path Ścieżka do lokalnego pliku @@ -32183,9 +31575,6 @@ Use this only if you are prototyping. You cannot create a full application with Remote Directory Zdalny katalog - - - ProjectExplorer::JsonFieldPage Field is not an object. Pole nie jest obiektem. @@ -32298,17 +31687,6 @@ Use this only if you are prototyping. You cannot create a full application with Source and target are both empty. Oba pliki, źródłowy i docelowy, są jednocześnie puste. - - - ProjectExplorer::JsonProjectPage - - untitled - File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. - nienazwany - - - - ProjectExplorer::JsonSummaryPage Failed to Commit to Version Control Nie można utworzyć poprawki w systemie kontroli wersji @@ -32321,21 +31699,6 @@ Use this only if you are prototyping. You cannot create a full application with Failed to Add to Project Nie można dodać do projektu - - Failed to add subproject "%1" -to project "%2". - Nie można dodać podprojektu "%1" -do projektu "%2". - - - Failed to add one or more files to project -"%1" (%2). - Nie można dodać jednego lub więcej plików do projektu -"%1" (%2). - - - - ProjectExplorer::JsonWizardFactory Generator is not a object. Generator nie jest obiektem. @@ -32476,9 +31839,6 @@ do projektu "%2". When parsing "pages": %1 W trakcie parsowania "pages": %1 - - - ProjectExplorer::JsonWizardGenerator %1 [folder] %1 [katalog] @@ -32497,16 +31857,10 @@ do projektu "%2". Katalog %1 zawiera pliki które nie mogą być nadpisane: %2. - - - ProjectExplorer::EnvironmentKitInformation The environment setting value is invalid. Niepoprawna wartość ustawienia środowiska. - - - ProjectExplorer::Internal::KitEnvironmentConfigWidget Change... Zmień... @@ -32523,13 +31877,6 @@ do projektu "%2". No changes to apply. Brak zmian do zastosowania. - - - ProjectExplorer::Project - - Project - Projekt - Project Name Nazwa projektu @@ -32562,17 +31909,10 @@ do projektu "%2". Some configurations could not be copied. Nie można skopiować niektórych konfiguracji. - - - ProjectWizard The files are implicitly added to the projects: Pliki, które zostały niejawnie dodane do projektów: - - <None> - <Brak> - <Implicitly Add> <Niejawnie dodaj> @@ -32598,7 +31938,7 @@ do projektu "%2". - ProjectExplorer::EnvironmentIdAccessor + ::ProjectExplorer <p>No .user settings file created by this instance of Qt Creator was found.</p><p>Did you work with this project on another machine or using a different settings path before?</p><p>Do you still want to load the settings file "%1"?</p> <p>Brak pliku .user z ustawieniami, utworzonego przez tego Qt Creatora.</p><p>Czy pracowałeś z tym projektem na innej maszynie lub używałeś innej ścieżki do ustawień?</p><p>Czy załadować plik "%1" z ustawieniami?</p> @@ -32607,9 +31947,6 @@ do projektu "%2". Settings File for "%1" from a different Environment? Plik z ustawieniami dla "%1" z innego środowiska? - - - ProjectExplorer::Target Target Settings Katalog docelowy @@ -32618,9 +31955,6 @@ do projektu "%2". Source directory Katalog źródłowy - - - ProjectExplorer::Task Qt Creator needs a compiler set up to build. Configure a compiler in the kit options. Do budowy Qt Creator wymaga ustawionego kompilatora. Skonfiguruj go w opcjach zestawu narzędzi. @@ -32633,9 +31967,6 @@ do projektu "%2". You asked to build the current Run Configuration's build target only, but it is not associated with a build target. Update the Make Step in your build settings. - - - ProjectExplorer::XcodebuildParser Replacing signature Zastępowanie podpisu @@ -32918,7 +32249,7 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan - TaskList::Internal::TaskListPlugin + ::ProjectExplorer Cannot open task file %1: %2 Nie można otworzyć pliku z zadaniem %1: %2 @@ -34074,7 +33405,7 @@ Ustawianie pułapek w liniach plików może się nie udać. - ProjectExplorer::JsonKitsPage + ::ProjectExplorer Feature list is set and not of type list. Ustawiono listę funkcjonalności, lecz wartość nie jest typu listy. @@ -34087,9 +33418,6 @@ Ustawianie pułapek w liniach plików może się nie udać. Feature list element is not a string or object. Element listy funkcjonalności nie jest ciągiem tekstowym ani obiektem. - - - ProjectExplorer::Internal::JsonWizard Key is not an object. Klucz nie jest obiektem. @@ -34102,16 +33430,10 @@ Ustawianie pułapek w liniach plików może się nie udać. ScannerGenerator: Binary pattern "%1" not valid. ScannerGenerator: niepoprawny wzorzec binarny "%1". - - - ProjectExplorer::ProjectTree <b>Warning:</b> This file is outside the project directory. <b>Ostrzeżenie:</b> Ten plik leży poza katalogiem projektu. - - - ProjectExplorer::TerminalAspect Terminal Terminal @@ -34120,9 +33442,6 @@ Ustawianie pułapek w liniach plików może się nie udać. Run in terminal Uruchom w terminalu - - - ProjectExplorer::WorkingDirectoryAspect Working Directory Katalog roboczy @@ -34135,13 +33454,6 @@ Ustawianie pułapek w liniach plików może się nie udać. Reset to Default Przywróć domyślny - - Working directory: - Katalog roboczy: - - - - ProjectExplorer::ArgumentsAspect Arguments Argumenty @@ -35803,7 +35115,7 @@ itself takes time. - ProjectExplorer::Internal::DependenciesWidget + ::ProjectExplorer Synchronize configuration Zsynchronizuj konfigurację @@ -35812,23 +35124,14 @@ itself takes time. Synchronize active kit, build, and deploy configuration between projects. Zsynchronizuj aktywny zestaw narzędzi, konfigurację budowania i instalacji pomiędzy projektami. - - - ProjectExplorer::EnvironmentValidator Variable already exists. Zmienna już istnieje. - - - ProjectExplorer::Internal::JsonWizardFileGenerator No 'key' in options object. Brak "klucza" w opcjach obiektu. - - - ProjectExplorer::SelectableFilesWidget Source directory: Katalog źródłowy: @@ -35869,9 +35172,6 @@ Te pliki są zabezpieczone. Te pliki są zabezpieczone. - - - ProjectExplorer::Internal::WaitForStopDialog Waiting for Applications to Stop Oczekiwanie na zatrzymanie aplikacji @@ -37498,26 +36798,16 @@ Czy nadpisać go? - ProjectExplorer::Internal::MsvcBasedToolChainConfigWidget + ::ProjectExplorer Initialization: Inicjalizacja: - - - ProjectExplorer::Internal::ClangClToolChainConfigWidget LLVM: LLVM: - - ProjectExplorer::ClangToolChainFactory - - Clang - Clang - - ::QmlProfiler @@ -38415,25 +37705,15 @@ Komunikat: - ProjectExplorer::Internal::CustomExecutableConfigurationWidget + ::ProjectExplorer Executable: Plik wykonywalny: - - Working directory: - Katalog roboczy: - - - - ProjectExplorer::CustomExecutableDialog Could not find the executable, please specify one. Nie można odnaleźć pliku wykonywalnego. Podaj go. - - - ProjectExplorer::CustomExecutableRunConfiguration No executable. Brak pliku wykonywalnego. @@ -38450,17 +37730,6 @@ w ścieżce. Custom Executable Własny plik wykonywalny - - Run %1 - Uruchom %1 - - - - ProjectExplorer::CustomExecutableRunConfigurationFactory - - Custom Executable - Własny plik wykonywalny - ::QmakeProjectManager @@ -39498,19 +38767,11 @@ Wskakiwanie do wnętrza modułu lub ustawianie pułapek w plikach powinno dział - ProjectExplorer::Internal::ProjectWindow + ::ProjectExplorer Project Settings Ustawienia projektu - - Build & Run - Budowanie i uruchamianie - - - Projects - Projekty - Import Existing Build... Zaimportuj istniejącą wersję... @@ -39531,9 +38792,6 @@ Wskakiwanie do wnętrza modułu lub ustawianie pułapek w plikach powinno dział Active Project Aktywny projekt - - - TargetSettingsPanelWidget Configure Project Skonfiguruj projekt @@ -39566,10 +38824,6 @@ Wskakiwanie do wnętrza modułu lub ustawianie pułapek w plikach powinno dział Cancel Build and Disable Kit in This Project Anuluj budowanie i zablokuj zestaw narzędzi w tym projekcie - - Do Not Remove - Nie usuwaj - Disable Kit %1 in This Project? Czy zablokować zestaw narzędzi %1 w tym projekcie? @@ -39586,29 +38840,14 @@ Wskakiwanie do wnętrza modułu lub ustawianie pułapek w plikach powinno dział Copy Steps From Another Kit... Kopiuj kroki z innego zestawu narzędzi... - - Build - Budowanie - - - Run - Uruchamianie - Enable Kit Odblokuj zestaw narzędzi - - - TargetSettingsPanelItem No kit defined in this project. Brak zdefiniowanego zestawu narzędzi dla tego projektu. - - Configure Project - Skonfiguruj projekt - ::QbsProjectManager @@ -41273,7 +40512,7 @@ Termin wygaśnięcia: %3 - ProjectExplorer::Internal::AbstractMsvcToolChain + ::ProjectExplorer Failed to retrieve MSVC Environment from "%1": %2 @@ -41325,35 +40564,22 @@ Termin wygaśnięcia: %3 - ProjectExplorer::BuildStep + ::ProjectExplorer Build Step Krok budowania - - - ProjectExplorer::Internal::SessionDelegate session Appears in "Open session <name>" sesja - - - ProjectExplorer::Internal::ProjectDelegate project Appears in "Open project <name>" projekt - - ProjectExplorer::ToolChainManager - - None - Brak - - ::QmakeProjectManager @@ -41930,7 +41156,7 @@ Błąd: %5 - ProjectExplorer::PortsGatherer + ::ProjectExplorer Checking available ports... Sprawdzanie dostępnych portów... @@ -41939,27 +41165,14 @@ Błąd: %5 Found %1 free ports Znaleziono %1 wolnych portów - - - ProjectExplorer::Internal::RunControlPrivate Unexpected run control state %1 when worker %2 started. - - - TaskHub - - Error - Błąd - Warning Ostrzeżenie - - - ProjectExplorer::SimpleTargetRunner %1 crashed. %1 przerwał pracę. @@ -41968,9 +41181,6 @@ Błąd: %5 %2 exited with code %1 %2 zakończone kodem %1 - - - ProjectExplorer::Internal::RunWorkerPrivate Worker start timed out. @@ -41979,9 +41189,6 @@ Błąd: %5 Worker stop timed out. - - - ProjectExplorer::RunWorker The process failed to start. Błąd uruchamiania procesu. diff --git a/share/qtcreator/translations/qtcreator_ru.ts b/share/qtcreator/translations/qtcreator_ru.ts index ac070a34d5e..b08252651ed 100644 --- a/share/qtcreator/translations/qtcreator_ru.ts +++ b/share/qtcreator/translations/qtcreator_ru.ts @@ -7959,7 +7959,7 @@ p, li { white-space: pre-wrap; } - CodeStyleSettingsPanelFactory + ::ProjectExplorer Code Style Стиль кода @@ -13039,7 +13039,7 @@ Do you want to display them anyway? - CustomToolChain + ::ProjectExplorer Parser for toolchain %1 Разборщик для инструментария %1 @@ -17930,7 +17930,7 @@ Stepping into the module or setting breakpoints by file and line is expected to - DependenciesModel + ::ProjectExplorer Unable to Add Dependency Не удалось добавить зависимость @@ -17939,9 +17939,6 @@ Stepping into the module or setting breakpoints by file and line is expected to This would create a circular dependency. Это создаст циклическую зависимость. - - - DependenciesPanelFactory Dependencies Зависимости @@ -18538,7 +18535,7 @@ Rebuilding the project might help. - EditorSettingsPanelFactory + ::ProjectExplorer Editor Редактор @@ -18639,14 +18636,11 @@ Rebuilding the project might help. - EnvironmentPanelFactory + ::ProjectExplorer Environment Среда - - - EnvironmentWidget Add ... Добавить... @@ -28468,14 +28462,11 @@ You might find further explanations in the Application Output view. - ProjectEnvironmentWidget + ::ProjectExplorer Project Environment Среда проекта - - - ::ProjectExplorer Build & Run Сборка и запуск @@ -28532,16 +28523,10 @@ You might find further explanations in the Application Output view. Kit is not valid. Комплект неверен. - - - ProjectExplorer::AbiWidget <custom> <особое> - - - ProjectExplorer::AbstractProcessStep Configuration is faulty. Check the Issues view for details. Конфигурация неисправна. Окно «Проблемы» содержит подробную информацию. @@ -28570,9 +28555,6 @@ You might find further explanations in the Application Output view. Could not start process "%1" %2 Невозможно запустить процесс «%1» %2 - - - ProjectExplorer::ApplicationLauncher User requested stop. Shutting down... Пользователь запросил останов. Завершение... @@ -28617,9 +28599,6 @@ You might find further explanations in the Application Output view. Application finished with exit code 0. Приложение завершилось с кодом 0. - - - ProjectExplorer::ArgumentsAspect Arguments Параметры @@ -28632,17 +28611,11 @@ You might find further explanations in the Application Output view. Command line arguments: Параметры командной строки: - - - ProjectExplorer::BaseProjectWizardDialog untitled File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. untitled - - - ProjectExplorer::BaseTriStateAspect Enable Включить @@ -28655,9 +28628,6 @@ You might find further explanations in the Application Output view. Leave at Default Оставить по умолчанию - - - ProjectExplorer::BuildConfiguration Build Settings Настройки сборки @@ -28666,10 +28636,6 @@ You might find further explanations in the Application Output view. Build directory Каталог сборки - - Name of current build - Имя текущей сборки - Variables in the current build environment Переменные текущей среды сборки @@ -28690,10 +28656,6 @@ You might find further explanations in the Application Output view. The project was not parsed successfully. Не удалось разобрать проект. - - Build - Сборка - Default The name of the build configuration created by default for a autotools project. @@ -28720,9 +28682,6 @@ The name of the release build configuration created by default for a qmake proje The name of the profile build configuration created by default for a qmake project. Профилирование - - - ProjectExplorer::BuildDirectoryAspect Build directory: Каталог сборки: @@ -28731,9 +28690,6 @@ The name of the release build configuration created by default for a qmake proje Shadow build: Теневая сборка: - - - ProjectExplorer::BuildManager Finished %1 of %n steps @@ -28764,21 +28720,6 @@ The name of the release build configuration created by default for a qmake proje Category for build system issues listed under 'Issues' Сборка - - Clean - Displayed name for a "cleaning" build step - Очистка - - - Deploy - Displayed name for a deploy step - Развёртывание - - - Build - Displayed name for a normal build step - Сборка - Build/Deployment canceled Сборка/развёртывание отменено @@ -28817,9 +28758,6 @@ The name of the release build configuration created by default for a qmake proje Skipping disabled step %1. Пропуск отключённого этапа %1. - - - ProjectExplorer::BuildStepList Build Display name of the build build step list. Used as part of the labels in the project window. @@ -28835,13 +28773,6 @@ The name of the release build configuration created by default for a qmake proje Display name of the deploy build step list. Used as part of the labels in the project window. Развёртывание - - - ProjectExplorer::BuildSystem - - The project is currently being parsed. - Проект ещё разбирается. - The project could not be fully parsed. Не удалось полностью разобрать проект. @@ -28850,9 +28781,6 @@ The name of the release build configuration created by default for a qmake proje The project file "%1" does not exist. Файл проекта «%1» отсутствует. - - - ProjectExplorer::BuildableHelperLibrary Cannot start process: %1 Невозможно запустить процесс: %1 @@ -28899,42 +28827,14 @@ The name of the release build configuration created by default for a qmake proje программа %1 не найдена в PATH - - - ProjectExplorer::ClangToolChain - - Clang - Clang - - - - ProjectExplorer::ClangToolChainFactory - - Clang - Clang - - - - ProjectExplorer::CustomExecutableRunConfiguration Custom Executable Особая программа - - Run %1 - Запуск %1 - You need to set an executable in the custom run configuration. Необходимо выбрать исполняемый файл в особой конфигурации запуска. - - - ProjectExplorer::CustomWizard - - Other Project - Другой проект - Creates a qmake-based test project for which a code snippet can be entered. Создание тестового проекта на базе qmake с возможностью вставки фрагмента кода. @@ -28971,9 +28871,6 @@ The name of the release build configuration created by default for a qmake proje Gui application (QtCore, QtGui, QtWidgets) Приложение с GUI (QtCore, QtGui, QtWidgets) - - - ProjectExplorer::DebuggingHelperLibrary The target directory %1 could not be created. Не удалось создать целевой каталог %1. @@ -28986,15 +28883,6 @@ The name of the release build configuration created by default for a qmake proje The file %1 could not be copied to %2. Не удалось скопировать файл %1 в %2. - - %1 not found in PATH - - программа %1 не найдена в PATH - - - - - ProjectExplorer::DeployConfiguration Deploy locally Default DeployConfiguration display name @@ -29005,9 +28893,6 @@ The name of the release build configuration created by default for a qmake proje Display name of the default deploy configuration Конфигурация развёртывания - - - ProjectExplorer::DesktopDevice Local PC Локальный ПК @@ -29016,9 +28901,6 @@ The name of the release build configuration created by default for a qmake proje Desktop Desktop - - - ProjectExplorer::DesktopProcessSignalOperation Cannot open process. Не удалось открыть процесс. @@ -29055,9 +28937,6 @@ The name of the release build configuration created by default for a qmake proje Cannot start %1. Check src\tools\win64interrupt\win64interrupt.c for more information. Не удалось запустить %1. Подробности можно найти в src\tools\win64interrupt\win64interrupt.c. - - - ProjectExplorer::DeviceCheckBuildStep No device configured. Устройство не настроено. @@ -29074,9 +28953,6 @@ The name of the release build configuration created by default for a qmake proje Check for a configured device Проверка настроек устройства - - - ProjectExplorer::DeviceKitAspect Device Устройство @@ -29117,16 +28993,10 @@ The name of the release build configuration created by default for a qmake proje Device name Название устройства - - - ProjectExplorer::DeviceManagerModel %1 (default for %2) %1 (по умолчанию для %2) - - - ProjectExplorer::DeviceProcessList Command Line Командная строка @@ -29135,9 +29005,6 @@ The name of the release build configuration created by default for a qmake proje Process ID ID процесса - - - ProjectExplorer::DeviceProcessesDialog Filter Фильтр @@ -29166,9 +29033,6 @@ The name of the release build configuration created by default for a qmake proje &Attach to Process &Подключиться к процессу - - - ProjectExplorer::DeviceTypeKitAspect Device type Тип устройства @@ -29181,9 +29045,6 @@ The name of the release build configuration created by default for a qmake proje Unknown device type Неизвестный тип устройства - - - ProjectExplorer::DeviceUsedPortsGatherer Connection error: %1 Ошибка подключения: %1 @@ -29200,9 +29061,6 @@ The name of the release build configuration created by default for a qmake proje Remote error output was: %1 Внешний вывод ошибок: %1 - - - ProjectExplorer::EditorConfiguration Project Settings @@ -29213,23 +29071,10 @@ The name of the release build configuration created by default for a qmake proje Settings, %1 is a language (C++ or QML) Проект %1 - - - ProjectExplorer::EnvironmentAspect - - Environment - Среда - - - - ProjectExplorer::EnvironmentAspectWidget Base environment for this run configuration: Базовая среда данной конфигурации выполнения: - - - ProjectExplorer::EnvironmentKitAspect Change... Изменить... @@ -29246,10 +29091,6 @@ The name of the release build configuration created by default for a qmake proje Either switches MSVC to English or keeps the language and just forces UTF-8 output (may vary depending on the used MSVC compiler). Или переключает MSVC на английский или, сохраняя язык, переключает вывод в режим UTF-8 (зависит от используемого компилятора). - - Environment - Среда - Additional build environment settings when using this kit. Дополнительные настройки среды сборки при использовании этого комплекта. @@ -29258,9 +29099,6 @@ The name of the release build configuration created by default for a qmake proje The environment setting value is invalid. Значение параметра среды не верно. - - - ProjectExplorer::EnvironmentWidget Variable already exists. Переменная уже существует. @@ -29281,10 +29119,6 @@ The name of the release build configuration created by default for a qmake proje &Unset &Сбросить - - Disable - Отключить - Append Path... Добавить после пути... @@ -29331,17 +29165,6 @@ The name of the release build configuration created by default for a qmake proje Yup, word puzzle. The Set/Unset phrases above are appended to this. %1 is "System Environment" or some such. Используется <b>%1</b> и - - Choose Directory - Выбор каталога - - - Enable - Включить - - - - ProjectExplorer::ExecutableAspect Executable Программа @@ -29362,27 +29185,10 @@ The name of the release build configuration created by default for a qmake proje Use this command instead Использовать эту команду - - - ProjectExplorer::GccToolChain - - GCC - GCC - %1 (%2, %3 %4 in %5) %1 (%2, %3 %4 в %5) - - - ProjectExplorer::IDevice - - Device - Устройство - - - - ProjectExplorer::Internal::AddRunConfigDialog [none] [нет] @@ -29407,16 +29213,10 @@ The name of the release build configuration created by default for a qmake proje Filter candidates by name: Отобрать кандидатов по имени: - - - ProjectExplorer::Internal::AllProjectsFilter Files in Any Project Файлы в любом проекте - - - ProjectExplorer::Internal::AllProjectsFind All Projects Все проекты @@ -29433,9 +29233,6 @@ Excluding: %2 Исключаются: %2 %3 - - - ProjectExplorer::Internal::AppOutputPane Stop Остановить @@ -29480,9 +29277,6 @@ Excluding: %2 Application Output Window Окно вывода приложения - - - ProjectExplorer::Internal::AppOutputSettingsPage Word-wrap output Переносить слова в выводе @@ -29519,13 +29313,6 @@ Excluding: %2 Open pane on output when debugging: Открывать вкладку вывода при отладке: - - Application Output - Вывод приложения - - - - ProjectExplorer::Internal::BuildEnvironmentWidget Build Environment Среда сборки @@ -29534,17 +29321,6 @@ Excluding: %2 Clear system environment Чистая системная среда - - - ProjectExplorer::Internal::BuildPropertiesSettingsPage - - Enable - Включить - - - Disable - Отключить - Use Project Default По умолчанию для проекта @@ -29573,9 +29349,6 @@ Excluding: %2 Default Build Properties Умолчальные свойства сборки - - - ProjectExplorer::Internal::BuildSettingsWidget No build settings available Настройки сборки не обнаружены @@ -29588,10 +29361,6 @@ Excluding: %2 Add Добавить - - Remove - Удалить - Rename... Переименовать... @@ -29645,9 +29414,6 @@ Excluding: %2 Do you really want to delete build configuration <b>%1</b>? Желаете удалить конфигурацию сборки <b>%1</b>? - - - ProjectExplorer::Internal::BuildStepListWidget %1 Steps %1 is the name returned by BuildStepList::displayName @@ -29665,10 +29431,6 @@ Excluding: %2 Move Up Поднять - - Disable - Отключить - Move Down Опустить @@ -29677,10 +29439,6 @@ Excluding: %2 Remove Item Удалить - - Enable - Включить - Removing Step failed Не удалось удалить этап @@ -29693,16 +29451,10 @@ Excluding: %2 No Build Steps Этапов сборки нет - - - ProjectExplorer::Internal::ClangClToolChain clang-cl clang-cl - - - ProjectExplorer::Internal::ClangClToolChainConfigWidget Initialization: Инициализация: @@ -29711,53 +29463,22 @@ Excluding: %2 &Compiler path: Путь к &компилятору: - - - ProjectExplorer::Internal::ClangToolChainConfigWidget Parent toolchain: Родительский инструментарий: - - - ProjectExplorer::Internal::CodeStyleSettingsPropertiesPage Language: Язык: - - - ProjectExplorer::Internal::CompileOutputSettingsPage - - Word-wrap output - Переносить слова в выводе - Open pane when building Открывать вкладку при сборке - - Limit output to %1 characters - Ограничить вывод %1 символами - Compile Output Вывод сборки - - - ProjectExplorer::Internal::CompileOutputWindow - - Compile Output - Вывод сборки - - - Open Settings Page - Открыть страницу настроек - - - - ProjectExplorer::Internal::CopyTaskHandler error: Task is of type: error @@ -29768,16 +29489,10 @@ Excluding: %2 Task is of type: warning предупреждение: - - - ProjectExplorer::Internal::CurrentProjectFilter Files in Current Project Файлы в текущем проекте - - - ProjectExplorer::Internal::CurrentProjectFind Project "%1" Проект «%1» @@ -29790,9 +29505,6 @@ Excluding: %2 Project "%1": Проект «%1»: - - - ProjectExplorer::Internal::CustomParserConfigDialog Custom Parser Особый обработчик @@ -29885,23 +29597,10 @@ Excluding: %2 Warning message: Предупреждающее сообщение: - - - ProjectExplorer::Internal::CustomParsersAspect Custom Output Parsers Особые обработчики вывода - - - ProjectExplorer::Internal::CustomParsersBuildWidget - - Custom Output Parsers - Особые обработчики вывода - - - - ProjectExplorer::Internal::CustomParsersSelectionWidget There are no custom parsers active Особые обработчики не активны @@ -29914,28 +29613,14 @@ Excluding: %2 Активно %n особых обработчиков - - - ProjectExplorer::Internal::CustomParsersSettingsPage Add... Добавить... - - Remove - Удалить - New Parser Создать - - Custom Output Parsers - Особые обработчики вывода - - - - ProjectExplorer::Internal::CustomToolChainConfigWidget MACRO[=VALUE] MACRO[=VALUE] @@ -29956,10 +29641,6 @@ Excluding: %2 Comma-separated list of mkspecs. Разделённый запятыми список mkspec. - - &Compiler path: - Путь к &компилятору: - &Make path: Путь к &make: @@ -29988,23 +29669,14 @@ Excluding: %2 &Error parser: &Обработчик ошибок: - - - ProjectExplorer::Internal::CustomWizardPage Path: Путь: - - - ProjectExplorer::Internal::DependenciesModel <No other projects in this session> <В этой сессии нет других проектов> - - - ProjectExplorer::Internal::DependenciesWidget Synchronize configuration Синхронизировать конфигурацию @@ -30013,9 +29685,6 @@ Excluding: %2 Synchronize active kit, build, and deploy configuration between projects. Синхронизировать у проектов текущий комплект и конфигурации сборки и развёртывания. - - - ProjectExplorer::Internal::DeploymentDataView Local File Path Путь к локальному файлу @@ -30024,14 +29693,6 @@ Excluding: %2 Remote Directory Внешний каталог - - Add - Добавить - - - Remove - Удалить - Files to deploy: Развёртываемые файлы: @@ -30040,16 +29701,10 @@ Excluding: %2 Override deployment data from build system Заменять данные развёртывания системы сборки - - - ProjectExplorer::Internal::DesktopRunConfiguration Qt Run Configuration Конфигурация выполнения Qt - - - ProjectExplorer::Internal::DeviceFactorySelectionDialog Device Configuration Wizard Selection Выбор мастера настройки устройства @@ -30062,16 +29717,10 @@ Excluding: %2 Start Wizard Запустить мастера - - - ProjectExplorer::Internal::DeviceProcessesDialogPrivate Remote Error Удалённая ошибка - - - ProjectExplorer::Internal::DeviceSettingsWidget Linux Device Configurations Конфигурации Linux-устройств @@ -30080,18 +29729,10 @@ Excluding: %2 &Device: &Устройство: - - General - Общее - &Name: &Название: - - Type: - Тип: - Auto-detected: Автоопределённое: @@ -30124,21 +29765,10 @@ Excluding: %2 No Нет - - Test - Проверить - Show Running Processes... Запущенные процессы... - - Devices - Устройства - - - - ProjectExplorer::Internal::DeviceTestDialog Device Test Проверка устройства @@ -30155,9 +29785,6 @@ Excluding: %2 Device test failed. Проверка устройства завершена с ошибкой. - - - ProjectExplorer::Internal::EditorSettingsPropertiesPage Editor settings: Настройки редактора: @@ -30166,10 +29793,6 @@ Excluding: %2 Global Общие - - Custom - Особые - Restore Global Восстановить общие @@ -30182,16 +29805,10 @@ Excluding: %2 Display right &margin at column: Отображать правую &границу на столбце: - - - ProjectExplorer::Internal::FilesSelectionWizardPage Files Файлы - - - ProjectExplorer::Internal::FilterKitAspectsDialog Setting Настройка @@ -30200,9 +29817,6 @@ Excluding: %2 Visible Видимость - - - ProjectExplorer::Internal::FlatModel No kits are enabled for this project. Enable kits in the "Projects" mode. Для этого проекта не включены комплекты. Включите их в режиме «Проект». @@ -30376,11 +29990,7 @@ What should Qt Creator do now? - ProjectExplorer::Internal::GccToolChainConfigWidget - - &Compiler path: - Путь к &компилятору: - + ::ProjectExplorer Platform codegen flags: Флаги генерации кода для платформы: @@ -30389,13 +29999,6 @@ What should Qt Creator do now? Platform linker flags: Флаги компоновки для платформы: - - &ABI: - - - - - ProjectExplorer::Internal::ImportWidget Import Build From... Импортировать сборку... @@ -30404,9 +30007,6 @@ What should Qt Creator do now? Import Импортировать - - - ProjectExplorer::Internal::JsonWizard Key is not an object. Ключ не является объектом. @@ -30419,16 +30019,10 @@ What should Qt Creator do now? ScannerGenerator: Binary pattern "%1" not valid. ScannerGenerator: двоичный шаблон «%1» неверен. - - - ProjectExplorer::Internal::JsonWizardFileGenerator No 'key' in options object. Отсутствует «key» в объекте «options». - - - ProjectExplorer::Internal::KitManagerConfigWidget Name: Название: @@ -30477,13 +30071,6 @@ What should Qt Creator do now? Images (*.png *.xpm *.jpg) Изображения (*.png *.xpm *.jpg) - - - ProjectExplorer::Internal::KitModel - - Auto-detected - Автоопределённые - Manual Особые @@ -30493,13 +30080,6 @@ What should Qt Creator do now? Mark up a kit as the default one. %1 (по умолчанию) - - Name - Название - - - - ProjectExplorer::Internal::MakeStep Override %1: Замена %1: @@ -30528,41 +30108,18 @@ What should Qt Creator do now? Runs this step only for a top-level build. Запускать этот этап только для сборки верхнего уровня. - - - ProjectExplorer::Internal::MiniProjectTargetSelector Project Проект - - Build - Сборка - Kit Комплект - - Deploy - Развёртывание - - - Run - Запуск - - - Unconfigured - Не настроено - <b>Project:</b> %1 <b>Проект:</b> %1 - - <b>Path:</b> %1 - <b>Путь:</b> %1 - <b>Kit:</b> %1 <b>Комплект:</b> %1 @@ -30607,29 +30164,12 @@ What should Qt Creator do now? <style type=text/css>a:link {color: rgb(128, 128, 255, 240);}</style>The project <b>%1</b> is not yet configured<br/><br/>You can configure it in the <a href="projectmode">Projects mode</a><br/> <style type=text/css>a:link {color: rgb(128, 128, 255, 240);}</style>Проект <b>%1</b> ещё не настроен<br/><br/>Его можно настроить в <a href="projectmode">Режиме проекта</a><br/> - - - ProjectExplorer::Internal::MsvcBasedToolChainConfigWidget - - Initialization: - Инициализация: - - - - ProjectExplorer::Internal::MsvcToolChain - - MSVC - MSVC - Failed to retrieve MSVC Environment from "%1": %2 Не удалось получить среду MSVC из «%1»: %2 - - - ProjectExplorer::Internal::MsvcToolChainConfigWidget <empty> <пустое> @@ -30638,17 +30178,6 @@ What should Qt Creator do now? Additional arguments for the vcvarsall.bat call Дополнительные параметры для запуска vcvarsall.bat - - Initialization: - Инициализация: - - - &ABI: - &ABI: - - - - ProjectExplorer::Internal::ParseIssuesDialog Parse Build Output Разбор вывода сборки @@ -30701,9 +30230,6 @@ What should Qt Creator do now? Parsing build output Разбор вывода сборки - - - ProjectExplorer::Internal::ProjectExplorerSettingsPageUi Build and Run Сборка и запуск @@ -30804,9 +30330,6 @@ What should Qt Creator do now? Deduced from Project Согласно проекту - - - ProjectExplorer::Internal::ProjectFileWizardExtension Open project anyway? Открыть проект? @@ -30827,9 +30350,6 @@ to project "%2". Не удалось добавить один или более файлов в проект «%1» (%2). - - - ProjectExplorer::Internal::ProjectTreeWidget Simplify Tree Упростить дерево @@ -30862,9 +30382,6 @@ to project "%2". Synchronize with Editor Согласовать с редактором - - - ProjectExplorer::Internal::ProjectTreeWidgetFactory Projects Проекты @@ -30881,13 +30398,6 @@ to project "%2". Filter Tree Настроить отображение - - - ProjectExplorer::Internal::ProjectWelcomePage - - Projects - Проекты - Open Session #%1 Открыть сессию №%1 @@ -30929,10 +30439,6 @@ to project "%2". %1 (current session) %1 (текущая сессия) - - Clone - Клонировать - Rename Переименовать @@ -30970,21 +30476,10 @@ to project "%2". Sessions Сессии - - - ProjectExplorer::Internal::ProjectWindow Project Settings Настройки проекта - - Build & Run - Сборка и запуск - - - Projects - Проекты - Import Existing Build... Импорт сборки... @@ -31005,9 +30500,6 @@ to project "%2". Active Project Текущий проект - - - ProjectExplorer::Internal::ProjectWizardPage Summary Итог @@ -31040,9 +30532,6 @@ to project "%2". Files to be added in Добавляемые файлы - - - ProjectExplorer::Internal::RemoveTaskHandler Remove Name of the action triggering the removetaskhandler @@ -31052,17 +30541,10 @@ to project "%2". Remove task from the task list. Удаление из списка задач. - - - ProjectExplorer::Internal::RunSettingsWidget Remove Run Configuration? Удаление конфигурации запуска - - Rename... - Переименовать... - Do you really want to delete the run configuration <b>%1</b>? Желаете удалить конфигурацию выполнения <b>%1</b>? @@ -31071,22 +30553,6 @@ to project "%2". Run Settings Настройки запуска - - Add - Добавить - - - Remove - Удалить - - - Add... - Добавить... - - - Clone... - Скопировать... - Deployment Развёртывание @@ -31095,23 +30561,10 @@ to project "%2". Method: Метод: - - Run - Запуск - Run configuration: Конфигурация запуска: - - Clone Configuration - Title of a the cloned RunConfiguration window, text of the window - Дублирование конфигурации - - - New configuration name: - Название новой конфигурации: - New name for run configuration <b>%1</b>: Новое название конфигурации выполнения <b>%1</b>: @@ -31120,10 +30573,6 @@ to project "%2". Cancel Build && Remove Deploy Configuration Отменить сборку и удалить конфигурацию развёртывания - - Do Not Remove - Не удалять - Remove Deploy Configuration %1? Удаление конфигурации развёртывания %1 @@ -31148,16 +30597,10 @@ to project "%2". New name for deploy configuration <b>%1</b>: Новое название конфигурации развёртывания <b>%1</b>: - - - ProjectExplorer::Internal::SelectionWidget Custom output parsers scan command line output for user-provided error patterns<br>in order to create entries in the issues pane.<br>The parsers can be configured <a href="dummy">here</a>. Особые обработчики вывода разбирают вывод командной строки на предмет<br>пользовательских шаблонов ошибок, чтобы создать записи на панели проблем.<br>Обработчики могут быть настроены <a href="dummy">здесь</a>. - - - ProjectExplorer::Internal::SessionDialog Session Manager Управление сессиями @@ -31190,9 +30633,6 @@ to project "%2". &Switch To &Активировать - - - ProjectExplorer::Internal::SessionModel Session Сессия @@ -31225,24 +30665,14 @@ to project "%2". Rename Session Переименование сессии - - &Rename - &Переименовать - Rename and &Open Переименовать и &открыть - - - ProjectExplorer::Internal::SessionNameInputDialog Enter the name of the session: Введите название сессии: - - - ProjectExplorer::Internal::ShowInEditorTaskHandler Show in Editor Показать в редакторе @@ -31251,9 +30681,6 @@ to project "%2". Show task location in an editor. Показать размещение задачи в редакторе. - - - ProjectExplorer::Internal::ShowOutputTaskHandler Show &Output Показать в&ывод @@ -31266,9 +30693,6 @@ to project "%2". O O - - - ProjectExplorer::Internal::SimpleProjectWizard Import as qmake or cmake Project (Limited Functionality) Импортировать как проект qmake или cmake (ограниченная функциональность) @@ -31281,9 +30705,6 @@ to project "%2". Unknown build system "%1" Неизвестная система сборки «%1» - - - ProjectExplorer::Internal::SimpleProjectWizardDialog Import Existing Project Импорт существующего проекта @@ -31304,13 +30725,6 @@ to project "%2". File Selection Выбор файла - - - ProjectExplorer::Internal::SshSettingsWidget - - SSH - SSH - Enable connection sharing: Включить общий доступ к соединению: @@ -31339,9 +30753,6 @@ to project "%2". minutes минут(ы) - - - ProjectExplorer::Internal::TargetSetupWidget <b>Error:</b> Severity is Task::Error @@ -31352,16 +30763,10 @@ to project "%2". Severity is Task::Warning <b>Предупреждение:</b> - - - ProjectExplorer::Internal::TaskDelegate File not found: %1 Файл не найден: %1 - - - ProjectExplorer::Internal::TaskWindow Issues Проблемы @@ -31374,9 +30779,6 @@ to project "%2". Filter by categories Отбор по категориям - - - ProjectExplorer::Internal::TextEditDetailsWidget Empty Пусто @@ -31389,9 +30791,6 @@ to project "%2". %n элементов - - - ProjectExplorer::Internal::ToolChainOptionsPage This toolchain is invalid. Этот инструментарий неверен. @@ -31420,10 +30819,6 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated Один для целей x86_64, а другой для x86. Включайте, если планируете создавать 32-битные программы без отдельного кросс-компилятора. - - Name - Имя - Type Тип @@ -31432,22 +30827,10 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated Auto-detected Обнаруженные - - Manual - Особые - - - Add - Добавить - Clone Копировать - - Remove - Удалить - Remove All Удалить всё @@ -31476,9 +30859,6 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated Compilers Компиляторы - - - ProjectExplorer::Internal::VcsAnnotateTaskHandler &Annotate &Аннотация @@ -31487,9 +30867,6 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated Annotate using version control system. Аннотация с использованием системы контроля версий. - - - ProjectExplorer::Internal::WaitForStopDialog Waiting for Applications to Stop Ожидание завершения приложения @@ -31502,9 +30879,6 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated Waiting for applications to stop. Ожидание завершения приложения. - - - ProjectExplorer::Internal::WizardPage The following files will be added: @@ -31517,10 +30891,6 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated - - Add to &project: - Добавить в &проект: - Add to &version control: Добавить под контроль &версий: @@ -31529,9 +30899,6 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated Project Management Управление проектом - - - ProjectExplorer::JsonFieldPage Field is not an object. Поле не является объектом. @@ -31640,9 +31007,6 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated Source and target are both empty. Источник и назначение пусты. - - - ProjectExplorer::JsonKitsPage At least one required feature is not present. Минимум одна необходимая особенность отсутствует. @@ -31667,17 +31031,6 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated Feature list element is not a string or object. Элемент списка особенностей не является строкой или объектом. - - - ProjectExplorer::JsonProjectPage - - untitled - File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. - untitled - - - - ProjectExplorer::JsonSummaryPage Failed to Commit to Version Control Ошибка фиксации контроля версий @@ -31690,21 +31043,6 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated Failed to Add to Project Не удалось добавить в проект - - Failed to add subproject "%1" -to project "%2". - Не удалось добавить подпроект «%1» -в проект «%2». - - - Failed to add one or more files to project -"%1" (%2). - Не удалось добавить один или более файлов в проект -«%1» (%2). - - - - ProjectExplorer::JsonWizard "data" for a "Form" page needs to be unset or an empty object. Объект «data» для страницы «Форма» должен быть не задан или пустым. @@ -31883,10 +31221,6 @@ to project "%2". Source file: Файл исходных текстов: - - Path: - Путь: - Define Class Определить класс @@ -31907,14 +31241,6 @@ to project "%2". Boost include directory (optional): Каталог заголовков Boost (опционально): - - Project Management - Управление проектом - - - Summary - Итог - Add Q_OBJECT Добавить Q_OBJECT @@ -32067,10 +31393,6 @@ to project "%2". Model name: Имя модели: - - Location: - Размещение: - Model Name and Location Имя модели и размещение @@ -32115,10 +31437,6 @@ to project "%2". Creates a scratch buffer using a temporary file. Создание рабочего буфера с использованием временного файла. - - General - Общее - Scratch Buffer Рабочий буфер @@ -32171,10 +31489,6 @@ to project "%2". Kit Selection Выбор комплекта - - Kits - Комплекты - Non-Qt Project Проект без Qt @@ -32211,10 +31525,6 @@ Preselects a desktop Qt for building the application if available. Creates a qmake-based project without any files. This allows you to create an application without any default classes. Создание пустого проекта на базе qmake. Это позволит создать приложение без каких-либо классов. - - Other Project - Другой проект - Empty qmake Project Пустой проект qmake @@ -32231,10 +31541,6 @@ Preselects a desktop Qt for building the application if available. Minimal required Qt version: Минимально необходимая версия Qt: - - Default - По умолчанию - Configuration Конфигурация @@ -32438,10 +31744,6 @@ Use this only if you are prototyping. You cannot create a full application with Qt Plugin Модуль Qt - - Type: - Тип: - %{JS: value('Type') === 'qtplugin' ? value('BaseClassName').slice(1) : (value('ProjectName').charAt(0).toUpperCase() + value('ProjectName').slice(1))} %{JS: value('Type') === 'qtplugin' ? value('BaseClassName').slice(1) : (value('ProjectName').charAt(0).toUpperCase() + value('ProjectName').slice(1))} @@ -32498,10 +31800,6 @@ Use this only if you are prototyping. You cannot create a full application with Creates a C++ library. This can be used to create:<ul><li>a shared C++ library for use with <tt>QPluginLoader</tt> and runtime (Plugins)</li><li>a shared or static C++ library for use with another project at linktime</li></ul> Создание C++ библиотеки. Может использоваться для разработки:<ul><li>разделяемая C++ библиотека для загрузки через <tt>QPluginLoader</tt> (подключаемый модуль)</li><li>разделяемая или статическая C++ библиотека для подключения к другому проекту на этапе компоновки</li></ul> - - Library - Библиотека - Catch2 Catch2 @@ -33039,18 +32337,10 @@ Preselects a desktop Qt for building the application if available. Running Bazaar branch... Выполнение смены ветки Bazaar... - - Clone - Клонировать - Clones a Bazaar branch and tries to load the contained project. Клонирование ветки Bazaar и попытка загрузки имеющегося там проекта. - - Import Project - Импортировать проект - Bazaar Clone (Or Branch) Клонирование Bazaar @@ -33167,9 +32457,6 @@ Preselects a desktop Qt for building the application if available. Vertex Shader (OpenGL/ES 2.0) Вершинный шейдер (OpenGL/ES 2.0) - - - ProjectExplorer::JsonWizardFactory Generator is not a object. Генератор не является объектом. @@ -33310,9 +32597,6 @@ Preselects a desktop Qt for building the application if available. When parsing "pages": %1 При обработке «pages»: %1 - - - ProjectExplorer::JsonWizardGenerator %1 [folder] %1 [каталог] @@ -33331,13 +32615,6 @@ Preselects a desktop Qt for building the application if available. Каталог %1 содержит файлы, которые невозможно перезаписать: %2. - - - ProjectExplorer::Kit - - Kit - Комплект - Unnamed Без имени @@ -33374,56 +32651,18 @@ Preselects a desktop Qt for building the application if available. Warning: Предупреждение: - - - ProjectExplorer::KitAspectWidget Manage... Управление... - - - ProjectExplorer::KitChooser Kit of Active Project: %1 Комплект активного проекта: %1 - - - ProjectExplorer::KitManager Desktop (%1) Desktop (%1) - - Desktop - Desktop - - - - ProjectExplorer::LinuxIccToolChain - - ICC - ICC - - - - ProjectExplorer::LocalEnvironmentAspect - - Build Environment - Среда сборки - - - System Environment - Системная среда - - - Clean Environment - Чистая среда - - - - ProjectExplorer::MakeStep Make Сборка @@ -33432,9 +32671,6 @@ Preselects a desktop Qt for building the application if available. Make command missing. Specify Make command in step configuration. Отсутствует команда Make. Укажите её в настройках этапа. - - - ProjectExplorer::MakeStepConfigWidget <code>MAKEFLAGS</code> specifies parallel jobs. Check "%1" to override. <code>MAKEFLAGS</code> включает параллельную работу. Включите «%1», чтобы переопределить. @@ -33443,10 +32679,6 @@ Preselects a desktop Qt for building the application if available. Make: Make: - - Override %1: - Переопределённая %1: - <b>Make:</b> %1 <b>Make:</b> %1 @@ -33459,25 +32691,16 @@ Preselects a desktop Qt for building the application if available. <b>Make:</b> %1 not found in the environment. <b>Make:</b>программа %1 не найдена в системе. - - - ProjectExplorer::MingwToolChain MinGW MinGW - - - ProjectExplorer::OsParser The process cannot access the file because it is being used by another process. Please close all running instances of your application before starting a build. Процесс не может получить доступ к файлу, так как он используется другим процессом. Завершайте все запущенные экземпляры приложения перед началом сборки. - - - ProjectExplorer::PortsGatherer Found %n free ports. @@ -33490,9 +32713,6 @@ Please close all running instances of your application before starting a build.< Checking available ports... Проверка доступных портов... - - - ProjectExplorer::ProcessStep Custom Process Step Default ProcessStep display name @@ -33515,21 +32735,10 @@ Please close all running instances of your application before starting a build.< item in combobox Особый - - - ProjectExplorer::Project - - Project - Проект - Project Name Имя проекта - - Kit is not valid. - Комплект неверен. - Incompatible Kit Комплект не подходит @@ -33574,9 +32783,6 @@ Please close all running instances of your application before starting a build.< Could not find any qml_*.qm file at '%1' Не удалось найти ни один файл qml_*.qm в «%1» - - - ProjectExplorer::ProjectExplorerPlugin &Build &Сборка @@ -33693,10 +32899,6 @@ Please close all running instances of your application before starting a build.< Cancel Build Отменить сборку - - C - C - C++ C++ @@ -33754,14 +32956,6 @@ Please close all running instances of your application before starting a build.< The name of the current project. Название текущего проекта. - - The name of the currently active kit. - Название активного комплекта. - - - The currently active run configuration's name. - Имя текущей активной конфигурации запуска. - Current Build Environment Текущая среда сборки @@ -33863,10 +33057,6 @@ Please close all running instances of your application before starting a build.< Title of dialog Создание подпроекта - - Choose Project File - Выбор файла проекта - The following subprojects could not be added to project "%1": В проект «%1» невозможно добавить следующие подпроекты: @@ -33969,18 +33159,6 @@ Do you want to ignore them? Always save files before build Всегда сохранять файлы перед сборкой - - Clean - Очистить - - - Build Environment - Среда сборки - - - Run Environment - Среда выполнения - &Manage... &Управление... @@ -34057,18 +33235,10 @@ Do you want to ignore them? Clean Project "%1" for All Configurations Очистить проект «%1» во всех конфигурациях - - Build - Собрать - Rebuild Пересобрать - - Deploy - Развернуть - Add Existing Projects... Добавить существующие проекты... @@ -34145,10 +33315,6 @@ Do you want to ignore them? The username with which to log into the device in the currently active kit. Имя пользователя для входа на устройство текущего комплекта. - - All Projects - Все проекты - Failed to Open Project Не удалось открыть проект @@ -34244,9 +33410,6 @@ Please try again. Delete %1 from file system? Удалить «%1» с диска? - - - ProjectExplorer::ProjectImporter No Build Found Сборка не найдена @@ -34263,27 +33426,10 @@ Please try again. Imported Kit Импортированный комплект - - - ProjectExplorer::ProjectTree <b>Warning:</b> This file is outside the project directory. <b>Предупреждение:</b> Этот файл расположен вне каталога проекта. - - - ProjectExplorer::ProjectsMode - - Projects - Проекты - - - - ProjectExplorer::RunConfiguration - - Run Settings - Настройки запуска - Variables in the current run environment Переменные текущей среды исполнения @@ -34306,9 +33452,6 @@ Please try again. Shown in Run configuration, Add menu: "name of runnable (on device name)" %1 (на %2) - - - ProjectExplorer::RunControl Application Still Running Приложение ещё выполняется @@ -34353,9 +33496,6 @@ Please try again. Invalid Неверный - - - ProjectExplorer::RunWorker Worker start timed out. Время запуска исполнителя истекло. @@ -34388,23 +33528,14 @@ Please try again. An error occurred when attempting to read from the process. For example, the process may not be running. Ошибка при получении данных от процесса. Возможно, процесс уже перестал работать. - - - ProjectExplorer::SelectableFilesDialogAddDirectory Add Existing Directory Добавление существующего каталога - - - ProjectExplorer::SelectableFilesDialogEditFiles Edit Files Изменить файлы - - - ProjectExplorer::SelectableFilesWidget Source directory: Каталог исходников: @@ -34445,16 +33576,6 @@ These files are preserved. Неотображённые файлы будут сохранены. - - - ProjectExplorer::SeparateDebugInfoAspect - - Separate debug info: - Отделять отладочную информацию: - - - - ProjectExplorer::SessionManager Error while restoring session Ошибка при восстановлении сессии @@ -34517,20 +33638,6 @@ These files are preserved. Untitled Безымянная - - - ProjectExplorer::SimpleTargetRunner - - %1 crashed. - %1 аварийно завершился. - - - %2 exited with code %1 - %2 завершился с кодом %1 - - - - ProjectExplorer::SshDeviceProcess Failed to kill remote process: %1 Не удалось завершить удалённый процесс: %1 @@ -34543,9 +33650,6 @@ These files are preserved. Terminated by request. Остановлено по требованию. - - - ProjectExplorer::SshDeviceProcessList Connection failure: %1 Ошибка подключения: %1 @@ -34562,9 +33666,6 @@ These files are preserved. Remote stderr was: %1 Содержимое внешнего stderr: %1 - - - ProjectExplorer::SysRootKitAspect Sysroot Корень образа @@ -34589,9 +33690,6 @@ These files are preserved. Sys Root Sysroot - - - ProjectExplorer::Target Target Settings Настройки цели @@ -34600,9 +33698,6 @@ These files are preserved. Source directory Каталог исходников - - - ProjectExplorer::TargetSetupPage No suitable kits found. Отсутствуют подходящие комплекты. @@ -34623,22 +33718,11 @@ These files are preserved. Select Kits for Your Project Выбор комплектов для проекта - - Kit Selection - Выбор комплекта - - - Kits - Комплекты - The following kits can be used for project <b>%1</b>: %1: Project name К проекту <b>%1</b> применимы следующие комплекты: - - - ProjectExplorer::Task You asked to build the current Run Configuration's build target only, but it is not associated with a build target. Update the Make Step in your build settings. Запрос на сборку только цели текущей конфигурации запуска, но она не связана с целью. Обновите этапы сборки в настройках сборки. @@ -34647,9 +33731,6 @@ These files are preserved. %1 needs a compiler set up to build. Configure a compiler in the kit options. %1 требует наличия компилятора для сборки. Задайте его в настройках комплекта. - - - ProjectExplorer::TerminalAspect Terminal Терминал @@ -34658,23 +33739,6 @@ These files are preserved. Run in terminal Запускать в терминале - - - ProjectExplorer::ToolChain - - Clone of %1 - Копия %1 - - - - ProjectExplorer::ToolChainConfigWidget - - Name: - Название: - - - - ProjectExplorer::ToolChainKitAspect <No compiler> <Нет компилятора> @@ -34691,10 +33755,6 @@ These files are preserved. Compilers produce code for different ABIs: %1 Компиляторы производят коды под разные ABI: %1 - - None - Нет - Path to the compiler executable Путь к компилятору @@ -34711,13 +33771,6 @@ These files are preserved. No compiler set in kit. У комплекта не задан компилятор. - - - ProjectExplorer::ToolChainManager - - None - Нет - Tool Chains Инструментарии @@ -34726,16 +33779,10 @@ These files are preserved. ABI ABI - - - ProjectExplorer::UseDyldSuffixAspect Use debug version of frameworks (DYLD_IMAGE_SUFFIX=_debug) Использовать отладочные версии библиотек (DYLD_IMAGE_SUFFIX=_debug) - - - ProjectExplorer::UseLibraryPathsAspect Add build library search path to DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH Добавить путь к собираемой библиотеке в DYLD_LIBRARY_PATH и DYLD_FRAMEWORK_PATH @@ -34748,9 +33795,6 @@ These files are preserved. Add build library search path to LD_LIBRARY_PATH Добавить путь к собираемой библиотеке в LD_LIBRARY_PATH - - - ProjectExplorer::WorkingDirectoryAspect Working Directory Рабочий каталог @@ -34763,13 +33807,6 @@ These files are preserved. Reset to Default По умолчанию - - Working directory: - Рабочий каталог: - - - - ProjectExplorer::XcodebuildParser Replacing signature Замена сигнатуры @@ -34778,16 +33815,10 @@ These files are preserved. Xcodebuild failed. Xcodebuild завершился с ошибкой. - - - ProjectExplorerPluginPrivate Building "%1" is disabled: %2<br> Сборка «%1» отключена: %2<br> - - - ProjectWizard The files are implicitly added to the projects: Файлы, неявно добавленные в проекты: @@ -34796,25 +33827,6 @@ These files are preserved. <Implicitly Add> <Добавлено неявно> - - <None> - <Нет> - - - - ProjextExplorer::Internal::KitOptionsPageWidget - - Add - Добавить - - - Clone - Скопировать - - - Remove - Удалить - Make Default Сделать по умолчанию @@ -34835,17 +33847,6 @@ These files are preserved. Choose which kit settings to display by default. Выбор настроек комплекта, отображаемых по умолчанию. - - Kits - Комплекты - - - - ProjextExplorer::Internal::ProjectExplorerSettings - - None - Нет - All Все @@ -45118,7 +44119,7 @@ Row: %4, Column: %5 - TargetSettingsPanelItem + ::ProjectExplorer No kit defined in this project. Для данного проекта не задан комплект. @@ -45127,13 +44128,6 @@ Row: %4, Column: %5 Configure Project Настроить проект - - - TargetSettingsPanelWidget - - Configure Project - Настроить проект - Kit is unsuited for project Комплект не подходит проекту @@ -45158,10 +44152,6 @@ Row: %4, Column: %5 Cancel Build and Disable Kit in This Project Отменить сборку и отключить комплект в этом проекте - - Do Not Remove - Не удалять - Disable Kit "%1" in This Project? Отключить комплект «%1» в этом проекте? @@ -45182,36 +44172,14 @@ Row: %4, Column: %5 Copy Steps From Another Kit... Скопировать этапы из другого комплекта... - - Build - Сборка - - - Run - Запуск - Enable Kit Включить комплект - - - TaskHub - - Error - Ошибка - - - Warning - Предупреждение - Build Issue Проблема сборки - - - TaskList::Internal::StopMonitoringHandler Stop Monitoring Остановить слежение @@ -45220,9 +44188,6 @@ Row: %4, Column: %5 Stop monitoring task files. Остановить слежение за файлами задач. - - - TaskList::Internal::TaskListPlugin Cannot open task file %1: %2 Невозможно открыть файл задач %1: %2 diff --git a/share/qtcreator/translations/qtcreator_sl.ts b/share/qtcreator/translations/qtcreator_sl.ts index 7845d7bf915..f291bdd9ec1 100644 --- a/share/qtcreator/translations/qtcreator_sl.ts +++ b/share/qtcreator/translations/qtcreator_sl.ts @@ -3800,7 +3800,7 @@ To lahko privede do napačnih rezultatov. - DependenciesModel + ::ProjectExplorer Unable to Add Dependency Ni moč dodati odvisnosti @@ -7086,7 +7086,7 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr - ProjectExplorer::AbstractProcessStep + ::ProjectExplorer Starting: "%1" %2 Zaganjanje: »%1« %2 @@ -7117,9 +7117,6 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr Could not start process "%1" Procesa »%1« ni bilo moč zagnati - - - ProjectExplorer::BuildManager Finished %1 of %n build steps @@ -7147,10 +7144,6 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr Canceled build. Gradnja preklicana. - - Build - Gradnja - Error while building project %1 (target: %2) Napaka med gradnjo projekta %1 (cilj: %2) @@ -7163,9 +7156,6 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr Running build steps for project %1... Zaganjanje korakov gradnje za projekt %1 … - - - ProjectExplorer::CustomExecutableRunConfiguration Custom Executable Izvršljiva datoteka po meri @@ -7190,16 +7180,6 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr Run %1 Zaženi %1 - - - ProjectExplorer::CustomExecutableRunConfigurationFactory - - Custom Executable - Izvršljiva datoteka po meri - - - - ProjectExplorer::EnvironmentWidget &Edit &Urejanje @@ -7240,9 +7220,6 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr Set <b>%1</b> to <b>%2</b> Nastavi <b>%1</b> na <b>%2</b> - - - ProjectExplorer::Internal::AllProjectsFilter Files in Any Project Datoteke v kateremkoli projektu @@ -7251,20 +7228,10 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr Files in any project Datoteke v kateremkoli projektu - - - ProjectExplorer::Internal::AllProjectsFind All Projects Vsi projekti - - File &pattern: - Datotečni &vzorec: - - - - ProjectExplorer::Internal::BuildSettingsWidget &Clone Selected Po&dvoji izbrano @@ -7277,18 +7244,6 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr Edit build configuration: Urejanje nastavitev za gradnjo: - - Add - Dodaj - - - Remove - Odstrani - - - Rename - Preimenuj - Remove Build Configuration Odstrani nastavitev gradnje @@ -7315,25 +7270,6 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr New configuration name: Ime nove nastavitve: - - Build Steps - Koraki gradnje - - - Clean Steps - Koraki čiščenja - - - New Configuration Name: - Ime nove nastavitve: - - - Clone configuration - Podvoji nastavitev - - - - ProjectExplorer::Internal::BuildStepsPage Build Steps Koraki gradnje @@ -7342,26 +7278,6 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr Clean Steps Koraki čiščenja - - No Build Steps - Brez korakov gradnje - - - Move Up - Premakni gor - - - Move Down - Premakni dol - - - Remove Item - Odstrani postavko - - - Removing Step failed - Odstranitev koraka gradnje ni uspela - Can't remove build step while building Odstranitev koraka gradnje med gradnjo ni mogoča @@ -7374,16 +7290,10 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr Add Build Step Dodaj korak gradnje - - - ProjectExplorer::Internal::CompileOutputWindow Compile Output Izhod prevajanja - - - ProjectExplorer::Internal::CurrentProjectFilter Files in Current Project Datoteke v trenutnem projektu @@ -7392,9 +7302,6 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr Files in current project Datoteke v trenutnem projektu - - - ProjectExplorer::Internal::CurrentProjectFind Current Project Trenutni projekt @@ -7403,9 +7310,6 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr File &pattern: Datotečni &vzorec: - - - ProjectExplorer::Internal::CustomExecutableConfigurationWidget Executable: Izvršljiva datoteka: @@ -7414,10 +7318,6 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr Arguments: Argumenti: - - Working directory: - Delovna mapa: - Run in &Terminal Zaženi v &konzoli @@ -7434,18 +7334,6 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr Base environment for this runconfiguration: Osnovno okolje za te nastavitve zagona: - - Clean Environment - Čisto okolje - - - System Environment - Sistemsko okolje - - - Build Environment - Okolje za gradnjo - Name: Ime: @@ -7462,9 +7350,6 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr Running executable: <b>%1</b> %2 Zaganjanje programa: <b>%1</b> %2 - - - ProjectExplorer::Internal::EditorSettingsPropertiesPage Editor settings: Nastavitve urejevalnika: @@ -7501,7 +7386,7 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr - ProjectExplorer::Internal::SessionDialog + ::ProjectExplorer Session Manager Upravljalnik sej @@ -7553,23 +7438,6 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr Restore last session on startup Ob zagonu obnovi zadnjo sejo - - - ProjectExplorer::Internal::ProcessStep - - Custom Process Step - Default ProcessStep display name - - Korak postopka po meri - - - Custom Process Step - item in combobox - Korak postopka po meri - - - - ProjectExplorer::Internal::ProcessStepConfigWidget Custom Process Step Korak postopka po meri @@ -7588,9 +7456,6 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr (disabled) (onemogočen) - - - ProjectExplorer::Internal::ProcessStepWidget Command: Ukaz: @@ -7610,36 +7475,19 @@ enojen »Vstopi« za oddajo signala pa vas bo privedel neposredno do ustrezne pr Command arguments: Argumenti za ukaz: - - Name: - Ime: - - - - ProjectExplorer::Internal::ProjectExplorerSettingsPage General Splošno - - - ProjectExplorer::Internal::ProjectFileFactory Project File Factory ProjectExplorer::ProjectFileFactory display name. Tovarna datotek za projekt - - All Projects - Vsi projekti - Could not open the following project: '%1' Ni bilo moč odpreti naslednjega projekta: »%1« - - - ProjectExplorer::Internal::ProjectFileWizardExtension <Implicitly Add> <dodaj brez vprašanj> @@ -7676,9 +7524,6 @@ v projekt »%2« ni uspelo. Failed to add '%1' to the version control system. Dodajanje »%1« v sistem za nadzor različic ni uspelo. - - - ProjectExplorer::Internal::ProjectTreeWidget Simplify Tree Poenostavi drevo @@ -7699,13 +7544,6 @@ v projekt »%2« ni uspelo. Hide generated files Skrij samodejno ustvarjene datoteke - - - ProjectExplorer::Internal::ProjectTreeWidgetFactory - - Projects - Projekti - Filter Tree Filtriraj drevo @@ -7714,9 +7552,6 @@ v projekt »%2« ni uspelo. Filter tree Filtriraj drevo - - - ProjectExplorer::Internal::ProjectWizardPage Summary Povzetek @@ -7729,9 +7564,6 @@ v projekt »%2« ni uspelo. Files to be added in Datoteke za dodati v - - - ProjectExplorer::Internal::RemoveFileDialog Remove File Odstrani datoteko @@ -7751,9 +7583,6 @@ v projekt »%2« ni uspelo. File to remove: Datoteka za odstraniti: - - - ProjectExplorer::Internal::RunSettingsWidget Remove Run Configuration? Odstranim nastavitev za zagon? @@ -7762,10 +7591,6 @@ v projekt »%2« ni uspelo. Do you really want to delete the run configuration <b>%1</b>? Ali res želite izbrisati nastavitev za zagon <b>%1</b>? - - Rename... - Preimenuj ... - New name for run configuration <b>%1</b>: Novo ime nastavitve za zagon <b>%1</b>: @@ -7782,17 +7607,6 @@ v projekt »%2« ni uspelo. New name for deploy configuration <b>%1</b>: Novo ime nastavitve za razmestitev <b>%1</b>: - - Add - Dodaj - - - Remove - Odstrani - - - - ProjectExplorer::Internal::RunSettingsPropertiesPage Run configuration: Nastavitev za zagon: @@ -7817,36 +7631,10 @@ v projekt »%2« ni uspelo. Rename Preimenuj ... - - + - + - - - - - - - - - - ProjectExplorer::Internal::SessionFile - - Session - Seja - - - Untitled - default file name to display - Neimenovana - - - - ProjectExplorer::Internal::TaskDelegate File not found: %1 Datoteka ni bila najdena: %1 - - - ProjectExplorer::Internal::WizardPage The following files will be added: @@ -7883,9 +7671,6 @@ v projekt »%2« ni uspelo. Project management Upravljanje projektov - - - ProjectExplorer::ProjectExplorerPlugin &Build &Gradnja @@ -7926,10 +7711,6 @@ v projekt »%2« ni uspelo. Open File Odpri datoteko - - Recent Sessions - Nedavne seje - Close Project Zapri projekt @@ -8142,10 +7923,6 @@ v projekt »%2« ni uspelo. Delete File... Izbriši datoteko ... - - Rename - Preimenuj - Set as Active Project Nastavi kot aktivni projekt @@ -8285,9 +8062,6 @@ v sistem za nadzor različic (%2)? Delete file failed Izbris datoteke ni uspel - - - ProjectExplorer::SessionManager Error while restoring session Napaka med obnavljanjem seje @@ -8324,14 +8098,6 @@ v sistem za nadzor različic (%2)? Untitled Neimenovano - - Qt Creator - Qt Creator - - - Session ('%1') - Seja (%1) - ::QmakeProjectManager @@ -11377,7 +11143,7 @@ Za uporabo v polje Iskalnika vtipkajte to bližnjico in presledek ter nato iskan - ProjectExplorer::Internal::ProjectExplorerSettingsPageUi + ::ProjectExplorer Build and Run Gradnja in zagon @@ -12902,7 +12668,7 @@ Za uporabo v polje Iskalnika vtipkajte to bližnjico in presledek ter nato iskan - ProjectExplorer::ApplicationLauncher + ::ProjectExplorer Failed to start program. Path or permissions wrong? Zagon programa ni uspel. Morda je napačna pot ali pa dovoljenja. @@ -12921,16 +12687,6 @@ Za uporabo v polje Iskalnika vtipkajte to bližnjico in presledek ter nato iskan Razhroščevalnega izhoda ni moč pridobiti. - - - ProjectExplorer::Internal::LocalApplicationRunControlFactory - - Run - Zaženi - - - - ProjectExplorer::Internal::LocalApplicationRunControl No executable specified. @@ -12957,9 +12713,6 @@ Za uporabo v polje Iskalnika vtipkajte to bližnjico in presledek ter nato iskan %1 exited with code %2 %1 je končal s kodo %2 - - - ProjectExplorer::DebuggingHelperLibrary The target directory %1 could not be created. Ciljne mape %1 ni bilo moč ustvariti. @@ -12992,27 +12745,6 @@ Razlog: %2 %1 v PATH ni bil najden - - Building debugging helper library in %1 - - Grajenje knjižnice razhroščevalnega pomočnika v %1 - - - - Running %1 %2... - - Zaganjanje %1 %2 … - - - - Running %1 ... - - Zaganjanje %1 … - - - - - ProjectExplorer::Internal::ProjectWelcomePage Develop Razvoj @@ -13840,14 +13572,11 @@ Spremembe lahko zapišete na stran ali pa jih zavržete. - ProjectExplorer::Internal::DoubleTabWidget + ::ProjectExplorer DoubleTabWidget DoubleTabWidget - - - ProjectExplorer::Internal::TargetSettingsWidget TargetSettingsWidget TargetSettingsWidget @@ -16323,7 +16052,7 @@ Desetiška predznačena vrednost (najprej veliki konec): %4 - ProjectExplorer::BaseProjectWizardDialog + ::ProjectExplorer Location Mesto @@ -16334,40 +16063,16 @@ Desetiška predznačena vrednost (najprej veliki konec): %4 neimenovan - - - ProjectExplorer::BuildConfiguration - - Build - Display name of the build build step list. Used as part of the labels in the project window. - - Gradnja - Clean Display name of the clean build step list. Used as part of the labels in the project window. Čiščenje - - System Environment - Sistemsko okolje - - - Clean Environment - Čisto okolje - - - - ProjectExplorer::BuildEnvironmentWidget Clear system environment Počisti sistemsko okolje - - Build Environment - Okolje za gradnjo - BuildSettingsPanelFactory @@ -16384,7 +16089,7 @@ Desetiška predznačena vrednost (najprej veliki konec): %4 - ProjectExplorer::CustomWizard + ::ProjectExplorer Details Default short title for custom wizard page to be shown in the progress pane of the wizard. @@ -16470,23 +16175,14 @@ Desetiška predznačena vrednost (najprej veliki konec): %4 Example Object Class-name: Ime razreda primera razreda: - - - ProjectExplorer::CustomProjectWizard The project %1 could not be opened. Projekta %1 ni bilo moč odpreti. - - - ProjectExplorer::Internal::CustomWizardPage Path: Pot: - - - ProjectExplorer::Internal::DependenciesModel <No other projects in this session> <v tej seji ni nobenega drugega projekta> @@ -16500,14 +16196,11 @@ Desetiška predznačena vrednost (najprej veliki konec): %4 - DependenciesPanelFactory + ::ProjectExplorer Dependencies Odvisnosti - - - EditorSettingsPanelFactory Editor Settings Nastavitve urejevalnika @@ -16632,7 +16325,7 @@ Desetiška predznačena vrednost (najprej veliki konec): %4 - ProjectExplorer::Internal::MiniTargetWidget + ::ProjectExplorer Select active build configuration Izberite aktivne nastavitve gradnje @@ -16649,9 +16342,6 @@ Desetiška predznačena vrednost (najprej veliki konec): %4 Run: Zagon: - - - ProjectExplorer::Internal::MiniProjectTargetSelector Project Projekt @@ -16660,14 +16350,6 @@ Desetiška predznačena vrednost (najprej veliki konec): %4 Select active project Izberite aktivni projekt - - Build: - Gradnja: - - - Run: - Zagon: - <html><nobr><b>Project:</b> %1<br/>%2%3<b>Run:</b> %4%5</html> <html><nobr><b>Projekt:</b> %1<br/>%2%3<b>Zagon:</b> %4%5</html> @@ -16684,25 +16366,11 @@ Desetiška predznačena vrednost (najprej veliki konec): %4 <br/>%1 <br/>%1 - - - ProjectExplorer::ProjectConfiguration Clone of %1 Klon od %1 - - ::ProjectExplorer - - Projects - Projekti - - - Other Project - Drugi projekt - - TargetSettingsPanelFactory @@ -16725,25 +16393,15 @@ Desetiška predznačena vrednost (najprej veliki konec): %4 - ProjectExplorer::Internal::SessionNameInputDialog + ::ProjectExplorer Enter the name of the session: Vnesite ime seje: - - - ProjectExplorer::Internal::TargetSelector - - Run - Zaženi - Build Zgradi - - - ProjectExplorer::Internal::TargetSettingsPanelWidget No target defined. Določenega ni nobenega cilja. @@ -19440,19 +19098,12 @@ GDB omogoča navedbo zaporedja ukazov, ki so ločeni z »\n«. - ProjectExplorer::CodeStyleSettingsPropertiesPage - - Form - Obrazec - + ::ProjectExplorer Language: Jezik: - - - ProjectExplorer::Internal::PublishingWizardSelectionDialog Publishing Wizard Selection Izbor čarovnika za objavo @@ -21888,7 +21539,7 @@ S simulacijo predpomnilnika so omogočeni dodatni števci dogodkov: - ProjectExplorer::BuildableHelperLibrary + ::ProjectExplorer Cannot start process: %1 Procesa ni moč zagnati: %1 @@ -21927,12 +21578,6 @@ S simulacijo predpomnilnika so omogočeni dodatni števci dogodkov: Running %1 %2 ... Zaganjanje %1 ... - - - - %1 not found in PATH - - %1 v PATH ni bil najden @@ -24562,14 +24207,11 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen. - ProjectExplorer::AbiWidget + ::ProjectExplorer <custom> <po meri> - - - ProjectExplorer::Internal::AppOutputPane Attach debugger to this process Priklopi razhroščevalnik na ta proces @@ -24594,9 +24236,6 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen. Application Output Window Podokno z izhodom programa - - - ProjectExplorer::Internal::BuildStepListWidget Move Up Premakni gor @@ -24635,9 +24274,6 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen. No Build Steps Brez korakov gradnje - - - CodeStyleSettingsPanelFactory Code Style Settings Nastavitve sloga kode @@ -24651,7 +24287,7 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen. - ProjectExplorer::Internal::CopyTaskHandler + ::ProjectExplorer error: Task is of type: error @@ -24673,33 +24309,18 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen. Copy task to clipboard Skopiraj opravilo na odložišče - - - ProjectExplorer::DeployConfiguration Deploy Display name of the deploy build step list. Used as part of the labels in the project window. Razmestitev - - No deployment - Default DeployConfiguration display name - - Brez razmestitve - - - - ProjectExplorer::DeployConfigurationFactory Deploy Configuration Display name of the default deploy configuration Nastavitev razmestitve - - - ProjectExplorer::EditorConfiguration Project Settings @@ -24710,16 +24331,10 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen. Settings, %1 is a language (C++ or QML) Projekt %1 - - - ProjectExplorer::Internal::GccToolChainFactory GCC GNU Compiler Collection (GCC) - - - ProjectExplorer::Internal::GccToolChainConfigWidget &Compiler path: &Pot do prevajalnika: @@ -24728,37 +24343,22 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen. &ABI: &ABI: - - - ProjectExplorer::Internal::ClangToolChainFactory Clang Clang - - - ProjectExplorer::Internal::MingwToolChainFactory MinGW MinGW - - - ProjectExplorer::Internal::LinuxIccToolChainFactory Linux ICC Linux ICC - - - ProjectExplorer::Internal::MsvcToolChainFactory MSVC MSVC - - - ProjectExplorer::Internal::MsvcDebuggerConfigLabel <html><body><p>Specify the path to the <a href="%1">Windows Console Debugger executable</a> (%2) here.</p></body></html> Label text for path configuration. %2 is "x-bit version". @@ -24773,9 +24373,6 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen. 32-bit version 32-bitna različica - - - ProjectExplorer::Internal::MsvcToolChainConfigWidget Initialization: Inicializacija: @@ -24785,13 +24382,6 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen. Razhroščevalnika CDB v %1 ni bilo moč najti - - ProjectExplorer::ProjectsMode - - Projects - Projekti - - ::Welcome @@ -24808,7 +24398,7 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen. - ProjectExplorer::RunControl + ::ProjectExplorer PID %1 PID %1 @@ -24839,9 +24429,6 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen. Do not ask again Ne vprašaj več - - - ProjectExplorer::Internal::ShowInEditorTaskHandler &Show in editor &Prikaži v urejevalniku @@ -24850,9 +24437,6 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen. Show task location in an editor Mesto opravila prikaži v urejevalniku - - - ProjectExplorer::Internal::ShowOutputTaskHandler Show &Output Prikaži &izhod @@ -24861,31 +24445,6 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen. Show output generating this issue. Prikaži izhod, ki je ustvaril to težavo. - - - ProjectExplorer::Internal::TaskWindow - - Build Issues - Težave pri gradnji - - - Show Warnings - Prikaži opozorila - - - Filter by categories - Filtriraj po kategorijah - - - - ProjectExplorer::ToolChain - - Clone of %1 - Klon od %1 - - - - ProjectExplorer::ToolChainConfigWidget &Debugger: &Razhroščevalnik: @@ -24894,9 +24453,6 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen. Autodetect Samozaznava - - - ProjectExplorer::Internal::ToolChainModel Auto-detected Zaznaj samodejno @@ -24937,16 +24493,10 @@ ključe SSH išče na tem mestu in ne v mapi, kjer je nameščen. The following tool chains were already configured:<br>&nbsp;%1<br>They were not configured again. Naslednja zaporedja orodij so že bila nastavljena:<br>&nbsp;%1<br>Niso bila nastavljena še enkrat. - - - ProjectExplorer::Internal::ToolChainOptionsPage Tool Chains Zaporedja orodij - - - ProjectExplorer::UserFileAccessor Using Old Project Settings File Uporaba stare datoteke z nastavitvami projekta @@ -24971,9 +24521,6 @@ Nastavitvene datoteke ».user« vsebujejo nastavitve, ki so za neko okolje poseb Ali še vedno želite naložiti nastavitveno datoteko? - - - ProjectExplorer::UserFileHandler No deployment Brez razmestitve @@ -24987,13 +24534,6 @@ Ali še vedno želite naložiti nastavitveno datoteko? Razmesti na napravo Symbian - - ProjectExplorer::Internal::VcsAnnotateTaskHandler - - &Annotate - Dodaj &opombo - - QmlDesigner::ComponentAction @@ -26871,7 +26411,7 @@ Razlog: %2 - ProjectExplorer::QmlDumpTool + ::ProjectExplorer qmldump could not be built in any of the directories: - %1 @@ -26902,11 +26442,7 @@ Razlog: %2 - ProjectExplorer::QmlObserverTool - - The target directory %1 could not be created. - Ciljne mape %1 ni bilo moč ustvariti. - + ::ProjectExplorer QMLObserver could not be built in any of the directories: - %1 @@ -28579,7 +28115,7 @@ Ali jih želite dodati v projekt? - TaskList::Internal::StopMonitoringHandler + ::ProjectExplorer Stop monitoring Ustavi nadziranje @@ -28588,9 +28124,6 @@ Ali jih želite dodati v projekt? Stop monitoring task files. Ustavi nadziranje datotek z opravili. - - - TaskList::Internal::TaskFileFactory Task file reader Bralnik datotek z opravili @@ -28599,9 +28132,6 @@ Ali jih želite dodati v projekt? File Error Napaka glede datoteke - - - TaskList::TaskListPlugin Cannot open task file %1: %2 Datoteke %1 z opravili ni moč odpreti: %2 @@ -30171,7 +29701,7 @@ Preverite pravice za dostop do mape. - ProjectExplorer::EnvironmentModel + ::ProjectExplorer <UNSET> <ni nastavljeno> @@ -30199,84 +29729,6 @@ Preverite pravice za dostop do mape. <spremenljivka> - - ProjectExplorer::Internal::CoreListenerCheckingForRunningBuild - - Cancel Build && Close - Prekliči gradnjo in zapri - - - A project is currently being built. - Projekt se trenutno gradi. - - - Close Qt Creator? - Ali zaprem Qt Creatorja? - - - Do not Close - Ne zapri - - - Do you want to cancel the build process and close Qt Creator anyway? - Ali vseeno želite preklicati gradnjo in zapreti Qt Creatorja? - - - - ProjectExplorer::Internal::OutputPane - - Re-run this run-configuration - Znova zaženi te nastavitve za zagon - - - Stop - Ustavi - - - Application Output Window - Okno z izhodom programa - - - The application is still running. - Program še vedno teče. - - - Force it to quit? - Ali ga želite prisilno končati? - - - Force Quit - Prisilno končaj - - - Application Output - Izhod programa - - - Unable to close - Ni moč zapreti - - - - ProjectExplorer::Internal::OutputWindow - - Additional output omitted - - Nekaj izhoda je bilo izpuščenega - - - - - ProjectExplorer::Internal::WinGuiProcess - - The process could not be started! - Procesa ni bilo moč zagnati. - - - Cannot retrieve debugging output! - Ni moč pridobiti izhoda razhroščevanja. - - QObject @@ -30686,7 +30138,7 @@ Vedite: to lahko odstrani krajevno datoteko. - ProjectExplorer::Internal::ProjectWelcomePageWidget + ::ProjectExplorer Form Obrazec @@ -31303,7 +30755,7 @@ Preverite, ali je telefon priključen in ali App TRK teče. - ProjectExplorer::Internal::AddTargetDialog + ::ProjectExplorer Add target Dodaj cilj @@ -32174,7 +31626,7 @@ Preverite, ali je telefon priključen in ali App TRK teče. - ProjectExplorer::Internal::BuildConfigDialog + ::ProjectExplorer Change build configuration && continue Spremeni nastavitve za gradnjo in nadaljuj @@ -32211,9 +31663,6 @@ Preverite, ali je telefon priključen in ali App TRK teče. Choose build configuration: Izberite nastavitve za gradnjo - - - ProjectExplorer::TaskWindow Build Issues Težave pri gradnji diff --git a/share/qtcreator/translations/qtcreator_uk.ts b/share/qtcreator/translations/qtcreator_uk.ts index d819db2a3f2..b840e608e54 100644 --- a/share/qtcreator/translations/qtcreator_uk.ts +++ b/share/qtcreator/translations/qtcreator_uk.ts @@ -1459,7 +1459,7 @@ Local pulls are not applied to the master branch. - CodeStyleSettingsPanelFactory + ::ProjectExplorer Code Style Стиль коду @@ -7604,7 +7604,7 @@ Do you want to retry? - DependenciesModel + ::ProjectExplorer Unable to Add Dependency Неможливо додати залежність @@ -7622,7 +7622,7 @@ Do you want to retry? - DependenciesPanelFactory + ::ProjectExplorer Dependencies Залежності @@ -7909,7 +7909,7 @@ Rebuilding the project might help. - EditorSettingsPanelFactory + ::ProjectExplorer Editor Редактор @@ -13798,10 +13798,6 @@ To do this, you type this shortcut and a space in the Locator entry field, and t Libraries Бібліотеки - - Non-Qt Project - Проект не-Qt - Import Project Імпортувати проект @@ -13826,16 +13822,10 @@ To do this, you type this shortcut and a space in the Locator entry field, and t The currently active run configuration's name. Назва поточної активної конфігурації запуску. - - - ProjectExplorer::AbiWidget <custom> <користувацький> - - - ProjectExplorer::AbstractProcessStep Configuration is faulty. Check the Issues view for details. Конфігурація збійна. Перевірте вид "Проблеми" для деталей. @@ -13864,9 +13854,6 @@ To do this, you type this shortcut and a space in the Locator entry field, and t Starting: "%1" %2 Запуск: "%1" %2 - - - ProjectExplorer::ApplicationLauncher Failed to start program. Path or permissions wrong? Збій запуску програми. Неправильний шлях чи дозволи? @@ -13883,36 +13870,6 @@ To do this, you type this shortcut and a space in the Locator entry field, and t Cannot retrieve debugging output. Неможливо отримати зневаджувальне виведення. - - Cannot retrieve debugging output. - - Неможливо отримати зневаджувальне виведення. - - - - ProjectExplorer::BaseProjectWizardDialog - - Location - Розташування - - - untitled - File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. - untitled - - - - ProjectExplorer::BuildConfiguration - - Build - Display name of the build build step list. Used as part of the labels in the project window. - Збірка - - - Clean - Display name of the clean build step list. Used as part of the labels in the project window. - Очистка - Build Settings Налаштування збірки @@ -13929,9 +13886,6 @@ To do this, you type this shortcut and a space in the Locator entry field, and t Clean Environment Чисте середовище - - - ProjectExplorer::BuildEnvironmentWidget Clear system environment Очистити системне середовище @@ -13940,9 +13894,6 @@ To do this, you type this shortcut and a space in the Locator entry field, and t Build Environment Середовище збірки - - - ProjectExplorer::BuildManager Finished %1 of %n steps @@ -13998,21 +13949,6 @@ To do this, you type this shortcut and a space in the Locator entry field, and t Skipping disabled step %1. Пропуск вимкнутого кроку %1. - - Build System - Система збірки - - - Deployment - Розгортання - - - Compile - Компіляція - - - - ProjectExplorer::BuildableHelperLibrary Cannot start process: %1 Не вдалось запустити процес: %1 @@ -14073,9 +14009,6 @@ To do this, you type this shortcut and a space in the Locator entry field, and t %1 не знайдено в PATH - - - ProjectExplorer::CustomWizard Details Default short title for custom wizard page to be shown in the progress pane of the wizard. @@ -14085,10 +14018,6 @@ To do this, you type this shortcut and a space in the Locator entry field, and t Creates a plain C project using qmake, not using the Qt library. Створює простий проект C з використанням qmake, але без бібліотеки Qt. - - Non-Qt Project - Проект не-Qt - Creates a plain C project using CMake, not using the Qt library. Створює простий проект C з використанням CMake, але без бібліотеки Qt. @@ -14193,10 +14122,6 @@ To do this, you type this shortcut and a space in the Locator entry field, and t Plain C++ Project (CMake Build) Простий проект C++(збірка CMake) - - Libraries - Бібліотеки - Object class-name: Ім'я класу об'єкта: @@ -14245,10 +14170,6 @@ To do this, you type this shortcut and a space in the Locator entry field, and t Qt5 Application descriptor Опис програми Qt5 - - Other Project - Інший проект - Project and Test Information Інформація про проект та тести @@ -14281,10 +14202,6 @@ To do this, you type this shortcut and a space in the Locator entry field, and t debug only лише при зневадженні - - Library - Бібліотека - Plugin Information Інформація про додаток @@ -14353,33 +14270,6 @@ To do this, you type this shortcut and a space in the Locator entry field, and t Local user settings Локальні налаштування користувача - - Creates a plain C project using qbs. - Створює прости проект C з використанням qbs. - - - Plain C++ Project (Qbs Build) - Простий проект C++ (збірка Qbs) - - - Details - Деталі - - - Creates a plain (non-Qt) C++ project using qbs. - Створює простий (не Qt) проект C++ з використанням qbs. - - - Plain C Project (Qbs Build) - Простий проект C (збірка Qbs) - - - - ProjectExplorer::DebuggingHelperLibrary - - The target directory %1 could not be created. - Не вдалось створити цільову теку %1. - The existing file %1 could not be removed. Не вдалось видалити існуючих файл %1. @@ -14388,34 +14278,6 @@ To do this, you type this shortcut and a space in the Locator entry field, and t The file %1 could not be copied to %2. Не вдалось скопіювати файл %1 в %2. - - The debugger helpers could not be built in any of the directories: -- %1 - -Reason: %2 - Не вдалось зібрати помічники зневадження в жодній з цих тек: -- %1 - -Причина: %2 - - - GDB helper - Помічник GDB - - - %1 not found in PATH - - %1 не знайдено в PATH - - - - - ProjectExplorer::DeployConfiguration - - Deploy - Display name of the deploy build step list. Used as part of the labels in the project window. - Розгортання - Deploy locally Default DeployConfiguration display name @@ -14425,16 +14287,10 @@ Reason: %2 Deploy Settings Налаштування розгортання - - - ProjectExplorer::DeployConfigurationFactory Deploy Configuration Конфігурація розгортання - - - ProjectExplorer::EditorConfiguration Project Settings @@ -14445,17 +14301,6 @@ Reason: %2 Settings, %1 is a language (C++ or QML) Проект %1 - - Project %1 - Проект %1 - - - Project - Проект - - - - ProjectExplorer::EnvironmentWidget &Edit &Редагувати @@ -14494,16 +14339,10 @@ Reason: %2 Yup, word puzzle. The Set/Unset phrases above are appended to this. %1 is "System Environment" or some such. Використовується <b>%1</b> та - - - ProjectExplorer::Internal::AllProjectsFilter Files in Any Project Файли в будь-якому проекті - - - ProjectExplorer::Internal::AllProjectsFind All Projects Усі проекти @@ -14522,9 +14361,6 @@ Reason: %2 Fi&le pattern: &Маска файлів: - - - ProjectExplorer::Internal::AppOutputPane Attach debugger to this process Під'єднати зневаджувач до цього процесу @@ -14569,9 +14405,6 @@ Reason: %2 Application Output Window Вікно виведення програми - - - ProjectExplorer::Internal::BuildSettingsWidget No build settings available Немає доступних налаштувань збірки @@ -14584,19 +14417,10 @@ Reason: %2 Add Додати - - Remove - Видалити - &Clone Selected &Клонувати обрану - - Clone Configuration - Title of a the cloned BuildConfiguration window, text of the window - Клонувати конфігурацію - New configuration name: Назва нової конфігурації: @@ -14641,9 +14465,6 @@ Reason: %2 New name for build configuration <b>%1</b>: Нова назва для конфігурації збірки <b>%1</b>: - - - ProjectExplorer::Internal::BuildStepListWidget %1 Steps %1 is the name returned by BuildStepList::displayName @@ -14685,9 +14506,6 @@ Reason: %2 No Build Steps Немає кроків збірки - - - ProjectExplorer::Internal::BuildStepsPage Build Steps Кроки збірки @@ -14696,31 +14514,14 @@ Reason: %2 Clean Steps Кроки очистки - - - ProjectExplorer::Internal::ClangToolChainFactory Clang Clang - - - ProjectExplorer::Internal::CompileOutputWindow Compile Output Виведення компілятора - - Increase Font Size - Збільшити розмір шрифту - - - Decrease Font Size - Зменшити розмір шрифту - - - - ProjectExplorer::Internal::CopyTaskHandler error: помилка: @@ -14739,16 +14540,10 @@ Reason: %2 Task is of type: warning попередження: - - - ProjectExplorer::Internal::CurrentProjectFilter Files in Current Project Файли в поточному проекті - - - ProjectExplorer::Internal::CurrentProjectFind Project "%1" Проект "%1" @@ -14765,30 +14560,18 @@ Reason: %2 Project '%1': Проект '%1': - - - ProjectExplorer::Internal::CustomWizardPage Path: Шлях: - - - ProjectExplorer::Internal::DependenciesModel <No other projects in this session> <В цій сесії немає інших проектів> - - - ProjectExplorer::Internal::DoubleTabWidget DoubleTabWidget Віджет з двома закладками - - - ProjectExplorer::Internal::EditorSettingsPropertiesPage Editor settings: Налаштування редактора: @@ -14797,10 +14580,6 @@ Reason: %2 Global Глобальні - - Custom - Користувацькі - Restore Global Відновити глобальні @@ -14881,7 +14660,7 @@ Reason: %2 - ProjectExplorer::Internal::GccToolChainConfigWidget + ::ProjectExplorer &Compiler path: Шлях до &компілятора: @@ -14898,47 +14677,14 @@ Reason: %2 &ABI: &ABI: - - - ProjectExplorer::Internal::GccToolChainFactory GCC GCC - - - ProjectExplorer::Internal::LinuxIccToolChainFactory Linux ICC Linux ICC - - - ProjectExplorer::Internal::LocalApplicationRunControl - - No executable specified. - - Виконуваний модуль не вказано. - - - Executable %1 does not exist. - - Виконуваний модуль '%1' не існує. - - - Starting %1... - - Запуск %1... - - - %1 exited with code %2 - - %1 завершився з кодом %2 - - - No executable specified. - Виконуваний модуль не вказано. - Executable %1 does not exist. Виконуваний модуль %1 не існує. @@ -14951,32 +14697,18 @@ Reason: %2 %1 crashed. %1 завершився аварійно. - - %1 crashed - %1 завершився аварійно - %1 exited with code %2 %1 завершився з кодом %2 - - - ProjectExplorer::Internal::MingwToolChainFactory MinGW MinGW - - - ProjectExplorer::Internal::MiniProjectTargetSelector Project Проект - - Build - Збірка - Kit Комплект @@ -14985,10 +14717,6 @@ Reason: %2 Deploy Розгортання - - Run - Запуск - Unconfigured Не сконфігуровано @@ -15049,43 +14777,14 @@ Reason: %2 <style type=text/css>a:link {color: rgb(128, 128, 255, 240);}</style>The project <b>%1</b> is not yet configured<br/><br/>You can configure it in the <a href="projectmode">Projects mode</a><br/> <style type=text/css>a:link {color: rgb(128, 128, 255, 240);}</style>Проект <b>%1</b> ще не сконфігуровано<br/><br/>Ви можете сконфігурувати його в режимі<a href="projectmode">Проекти</a><br/> - - - ProjectExplorer::Internal::MsvcToolChainConfigWidget - - Initialization: - Ініціалізація: - - - - ProjectExplorer::Internal::MsvcToolChainFactory MSVC MSVC - - - ProjectExplorer::Internal::ProcessStep - - Custom Process Step - Default ProcessStep display name - Користувацький крок процесу - - - Custom Process Step - item in combobox - Користувацький крок процесу - - - - ProjectExplorer::Internal::ProcessStepConfigWidget Custom Process Step Користувацький крок процесу - - - ProjectExplorer::Internal::ProcessStepWidget Command: Команда: @@ -15098,16 +14797,10 @@ Reason: %2 Arguments: Аргументи: - - - ProjectExplorer::Internal::ProjectExplorerSettingsPage General Загальне - - - ProjectExplorer::Internal::ProjectExplorerSettingsPageUi Projects Directory Тека проектів @@ -15212,10 +14905,6 @@ Reason: %2 Stop applications before building: Зупинити програми перед збіркою: - - None - Жодних - Same Project Цього ж проекту @@ -15224,9 +14913,6 @@ Reason: %2 All Усі - - - ProjectExplorer::Internal::ProjectFileFactory Project File Factory ProjectExplorer::ProjectFileFactory display name. @@ -15236,35 +14922,6 @@ Reason: %2 Failed to open project Збій відкриття проекту - - All Projects - Усі проекти - - - Project File Factory - Фабрика файлів проекту - - - - ProjectExplorer::Internal::ProjectFileWizardExtension - - <Implicitly Add> - <Неявно додати> - - - The files are implicitly added to the projects: - - Неявно додані до проектів файли: - - - - The files are implicitly added to the projects: - Неявно додані до проектів файли: - - - <None> - <Немає> - Open project anyway? Всеодно відкрити проект? @@ -15286,38 +14943,6 @@ to project "%2". "%1" (%2). - - A version control system repository could not be created in "%1". - Не вдалось створити сховище системи контролю версій в "%1". - - - Failed to add "%1" to the version control system. - Збій додавання "%1" до системи контролю версій. - - - Failed to add subproject '%1' -to project '%2'. - Збій додавання підпроекту '%1' -до проекту '%2'. - - - Failed to add one or more files to project -'%1' (%2). - Збій додавання одного чи кількох файлів до проекту -'%1' (%2). - - - - A version control system repository could not be created in '%1'. - Не вдалось створити репозитарій системи контролю версій в '%1'. - - - Failed to add '%1' to the version control system. - Збій додавання '%1' до системи контролю версій. - - - - ProjectExplorer::Internal::ProjectTreeWidget Simplify Tree Спростити дерево @@ -15330,9 +14955,6 @@ to project '%2'. Synchronize with Editor Синхронізувати з редактором - - - ProjectExplorer::Internal::ProjectTreeWidgetFactory Projects Проекти @@ -15349,24 +14971,6 @@ to project '%2'. Filter Tree Фільтрувати дерево - - - ProjectExplorer::Internal::ProjectWelcomePage - - Develop - Розробка - - - New Project - Новий проект - - - Projects - Проекти - - - - ProjectExplorer::Internal::ProjectWizardPage Summary Підсумок @@ -15399,36 +15003,10 @@ to project '%2'. Files to be added in Будуть додані файли в - - - ProjectExplorer::Internal::PublishingWizardSelectionDialog - - Publishing Wizard Selection - Вибір майстра публікації - - - Available Wizards: - Доступні майстри: - - - Start Wizard - Запуск майстра - - - Publishing is currently not possible for project '%1'. - Публікація не є наразі можливою для проекту '%1'. - - - - ProjectExplorer::Internal::RunSettingsWidget Remove Run Configuration? Видалити конфігурацію запуску? - - Rename... - Перейменувати... - Do you really want to delete the run configuration <b>%1</b>? Ви дійсно бажаєте видалити конфігурацію запуску <b>%1</b>? @@ -15437,14 +15015,6 @@ to project '%2'. Run Settings Налаштування запуску - - Add - Додати - - - Remove - Видалити - Deployment Розгортання @@ -15453,27 +15023,15 @@ to project '%2'. Method: Метод: - - Run - Запуск - Run configuration: Конфігурація запуску: - - &Clone Selected - &Клонувати обрану - Clone Configuration Title of a the cloned RunConfiguration window, text of the window Клонувати конфігурацію - - New configuration name: - Назва нової конфігурації: - New name for run configuration <b>%1</b>: Нова назва для конфігурації запуску <b>%1</b>: @@ -15482,10 +15040,6 @@ to project '%2'. Cancel Build && Remove Deploy Configuration Скасувати збірку та видалити конфігурацію розгортання - - Do Not Remove - Не видаляти - Remove Deploy Configuration %1? Видалити конфігурацію розгортання %1? @@ -15510,9 +15064,6 @@ to project '%2'. New name for deploy configuration <b>%1</b>: Нова назва для конфігурації розгортання <b>%1</b>: - - - ProjectExplorer::Internal::SessionDialog Session Manager Менеджер сесій @@ -15537,18 +15088,6 @@ to project '%2'. &Open &Відкрити - - New session name - Назва нової сесії - - - Rename session - Перейменувати сесію - - - Automatically restore the last session when Qt Creator is started. - Автоматично відновлювати останню сесію, коли запускається Qt Creator. - Restore last session on startup Відновлювати останню сесії під час запуску @@ -15569,9 +15108,6 @@ to project '%2'. Rename Session Перейменувати сесію - - - ProjectExplorer::Internal::SessionNameInputDialog Enter the name of the session: Введіть назву сесії: @@ -15584,9 +15120,6 @@ to project '%2'. Switch to Перемкнутись до - - - ProjectExplorer::Internal::ShowInEditorTaskHandler Show in Editor Показати в редакторі @@ -15595,9 +15128,6 @@ to project '%2'. Show task location in an editor. Показати положення задачі в редакторі. - - - ProjectExplorer::Internal::ShowOutputTaskHandler Show &Output Показати &виведення @@ -15610,62 +15140,18 @@ to project '%2'. O O - - - ProjectExplorer::Internal::TargetSelector - - Run - Виконати - Build Зібрати - - - ProjectExplorer::Internal::TargetSettingsPanelWidget No kit defined in this project. В цьому проекті не визначено жодного комплекту. - - Incompatible Kit - Несумісний комплект - - - Kit %1 is incompatible with kit %2. - Комплект %1 не сумісний з комплектом %2. - - - Build configurations: - - Конфігурації збірки: - - - Deploy configurations: - - Конфігурації розгортання: - - - Run configurations - Конфігурації запуску - - - Partially Incompatible Kit - Частково несумісний комплект - - - Some configurations could not be copied. - Не вдалось скопіювати деякі конфігурації. - Cancel Build && Remove Kit Скасувати збірку та видалити комплект - - Do Not Remove - Не видаляти - Remove Kit %1? Видалити комплект %1? @@ -15704,25 +15190,10 @@ to project '%2'. Import existing build... Імпортувати існуючу збірку... - - Build configurations: - Конфігурації збірки: - - - Deploy configurations: - Конфігурації розгортання: - - - Run configurations - Конфігурації запуску - Qt Creator Qt Creator - - - ProjectExplorer::Internal::TargetSettingsWidget TargetSettingsWidget Віджет налаштувань цілі @@ -15735,16 +15206,10 @@ to project '%2'. Manage Kits... Управління комплектами... - - - ProjectExplorer::Internal::TaskDelegate File not found: %1 Файл не знайдено: %1 - - - ProjectExplorer::Internal::TaskWindow Issues Проблеми @@ -15757,56 +15222,10 @@ to project '%2'. Filter by categories Фільтрувати за категоріями - - - ProjectExplorer::Internal::ToolChainModel - - Auto-detected - Автовизначення - - - Manual - Вручну - - - <nobr><b>ABI:</b> %1 - <nobr><b>ABI:</b> %1 - - - not up-to-date - не оновлено - - - Name - Назва - - - Type - Тип - - - Duplicate Compilers Detected - Виявлено повторні компілятори - - - The following compiler was already configured:<br>&nbsp;%1<br>It was not configured again. - Наступний компілятор вже сконфігуровано:<br>&nbsp;%1<br>Його не буде сконфігуровано знову. - - - The following compilers were already configured:<br>&nbsp;%1<br>They were not configured again. - Наступні компілятори вже сконфігуровано:<br>&nbsp;%1<br>Їх не буде сконфігуровано знову. - - - - ProjectExplorer::Internal::ToolChainOptionsPage Compilers Компілятори - - Add - Додати - <nobr><b>ABI:</b> %1 <nobr><b>ABI:</b> %1 @@ -15835,10 +15254,6 @@ to project '%2'. Clone Клонувати - - Remove - Видалити - Duplicate Compilers Detected Виявлено повторні компілятори @@ -15851,9 +15266,6 @@ to project '%2'. The following compilers were already configured:<br>&nbsp;%1<br>They were not configured again. Наступні компілятори вже сконфігуровано:<br>&nbsp;%1<br>Їх не буде сконфігуровано знову. - - - ProjectExplorer::Internal::VcsAnnotateTaskHandler &Annotate @@ -15862,13 +15274,6 @@ to project '%2'. Annotate using version control system. - - - ProjectExplorer::Internal::WizardPage - - Add to &project: - Додати до &проекту: - Add to &version control: Додати до контролю &версій: @@ -15889,20 +15294,10 @@ to project '%2'. Project Management Управління проектом - - Manage... - Управління... - - - - ProjectExplorer::ProjectConfiguration Clone of %1 Клон %1 - - - ProjectExplorer::ProjectExplorerPlugin &Build З&бірка @@ -16023,22 +15418,10 @@ to project '%2'. Clean Project "%1" Очистити проект "%1" - - Build Without Dependencies - Зібрати без залежностей - - - Rebuild Without Dependencies - Перезібрати без залежностей - Deploy Without Dependencies Розгорнути без залежностей - - Clean Without Dependencies - Очистити без залежностей - Run Запустити @@ -16088,10 +15471,6 @@ to project '%2'. Remove project from parent profile (Project explorer view); will not physically delete any files. Видалити проект... - - Rename... - Перейменувати... - Set "%1" as Active Project Встановити "%1" як активний проект @@ -16116,10 +15495,6 @@ to project '%2'. The ID of the currently active kit. Ідентифікатор поточного активного комплекту. - - The currently active run configuration's name. - Назва поточної активної конфігурації запуску. - <h3>Project already open</h3> <h3>Проект вже відкрито</h3> @@ -16204,15 +15579,6 @@ to project '%2'. Name of current session. Назва поточної сесії. - - Project File Factory - ProjectExplorer::ProjectFileFactory display name. - Фабрика файлів проекту - - - Failed to open project - Збій відкриття проекту - Cancel Build && Unload Скасувати збірку та вивантажити @@ -16225,14 +15591,6 @@ to project '%2'. The name of the currently active kit. Назва поточного активного комплекту. - - The name of the currently active kit in a filesystem friendly version. - Назва поточного активного комплекту в дружній до файлової системи формі. - - - The id of the currently active kit. - Ідентифікатор поточного активного комплекту. - The username with which to log into the device in the currently active kit. Ім'я користувача для входу на пристрій в поточному активному комплекті. @@ -16293,10 +15651,6 @@ to project '%2'. The configuration that was supposed to run is no longer available. Конфігурація запуску, яку планувалось використати, більше не доступна. - - <b>Warning:</b> This file is outside the project directory. - <b>Попередження:</b> Файл знаходиться поза текою проекту. - Build Build step @@ -16310,22 +15664,6 @@ to project '%2'. Stop these applications before building? Зупинити ці програми перед збіркою? - - The project %1 is not configured, skipping it. - Проект %1 не сконфігуровано, пропускаємо його. - - - Building "%1" is disabled: %2<br> - Збірка "%1" вимкнена: %2<br> - - - No project loaded - Проект не завантажено - - - Building '%1' is disabled: %2 - Збірка '%1' вимкнена: %2 - Could not add following files to project %1: Не вдалось додати до проекту %1 наступні файли: @@ -16424,22 +15762,10 @@ Rename %2 to %3 anyway? Current project's main file. Головний файл поточного проекту. - - The name of the currently active kit in a filesystem-friendly version. - Назва поточного активного комплекту в дружній до файлової системи формі. - Load Project Завантажити проект - - Failed to open project. - Збій відкриття проекту. - - - All Projects - Усі проекти - New Project Title of dialog @@ -16463,14 +15789,6 @@ Do you want to ignore them? Clean Очистити - - Build - Збірка - - - Deploy - Розгортання - The project %1 is not configured, skipping it. @@ -16601,16 +15919,6 @@ Do you want to ignore them? New File Новий файл - - - ProjectExplorer::ProjectsMode - - Projects - Проекти - - - - ProjectExplorer::QmlDumpTool qmldump could not be built in any of the directories: - %1 @@ -16621,9 +15929,6 @@ Reason: %2 Причина: %2 - - - ProjectExplorer::QmlObserverTool The target directory %1 could not be created. Не вдалось створити цільову теку %1. @@ -16638,9 +15943,6 @@ Reason: %2 Причина: %2 - - - ProjectExplorer::RunControl Application Still Running Програма ще виконується @@ -16670,9 +15972,6 @@ Reason: %2 Do not ask again Не питати знову - - - ProjectExplorer::SessionManager Error while restoring session Помилка при відновлені сесії @@ -16705,10 +16004,6 @@ Reason: %2 Remove projects from Session Видалити проекти з сесії - - Failed to open project - Збій відкриття проекту - Loading Session Завантаження сесії @@ -16729,9 +16024,6 @@ Reason: %2 Untitled Без назви - - - ProjectExplorer::SettingsAccessor No valid .user file found for '%1' Не вдалось знайти правильний файл .user для '%1' @@ -16764,23 +16056,10 @@ Reason: %2 Unsupported Shared Settings File Непідтримуваний файл спільних налаштувань - - - ProjectExplorer::ToolChain - - Clone of %1 - Клон %1 - - - - ProjectExplorer::ToolChainConfigWidget Name: Назва: - - - ProjectExplorer::UserFileHandler No deployment Без розгортання @@ -20936,7 +20215,7 @@ with a password, which you can enter below. - TaskList::Internal::StopMonitoringHandler + ::ProjectExplorer Stop Monitoring Зупинити стеження @@ -20946,24 +20225,6 @@ with a password, which you can enter below. Зупинити стеження за файлами завдань. - - TaskList::Internal::TaskFileFactory - - File Error - Помилка файлу - - - - TaskList::TaskListPlugin - - Cannot open task file %1: %2 - Неможливо відкрити файл завдань %1: %2 - - - My Tasks - Мої завдання - - TextEditSpecifics @@ -24773,7 +24034,7 @@ These prefixes are used in addition to current file name on Switch Header/Source - ProjectExplorer::Internal::CodeStyleSettingsPropertiesPage + ::ProjectExplorer Form Форма @@ -26736,35 +25997,23 @@ Do you want to kill it? - ProjectExplorer::EnvironmentItemsDialog + ::ProjectExplorer Edit Environment Редагування середовища - - - ProjectExplorer::Internal::ProjectListWidget %1 (%2) %1 (%2) - - - ProjectExplorer::Internal::SessionModel New session name Назва нової сесії - - - ProjectExplorer::Internal::WinCEToolChainFactory WinCE WinCE - - - ProjectExplorer::Internal::WinCEToolChainConfigWidget SDK: SDK: @@ -26816,10 +26065,6 @@ Do you want to kill it? ::QmakeProjectManager - - Configure Project - Конфігурування проекту - Cancel Скасувати @@ -27924,7 +27169,7 @@ Do you want to kill it? - ProjectExplorer::Internal::DeviceFactorySelectionDialog + ::ProjectExplorer Device Configuration Wizard Selection Вибір майстра конфігурації пристрою @@ -27937,9 +27182,6 @@ Do you want to kill it? Start Wizard Запуск майстра - - - ProjectExplorer::Internal::DeviceSettingsWidget Linux Device Configurations Конфігурації Linux-пристроїв @@ -27948,18 +27190,10 @@ Do you want to kill it? &Device: &Пристрій: - - General - Загальне - &Name: &Назва: - - Type: - Тип: - Auto-detected: Автовизначено: @@ -30964,7 +30198,7 @@ Do you want to add them to the project?</html> - ProjectExplorer::DesktopDevice + ::ProjectExplorer Local PC Локальний комп'ютер @@ -30973,16 +30207,6 @@ Do you want to add them to the project?</html> Desktop Стаціонарний комп'ютер - - - ProjectExplorer::Internal::DesktopDeviceFactory - - Desktop - Стаціонарний комп'ютер - - - - ProjectExplorer::DeviceApplicationRunner Cannot run: Device is not able to create processes. Неможливо запустити: пристрій не здатний створювати процеси. @@ -31035,16 +30259,10 @@ Do you want to add them to the project?</html> Remote application finished with exit code 0. Віддалена програма завершилась з кодом 0. - - - ProjectExplorer::DeviceManagerModel %1 (default for %2) %1 (типово для %2) - - - ProjectExplorer::DeviceProcessesDialog Kit: Комплект: @@ -31073,16 +30291,10 @@ Do you want to add them to the project?</html> &Attach to Process &Під'єднатись до процесу - - - ProjectExplorer::Internal::DeviceProcessesDialogPrivate Remote Error Віддалена помилка - - - ProjectExplorer::DeviceProcessList Process ID ID процесу @@ -31091,16 +30303,6 @@ Do you want to add them to the project?</html> Command Line Рядок команди - - - ProjectExplorer::Internal::DeviceSettingsPage - - Devices - Пристрої - - - - ProjectExplorer::DeviceUsedPortsGatherer Connection error: %1 Помилка з'єднання: %1 @@ -31127,16 +30329,10 @@ Remote error output was: %1 Віддалене виведення для помилок: %1 - - - ProjectExplorer::IDevice Device Пристрій - - - ProjectExplorer::Internal::LocalProcessList Cannot terminate process %1: %2 Неможливо завершити процес %1: %2 @@ -31145,9 +30341,6 @@ Remote error output was: %1 Cannot open process %1: %2 Неможливо відкрити процес %1: %2 - - - ProjectExplorer::SshDeviceProcessList Connection failure: %1 Збій з'єднання: %1 @@ -31190,17 +30383,10 @@ Remote stderr was: %1 Віддалений stderr: %1 - - - ProjectExplorer::Kit Unnamed Без імені - - Kit - Комплект - Kit ID Ідентифікатор комплекту @@ -31209,26 +30395,14 @@ Remote stderr was: %1 Kit filesystem-friendly name Назва комплекту для файлової системи - - The name of the currently active kit. - Назва поточного активного комплекту. - The name of the currently active kit in a filesystem-friendly version. Назва поточного активного комплекту в дружній до файлової системи формі. - - The name of the currently active kit in a filesystem friendly version. - Назва поточного активного комплекту в дружній до файлової системи формі. - The id of the currently active kit. Ідентифікатор поточного активного комплекту. - - Clone of %1 - Клон %1 - Error: Помилка: @@ -31237,9 +30411,6 @@ Remote stderr was: %1 Warning: Попередження: - - - ProjectExplorer::SysRootKitInformation Sys Root "%1" is not a directory. Sys Root "%1" не є текою. @@ -31248,9 +30419,6 @@ Remote stderr was: %1 Sys Root Sys Root - - - ProjectExplorer::ToolChainKitInformation Compiler Компілятор @@ -31267,9 +30435,6 @@ Remote stderr was: %1 No compiler set in kit. В комплекті не задано компілятор. - - - ProjectExplorer::DeviceTypeKitInformation Unknown device type Невідомий тип пристрою @@ -31278,9 +30443,6 @@ Remote stderr was: %1 Device type Тип пристрою - - - ProjectExplorer::DeviceKitInformation Device does not match device type. Пристрій не відповідає типу. @@ -31293,14 +30455,6 @@ Remote stderr was: %1 Device is incompatible with this kit. Пристрій несумісний з комплектом. - - Device - Пристрій - - - Unconfigured - Не сконфігуровано - Host address Адреса вузла @@ -31317,9 +30471,6 @@ Remote stderr was: %1 Private key file Файл приватного ключа - - - ProjectExplorer::Internal::SysRootInformationConfigWidget The root directory of the system image to use.<br>Leave empty when building for the desktop. Коренева тека образу системи, що використовується. <br>Залиште порожнім для збірки для стаціонарного комп'ютера. @@ -31328,9 +30479,6 @@ Remote stderr was: %1 Sysroot: Sysroot: - - - ProjectExplorer::Internal::ToolChainInformationConfigWidget The compiler to use for building.<br>Make sure the compiler will produce binaries compatible with the target device, Qt version and other libraries used. Компілятор, що використовується для збірки.<br>Переконайтесь, що компілятор створює код сумісний з цільовим пристроєм, версією Qt та іншими бібліотеками, що використовуються. @@ -31339,10 +30487,6 @@ Remote stderr was: %1 <No compiler> <Немає компілятора> - - Manage... - Управління... - Compiler: Компілятор: @@ -31351,9 +30495,6 @@ Remote stderr was: %1 <No compiler available> <Немає компілятора> - - - ProjectExplorer::Internal::DeviceTypeInformationConfigWidget The type of device to run applications on. Тип пристрій, на якому буде виконуватись програма. @@ -31362,9 +30503,6 @@ Remote stderr was: %1 Device type: Тип пристрою: - - - ProjectExplorer::Internal::DeviceInformationConfigWidget Manage Управління @@ -31377,20 +30515,6 @@ Remote stderr was: %1 Device: Пристрій: - - - ProjectExplorer::KitManager - - Desktop - Стаціонарний комп'ютер - - - - ProjectExplorer::Internal::KitManagerConfigWidget - - Name: - Назва: - Kit name and icon. Назва комплекту та піктограма. @@ -31419,66 +30543,22 @@ Remote stderr was: %1 Images (*.png *.xpm *.jpg) Зображення (*.png *.xpm *.jpg) - - - ProjectExplorer::Internal::KitModel - - Auto-detected - Автовизначення - - - Manual - Вручну - %1 (default) %1 (типово) - - Name - Назва - - - Clone of %1 - Клон %1 - - - - ProjectExplorer::KitOptionsPage Kits Комплекти - - Add - Додати - - - Clone - Клонувати - - - Remove - Видалити - Make Default Зробити типовим - - - ProjectExplorer::RunConfiguration - - Run Settings - Налаштування запуску - Unknown error. Невідома помилка. - - - ProjectExplorer::Target Default build Типова збірка @@ -33555,14 +32635,11 @@ Remote: %4 - ProjectExplorer::Internal::CustomToolChainFactory + ::ProjectExplorer Custom Користувацький - - - ProjectExplorer::Internal::TextEditDetailsWidget %n entries @@ -33575,9 +32652,6 @@ Remote: %4 Empty Порожньо - - - ProjectExplorer::Internal::CustomToolChainConfigWidget Custom Parser Settings... Налаштування користувацького обробника... @@ -33602,18 +32676,10 @@ Remote: %4 Comma-separated list of mkspecs. Список mkspec, розділених комами. - - &Compiler path: - Шлях до &компілятора: - &Make path: Шлях до &make: - - &ABI: - &ABI: - &Predefined macros: &Попередньо визначені макроси: @@ -33634,16 +32700,10 @@ Remote: %4 &Error parser: &Розбір помилок: - - - ProjectExplorer::GccToolChain %1 (%2 %3 in %4) %1 (%2 %3 в %4) - - - ProjectExplorer::Internal::RemoveTaskHandler Remove Name of the action triggering the removetaskhandler @@ -34686,11 +33746,7 @@ Partial names can be used if they are unambiguous. - ProjectExplorer::DesktopDeviceConfigurationWidget - - Form - Форма - + ::ProjectExplorer Machine type: Тип машини: @@ -35478,34 +34534,16 @@ Partial names can be used if they are unambiguous. - ProjectExplorer::EnvironmentAspect + ::ProjectExplorer Run Environment Середовище виконання - - - ProjectExplorer::EnvironmentAspectWidget Base environment for this run configuration: Базове середовище для цієї конфігурації запуску: - - ProjectExplorer::LocalEnvironmentAspect - - Build Environment - Середовище збірки - - - System Environment - Системне середовище - - - Clean Environment - Чисте середовище - - PythonEditor::ClassNamePage @@ -35947,7 +34985,7 @@ This wizard will guide you through the essential steps to deploy a ready-to-go d - ProjectExplorer::DeviceCheckBuildStep + ::ProjectExplorer No device configured. Не сконфігуровано жодного пристою. @@ -36484,7 +35522,7 @@ monitor reset - ProjectExplorer::Internal::CustomParserConfigDialog + ::ProjectExplorer Custom Parser Користувацький обробник @@ -36509,10 +35547,6 @@ monitor reset &Message: &Повідомлення: - - Test - Тест - E&rror message: &Повідомлення про помилку: @@ -36521,10 +35555,6 @@ monitor reset File name: Ім'я файлу: - - TextLabel - Текстова мітка - Line number: Номер рядка: @@ -36581,9 +35611,6 @@ monitor reset Warning message: Попереджувальне повідомлення: - - - ProjectExplorer::Internal::DeviceTestDialog Device Test Тест пристрою @@ -36962,26 +35989,6 @@ monitor reset TextInputSection - - Text Input - - - - Input mask - - - - Echo mode - - - - Pass. char - - - - Character displayed when users enter passwords. - - Flags Прапорці @@ -36990,18 +35997,6 @@ monitor reset Read only Лише для читання - - Cursor visible - - - - Active focus on press - - - - Auto scroll - - TextInputSpecifics @@ -37043,14 +36038,6 @@ monitor reset Color Колір - - Visible - - - - Opacity - - SideBar @@ -37531,10 +36518,6 @@ Do you want to uninstall the existing package next time? The Info.plist might be incorrect. Файл Info.plist може бути неправильним. - - The provisioning profile "%1" (%2) used to sign the application does not cover the device %3 (%4). Deployment to it will fail. - - Ios::Internal::IosDeployStepFactory @@ -37765,30 +36748,11 @@ Do you want to uninstall the existing package next time? - CustomToolChain - - GCC - GCC - - - Clang - Clang - + ::ProjectExplorer ICC ICC - - MSVC - MSVC - - - Custom - Користувацький - - - - ProjectExplorer::DesktopProcessSignalOperation Cannot kill process with pid %1: %2 Неможливо вбити процес з ідентифікатором %1: %2 @@ -37829,9 +36793,6 @@ Do you want to uninstall the existing package next time? could not break the process. не вдалось перепинити процес. - - - ProjectExplorer::SshDeviceProcess Internal error Внутрішня помилка @@ -37848,9 +36809,6 @@ Do you want to uninstall the existing package next time? Terminated by request. Завершено за запитом. - - - ProjectExplorer::Internal::ImportWidget Import Build From... Імпортувати збірку з... @@ -37859,32 +36817,16 @@ Do you want to uninstall the existing package next time? Import Імпортувати - - - ProjectExplorer::KitChooser - - Manage... - Управління... - - - - ProjectExplorer::OsParser The process can not access the file because it is being used by another process. Please close all running instances of your application before starting a build. Процес не може отримати доступ до файлу, бо він використовується іншим процесом. Будь ласка, закрийте усі запущені екземпляри вашої програми перед початком збірки. - - - ProjectExplorer::ProjectImporter %1 - temporary %1 - тимчасовий - - - ProjectExplorer::TargetSetupPage <span style=" font-weight:600;">No valid kits found.</span> <span style=" font-weight:600;">Не знайдено комплектів.</span> @@ -37905,10 +36847,6 @@ Please close all running instances of your application before starting a build.< Kit Selection Вибір комплекту - - Kits - Комплекти - Qt Creator can use the following kits for project <b>%1</b>: %1: Project name @@ -37918,13 +36856,6 @@ Please close all running instances of your application before starting a build.< Qt Creator can use the following kits for project <b>%1</b>: Qt Creator може використовувати наступні комплекти для проекту <b>%1</b>: - - - ProjectExplorer::Internal::TargetSetupWidget - - Manage... - Управління... - <b>Error:</b> Severity is Task::Error @@ -37943,20 +36874,6 @@ Please close all running instances of your application before starting a build.< <b>Warning:</b> <b>Попередження:</b> - - - ProjectExplorer::Internal::UnconfiguredProjectPanel - - Configure Project - Конфігурування проекту - - - - ProjectExplorer::Internal::TargetSetupPageWrapper - - Configure Project - Конфігурування проекту - Cancel Скасувати @@ -38065,10 +36982,6 @@ Please close all running instances of your application before starting a build.< Add Tab... Додати вкладку... - - Step into Tab - - QmlDesigner::TabViewDesignerAction @@ -38382,37 +37295,6 @@ Please close all running instances of your application before starting a build.< <html><head/><body><p>Ви намагаєтесь запустити інструмент "%1" для програми в режимі %2. Цей інструмент призначено для використання в режимі %3.</p><p>Характеристики часу виконання режимів Debug та Release суттєво відрізняються, аналітичні дані для одного режиму можуть бути не відповідними для іншого.</p><p>Бажаєте продовжити і запустити інструмент в режимі %2?</p></body></html> - - ::Valgrind - - Valgrind options: %1 - - - - Working directory: %1 - - - - Command line arguments: %1 - - - - Analyzing finished. - - - - Error: "%1" could not be started: %2 - - - - Error: no Valgrind executable set. - - - - Process terminated. - - - ::Valgrind @@ -39930,65 +38812,19 @@ Do you want to kill it? - ProjectExplorer::KitConfigWidget + ::ProjectExplorer Manage... Управління... - - - ProjectExplorer::SelectableFilesDialogEditFiles Edit Files Редагувати файли - - Hide files matching: - Приховати файли, що відповідають: - - - Show files matching: - Показати файли, що відповідають: - - - Apply Filter - Застосувати фільтр - - - Generating file list... - -%1 - Генерування списку файлів... - -%1 - - - Not showing %n files that are outside of the base directory. -These files are preserved. - - Не показаний %n файл з поза меж базової теки. -Цей файл буде збережено. - Не показано %n файли з поза меж базової теки. -Ці файли буде збережено. - Не показано %n файлів з поза меж базової теки. -Цей файли буде збережено. - - - - - ProjectExplorer::SelectableFilesDialogAddDirectory Add Existing Directory Додавання існуючої теки - - Source directory: - Тека кодів: - - - Start Parsing - Розпочати розбір - ::QmlDesigner @@ -40451,11 +39287,7 @@ This wizard will guide you through the essential steps to deploy a ready-to-go d - ProjectExplorer::DeploymentDataView - - Form - Форма - + ::ProjectExplorer Files to deploy: Файли до розгортання: @@ -41340,7 +40172,7 @@ Install an SDK of at least API version %1. ::Mercurial - ProjectExplorer::DeploymentDataModel + ::ProjectExplorer Local File Path Локальний шлях до файлу @@ -41349,9 +40181,6 @@ Install an SDK of at least API version %1. Remote Directory Віддалена тека - - - ProjectWizard The files are implicitly added to the projects: Неявно додані до проектів файли: @@ -41360,10 +40189,6 @@ Install an SDK of at least API version %1. <Implicitly Add> <Неявно додати> - - <None> - <Немає> - Utils::SettingsAccessor @@ -41385,7 +40210,7 @@ Install an SDK of at least API version %1. - ProjectExplorer::EnvironmentIdAccessor + ::ProjectExplorer <p>No .user settings file created by this instance of Qt Creator was found.</p><p>Did you work with this project on another machine or using a different settings path before?</p><p>Do you still want to load the settings file "%1"?</p> <p>Не знайдено файлу налаштувань .user, створеного цим екземпляром Qt Creator.</p><p>Ви працювали раніше з цим проектом на іншому комп'ютері абр використовуючи інший шлях до налаштувань?</p><p>Ви ще бажаєте завантажити файл налаштувань "%1"?</p> @@ -41394,9 +40219,6 @@ Install an SDK of at least API version %1. Settings File for "%1" from a different Environment? Файл налаштувань для "%1" з іншого середовища? - - - ProjectExplorer::Task Qt Creator needs a compiler set up to build. Configure a compiler in the kit options. Qt Creator потребує компілятора для збірки. Сконфігуруйте компілятор в налаштуваннях комплекту. @@ -41409,9 +40231,6 @@ Install an SDK of at least API version %1. You asked to build the current Run Configuration's build target only, but it is not associated with a build target. Update the Make Step in your build settings. Ви попросили про збірку лише цілі поточної конфігурації запуску, але вона не пов'язана з ціллю. Оновіть кроки збірки в налаштуваннях збірки. - - - ProjectExplorer::XcodebuildParser Replacing signature Заміна підпису @@ -41581,7 +40400,7 @@ Install an SDK of at least API version %1. - TaskList::Internal::TaskListPlugin + ::ProjectExplorer Cannot open task file %1: %2 Неможливо відкрити файл завдань %1: %2 @@ -43299,7 +42118,7 @@ The statements may not contain '{' nor '}' characters. - ProjectExplorer::JsonWizard + ::ProjectExplorer "data" for a "Form" page needs to be unset or an empty object. Об'єкт "data" для сторінки "Form" повинен бути не заданим або порожнім. @@ -43486,10 +42305,6 @@ The statements may not contain '{' nor '}' characters.Source file: Файл коду: - - Path: - Шлях: - Define Class Визначити клас @@ -43498,14 +42313,6 @@ The statements may not contain '{' nor '}' characters.Details Деталі - - Project Management - Управління проектом - - - Summary - Підсумок - Creates a C++ header and a source file for a new class that you can add to a C++ project. Створює заголовок C++ та файл коду для нового класу, який ви можете додати до проекту C++. @@ -43726,10 +42533,6 @@ The statements may not contain '{' nor '}' characters.Creates a scratch buffer using a temporary file. Створює чернетку використовуючи тимчасовий файл. - - General - Загальне - Scratch Buffer Чернетка @@ -43770,14 +42573,6 @@ The statements may not contain '{' nor '}' characters.Build System Система збірки - - Kit Selection - Вибір комплекту - - - Kits - Комплекти - Creates a simple C application using either qmake, CMake, or Qbs to build. Створює просту програму на C з використанням qmake, CMake або Qbs для збірки. @@ -43810,10 +42605,6 @@ Preselects a desktop Qt for building the application if available. Попередньо обирає Qt для стільниці для збірки програми, якщо доступно. - - Application - Програма - Qt Console Application Консольна програма Qt @@ -43826,10 +42617,6 @@ Preselects a desktop Qt for building the application if available. Creates a qmake-based project without any files. This allows you to create an application without any default classes. Створює проект, що базується на qmake, без жодних файлів. Це дозволить вам створити програму без будь-яких типових класів. - - Other Project - Інший проект - Empty qmake Project Порожній проект qmake @@ -44018,18 +42805,10 @@ Preselects a desktop Qt for building the application if available. Running Bazaar branch... - - Clone - Клонувати - Clones a Bazaar branch and tries to load the contained project. Клонує гілку Bazaar та намагається завантажити з нього проект. - - Import Project - Імпортувати проект - Bazaar Clone (Or Branch) @@ -44493,7 +43272,7 @@ Preselects a desktop Qt for building the application if available. - ProjectExplorer::JsonFieldPage + ::ProjectExplorer Field is not an object. Поле не є об'єктом. @@ -44650,9 +43429,6 @@ Preselects a desktop Qt for building the application if available. No source given for file in file list. Не вказане джерело для файлу в списку файлів. - - - ProjectExplorer::JsonSummaryPage Failed to Commit to Version Control @@ -44669,22 +43445,6 @@ Preselects a desktop Qt for building the application if available. Failed to Add to Project Збій додавання до проекту - - Failed to add subproject "%1" -to project "%2". - Збій додавання підпроекту "%1" -до проекту "%2". - - - Failed to add one or more files to project -"%1" (%2). - Збій додавання одного чи кількох файлів до проекту -"%1" (%2). - - - - - ProjectExplorer::JsonWizardFactory Generator is not a object. Генератор не є об'єктом. @@ -44855,9 +43615,6 @@ to project "%2". Value for "options" is not a list. Значення для "options" не є списком. - - - ProjectExplorer::JsonWizardGenerator %1 [folder] %1 [тека] @@ -44876,16 +43633,10 @@ to project "%2". Тека %1 містить файли, які не можуть бути перезаписані: %2. - - - ProjectExplorer::EnvironmentKitInformation The environment setting value is invalid. Неправильне значення налаштування середовища. - - - ProjectExplorer::Internal::KitEnvironmentConfigWidget Change ... Змінити... @@ -44919,77 +43670,6 @@ to project "%2". Редагування змін середовища - - ProjectExplorer::ProjectExplorerPluginPrivate - - Build Without Dependencies - Зібрати без залежностей - - - Rebuild Without Dependencies - Перезібрати без залежностей - - - Clean Without Dependencies - Очистити без залежностей - - - Build - Зібрати - - - Rebuild - Перезібрати - - - Clean - Очистити - - - The project %1 is not configured, skipping it. - Проект %1 не сконфігуровано, пропускаємо його. - - - No project loaded. - Проект не завантажено. - - - Currently building the active project. - Триває збірка активного проекту. - - - The project %1 is not configured. - Проект %1 не сконфігуровано. - - - Project has no build settings. - Проект немає налаштувань збірки. - - - Building "%1" is disabled: %2<br> - Збірка "%1" вимкнена: %2<br> - - - No project loaded - Проект не завантажено - - - A build is in progress - Здійснюється збірка - - - Project has no build settings - Проект немає налаштувань збірки - - - Building "%1" is disabled: %2 - Збірка "%1" вимкнена: %2 - - - Run %1 - Запустити %1 - - ::Android @@ -45410,19 +44090,12 @@ Affected are breakpoints %1 - ProjectExplorer::JsonProjectPage + ::ProjectExplorer untitled File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. безіменний - - - ProjectExplorer::Project - - Project - Проект - Project Name Назва проекту @@ -46402,7 +45075,7 @@ Setting breakpoints by file name and line number may fail. - ProjectExplorer::ProjectTree + ::ProjectExplorer <b>Warning:</b> This file is outside the project directory. <b>Попередження:</b> Файл знаходиться поза текою проекту. @@ -47240,7 +45913,7 @@ Setting breakpoints by file name and line number may fail. - ProjectExplorer::JsonKitsPage + ::ProjectExplorer Feature list is set and not of type list. Список функціональностей не заданий або не є списком. @@ -47253,9 +45926,6 @@ Setting breakpoints by file name and line number may fail. Feature list element is not a string or object. Елемент списку функціональностей не є рядком або об'єктом. - - - ProjectExplorer::Internal::JsonWizard Key is not an object. Ключ не є об'єктом. @@ -47268,32 +45938,6 @@ Setting breakpoints by file name and line number may fail. ScannerGenerator: Binary pattern "%1" not valid. ScannerGenerator: двійковий зразок "%1" неправильний. - - - ProjectExplorer::LocalApplicationRunControl - - No executable specified. - Виконуваний модуль не вказано. - - - Executable %1 does not exist. - Виконуваний модуль %1 не існує. - - - Starting %1... - Запуск %1... - - - %1 crashed - %1 завершився аварійно - - - %1 exited with code %2 - %1 завершився з кодом %2 - - - - ProjectExplorer::TerminalAspect Terminal Термінал @@ -47302,9 +45946,6 @@ Setting breakpoints by file name and line number may fail. Run in terminal Запускати в терміналі - - - ProjectExplorer::WorkingDirectoryAspect Working Directory Робоча тека @@ -47317,13 +45958,6 @@ Setting breakpoints by file name and line number may fail. Reset to Default Скинути до типового - - Working directory: - Робоча тека: - - - - ProjectExplorer::ArgumentsAspect Arguments Аргументи @@ -48681,7 +47315,7 @@ the program. - ProjectExplorer::Internal::DependenciesWidget + ::ProjectExplorer Synchronize configuration Синхронізувати конфігурацію @@ -48690,31 +47324,18 @@ the program. Synchronize active kit, build, and deploy configuration between projects. Синхронізувати активний комплект та конфігурації збірки та розгортання між проектами. - - - ProjectExplorer::EnvironmentValidator Variable already exists. Змінна вже існує. - - - ProjectExplorer::Internal::JsonWizardFileGenerator No 'key' in options object. Немає 'key' в об'єкті опціїй. - - - ProjectExplorer::Internal::WaitForStopDialog Waiting for Applications to Stop Очікування на завершення програм - - Cancel - Скасувати - Waiting for applications to stop. Очікування на завершення програм. @@ -50387,28 +49008,15 @@ Would you like to overwrite it? - ProjectExplorer::Internal::MsvcBasedToolChainConfigWidget + ::ProjectExplorer Initialization: Ініціалізація: - - - ProjectExplorer::Internal::ClangClToolChainConfigWidget LLVM: LLVM: - - - ProjectExplorer::ClangToolChainFactory - - Clang - Clang - - - - ProjectExplorer::SelectableFilesWidget Source directory: Тека кодів: diff --git a/share/qtcreator/translations/qtcreator_zh_CN.ts b/share/qtcreator/translations/qtcreator_zh_CN.ts index 1eb3c571670..2889678c90d 100644 --- a/share/qtcreator/translations/qtcreator_zh_CN.ts +++ b/share/qtcreator/translations/qtcreator_zh_CN.ts @@ -8449,7 +8449,7 @@ Set a valid executable first. - CodeStyleSettingsPanelFactory + ::ProjectExplorer Code Style 代码风格 @@ -14159,7 +14159,7 @@ Do you want to display them anyway? - CustomToolChain + ::ProjectExplorer Custom @@ -18570,7 +18570,7 @@ Stepping into the module or setting breakpoints by file and line is expected to - DependenciesModel + ::ProjectExplorer Unable to Add Dependency 无法添加依赖关系 @@ -18579,9 +18579,6 @@ Stepping into the module or setting breakpoints by file and line is expected to This would create a circular dependency. 这会创建一个循环依赖。 - - - DependenciesPanelFactory Dependencies 依赖关系 @@ -19419,7 +19416,7 @@ Rebuilding the project might help. - EditorSettingsPanelFactory + ::ProjectExplorer Editor 编辑器 @@ -19520,14 +19517,11 @@ Rebuilding the project might help. - EnvironmentPanelFactory + ::ProjectExplorer Environment 环境 - - - EnvironmentWidget Add... 添加... @@ -28067,18 +28061,11 @@ You might find further explanations in the Application Output view. - ProjectEnvironmentWidget + ::ProjectExplorer Project Environment - - - ::ProjectExplorer - - Build & Run - 构建和运行 - Other Project 其它项目 @@ -28087,10 +28074,6 @@ You might find further explanations in the Application Output view. Import Project 导入项目 - - Devices - 设备 - Start removing auto-detected items associated with this docker image. @@ -28248,16 +28231,10 @@ You might find further explanations in the Application Output view. Release - - - ProjectExplorer::AbiWidget <custom> <自定义> - - - ProjectExplorer::AbstractProcessStep Starting: "%1" %2 正在启动 "%1" %2 @@ -28287,48 +28264,10 @@ You might find further explanations in the Application Output view. Could not start process "%1" %2. 无法启动进程"%1" %2. {1"?} - - - ProjectExplorer::ArgumentsAspect Arguments 参数 - - Command line arguments: - - - - Toggle multi-line mode. - - - - Reset to Default - - - - - ProjectExplorer::BaseProjectWizardDialog - - untitled - File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. - untitled - - - - ProjectExplorer::BuildConfiguration - - Build - 构建 - - - System Environment - 系统环境变量 - - - Clean Environment - 清理时的环境变量 - Default The name of the build configuration created by default for a autotools project. @@ -28336,104 +28275,10 @@ You might find further explanations in the Application Output view. The name of the build configuration created by default for a generic project. 默认 - - Debug - - - - Release - - Build Settings 构建设置 - - Build directory - - - - Name of current build - - - - Name of the build configuration - - - - Variables in the current build environment - - - - Variables in the build configuration's environment - - - - Tooltip in target selector: - - - - Appears as a tooltip when hovering the build configuration - - - - The project was not parsed successfully. - - - - Variables in the current build environment. - - - - Variables in the active build environment of the project containing the currently open document. - - - - Variables in the active build environment of the active project. - - - - - ProjectExplorer::BuildDeviceKitAspect - - Build device - - - - The device used to build applications on. - - - - No build device set. - - - - Unconfigured - 未配置 - - - Build host address - - - - Build SSH port - - - - Build user name - - - - Build private key file - - - - Build device name - - - - - ProjectExplorer::BuildDirectoryAspect Build directory: 构建目录: @@ -28442,14 +28287,6 @@ The name of the build configuration created by default for a generic project.Shadow build: Shadow build: - - - ProjectExplorer::BuildManager - - Build - Displayed name for a normal build step - 构建 - Finished %1 of %n steps @@ -28482,126 +28319,20 @@ The name of the build configuration created by default for a generic project.Skipping disabled step %1. 跳过被禁用的步骤 %1。 - - Stop Applications - - - - Stop these applications before building? - - - - The project %1 is not configured, skipping it. - - - - The build device failed to prepare for the build of %1 (%2). - - Deployment Category for deployment issues listed under 'Issues' 部署 - - Autotests - Category for autotest issues listed under 'Issues' - - - - Clean - Displayed name for a "cleaning" build step - - - - Deploy - Displayed name for a deploy step - 部署 - - - Error while building/deploying project %1 (kit: %2) - - - - The kit %1 has configuration issues which might be the root cause for this problem. - - - - When executing step "%1" - - - - - ProjectExplorer::BuildStepList Build Display name of the build build step list. Used as part of the labels in the project window. 构建 - - Clean - Display name of the clean build step list. Used as part of the labels in the project window. - - - - Deploy - Display name of the deploy build step list. Used as part of the labels in the project window. - 部署 - - - - ProjectExplorer::BuildSystem - - The project is currently being parsed. - - - - The project could not be fully parsed. - - - - The project file "%1" does not exist. - - - - - ProjectExplorer::ClangToolChain - - Clang - Clang - - - - ProjectExplorer::ClangToolChainFactory - - Clang - Clang - - - - ProjectExplorer::CustomExecutableRunConfiguration Custom Executable 自定义执行档 - - Run %1 - 运行%1 - - - You need to set an executable in the custom run configuration. - - - - - ProjectExplorer::CustomParsersAspect - - Custom Output Parsers - - - - - ProjectExplorer::DeployConfiguration Deploy locally Default DeployConfiguration display name @@ -28612,78 +28343,14 @@ The name of the build configuration created by default for a generic project.Display name of the default deploy configuration 部署设置 - - - ProjectExplorer::DesktopDevice Desktop 桌面 - - Local PC - - - - - ProjectExplorer::DesktopProcessSignalOperation - - Cannot kill process with pid %1: %2 - - Cannot interrupt process with pid %1: %2 - - Cannot open process. - - - - Invalid process id. - - - - Cannot open process: %1 - - - - DebugBreakProcess failed: - - - - %1 does not exist. If you built %2 yourself, check out https://code.qt.io/cgit/qt-creator/binary-artifacts.git/. - - - - Cannot start %1. Check src\tools\win64interrupt\win64interrupt.c for more information. - - - - could not break the process. - - - - - ProjectExplorer::DeviceCheckBuildStep - - No device configured. - - - - Set Up Device - - - - There is no device set up for this kit. Do you want to add a device? - - - - Check for a configured device - - - - - ProjectExplorer::DeviceFileSystemModel File Type 文件类型 @@ -28692,59 +28359,14 @@ The name of the build configuration created by default for a generic project.File Name 文件名 - - - ProjectExplorer::DeviceKitAspect - - Device - 设备 - The device to run the applications on. 运行应用程序的设备。 - - No device set. - - - - Device is incompatible with this kit. - - - - Unconfigured - 未配置 - - - Host address - - - - SSH port - - - - User name - - - - Private key file - - - - Device name - - - - - ProjectExplorer::DeviceManagerModel %1 (default for %2) %1 (%2 类型的默认设备) - - - ProjectExplorer::DeviceProcessList Process ID 进程ID @@ -28753,13 +28375,6 @@ The name of the build configuration created by default for a generic project.Command Line 命令行 - - Fetching process list. This might take a while. - - - - - ProjectExplorer::DeviceProcessesDialog Kit: 构建套件(Kit): @@ -28788,9 +28403,6 @@ The name of the build configuration created by default for a generic project.&Attach to Process &Attach到进程 - - - ProjectExplorer::DeviceTypeKitAspect Device type 设备类型 @@ -28803,9 +28415,6 @@ The name of the build configuration created by default for a generic project.Unknown device type 未知设备类型 - - - ProjectExplorer::DeviceUsedPortsGatherer Connection error: %1 连接错误:%1 @@ -28822,9 +28431,6 @@ The name of the build configuration created by default for a generic project.Remote error output was: %1 - - - ProjectExplorer::EditorConfiguration Project Settings @@ -28835,23 +28441,10 @@ The name of the build configuration created by default for a generic project.Settings, %1 is a language (C++ or QML) 项目%1 - - - ProjectExplorer::EnvironmentAspect - - Environment - 环境 - - - - ProjectExplorer::EnvironmentAspectWidget Base environment for this run configuration: 运行设置的基础环境: - - - ProjectExplorer::EnvironmentKitAspect Change... @@ -28868,10 +28461,6 @@ The name of the build configuration created by default for a generic project.Either switches MSVC to English or keeps the language and just forces UTF-8 output (may vary depending on the used MSVC compiler). - - Environment - 环境 - Additional build environment settings when using this kit. @@ -28880,9 +28469,6 @@ The name of the build configuration created by default for a generic project.The environment setting value is invalid. - - - ProjectExplorer::EnvironmentWidget &Add 添加(&A) @@ -28917,69 +28503,6 @@ The name of the build configuration created by default for a generic project.Yup, word puzzle. The Set/Unset phrases above are appended to this. %1 is "System Environment" or some such. 使用 <b>%1</b> 和 - - Variable already exists. - - - - Ed&it - - - - Disable - 禁用 - - - Append Path... - - - - Prepend Path... - - - - Open &Terminal - - - - Open a terminal with this environment set up. - - - - Append <b>%2</b> to <a href="%1"><b>%1</b></a> - - - - Prepend <b>%2</b> to <a href="%1"><b>%1</b></a> - - - - Set <a href="%1"><b>%1</b></a> to <b>%2</b> [disabled] - - - - <b>No environment changes</b> - - - - Choose Directory - 选择目录 - - - Enable - - - - - ProjectExplorer::ExecutableAspect - - Executable - - - - <unknown> - <未知> - Executable: 执行档: @@ -28992,84 +28515,22 @@ The name of the build configuration created by default for a generic project.Use this command instead 用这个命令代替 - - - ProjectExplorer::FileTransfer - - sftp - - - - rsync - - generic file copy - - - ProjectExplorer::FileTransferPrivate No device set for test transfer. - - No files to transfer. - - - - Missing transfer implementation. - - - - - ProjectExplorer::GccToolChain - - GCC - GCC - - - %1 (%2, %3 %4 at %5) - - - - - ProjectExplorer::IDevice Device 设备 - - - ProjectExplorer::Internal::AddRunConfigDialog - - [none] - - - - Name - - - - Source - - Create Run Configuration - - Filter candidates by name - - - - Create - - - - - ProjectExplorer::Internal::AllProjectsFilter Files in Any Project 任意项目中的文件 @@ -29078,26 +28539,10 @@ The name of the build configuration created by default for a generic project.Matches all files of all open projects. Append "+<number>" or ":<number>" to jump to the given line number. Append another "+<number>" or ":<number>" to jump to the column number as well. - - - ProjectExplorer::Internal::AllProjectsFind - - All Projects - 所有项目 - All Projects: 所有项目: - - Filter: %1 -Excluding: %2 -%3 - - - - - ProjectExplorer::Internal::AppOutputPane Attach debugger to this process attach调试器到此进程 @@ -29154,9 +28599,6 @@ Excluding: %2 Open Settings Page - - - ProjectExplorer::Internal::AppOutputSettingsPage Word-wrap output @@ -29193,13 +28635,6 @@ Excluding: %2 Open Application Output when debugging: - - Application Output - 应用程序输出 - - - - ProjectExplorer::Internal::BuildEnvironmentWidget Build Environment @@ -29208,17 +28643,6 @@ Excluding: %2 Clear system environment 清除系统环境变量 - - - ProjectExplorer::Internal::BuildPropertiesSettings - - Enable - - - - Disable - 禁用 - Use Project Default @@ -29243,9 +28667,6 @@ Excluding: %2 Default Build Properties - - - ProjectExplorer::Internal::BuildSettingsWidget No build settings available 没有可用的构建设置 @@ -29254,14 +28675,6 @@ Excluding: %2 Edit build configuration: 编辑构建配置: - - Add - 添加 - - - Remove - 删除 - Rename... 重命名... @@ -29275,10 +28688,6 @@ Excluding: %2 Title of a the cloned BuildConfiguration window, text of the window 克隆配置 - - New configuration name: - 新配置名称: - Cancel Build && Remove Build Configuration 取消构建 && 移除构建配置 @@ -29315,9 +28724,6 @@ Excluding: %2 New Configuration - - - ProjectExplorer::Internal::BuildStepListWidget %1 Steps %1 is the name returned by BuildStepList::displayName @@ -29360,87 +28766,14 @@ Excluding: %2 No Build Steps 没有构建步骤 - - Enable - - - - - ProjectExplorer::Internal::ClangClToolChain - - clang-cl - - - - - ProjectExplorer::Internal::ClangClToolChainConfigWidget - - Initialization: - 初始化: - - - &Compiler path: - 编译器路径(&C): - - - - ProjectExplorer::Internal::ClangToolChainConfigWidget - - Parent toolchain: - - - - - ProjectExplorer::Internal::CodeStyleSettingsWidget Language: 语言: - - - ProjectExplorer::Internal::CompileOutputSettingsPage - - Word-wrap output - - - - Open Compile Output when building - - - - Limit output to %1 characters - - - - Compile Output - 编译输出 - - - - ProjectExplorer::Internal::CompileOutputWindow Compile Output 编译输出 - - Open Settings Page - - - - Show Compile &Output - - - - Show the output that generated this issue in Compile Output. - - - - O - - - - - ProjectExplorer::Internal::CopyTaskHandler error: Task is of type: error @@ -29451,9 +28784,6 @@ Excluding: %2 Task is of type: warning - - - ProjectExplorer::Internal::CurrentProjectFilter Files in Current Project 当前项目中的文件 @@ -29462,9 +28792,6 @@ Excluding: %2 Matches all files from the current document's project. Append "+<number>" or ":<number>" to jump to the given line number. Append another "+<number>" or ":<number>" to jump to the column number as well. - - - ProjectExplorer::Internal::CurrentProjectFind Current Project 当前项目 @@ -29477,9 +28804,6 @@ Excluding: %2 Project "%1": - - - ProjectExplorer::Internal::CustomParserConfigDialog Custom Parser @@ -29552,172 +28876,18 @@ Excluding: %2 Warning 警告 - - Not applicable: - - - - Pattern is empty. - - - - No message given. - - - - Pattern does not match the message. - - - - - ProjectExplorer::Internal::CustomParsersBuildWidget - - Custom Output Parsers - - - - Parse standard output during build - - - - Makes output parsers look for diagnostics on stdout rather than stderr. - - - - - ProjectExplorer::Internal::CustomParsersSelectionWidget - - There are no custom parsers active - - - - There are %n custom parsers active - - - - - - - ProjectExplorer::Internal::CustomParsersSettingsPage - - Custom output parsers defined here can be enabled individually in the project's build or run settings. - - - - Add... - 添加... - - - Remove - 删除 - - - New Parser - - - - Custom Output Parsers - - - - - ProjectExplorer::Internal::CustomToolChainConfigWidget - - MACRO[=VALUE] - - - - Each line defines a macro. Format is MACRO[=VALUE]. - - - - Each line adds a global header lookup path. - - - - Comma-separated list of flags that turn on C++11 support. - - - - Comma-separated list of mkspecs. - - - - &Compiler path: - 编译器路径(&C): - - - &Make path: - - - - &ABI: - &ABI: - - - &Predefined macros: - - - - &Header paths: - - - - C++11 &flags: - - - - &Qt mkspecs: - - - - &Error parser: - - - - - ProjectExplorer::Internal::CustomWizardPage Path: 路径: - - - ProjectExplorer::Internal::DependenciesModel <No other projects in this session> <会话中没有其它项目> - - - ProjectExplorer::Internal::DependenciesWidget - - Synchronize configuration - - - - Synchronize active kit, build, and deploy configuration between projects. - - - - - ProjectExplorer::Internal::DeploymentDataView - - Source File Path - - - - Target Directory - - Add 添加 - - Remove - 删除 - Files to deploy: 部署文件: @@ -29726,16 +28896,10 @@ Excluding: %2 Override deployment data from build system - - - ProjectExplorer::Internal::DesktopRunConfiguration Qt Run Configuration - - - ProjectExplorer::Internal::DeviceFactorySelectionDialog Available device types: 可用的设备类型: @@ -29744,16 +28908,10 @@ Excluding: %2 Start Wizard 开启向导 - - - ProjectExplorer::Internal::DeviceProcessesDialogPrivate Remote Error 远程错误 - - - ProjectExplorer::Internal::DeviceSettingsWidget &Device: 设备(&D): @@ -29806,17 +28964,10 @@ Excluding: %2 Devices 设备 - - Test - 测试 - Show Running Processes... - - - ProjectExplorer::Internal::DeviceTestDialog Close 关闭 @@ -29829,9 +28980,6 @@ Excluding: %2 Device test failed. 设备测试失败。 - - - ProjectExplorer::Internal::EditorSettingsWidget Restore Global 还原全局设置 @@ -29852,9 +29000,6 @@ Excluding: %2 If available, use a different margin. For example, the ColumnLimit from the ClangFormat plugin. - - - ProjectExplorer::Internal::FilesInAllProjectsFind Files in All Project Directories @@ -29863,16 +29008,10 @@ Excluding: %2 Files in All Project Directories: - - - ProjectExplorer::Internal::FilesSelectionWizardPage Files 文件 - - - ProjectExplorer::Internal::FilterKitAspectsDialog Setting @@ -29881,9 +29020,6 @@ Excluding: %2 Visible 可见 - - - ProjectExplorer::Internal::FlatModel No kits are enabled for this project. Enable kits in the "Projects" mode. @@ -29962,9 +29098,6 @@ What should %1 do now? Failure Updating Project - - - ProjectExplorer::Internal::GccToolChainConfigWidget &Compiler path: 编译器路径(&C): @@ -29985,9 +29118,6 @@ What should %1 do now? Target triple: - - - ProjectExplorer::Internal::ImportWidget Import Build From... @@ -29996,9 +29126,6 @@ What should %1 do now? Import 导入 - - - ProjectExplorer::Internal::JsonWizard Key is not an object. @@ -30011,16 +29138,10 @@ What should %1 do now? ScannerGenerator: Binary pattern "%1" not valid. - - - ProjectExplorer::Internal::JsonWizardFileGenerator No 'key' in options object. - - - ProjectExplorer::Internal::KitManagerConfigWidget Name: 名称: @@ -30065,9 +29186,6 @@ What should %1 do now? Default for %1 - - - ProjectExplorer::Internal::KitModel %1 (default) Mark up a kit as the default one. @@ -30077,21 +29195,6 @@ What should %1 do now? Name 名称 - - - ProjectExplorer::Internal::MiniProjectTargetSelector - - Project - 项目 - - - Kit - 构建套件(Kit) - - - Build - 构建 - Deploy 部署 @@ -30156,28 +29259,11 @@ What should %1 do now? <style type=text/css>a:link {color: rgb(128, 128, 255);}</style>The project <b>%1</b> is not yet configured<br/><br/>You can configure it in the <a href="projectmode">Projects mode</a><br/> <style type=text/css>a:link {color: rgb(128, 128, 255, 240);}</style>项目 <b>%1</b> 尚未配置<br/><br/>您可以在 <a href="projectmode">项目模式</a>中配置它<br/> {128, 128, 255)?} {1<?} - - - ProjectExplorer::Internal::MsvcBasedToolChainConfigWidget - - Initialization: - 初始化: - - - - ProjectExplorer::Internal::MsvcToolChain - - MSVC - MSVC - Failed to retrieve MSVC Environment from "%1": %2 - - - ProjectExplorer::Internal::MsvcToolChainConfigWidget Initialization: 初始化: @@ -30190,13 +29276,6 @@ What should %1 do now? Additional arguments for the vcvarsall.bat call - - &ABI: - &ABI: - - - - ProjectExplorer::Internal::ParseIssuesDialog Parse Build Output @@ -30245,9 +29324,6 @@ What should %1 do now? Cannot parse: The chosen kit does not provide an output parser. - - - ProjectExplorer::Internal::ProjectFileWizardExtension Open project anyway? @@ -30266,9 +29342,6 @@ to project "%2". "%1" (%2). - - - ProjectExplorer::Internal::ProjectTreeWidget Simplify Tree 简化树形视图 @@ -30309,13 +29382,6 @@ to project "%2". Filter Tree 过滤器树形视图 - - - ProjectExplorer::Internal::ProjectTreeWidgetFactory - - Projects - 项目 - Meta+X Meta+X @@ -30324,9 +29390,6 @@ to project "%2". Alt+X Alt+X - - - ProjectExplorer::Internal::ProjectWelcomePage Open Session #%1 @@ -30368,10 +29431,6 @@ to project "%2". %1 (current session) %1 (当前会话) - - Clone - 克隆 - Rename 重命名 @@ -30405,9 +29464,6 @@ to project "%2". Projects 项目 - - - ProjectExplorer::Internal::ProjectWindow Use Regular Expressions 使用正则表达式 @@ -30428,10 +29484,6 @@ to project "%2". Build & Run 构建和运行 - - Projects - 项目 - Import Existing Build... @@ -30456,9 +29508,6 @@ to project "%2". Import Directory - - - ProjectExplorer::Internal::ProjectWizardPage Summary 汇总 @@ -30495,9 +29544,6 @@ to project "%2". Failed to add "%1" to the version control system. - - - ProjectExplorer::Internal::RemoveTaskHandler Remove Name of the action triggering the removetaskhandler @@ -30507,25 +29553,10 @@ to project "%2". Remove task from the task list. - - - ProjectExplorer::Internal::RunSettingsWidget - - Add - 添加 - - - Remove - 删除 - Run configuration: 运行配置: - - Run Settings - 运行设置 - Deployment 部署 @@ -30534,10 +29565,6 @@ to project "%2". Method: 方法: - - Run - 运行 - Remove Run Configuration? 删除运行配置? @@ -30546,10 +29573,6 @@ to project "%2". Do you really want to delete the run configuration <b>%1</b>? 确定要删除此运行配置<b>%1</b>吗? - - Rename... - 重命名... - New name for run configuration <b>%1</b>: 运行配置的新名称 <b>%1</b>: @@ -30558,10 +29581,6 @@ to project "%2". Cancel Build && Remove Deploy Configuration 取消构建 && 移除部署设置 - - Do Not Remove - 不要移除 - Remove Deploy Configuration %1? 删除部署(deploy)配置%1? @@ -30586,33 +29605,14 @@ to project "%2". New name for deploy configuration <b>%1</b>: 部署配置的新名称 <b>%1</b>: - - Add... - 添加... - - - Clone... - - - - Clone Configuration - Title of a the cloned RunConfiguration window, text of the window - 克隆配置 - New configuration name: 新配置名称: - - - ProjectExplorer::Internal::SelectionWidget Custom output parsers scan command line output for user-provided error patterns<br>to create entries in Issues.<br>The parsers can be configured <a href="dummy">here</a>. - - - ProjectExplorer::Internal::SessionDialog Session Manager 会话管理器 @@ -30621,10 +29621,6 @@ to project "%2". &New 新建(&N) - - &Rename - 重命名(&R) - C&lone 克隆(&L) @@ -30645,9 +29641,6 @@ to project "%2". Restore last session on startup 启动时恢复上次会话 - - - ProjectExplorer::Internal::SessionModel Session 会话 @@ -30688,16 +29681,10 @@ to project "%2". Rename and &Open - - - ProjectExplorer::Internal::SessionNameInputDialog Enter the name of the session: 输入会话的名称: - - - ProjectExplorer::Internal::ShowInEditorTaskHandler Show task location in an editor. 在编辑器中显示任务位置。 @@ -30706,9 +29693,6 @@ to project "%2". Show in Editor - - - ProjectExplorer::Internal::SimpleProjectWizard Import as qmake or CMake Project (Limited Functionality) @@ -30721,9 +29705,6 @@ to project "%2". Unknown build system "%1" - - - ProjectExplorer::Internal::SimpleProjectWizardDialog Import Existing Project 导入现有项目 @@ -30744,9 +29725,6 @@ to project "%2". File Selection 文件选择 - - - ProjectExplorer::Internal::SimpleTargetRunnerPrivate Cannot retrieve debugging output. 无法获取调试输出. @@ -30772,13 +29750,6 @@ to project "%2". The process was ended forcefully. - - - ProjectExplorer::Internal::SshSettingsWidget - - SSH - - Enable connection sharing: @@ -30807,9 +29778,6 @@ to project "%2". minutes - - - ProjectExplorer::Internal::TargetSetupWidget <b>Error:</b> Severity is Task::Error @@ -30820,9 +29788,6 @@ to project "%2". Severity is Task::Warning <b>警告:</b> - - - ProjectExplorer::Internal::TargetTripleWidget Override for code model @@ -30832,16 +29797,10 @@ to project "%2". fails because Clang does not understand the target architecture. - - - ProjectExplorer::Internal::TaskDelegate File not found: %1 未找到文件: %1 - - - ProjectExplorer::Internal::TaskWindow Issues 问题 @@ -30854,9 +29813,6 @@ fails because Clang does not understand the target architecture. Show Warnings 显示警告 - - - ProjectExplorer::Internal::TextEditDetailsWidget %n entries @@ -30867,25 +29823,14 @@ fails because Clang does not understand the target architecture. Empty - - - ProjectExplorer::Internal::ToolChainOptionsPage Compilers 编译器 - - Add - 添加 - Clone 克隆 - - Remove - 删除 - <nobr><b>ABI:</b> %1 <nobr><b>ABI:</b> %1 @@ -30912,10 +29857,6 @@ One for the native x86_64 target, and one for a plain x86 target. Enable this if you plan to create 32-bit x86 binaries without using a dedicated cross compiler. - - Name - - Type 类型 @@ -30944,9 +29885,6 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated The following compilers were already configured:<br>&nbsp;%1<br>They were not configured again. 以下工具链已被设置:<br>&nbsp;%1<br>。没有再次设置。 - - - ProjectExplorer::Internal::VcsAnnotateTaskHandler &Annotate 注释(&A) @@ -30955,9 +29893,6 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated Annotate using version control system. - - - ProjectExplorer::Internal::WaitForStopDialog Waiting for Applications to Stop @@ -30970,20 +29905,10 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated Waiting for applications to stop. - - - ProjectExplorer::InterpreterAspect - - Manage... - 管理... - Interpreter - - - ProjectExplorer::JsonFieldPage Line Edit Validator Expander @@ -31096,9 +30021,6 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated Source and target are both empty. - - - ProjectExplorer::JsonKitsPage At least one required feature is not present. @@ -31123,17 +30045,11 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated Feature list element is not a string or object. - - - ProjectExplorer::JsonProjectPage untitled File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. - - - ProjectExplorer::JsonSummaryPage Failed to Commit to Version Control @@ -31146,19 +30062,6 @@ Enable this if you plan to create 32-bit x86 binaries without using a dedicated Failed to Add to Project - - Failed to add subproject "%1" -to project "%2". - - - - Failed to add one or more files to project -"%1" (%2). - - - - - ProjectExplorer::JsonWizard "data" for a "Form" page needs to be unset or an empty object. @@ -31289,9 +30192,6 @@ to project "%2". Do not translate "VcsConfiguration", because it is the id of a page. - - - ProjectExplorer::JsonWizardFactory Generator is not a object. @@ -31419,9 +30319,6 @@ to project "%2". When parsing "pages": %1 - - - ProjectExplorer::JsonWizardGenerator %1 [folder] @@ -31439,9 +30336,6 @@ to project "%2". %2. - - - ProjectExplorer::Kit Unnamed 未命名 @@ -31494,45 +30388,18 @@ to project "%2". The ID of the kit. - - - ProjectExplorer::KitAspectWidget Mark as Mutable - - Manage... - 管理... - - - - ProjectExplorer::KitChooser Kit of Active Project: %1 - - - ProjectExplorer::KitManager - - Desktop - 桌面 - Desktop (%1) - - - ProjectExplorer::LinuxIccToolChain - - ICC - - - - - ProjectExplorer::LocalEnvironmentAspect Clean Environment @@ -31541,13 +30408,6 @@ to project "%2". System Environment 系统环境变量 - - Build Environment - - - - - ProjectExplorer::MakeStep Make arguments: Make 参数: @@ -31604,24 +30464,15 @@ to project "%2". <b>Make:</b> %1 not found in the environment. <b>Make:</b> 在环境中找不到%1 。 - - - ProjectExplorer::MingwToolChain MinGW MinGW - - - ProjectExplorer::OsParser The process cannot access the file because it is being used by another process. Please close all running instances of your application before starting a build. - - - ProjectExplorer::PortsGatherer Found %n free ports. @@ -31632,9 +30483,6 @@ Please close all running instances of your application before starting a build.< Checking available ports... - - - ProjectExplorer::ProcessStep Command: 命令: @@ -31652,9 +30500,6 @@ Please close all running instances of your application before starting a build.< Default ProcessStep display name - - - ProjectExplorer::Project Project 项目 @@ -31663,10 +30508,6 @@ Please close all running instances of your application before starting a build.< Project Name - - Kit is not valid. - - Incompatible Kit @@ -31715,9 +30556,6 @@ Please close all running instances of your application before starting a build.< Could not find any qml_*.qm file at "%1" - - - ProjectExplorer::ProjectExplorerPlugin &Build 构建(&B) @@ -31806,10 +30644,6 @@ Please close all running instances of your application before starting a build.< Clean Without Dependencies 忽略依赖关系来清除 - - Run - 运行 - Close All Projects and Editors 关闭所有项目和编辑器 @@ -31822,10 +30656,6 @@ Please close all running instances of your application before starting a build.< Run Without Deployment 忽略部署直接运行 - - Build - 构建 - Rebuild 重新构建 @@ -31834,14 +30664,6 @@ Please close all running instances of your application before starting a build.< Clean 清除 - - Deploy - 部署 - - - Rename... - 重命名... - Set as Active Project 设为活动项目 @@ -32028,10 +30850,6 @@ Do you want to ignore them? Open... - - Build Environment - - Run Environment @@ -32325,10 +31143,6 @@ Do you want to ignore them? %1 in %2 在 %2中的%1 - - Choose Project File - - The following subprojects could not be added to project "%1": @@ -32422,9 +31236,6 @@ Rename %2 to %3 anyway? %1 - - - ProjectExplorer::ProjectImporter No Build Found 未找到构建 @@ -32449,9 +31260,6 @@ Rename %2 to %3 anyway? Imported Kit - - - ProjectExplorer::ProjectTree <b>Warning:</b> This file is generated. @@ -32460,23 +31268,10 @@ Rename %2 to %3 anyway? <b>Warning:</b> This file is outside the project directory. - - - ProjectExplorer::ProjectsMode - - Projects - 项目 - - - - ProjectExplorer::RunAsRootAspect Run as root user - - - ProjectExplorer::RunConfiguration Run Settings 运行设置 @@ -32511,9 +31306,6 @@ Rename %2 to %3 anyway? Shown in Run configuration, Add menu: "name of runnable (on device name)" - - - ProjectExplorer::RunControl Application Still Running 应用仍然在运行 @@ -32550,9 +31342,6 @@ Rename %2 to %3 anyway? No executable specified. - - - ProjectExplorer::RunWorker Worker start timed out. @@ -32585,23 +31374,14 @@ Rename %2 to %3 anyway? An error occurred when attempting to read from the process. For example, the process may not be running. - - - ProjectExplorer::SelectableFilesDialogAddDirectory Add Existing Directory - - - ProjectExplorer::SelectableFilesDialogEditFiles Edit Files 编辑文件 - - - ProjectExplorer::SelectableFilesWidget Source directory: @@ -32638,16 +31418,6 @@ These files are preserved. 这些文件受到保护。 - - - ProjectExplorer::SeparateDebugInfoAspect - - Separate debug info: - - - - - ProjectExplorer::SessionManager Error while restoring session 恢复会话时发生错误 @@ -32709,9 +31479,6 @@ These files are preserved. Loading Session - - - ProjectExplorer::SshDeviceProcessList Process listing command failed with exit code %1. 进程列清单命令失败,退出码 %1。 @@ -32724,9 +31491,6 @@ These files are preserved. Error: Kill process failed: %1 - - - ProjectExplorer::SysRootKitAspect Sysroot @@ -32751,9 +31515,6 @@ These files are preserved. Sys Root Sys Root - - - ProjectExplorer::Target Target Settings @@ -32782,9 +31543,6 @@ These files are preserved. The currently active run configuration's working directory. - - - ProjectExplorer::TargetSetupPage No suitable kits found. @@ -32809,18 +31567,11 @@ These files are preserved. Kit Selection 选择构建套件 - - Kits - 构建套件(Kit) - The following kits can be used for project <b>%1</b>: %1: Project name - - - ProjectExplorer::Task You asked to build the current Run Configuration's build target only, but it is not associated with a build target. Update the Make Step in your build settings. @@ -32829,9 +31580,6 @@ These files are preserved. %1 needs a compiler set up to build. Configure a compiler in the kit options. - - - ProjectExplorer::TerminalAspect Terminal @@ -32840,23 +31588,6 @@ These files are preserved. Run in terminal 在终端中运行 - - - ProjectExplorer::ToolChain - - Clone of %1 - %1 的克隆 - - - - ProjectExplorer::ToolChainConfigWidget - - Name: - 名称: - - - - ProjectExplorer::ToolChainKitAspect <No compiler> @@ -32893,31 +31624,18 @@ These files are preserved. No compiler set in kit. 构建套件中未设置编译器。 - - - ProjectExplorer::ToolChainManager ABI - - None - - Tool Chains 工具链 - - - ProjectExplorer::UseDyldSuffixAspect Use debug version of frameworks (DYLD_IMAGE_SUFFIX=_debug) 使用开发框架的调试版 (DYLD_IMAGE_SUFFIX=_debug) - - - ProjectExplorer::UseLibraryPathsAspect Add build library search path to DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH @@ -32930,9 +31648,6 @@ These files are preserved. Add build library search path to LD_LIBRARY_PATH - - - ProjectExplorer::WorkingDirectoryAspect Working Directory @@ -32941,17 +31656,6 @@ These files are preserved. Select Working Directory 选择工作目录 - - Reset to Default - - - - Working directory: - 工作目录: - - - - ProjectExplorer::XcodebuildParser Replacing signature @@ -32960,43 +31664,18 @@ These files are preserved. Xcodebuild failed. - - - ProjectExplorerPluginPrivate Building "%1" is disabled: %2<br> - - - ProjectWizard The files are implicitly added to the projects: - - <None> - <无> - <Implicitly Add> <隐式添加> - - - ProjextExplorer::Internal::KitOptionsPageWidget - - Add - 添加 - - - Clone - 克隆 - - - Remove - 删除 - Make Default 设置为默认 @@ -33017,13 +31696,6 @@ These files are preserved. Choose which kit settings to display by default. - - Kits - 构建套件(Kit) - - - - ProjextExplorer::Internal::ProjectExplorerSettings Current directory 当前目录 @@ -33080,10 +31752,6 @@ These files are preserved. Build Only the Application to Be Run - - None - - All 所有 @@ -33140,10 +31808,6 @@ These files are preserved. Default for "Run in terminal": - - General - 概要 - ProvisioningProfile @@ -44842,7 +43506,7 @@ Failed to open file "%1" - TargetSettingsPanelItem + ::ProjectExplorer No kit defined in this project. 项目中未定义构建套件(Kit)。 @@ -44851,9 +43515,6 @@ Failed to open file "%1" Configure Project 配置项目 - - - TargetSettingsPanelWidget &Configure Project @@ -44882,10 +43543,6 @@ Failed to open file "%1" Cancel Build and Disable Kit in This Project - - Do Not Remove - 不要移除 - Disable Kit "%1" in This Project? @@ -44906,36 +43563,14 @@ Failed to open file "%1" Copy Steps From Another Kit... - - Build - 构建 - - - Run - 运行 - Enable Kit - - - TaskHub - - Error - 错误 - - - Warning - 警告 - Build Issue - - - TaskList::Internal::StopMonitoringHandler Stop Monitoring 停止监视 @@ -44944,9 +43579,6 @@ Failed to open file "%1" Stop monitoring task files. 停止监视任务文件。 - - - TaskList::Internal::TaskListPlugin My Tasks 我的任务 diff --git a/share/qtcreator/translations/qtcreator_zh_TW.ts b/share/qtcreator/translations/qtcreator_zh_TW.ts index e25edd710bd..43ca286e8dc 100644 --- a/share/qtcreator/translations/qtcreator_zh_TW.ts +++ b/share/qtcreator/translations/qtcreator_zh_TW.ts @@ -248,10 +248,6 @@ The directory %1 already contains a cbp file, which is recent enough. You can pass special arguments or change the used tool chain here and rerun CMake. Or simply finish the wizard directly. 目錄 %1 已存在一份足夠新的 cbp 檔。您可以在此傳送特殊參數,或是變更所使用的工具鍊,然後重新執行 CMake。或者您也可以直接結束此精靈。 - - The directory %1 already contains a cbp file, which is recent enough. You can pass special arguments and rerun CMake. Or simply finish the wizard directly. - - The directory %1 does not contain a cbp file. Qt Creator needs to create this file by running CMake. Some projects require command line arguments to the initial CMake call. 目錄 %1 中沒有 cbp 檔。Qt Creator 需要執行 CMake 以建立此檔案。某些專案需要命令列參數來初始化 CMake 的呼叫。 @@ -317,10 +313,6 @@ CMakeProjectManager::MakeStepConfigWidget display name. Make - - <b>No build configuration found on this target.</b> - - <b>Unknown tool chain</b> <b>未知的工具鍊</b> @@ -375,22 +367,6 @@ Alt+C,Alt+F Alt+C,Alt+F - - Meta+C,Meta+F - - - - Fetch from URL... - - - - Fetch from URL - - - - Enter URL: - - Empty snippet received for "%1". 接收到 "%1" 的空片段。 @@ -562,22 +538,6 @@ Remove All Splits 移除所有的分割 - - Meta+E,1 - - - - Ctrl+E,1 - - - - Meta+E,o - - - - Ctrl+E,o - - Save %1 &As... 另存 %1 為 (&A)... @@ -3940,7 +3900,7 @@ at debugger startup. - DependenciesModel + ::ProjectExplorer Unable to Add Dependency 無法新增相依性 @@ -6599,7 +6559,7 @@ Add, modify, and remove document filters, which determine the documentation set - ProjectExplorer::AbstractProcessStep + ::ProjectExplorer Starting: "%1" %2 正在啟動:"%1" %2 @@ -6620,9 +6580,6 @@ Add, modify, and remove document filters, which determine the documentation set Could not start process "%1" %2 無法啟動行程 "%1" %2 - - - ProjectExplorer::BuildManager Finished %1 of %n steps @@ -6663,9 +6620,6 @@ Add, modify, and remove document filters, which determine the documentation set Skipping disabled step %1. 略過被關閉的步驟 %1 。 - - - ProjectExplorer::CustomExecutableRunConfiguration Custom Executable 自訂執行檔 @@ -6674,32 +6628,6 @@ Add, modify, and remove document filters, which determine the documentation set Could not find the executable, please specify one. 找不到可執行檔。請指定一個。 - - Clean Environment - 清理環境變數 - - - System Environment - 系統環境變數 - - - Build Environment - 建置環境變數 - - - Run %1 - 執行 %1 - - - - ProjectExplorer::CustomExecutableRunConfigurationFactory - - Custom Executable - 自訂執行檔 - - - - ProjectExplorer::EnvironmentWidget &Edit 編輯(&E) @@ -6738,16 +6666,10 @@ Add, modify, and remove document filters, which determine the documentation set Yup, word puzzle. The Set/Unset phrases above are appended to this. %1 is "System Environment" or some such. 使用 <b>%1</b> 與 - - - ProjectExplorer::Internal::AllProjectsFilter Files in Any Project 任何專案中的檔案 - - - ProjectExplorer::Internal::AllProjectsFind All Projects 所有專案 @@ -6766,9 +6688,6 @@ Add, modify, and remove document filters, which determine the documentation set Fi&le pattern: 檔案樣式(&L): - - - ProjectExplorer::Internal::BuildSettingsWidget &Clone Selected 複製選取項目(&C) @@ -6781,14 +6700,6 @@ Add, modify, and remove document filters, which determine the documentation set Edit build configuration: 編輯建置設定: - - Add - 新增 - - - Remove - 移除 - Rename... 重新命名... @@ -6834,9 +6745,6 @@ Add, modify, and remove document filters, which determine the documentation set Do you really want to delete build configuration <b>%1</b>? 您確定要刪除此建置設置 <b>%1</b> 嗎? - - - ProjectExplorer::Internal::BuildStepsPage Build Steps 建置步驟 @@ -6845,23 +6753,14 @@ Add, modify, and remove document filters, which determine the documentation set Clean Steps 清除步驟 - - - ProjectExplorer::Internal::CompileOutputWindow Compile Output 編譯輸出 - - - ProjectExplorer::Internal::CurrentProjectFilter Files in Current Project 目前專案中的檔案 - - - ProjectExplorer::Internal::CurrentProjectFind Current Project 目前專案 @@ -6870,21 +6769,10 @@ Add, modify, and remove document filters, which determine the documentation set Project '%1': 專案 '%1': - - - ProjectExplorer::Internal::CustomExecutableConfigurationWidget Executable: 執行檔: - - Arguments: - 參數: - - - Working directory: - 工作目錄: - Run Environment 執行時的環境變數 @@ -6897,21 +6785,6 @@ Add, modify, and remove document filters, which determine the documentation set Base environment for this run configuration: 執行設置的基礎環境: - - Clean Environment - 清理的環境變數 - - - System Environment - 系統環境變數 - - - Build Environment - 建置環境變數 - - - - ProjectExplorer::Internal::EditorSettingsPropertiesPage Editor settings: 編輯器設定: @@ -6949,7 +6822,7 @@ Add, modify, and remove document filters, which determine the documentation set - ProjectExplorer::Internal::SessionDialog + ::ProjectExplorer Session Manager 工作階段管理器 @@ -6994,29 +6867,15 @@ Add, modify, and remove document filters, which determine the documentation set Restore last session on startup 啟動時回復上次的工作階段 - - - ProjectExplorer::Internal::ProcessStep - - Custom Process Step - Default ProcessStep display name - 自訂行程步驟 - Custom Process Step item in combobox 自訂行程步驟 - - - ProjectExplorer::Internal::ProcessStepConfigWidget Custom Process Step 自訂行程步驟 - - - ProjectExplorer::Internal::ProcessStepWidget Command: 指令: @@ -7033,32 +6892,11 @@ Add, modify, and remove document filters, which determine the documentation set Arguments: 參數: - - - ProjectExplorer::Internal::ProjectExplorerSettingsPage - - General - 一般 - - - - ProjectExplorer::Internal::ProjectFileFactory Project File Factory ProjectExplorer::ProjectFileFactory display name. 專案檔案工廠 - - Failed to open project - 開啟專案失敗 - - - All Projects - 所有專案 - - - - ProjectExplorer::Internal::ProjectFileWizardExtension <Implicitly Add> <隱式新增> @@ -7094,9 +6932,6 @@ to project '%2'. Failed to add '%1' to the version control system. 新增 '%1' 到版本控制系統失敗。 - - - ProjectExplorer::Internal::ProjectTreeWidget Simplify Tree 簡化樹狀圖 @@ -7109,9 +6944,6 @@ to project '%2'. Synchronize with Editor 與編輯器同步 - - - ProjectExplorer::Internal::ProjectTreeWidgetFactory Projects 專案 @@ -7128,9 +6960,6 @@ to project '%2'. Filter Tree 過濾樹狀圖 - - - ProjectExplorer::Internal::ProjectWizardPage Summary 摘要 @@ -7151,9 +6980,6 @@ to project '%2'. Files to be added in 要新增到此處的檔案 - - - ProjectExplorer::Internal::RemoveFileDialog Remove File 移除檔案 @@ -7170,17 +6996,6 @@ to project '%2'. File to remove: 要移除的檔案: - - - ProjectExplorer::Internal::RunSettingsWidget - - Add - 新增 - - - Remove - 移除 - Run configuration: 執行設置: @@ -7209,10 +7024,6 @@ to project '%2'. Do you really want to delete the run configuration <b>%1</b>? 您確定要刪除此執行設置 <b>%1</b> 嗎? - - Rename... - 重新命名... - New name for run configuration <b>%1</b>: 執行設置 <b>%1</b> 的新名稱: @@ -7221,10 +7032,6 @@ to project '%2'. Cancel Build && Remove Deploy Configuration 取消建置並移除佈署設置 - - Do Not Remove - 不要移除 - Remove Deploy Configuration %1? 要移除佈署設置 %1 嗎? @@ -7249,16 +7056,10 @@ to project '%2'. New name for deploy configuration <b>%1</b>: 佈署設置 <b>%1</b> 的新名稱: - - - ProjectExplorer::Internal::TaskDelegate File not found: %1 找不到檔案:%1 - - - ProjectExplorer::Internal::TaskWindow Issues 問題 @@ -7271,9 +7072,6 @@ to project '%2'. Show Warnings 顯示警告 - - - ProjectExplorer::Internal::WizardPage The following files will be added: @@ -7286,10 +7084,6 @@ to project '%2'. - - Add to &project: - 新增到專案(&P): - Add to &version control: 新增到版本控制系統(&V): @@ -7298,13 +7092,6 @@ to project '%2'. Project Management 專案管理 - - Manage... - 管理... - - - - ProjectExplorer::ProjectExplorerPlugin &Build 建置(&B) @@ -7461,10 +7248,6 @@ to project '%2'. Run %1 執行 %1 - - Run - 執行 - Sessions 工作階段 @@ -7485,10 +7268,6 @@ to project '%2'. Rebuild 重新建置 - - Rename... - 重新命名... - Set as Active Project 設為作用中的專案 @@ -7629,18 +7408,6 @@ Do you want to ignore them? Always save files before build 建置前總是先儲存檔案 - - Clean - 清除 - - - Build - 建置 - - - Deploy - 佈署 - The project %1 is not configured, skipping it. @@ -7774,9 +7541,6 @@ to version control (%2)? Could not delete file %1. 無法刪除檔案 %1。 - - - ProjectExplorer::SessionManager Error while restoring session 回復工作階段時發生錯誤 @@ -7801,10 +7565,6 @@ to version control (%2)? Remove projects from Session 從工作階段中移除專案 - - Failed to open project - 開啟專案失敗 - Session 工作階段 @@ -10334,7 +10094,7 @@ Will not be applied to whitespace in comments and strings. - ProjectExplorer::Internal::ProjectExplorerSettingsPageUi + ::ProjectExplorer Build and Run 建置和執行 @@ -11299,7 +11059,7 @@ Will not be applied to whitespace in comments and strings. - ProjectExplorer::ApplicationLauncher + ::ProjectExplorer Failed to start program. Path or permissions wrong? 啟動程式失敗。路徑或者權限是否有錯誤? @@ -11318,16 +11078,6 @@ Will not be applied to whitespace in comments and strings. 無法取得除錯輸出。 - - - ProjectExplorer::Internal::LocalApplicationRunControlFactory - - Run - 執行 - - - - ProjectExplorer::Internal::LocalApplicationRunControl No executable specified. @@ -11346,9 +11096,6 @@ Will not be applied to whitespace in comments and strings. %1 已離開,離開代碼為 %2 - - - ProjectExplorer::DebuggingHelperLibrary The target directory %1 could not be created. 目標目錄 %1 無法被建立。 @@ -11375,15 +11122,6 @@ Reason: %2 GDB helper GDB 小助手 - - %1 not found in PATH - - %1 在 PATH 中找不到 - - - - - ProjectExplorer::Internal::ProjectWelcomePage Develop 開發 @@ -12362,7 +12100,7 @@ Reason: %2 - ProjectExplorer::BaseProjectWizardDialog + ::ProjectExplorer Location 位置 @@ -12372,16 +12110,10 @@ Reason: %2 File path suggestion for a new project. If you choose to translate it, make sure it is a valid path name without blanks and using only ascii chars. untitled - - - ProjectExplorer::Internal::DependenciesModel <No other projects in this session> <工作階段中沒有其他專案> - - - ::ProjectExplorer Build & Run 建置並執行 @@ -12534,14 +12266,11 @@ You can choose between stashing the changes or discarding them. - ProjectExplorer::Internal::DoubleTabWidget + ::ProjectExplorer DoubleTabWidget 雙標籤元件 - - - ProjectExplorer::Internal::TargetSettingsWidget TargetSettingsWidget 目標設定元件 @@ -13260,7 +12989,7 @@ For qmlproject projects, use the importPaths property to add import paths. - ProjectExplorer::BuildConfiguration + ::ProjectExplorer Build Display name of the build build step list. Used as part of the labels in the project window. @@ -13279,9 +13008,6 @@ For qmlproject projects, use the importPaths property to add import paths.Clean Environment 清除環境變數 - - - ProjectExplorer::BuildEnvironmentWidget Clear system environment 清除系統環境變數 @@ -13306,7 +13032,7 @@ For qmlproject projects, use the importPaths property to add import paths. - ProjectExplorer::CustomWizard + ::ProjectExplorer Details Default short title for custom wizard page to be shown in the progress pane of the wizard. @@ -13316,10 +13042,6 @@ For qmlproject projects, use the importPaths property to add import paths.Creates a plain C project using qmake, not using the Qt library. 使用 qmake 建立純 C 語言的專案,不使用 Qt 的函式庫。 - - Non-Qt Project - 非 Qt 專案 - Creates a plain C project using CMake, not using the Qt library. 使用 CMake 建立純 C 語言的專案,不使用 Qt 的函式庫。 @@ -13380,10 +13102,6 @@ For qmlproject projects, use the importPaths property to add import paths.Plain C++ Project 純 C++ 語言專案 - - Libraries - 函式庫 - Qt Creator Plugin Qt Creator 外掛程式 @@ -13432,9 +13150,6 @@ For qmlproject projects, use the importPaths property to add import paths.Local user settings 本地使用者設定 - - - ProjectExplorer::Internal::CustomWizardPage Path: 路徑: @@ -13448,14 +13163,11 @@ For qmlproject projects, use the importPaths property to add import paths. - DependenciesPanelFactory + ::ProjectExplorer Dependencies 相依性 - - - EditorSettingsPanelFactory Editor Settings 編輯器設定 @@ -13508,7 +13220,7 @@ For qmlproject projects, use the importPaths property to add import paths. - ProjectExplorer::Internal::MiniProjectTargetSelector + ::ProjectExplorer Project 專案 @@ -13517,26 +13229,10 @@ For qmlproject projects, use the importPaths property to add import paths.Target 目標 - - Build - 建置 - Kit - - Deploy - 佈署 - - - Run - 執行 - - - Unconfigured - 未設置 - <b>Project:</b> %1 <b>專案:</b> %1 @@ -13594,13 +13290,6 @@ For qmlproject projects, use the importPaths property to add import paths.<style type=text/css>a:link {color: rgb(128, 128, 255, 240);}</style>專案 <b>%1</b> 尚未設置。<br/><br/>您可以在<a href="projectmode">專案模式</a>中設置。<br/> - - ProjectExplorer::ProjectConfiguration - - Clone of %1 - %1 的複本 - - TargetSettingsPanelFactory @@ -13613,7 +13302,7 @@ For qmlproject projects, use the importPaths property to add import paths. - ProjectExplorer::Internal::TargetSettingsPanelWidget + ::ProjectExplorer No target defined. 沒有定義目標。 @@ -13630,10 +13319,6 @@ For qmlproject projects, use the importPaths property to add import paths.Cancel Build && Remove Kit - - Do Not Remove - 不要移除 - Remove Kit %1? @@ -14651,7 +14336,7 @@ with a password, which you can enter below. - ProjectExplorer::Internal::SessionNameInputDialog + ::ProjectExplorer Enter the name of the session: 輸入工作階段的名稱: @@ -14730,15 +14415,7 @@ with a password, which you can enter below. - ProjectExplorer::Internal::TargetSelector - - Run - 執行 - - - Build - 建置 - + ::ProjectExplorer QmlDesigner::PropertyEditor @@ -15832,7 +15509,7 @@ Ids must begin with a lowercase letter. - ProjectExplorer::BuildableHelperLibrary + ::ProjectExplorer Cannot start process: %1 無法啟動行程:%1 @@ -16885,7 +16562,7 @@ instead of its installation directory when run outside git bash. - ProjectExplorer::Internal::BuildStepListWidget + ::ProjectExplorer %1 Steps %1 is the name returned by BuildStepList::displayName @@ -16927,9 +16604,6 @@ instead of its installation directory when run outside git bash. No Build Steps 沒有建置步驟 - - - ProjectExplorer::Internal::CopyTaskHandler error: Task is of type: error @@ -16949,9 +16623,6 @@ instead of its installation directory when run outside git bash. Copy task to clipboard 將工作複製到剪貼簿 - - - ProjectExplorer::DeployConfiguration Deploy Display name of the deploy build step list. Used as part of the labels in the project window. @@ -16962,22 +16633,11 @@ instead of its installation directory when run outside git bash. Default DeployConfiguration display name - - No deployment - Default DeployConfiguration display name - 目前無佈署 - - - - ProjectExplorer::DeployConfigurationFactory Deploy Configuration Display name of the default deploy configuration 佈署設置 - - - ProjectExplorer::RunControl Application Still Running 應用程式仍然執行中 @@ -17007,9 +16667,6 @@ instead of its installation directory when run outside git bash. Do not ask again 不要再次詢問 - - - ProjectExplorer::Internal::ShowInEditorTaskHandler &Show in Editor 在編輯器中顯示(&S) @@ -17018,9 +16675,6 @@ instead of its installation directory when run outside git bash. Show task location in an editor. 在編輯器中顯示工作位置。 - - - ProjectExplorer::Internal::ShowOutputTaskHandler Show &Output 顯示輸出(&O) @@ -17029,9 +16683,6 @@ instead of its installation directory when run outside git bash. Show output generating this issue. 顯示產生此問題的輸出。 - - - ProjectExplorer::UserFileHandler No deployment 目前無佈署 @@ -17044,9 +16695,6 @@ instead of its installation directory when run outside git bash. Deploy to Symbian device 佈署至 Symbian 裝置 - - - ProjectExplorer::Internal::VcsAnnotateTaskHandler &Annotate 最後註記(&A) @@ -17297,7 +16945,7 @@ Adds the library and include paths to the .pro file. - ProjectExplorer::QmlDumpTool + ::ProjectExplorer qmldump could not be built in any of the directories: - %1 @@ -17328,11 +16976,7 @@ Reason: %2 - ProjectExplorer::QmlObserverTool - - The target directory %1 could not be created. - 目標目錄 %1 無法被建立。 - + ::ProjectExplorer QMLObserver could not be built in any of the directories: - %1 @@ -17748,7 +17392,7 @@ Requires <b>Qt 4.7.0</b> or newer. - TaskList::Internal::StopMonitoringHandler + ::ProjectExplorer Stop Monitoring 停止監看 @@ -17757,9 +17401,6 @@ Requires <b>Qt 4.7.0</b> or newer. Stop monitoring task files. 停止監看工作檔案。 - - - TaskList::Internal::TaskFileFactory Task file reader 工作檔讀取器 @@ -17768,9 +17409,6 @@ Requires <b>Qt 4.7.0</b> or newer. File Error 檔案錯誤 - - - TaskList::TaskListPlugin Cannot open task file %1: %2 無法開啟工作檔案 %1:%2 @@ -18344,7 +17982,7 @@ Local pulls are not applied to the master branch. - ProjectExplorer::Internal::PublishingWizardSelectionDialog + ::ProjectExplorer Publishing Wizard Selection 選擇發佈精靈 @@ -20213,14 +19851,11 @@ Do you want to retry? - ProjectExplorer::Internal::GccToolChainFactory + ::ProjectExplorer GCC GCC - - - ProjectExplorer::Internal::GccToolChainConfigWidget &Compiler path: 編譯器路徑(&C): @@ -20229,30 +19864,18 @@ Do you want to retry? &ABI: &ABI: - - - ProjectExplorer::Internal::MingwToolChainFactory MinGW MinGW - - - ProjectExplorer::Internal::LinuxIccToolChainFactory Linux ICC Linux ICC - - - ProjectExplorer::Internal::MsvcToolChainFactory MSVC MSVC - - - ProjectExplorer::Internal::MsvcDebuggerConfigLabel <html><body><p>Specify the path to the <a href="%1">Windows Console Debugger executable</a> (%2) here.</p></body></html> Label text for path configuration. %2 is "x-bit version". @@ -20266,9 +19889,6 @@ Do you want to retry? 32-bit version 32 位元版本 - - - ProjectExplorer::Internal::MsvcToolChainConfigWidget Initialization: 初始化: @@ -20281,23 +19901,6 @@ Do you want to retry? No 64bit CDB debugger detected. 沒有偵測到 64 位元CDB除錯工具。 - - - ProjectExplorer::ProjectsMode - - Projects - 專案 - - - - ProjectExplorer::ToolChain - - Clone of %1 - %1 的複本 - - - - ProjectExplorer::ToolChainConfigWidget &Debugger: 除錯工具(&D): @@ -20322,17 +19925,6 @@ Do you want to retry? Name: 名稱: - - - ProjectExplorer::Internal::ToolChainModel - - Auto-detected - 自動偵測 - - - Manual - 手動 - <nobr><b>ABI:</b> %1 <nobr><b>ABI:</b> %1 @@ -20341,30 +19933,10 @@ Do you want to retry? not up-to-date 不是最新 - - Name - 名稱 - Type 型態 - - Duplicate Compilers Detected - - - - The following compiler was already configured:<br>&nbsp;%1<br>It was not configured again. - - - - The following compilers were already configured:<br>&nbsp;%1<br>They were not configured again. - - - - Duplicate Tool Chain detected - 偵測到工具鍊有重複 - The following tool chain was already configured:<br>&nbsp;%1<br>It was not configured again. 已設置以下工具鍊:<br>&nbsp;%1<br>因此未再次設置。 @@ -20378,29 +19950,6 @@ Do you want to retry? 已設置以下工具鍊:<br>&nbsp;%1<br>因此未再次設置。 - - ProjectExplorer::Internal::ToolChainOptionsPage - - Tool Chains - 工具鍊 - - - Compilers - - - - Add - 新增 - - - Clone - 複製 - - - Remove - 移除 - - QmlDesigner::ItemLibraryWidget @@ -22330,14 +21879,11 @@ These files are preserved. - ProjectExplorer::AbiWidget + ::ProjectExplorer <custom> <自訂> - - - ProjectExplorer::Internal::AppOutputPane Attach debugger to this process 掛接除錯工具到此行程 @@ -22374,9 +21920,6 @@ These files are preserved. Application Output Window 應用程式輸出視窗 - - - CodeStyleSettingsPanelFactory Code Style Settings 代碼風格設定 @@ -22398,7 +21941,7 @@ These files are preserved. - ProjectExplorer::EditorConfiguration + ::ProjectExplorer Project Settings @@ -22409,9 +21952,6 @@ These files are preserved. Settings, %1 is a language (C++ or QML) 專案 %1 - - - ProjectExplorer::Internal::ClangToolChainFactory Clang Clang @@ -25054,7 +24594,7 @@ To compile QML Observer, go to the Qt Versions page, select the current Qt versi - ProjectExplorer::SettingsAccessor + ::ProjectExplorer Using Old Project Settings File 使用舊的專案設定檔 @@ -26418,7 +25958,7 @@ p, li { white-space: pre-wrap; } - ProjectExplorer::Internal::CodeStyleSettingsPropertiesPage + ::ProjectExplorer Form 表單 @@ -28380,42 +27920,23 @@ Do you want to kill it? - ProjectExplorer::EnvironmentItemsDialog + ::ProjectExplorer Edit Environment 編輯環境變數 - - - ProjectExplorer::Internal::ProjectListWidget %1 (%2) %1 (%2) - - - ProjectExplorer::Internal::SessionModel - - New session name - 新工作階段名稱 - - - - ProjectExplorer::DebuggerRunConfigurationAspect Debugger settings 除錯工具設定 - - - ProjectExplorer::Internal::WinCEToolChainFactory WinCE WinCE - - - ProjectExplorer::Internal::WinCEToolChainConfigWidget SDK: SDK: @@ -29370,7 +28891,7 @@ This option is useful when you want to try your application on devices which don - ProjectExplorer::Internal::DeviceFactorySelectionDialog + ::ProjectExplorer Device Configuration Wizard Selection 裝置設置精靈選擇 @@ -29379,21 +28900,10 @@ This option is useful when you want to try your application on devices which don Available device types: 可用的裝置型態: - - Start Wizard - - - - - ProjectExplorer::Internal::DeviceSettingsWidget Linux Device Configurations Linux 裝置設置 - - &Device: - - General 一般 @@ -29406,18 +28916,6 @@ This option is useful when you want to try your application on devices which don Type: 型態: - - Auto-detected: - - - - Current state: - - - - Type Specific - - &Add... 新增(&A)... @@ -29430,18 +28928,10 @@ This option is useful when you want to try your application on devices which don Set As Default 設為預設 - - Yes (id is "%1") - - No - - Remote Processes - - ::Qnx @@ -31853,7 +31343,7 @@ Do you want to add them to the project?</html> - ProjectExplorer::DesktopDevice + ::ProjectExplorer Run locally @@ -31862,16 +31352,6 @@ Do you want to add them to the project?</html> Desktop 桌面 - - - ProjectExplorer::Internal::DesktopDeviceFactory - - Desktop - 桌面 - - - - ProjectExplorer::DeviceApplicationRunner User requested stop. Shutting down... @@ -31904,16 +31384,10 @@ Do you want to add them to the project?</html> Remote application finished with exit code 0. - - - ProjectExplorer::DeviceManagerModel %1 (default for %2) - - - ProjectExplorer::DeviceProcessesDialog Kit: @@ -31938,16 +31412,10 @@ Do you want to add them to the project?</html> &Filter: - - - ProjectExplorer::Internal::DeviceProcessesDialogPrivate Remote Error 遠端錯誤 - - - ProjectExplorer::DeviceProcessList Process ID 行程代碼 @@ -31956,16 +31424,6 @@ Do you want to add them to the project?</html> Command Line 命令列 - - - ProjectExplorer::Internal::DeviceSettingsPage - - Devices - - - - - ProjectExplorer::DeviceUsedPortsGatherer Connection error: %1 連線錯誤:%1 @@ -31988,16 +31446,10 @@ Remote error output was: %1 遠端的標準錯誤輸出為:'%1' - - - ProjectExplorer::IDevice Device - - - ProjectExplorer::Internal::LocalProcessList Cannot terminate process %1: %2 @@ -32006,9 +31458,6 @@ Remote error output was: %1 Cannot open process %1: %2 - - - ProjectExplorer::SshDeviceProcessList Connection failure: %1 連線失敗:%1 @@ -32043,9 +31492,6 @@ Remote stderr was: %1 遠端的標準錯誤輸出為:'%1' - - - ProjectExplorer::Kit Unnamed @@ -32062,9 +31508,6 @@ Remote stderr was: %1 Warning: 警告: - - - ProjectExplorer::SysRootKitInformation Sys Root "%1" is not a directory. @@ -32073,9 +31516,6 @@ Remote stderr was: %1 Sys Root - - - ProjectExplorer::ToolChainKitInformation Compiler @@ -32088,9 +31528,6 @@ Remote stderr was: %1 No compiler set in kit. - - - ProjectExplorer::DeviceTypeKitInformation Unknown device type @@ -32099,9 +31536,6 @@ Remote stderr was: %1 Device type - - - ProjectExplorer::DeviceKitInformation Device does not match device type. @@ -32110,17 +31544,10 @@ Remote stderr was: %1 No Device set. - - Device - - Unconfigured 未設置 - - - ProjectExplorer::Internal::SysRootInformationConfigWidget The root directory of the system image to use.<br>Leave empty when building for the desktop. @@ -32129,9 +31556,6 @@ Remote stderr was: %1 Sysroot: Sysroot: - - - ProjectExplorer::Internal::ToolChainInformationConfigWidget The compiler to use for building.<br>Make sure the compiler will produce binaries compatible with the target device, Qt version and other libraries used. @@ -32148,9 +31572,6 @@ Remote stderr was: %1 <No compiler available> - - - ProjectExplorer::Internal::DeviceTypeInformationConfigWidget The type of device to run applications on. @@ -32159,39 +31580,10 @@ Remote stderr was: %1 Device type: 裝置型態: - - - ProjectExplorer::Internal::DeviceInformationConfigWidget - - The device to run the applications on. - - - - Manage... - 管理... - Device: 裝置: - - - ProjectExplorer::KitManager - - Desktop - 桌面 - - - - ProjectExplorer::Internal::KitManagerConfigWidget - - Name: - 名稱: - - - Kit name and icon. - - Select Icon 選擇圖示 @@ -32200,9 +31592,6 @@ Remote stderr was: %1 Images (*.png *.xpm *.jpg) - - - ProjectExplorer::Internal::KitModel Auto-detected 自動偵測 @@ -32211,26 +31600,10 @@ Remote stderr was: %1 Manual 手動 - - %1 (default) - Mark up a kit as the default one. - - Name 名稱 - - Clone of %1 - %1 的複本 - - - - ProjectExplorer::KitOptionsPage - - Kits - - Add 新增 @@ -32247,16 +31620,10 @@ Remote stderr was: %1 Make Default - - - ProjectExplorer::RunConfiguration Unknown error. 未知的錯誤。 - - - ProjectExplorer::Target Default build diff --git a/src/plugins/projectexplorer/abiwidget.cpp b/src/plugins/projectexplorer/abiwidget.cpp index bdec954cfcd..11d5cbd0728 100644 --- a/src/plugins/projectexplorer/abiwidget.cpp +++ b/src/plugins/projectexplorer/abiwidget.cpp @@ -2,7 +2,9 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "abiwidget.h" + #include "abi.h" +#include "projectexplorertr.h" #include #include @@ -184,7 +186,7 @@ void AbiWidget::setAbis(const Abis &abiList, const Abi ¤tAbi) // Initial setup of ABI combobox: d->m_abi->clear(); - d->m_abi->addItem(tr(""), defaultAbi.toString()); + d->m_abi->addItem(Tr::tr(""), defaultAbi.toString()); d->m_abi->setCurrentIndex(0); d->m_abi->setVisible(!abiList.isEmpty()); diff --git a/src/plugins/projectexplorer/abstractprocessstep.cpp b/src/plugins/projectexplorer/abstractprocessstep.cpp index ddae1e083f9..08d58117c68 100644 --- a/src/plugins/projectexplorer/abstractprocessstep.cpp +++ b/src/plugins/projectexplorer/abstractprocessstep.cpp @@ -2,11 +2,13 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "abstractprocessstep.h" + #include "buildconfiguration.h" #include "buildstep.h" #include "processparameters.h" #include "projectexplorer.h" #include "projectexplorersettings.h" +#include "projectexplorertr.h" #include #include @@ -101,7 +103,7 @@ AbstractProcessStep::~AbstractProcessStep() void AbstractProcessStep::emitFaultyConfigurationMessage() { - emit addOutput(tr("Configuration is faulty. Check the Issues view for details."), + emit addOutput(Tr::tr("Configuration is faulty. Check the Issues view for details."), OutputFormat::NormalMessage); } @@ -191,7 +193,7 @@ bool AbstractProcessStep::checkWorkingDirectory() const FilePath wd = d->m_param.effectiveWorkingDirectory(); if (!wd.exists()) { if (!wd.createDir()) { - emit addOutput(tr("Could not create directory \"%1\"").arg(wd.toUserOutput()), + emit addOutput(Tr::tr("Could not create directory \"%1\"").arg(wd.toUserOutput()), OutputFormat::ErrorMessage); finish(ProcessResult::StartFailed); return false; @@ -232,7 +234,7 @@ void AbstractProcessStep::setupProcess(QtcProcess *process) }); connect(process, &QtcProcess::started, this, [this] { ProcessParameters *params = displayedParameters(); - emit addOutput(tr("Starting: \"%1\" %2") + emit addOutput(Tr::tr("Starting: \"%1\" %2") .arg(params->effectiveCommand().toUserOutput(), params->prettyArguments()), OutputFormat::NormalMessage); }); @@ -269,7 +271,7 @@ void AbstractProcessStep::doCancel() } if (d->m_taskTree) { d->m_taskTree.reset(); - emit addOutput(tr("The build step was ended forcefully."), OutputFormat::ErrorMessage); + emit addOutput(Tr::tr("The build step was ended forcefully."), OutputFormat::ErrorMessage); emit finished(false); } } @@ -323,14 +325,14 @@ void AbstractProcessStep::Private::cleanUp(int exitCode, QProcess::ExitStatus st { const QString command = q->displayedParameters()->effectiveCommand().toUserOutput(); if (status == QProcess::NormalExit && exitCode == 0) { - emit q->addOutput(tr("The process \"%1\" exited normally.").arg(command), + emit q->addOutput(Tr::tr("The process \"%1\" exited normally.").arg(command), OutputFormat::NormalMessage); } else if (status == QProcess::NormalExit) { - emit q->addOutput(tr("The process \"%1\" exited with code %2.") + emit q->addOutput(Tr::tr("The process \"%1\" exited with code %2.") .arg(command, QString::number(exitCode)), OutputFormat::ErrorMessage); } else { - emit q->addOutput(tr("The process \"%1\" crashed.").arg(command), + emit q->addOutput(Tr::tr("The process \"%1\" crashed.").arg(command), OutputFormat::ErrorMessage); } @@ -351,7 +353,7 @@ void AbstractProcessStep::Private::cleanUp(int exitCode, QProcess::ExitStatus st void AbstractProcessStep::processStartupFailed() { ProcessParameters *params = displayedParameters(); - emit addOutput(tr("Could not start process \"%1\" %2.") + emit addOutput(Tr::tr("Could not start process \"%1\" %2.") .arg(params->effectiveCommand().toUserOutput(), params->prettyArguments()), OutputFormat::ErrorMessage); diff --git a/src/plugins/projectexplorer/addrunconfigdialog.cpp b/src/plugins/projectexplorer/addrunconfigdialog.cpp index 31513759a19..acdb3977047 100644 --- a/src/plugins/projectexplorer/addrunconfigdialog.cpp +++ b/src/plugins/projectexplorer/addrunconfigdialog.cpp @@ -4,6 +4,7 @@ #include "addrunconfigdialog.h" #include "project.h" +#include "projectexplorertr.h" #include "target.h" #include @@ -27,7 +28,6 @@ const Qt::ItemDataRole IsCustomRole = Qt::UserRole; class CandidateTreeItem : public TreeItem { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Internal::AddRunConfigDialog) public: CandidateTreeItem(const RunConfigurationCreationInfo &rci, const Target *target) : m_creationInfo(rci), m_projectRoot(target->project()->projectDirectory()), @@ -50,7 +50,7 @@ private: displayPath = m_creationInfo.projectFilePath; QTC_CHECK(displayPath.isEmpty()); } - return displayPath.isEmpty() ? tr("[none]") : displayPath.toUserOutput(); + return displayPath.isEmpty() ? Tr::tr("[none]") : displayPath.toUserOutput(); } return QVariant(); } @@ -62,11 +62,10 @@ private: class CandidatesModel : public TreeModel { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Internal::AddRunConfigDialog) public: CandidatesModel(Target *target, QObject *parent) : TreeModel(parent) { - setHeader({tr("Name"), tr("Source")}); + setHeader({Tr::tr("Name"), Tr::tr("Source")}); for (const RunConfigurationCreationInfo &rci : RunConfigurationFactory::creatorsForTarget(target)) { rootItem()->appendChild(new CandidateTreeItem(rci, target)); @@ -114,13 +113,13 @@ private: AddRunConfigDialog::AddRunConfigDialog(Target *target, QWidget *parent) : QDialog(parent), m_view(new CandidatesTreeView(this)) { - setWindowTitle(tr("Create Run Configuration")); + setWindowTitle(Tr::tr("Create Run Configuration")); const auto model = new CandidatesModel(target, this); const auto proxyModel = new ProxyModel(this); proxyModel->setSourceModel(model); const auto filterEdit = new FancyLineEdit(this); filterEdit->setFiltering(true); - filterEdit->setPlaceholderText(tr("Filter candidates by name")); + filterEdit->setPlaceholderText(Tr::tr("Filter candidates by name")); m_view->setSelectionMode(TreeView::SingleSelection); m_view->setSelectionBehavior(TreeView::SelectRows); m_view->setSortingEnabled(true); @@ -129,7 +128,7 @@ AddRunConfigDialog::AddRunConfigDialog(Target *target, QWidget *parent) m_view->resizeColumnToContents(1); m_view->sortByColumn(0, Qt::AscendingOrder); const auto buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel); - buttonBox->button(QDialogButtonBox::Ok)->setText(tr("Create")); + buttonBox->button(QDialogButtonBox::Ok)->setText(Tr::tr("Create")); connect(filterEdit, &FancyLineEdit::textChanged, this, [proxyModel](const QString &text) { proxyModel->setFilterRegularExpression(QRegularExpression(text, QRegularExpression::CaseInsensitiveOption)); diff --git a/src/plugins/projectexplorer/allprojectsfilter.cpp b/src/plugins/projectexplorer/allprojectsfilter.cpp index 3f1551a4b62..ea4d86dba7d 100644 --- a/src/plugins/projectexplorer/allprojectsfilter.cpp +++ b/src/plugins/projectexplorer/allprojectsfilter.cpp @@ -2,21 +2,23 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "allprojectsfilter.h" + #include "projectexplorer.h" +#include "projectexplorertr.h" #include "session.h" #include "project.h" #include using namespace Core; -using namespace ProjectExplorer; -using namespace ProjectExplorer::Internal; + +namespace ProjectExplorer::Internal { AllProjectsFilter::AllProjectsFilter() { setId("Files in any project"); - setDisplayName(tr("Files in Any Project")); - setDescription(tr("Matches all files of all open projects. Append \"+\" or " + setDisplayName(Tr::tr("Files in Any Project")); + setDescription(Tr::tr("Matches all files of all open projects. Append \"+\" or " "\":\" to jump to the given line number. Append another " "\"+\" or \":\" to jump to the column number as well.")); setDefaultShortcutString("a"); @@ -49,3 +51,5 @@ void AllProjectsFilter::refresh(QFutureInterface &future) Q_UNUSED(future) QMetaObject::invokeMethod(this, &AllProjectsFilter::markFilesAsOutOfDate, Qt::QueuedConnection); } + +} // ProjectExplorer::Internal diff --git a/src/plugins/projectexplorer/allprojectsfind.cpp b/src/plugins/projectexplorer/allprojectsfind.cpp index 20042f1cfaf..ac4afc1d6e2 100644 --- a/src/plugins/projectexplorer/allprojectsfind.cpp +++ b/src/plugins/projectexplorer/allprojectsfind.cpp @@ -3,14 +3,17 @@ #include "allprojectsfind.h" -#include "project.h" -#include "session.h" -#include "projectexplorer.h" #include "editorconfiguration.h" +#include "project.h" +#include "projectexplorer.h" +#include "projectexplorertr.h" +#include "session.h" + +#include #include #include -#include + #include #include @@ -36,7 +39,7 @@ QString AllProjectsFind::id() const QString AllProjectsFind::displayName() const { - return tr("All Projects"); + return Tr::tr("All Projects"); } bool AllProjectsFind::isEnabled() const @@ -84,13 +87,13 @@ QVariant AllProjectsFind::additionalParameters() const QString AllProjectsFind::label() const { - return tr("All Projects:"); + return Tr::tr("All Projects:"); } QString AllProjectsFind::toolTip() const { // last arg is filled by BaseFileFind::runNewSearch - return tr("Filter: %1\nExcluding: %2\n%3") + return Tr::tr("Filter: %1\nExcluding: %2\n%3") .arg(fileNameFilters().join(',')) .arg(fileExclusionFilters().join(',')); } diff --git a/src/plugins/projectexplorer/appoutputpane.cpp b/src/plugins/projectexplorer/appoutputpane.cpp index 4ff83030f4c..a5590a7bb1b 100644 --- a/src/plugins/projectexplorer/appoutputpane.cpp +++ b/src/plugins/projectexplorer/appoutputpane.cpp @@ -6,6 +6,7 @@ #include "projectexplorer.h" #include "projectexplorerconstants.h" #include "projectexplorericons.h" +#include "projectexplorertr.h" #include "runcontrol.h" #include "session.h" #include "showoutputtaskhandler.h" @@ -68,8 +69,8 @@ static QObject *debuggerPlugin() static QString msgAttachDebuggerTooltip(const QString &handleDescription = QString()) { return handleDescription.isEmpty() ? - AppOutputPane::tr("Attach debugger to this process") : - AppOutputPane::tr("Attach debugger to %1").arg(handleDescription); + Tr::tr("Attach debugger to this process") : + Tr::tr("Attach debugger to %1").arg(handleDescription); } class TabWidget : public QTabWidget @@ -136,19 +137,19 @@ AppOutputPane::RunControlTab::RunControlTab(RunControl *runControl, Core::Output AppOutputPane::AppOutputPane() : m_tabWidget(new TabWidget), - m_stopAction(new QAction(tr("Stop"), this)), - m_closeCurrentTabAction(new QAction(tr("Close Tab"), this)), - m_closeAllTabsAction(new QAction(tr("Close All Tabs"), this)), - m_closeOtherTabsAction(new QAction(tr("Close Other Tabs"), this)), + m_stopAction(new QAction(Tr::tr("Stop"), this)), + m_closeCurrentTabAction(new QAction(Tr::tr("Close Tab"), this)), + m_closeAllTabsAction(new QAction(Tr::tr("Close All Tabs"), this)), + m_closeOtherTabsAction(new QAction(Tr::tr("Close Other Tabs"), this)), m_reRunButton(new QToolButton), m_stopButton(new QToolButton), m_attachButton(new QToolButton), m_settingsButton(new QToolButton), m_formatterWidget(new QWidget), m_handler(new ShowOutputTaskHandler(this, - tr("Show &App Output"), - tr("Show the output that generated this issue in Application Output."), - tr("A"))) + Tr::tr("Show &App Output"), + Tr::tr("Show the output that generated this issue in Application Output."), + Tr::tr("A"))) { ExtensionSystem::PluginManager::addObject(m_handler); @@ -157,14 +158,14 @@ AppOutputPane::AppOutputPane() : // Rerun m_reRunButton->setIcon(Utils::Icons::RUN_SMALL_TOOLBAR.icon()); - m_reRunButton->setToolTip(tr("Re-run this run-configuration.")); + m_reRunButton->setToolTip(Tr::tr("Re-run this run-configuration.")); m_reRunButton->setEnabled(false); connect(m_reRunButton, &QToolButton::clicked, this, &AppOutputPane::reRunRunControl); // Stop m_stopAction->setIcon(Utils::Icons::STOP_SMALL_TOOLBAR.icon()); - m_stopAction->setToolTip(tr("Stop running program.")); + m_stopAction->setToolTip(Tr::tr("Stop running program.")); m_stopAction->setEnabled(false); Core::Command *cmd = Core::ActionManager::registerAction(m_stopAction, Constants::STOP); @@ -187,7 +188,7 @@ AppOutputPane::AppOutputPane() : connect(this, &IOutputPane::zoomOutRequested, this, &AppOutputPane::zoomOut); connect(this, &IOutputPane::resetZoomRequested, this, &AppOutputPane::resetZoom); - m_settingsButton->setToolTip(tr("Open Settings Page")); + m_settingsButton->setToolTip(Tr::tr("Open Settings Page")); m_settingsButton->setIcon(Utils::Icons::SETTINGS_TOOLBAR.icon()); connect(m_settingsButton, &QToolButton::clicked, this, [] { Core::ICore::showOptionsDialog(OPTIONS_PAGE_ID); @@ -305,7 +306,7 @@ QList AppOutputPane::toolBarWidgets() const QString AppOutputPane::displayName() const { - return tr("Application Output"); + return Tr::tr("Application Output"); } int AppOutputPane::priorityInStatusBar() const @@ -427,7 +428,7 @@ void AppOutputPane::createNewOutputWindow(RunControl *rc) Id contextId = Id(C_APP_OUTPUT).withSuffix(counter++); Core::Context context(contextId); Core::OutputWindow *ow = new Core::OutputWindow(context, SETTINGS_KEY, m_tabWidget); - ow->setWindowTitle(tr("Application Output Window")); + ow->setWindowTitle(Tr::tr("Application Output Window")); ow->setWindowIcon(Icons::WINDOW.icon()); ow->setWordWrapEnabled(m_settings.wrapOutput); ow->setMaxCharCount(m_settings.maxCharCount); @@ -698,8 +699,8 @@ void AppOutputPane::enableButtons(const RunControl *rc) if (isRunning && debuggerPlugin() && rc->applicationProcessHandle().isValid()) { m_attachButton->setEnabled(true); ProcessHandle h = rc->applicationProcessHandle(); - QString tip = h.isValid() ? RunControl::tr("PID %1").arg(h.pid()) - : RunControl::tr("Invalid"); + QString tip = h.isValid() ? Tr::tr("PID %1").arg(h.pid()) + : Tr::tr("Invalid"); m_attachButton->setToolTip(msgAttachDebuggerTooltip(tip)); } else { m_attachButton->setEnabled(false); @@ -804,22 +805,21 @@ bool AppOutputPane::canNavigate() const class AppOutputSettingsWidget : public Core::IOptionsPageWidget { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Internal::AppOutputSettingsPage) public: AppOutputSettingsWidget() { const AppOutputSettings &settings = ProjectExplorerPlugin::appOutputSettings(); - m_wrapOutputCheckBox.setText(tr("Word-wrap output")); + m_wrapOutputCheckBox.setText(Tr::tr("Word-wrap output")); m_wrapOutputCheckBox.setChecked(settings.wrapOutput); - m_cleanOldOutputCheckBox.setText(tr("Clear old output on a new run")); + m_cleanOldOutputCheckBox.setText(Tr::tr("Clear old output on a new run")); m_cleanOldOutputCheckBox.setChecked(settings.cleanOldOutput); - m_mergeChannelsCheckBox.setText(tr("Merge stderr and stdout")); + m_mergeChannelsCheckBox.setText(Tr::tr("Merge stderr and stdout")); m_mergeChannelsCheckBox.setChecked(settings.mergeChannels); for (QComboBox * const modeComboBox : {&m_runOutputModeComboBox, &m_debugOutputModeComboBox}) { - modeComboBox->addItem(tr("Always"), int(AppOutputPaneMode::PopupOnOutput)); - modeComboBox->addItem(tr("Never"), int(AppOutputPaneMode::FlashOnOutput)); - modeComboBox->addItem(tr("On First Output Only"), + modeComboBox->addItem(Tr::tr("Always"), int(AppOutputPaneMode::PopupOnOutput)); + modeComboBox->addItem(Tr::tr("Never"), int(AppOutputPaneMode::FlashOnOutput)); + modeComboBox->addItem(Tr::tr("On First Output Only"), int(AppOutputPaneMode::PopupOnFirstOutput)); } m_runOutputModeComboBox.setCurrentIndex(m_runOutputModeComboBox @@ -833,15 +833,15 @@ public: layout->addWidget(&m_cleanOldOutputCheckBox); layout->addWidget(&m_mergeChannelsCheckBox); const auto maxCharsLayout = new QHBoxLayout; - const QString msg = tr("Limit output to %1 characters"); + const QString msg = Tr::tr("Limit output to %1 characters"); const QStringList parts = msg.split("%1") << QString() << QString(); maxCharsLayout->addWidget(new QLabel(parts.at(0).trimmed())); maxCharsLayout->addWidget(&m_maxCharsBox); maxCharsLayout->addWidget(new QLabel(parts.at(1).trimmed())); maxCharsLayout->addStretch(1); const auto outputModeLayout = new QFormLayout; - outputModeLayout->addRow(tr("Open Application Output when running:"), &m_runOutputModeComboBox); - outputModeLayout->addRow(tr("Open Application Output when debugging:"), + outputModeLayout->addRow(Tr::tr("Open Application Output when running:"), &m_runOutputModeComboBox); + outputModeLayout->addRow(Tr::tr("Open Application Output when debugging:"), &m_debugOutputModeComboBox); layout->addLayout(outputModeLayout); layout->addLayout(maxCharsLayout); @@ -875,7 +875,7 @@ private: AppOutputSettingsPage::AppOutputSettingsPage() { setId(OPTIONS_PAGE_ID); - setDisplayName(AppOutputSettingsWidget::tr("Application Output")); + setDisplayName(Tr::tr("Application Output")); setCategory(Constants::BUILD_AND_RUN_SETTINGS_CATEGORY); setWidgetCreator([] { return new AppOutputSettingsWidget; }); } diff --git a/src/plugins/projectexplorer/baseprojectwizarddialog.cpp b/src/plugins/projectexplorer/baseprojectwizarddialog.cpp index 5ec5b4d97c0..ffd2e6def20 100644 --- a/src/plugins/projectexplorer/baseprojectwizarddialog.cpp +++ b/src/plugins/projectexplorer/baseprojectwizarddialog.cpp @@ -3,6 +3,8 @@ #include "baseprojectwizarddialog.h" +#include "projectexplorertr.h" + #include #include @@ -141,7 +143,7 @@ QString BaseProjectWizardDialog::uniqueProjectName(const FilePath &path) //: File path suggestion for a new project. If you choose //: to translate it, make sure it is a valid path name without blanks //: and using only ascii chars. - const QString prefix = tr("untitled"); + const QString prefix = Tr::tr("untitled"); for (unsigned i = 0; ; ++i) { QString name = prefix; if (i) diff --git a/src/plugins/projectexplorer/buildaspects.cpp b/src/plugins/projectexplorer/buildaspects.cpp index 341102003c3..bf81ae2ee12 100644 --- a/src/plugins/projectexplorer/buildaspects.cpp +++ b/src/plugins/projectexplorer/buildaspects.cpp @@ -9,6 +9,7 @@ #include "kitinformation.h" #include "projectexplorerconstants.h" #include "projectexplorer.h" +#include "projectexplorertr.h" #include "target.h" #include @@ -39,7 +40,7 @@ BuildDirectoryAspect::BuildDirectoryAspect(const BuildConfiguration *bc) : d(new Private(bc->target())) { setSettingsKey("ProjectExplorer.BuildConfiguration.BuildDirectory"); - setLabelText(tr("Build directory:")); + setLabelText(Tr::tr("Build directory:")); setDisplayStyle(PathChooserDisplay); setExpectedKind(Utils::PathChooser::Directory); setValidationFunction([this](FancyLineEdit *edit, QString *error) { @@ -52,7 +53,7 @@ BuildDirectoryAspect::BuildDirectoryAspect(const BuildConfiguration *bc) if (buildDevice && buildDevice->type() != ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE && !buildDevice->rootPath().ensureReachable(newPath)) { - *error = tr("The build directory is not reachable from the build device."); + *error = Tr::tr("The build directory is not reachable from the build device."); return false; } @@ -71,7 +72,7 @@ BuildDirectoryAspect::~BuildDirectoryAspect() void BuildDirectoryAspect::allowInSourceBuilds(const FilePath &sourceDir) { d->sourceDir = sourceDir; - makeCheckable(CheckBoxPlacement::Top, tr("Shadow build:"), QString()); + makeCheckable(CheckBoxPlacement::Top, Tr::tr("Shadow build:"), QString()); setChecked(d->sourceDir != filePath()); } @@ -164,7 +165,7 @@ void BuildDirectoryAspect::updateProblemLabel() SeparateDebugInfoAspect::SeparateDebugInfoAspect() { - setDisplayName(tr("Separate debug info:")); + setDisplayName(Tr::tr("Separate debug info:")); setSettingsKey("SeparateDebugInfo"); setValue(ProjectExplorerPlugin::buildPropertiesSettings().separateDebugInfo.value()); } diff --git a/src/plugins/projectexplorer/buildconfiguration.cpp b/src/plugins/projectexplorer/buildconfiguration.cpp index 0bd03680f60..21d0c24ff39 100644 --- a/src/plugins/projectexplorer/buildconfiguration.cpp +++ b/src/plugins/projectexplorer/buildconfiguration.cpp @@ -12,15 +12,14 @@ #include "environmentwidget.h" #include "kit.h" #include "kitinformation.h" -#include "kitmanager.h" #include "namedwidget.h" #include "projectexplorerconstants.h" #include "projectexplorer.h" +#include "projectexplorertr.h" #include "project.h" #include "projecttree.h" #include "session.h" #include "target.h" -#include "toolchain.h" #include #include @@ -56,13 +55,12 @@ namespace Internal { class BuildEnvironmentWidget : public NamedWidget { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Internal::BuildEnvironmentWidget) public: explicit BuildEnvironmentWidget(BuildConfiguration *bc) - : NamedWidget(tr("Build Environment")) + : NamedWidget(Tr::tr("Build Environment")) { - auto clearBox = new QCheckBox(tr("Clear system environment"), this); + auto clearBox = new QCheckBox(Tr::tr("Clear system environment"), this); clearBox->setChecked(!bc->useSystemEnvironment()); auto envWidget = new EnvironmentWidget(this, EnvironmentWidget::TypeLocal, clearBox); @@ -100,15 +98,14 @@ public: class CustomParsersBuildWidget : public NamedWidget { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Internal::CustomParsersBuildWidget) public: - CustomParsersBuildWidget(BuildConfiguration *bc) : NamedWidget(tr("Custom Output Parsers")) + CustomParsersBuildWidget(BuildConfiguration *bc) : NamedWidget(Tr::tr("Custom Output Parsers")) { const auto layout = new QVBoxLayout(this); layout->setContentsMargins(0, 0, 0, 0); - const auto pasteStdOutCB = new QCheckBox(tr("Parse standard output during build"), this); - pasteStdOutCB->setToolTip(tr("Makes output parsers look for diagnostics " + const auto pasteStdOutCB = new QCheckBox(Tr::tr("Parse standard output during build"), this); + pasteStdOutCB->setToolTip(Tr::tr("Makes output parsers look for diagnostics " "on stdout rather than stderr.")); pasteStdOutCB->setChecked(bc->parseStdOut()); layout->addWidget(pasteStdOutCB); @@ -163,18 +160,18 @@ BuildConfiguration::BuildConfiguration(Target *target, Utils::Id id) QTC_CHECK(target && target == this->target()); MacroExpander *expander = macroExpander(); - expander->setDisplayName(tr("Build Settings")); + expander->setDisplayName(Tr::tr("Build Settings")); expander->setAccumulating(true); expander->registerSubProvider([target] { return target->macroExpander(); }); - expander->registerVariable("buildDir", tr("Build directory"), + expander->registerVariable("buildDir", Tr::tr("Build directory"), [this] { return buildDirectory().toUserOutput(); }); - expander->registerVariable("BuildConfig:Name", tr("Name of the build configuration"), + expander->registerVariable("BuildConfig:Name", Tr::tr("Name of the build configuration"), [this] { return displayName(); }); expander->registerPrefix("BuildConfig:Env", - tr("Variables in the build configuration's environment"), + Tr::tr("Variables in the build configuration's environment"), [this](const QString &var) { return environment().expandedValueForKey(var); }); connect(Core::ICore::instance(), &Core::ICore::systemEnvironmentChanged, @@ -201,8 +198,8 @@ BuildConfiguration::BuildConfiguration(Target *target, Utils::Id id) }); d->m_tooltipAspect = addAspect(); - d->m_tooltipAspect->setLabelText(tr("Tooltip in target selector:")); - d->m_tooltipAspect->setToolTip(tr("Appears as a tooltip when hovering the build configuration")); + d->m_tooltipAspect->setLabelText(Tr::tr("Tooltip in target selector:")); + d->m_tooltipAspect->setToolTip(Tr::tr("Appears as a tooltip when hovering the build configuration")); d->m_tooltipAspect->setDisplayStyle(StringAspect::LineEditDisplay); d->m_tooltipAspect->setSettingsKey("ProjectExplorer.BuildConfiguration.Tooltip"); connect(d->m_tooltipAspect, &StringAspect::changed, this, [this] { @@ -481,9 +478,9 @@ Environment BuildConfiguration::baseEnvironment() const QString BuildConfiguration::baseEnvironmentText() const { if (useSystemEnvironment()) - return tr("System Environment"); + return Tr::tr("System Environment"); else - return tr("Clean Environment"); + return Tr::tr("Clean Environment"); } Environment BuildConfiguration::environment() const @@ -543,7 +540,7 @@ bool BuildConfiguration::isEnabled() const QString BuildConfiguration::disabledReason() const { if (!buildSystem()->hasParsingData()) - return (tr("The project was not parsed successfully.")); + return (Tr::tr("The project was not parsed successfully.")); return QString(); } @@ -596,25 +593,22 @@ FilePath BuildConfiguration::buildDirectoryFromTemplate(const FilePath &projectD qCDebug(bcLog) << Q_FUNC_INFO << projectDir << mainFilePath << projectName << bcName; exp.registerFileVariables("Project", - QCoreApplication::translate("::ProjectExplorer", "Main file of the project"), + Tr::tr("Main file of the project"), [mainFilePath] { return mainFilePath; }); exp.registerVariable("Project:Name", - QCoreApplication::translate("::ProjectExplorer", "Name of the project"), + Tr::tr("Name of the project"), [projectName] { return projectName; }); exp.registerVariable("BuildConfig:Name", - QCoreApplication::translate( - "::ProjectExplorer", "Name of the project's active build configuration"), + Tr::tr("Name of the project's active build configuration"), [bcName] { return bcName; }); exp.registerVariable("BuildSystem:Name", - QCoreApplication::translate( - "::ProjectExplorer", "Name of the project's active build system"), + Tr::tr("Name of the project's active build system"), [buildSystem] { return buildSystem; }); exp.registerVariable("CurrentBuild:Type", - QCoreApplication::translate("::ProjectExplorer", "Type of current build"), + Tr::tr("Type of current build"), [buildType] { return buildTypeName(buildType); }, false); exp.registerVariable("BuildConfig:Type", - QCoreApplication::translate( - "::ProjectExplorer", "Type of the project's active build configuration"), + Tr::tr("Type of the project's active build configuration"), [buildType] { return buildTypeName(buildType); }); exp.registerSubProvider([kit] { return kit->macroExpander(); }); diff --git a/src/plugins/projectexplorer/buildmanager.cpp b/src/plugins/projectexplorer/buildmanager.cpp index d511443ef40..228e575ddda 100644 --- a/src/plugins/projectexplorer/buildmanager.cpp +++ b/src/plugins/projectexplorer/buildmanager.cpp @@ -288,16 +288,16 @@ BuildManager *BuildManager::instance() void BuildManager::extensionsInitialized() { TaskHub::addCategory(Constants::TASK_CATEGORY_COMPILE, - tr("Compile", "Category for compiler issues listed under 'Issues'"), + Tr::tr("Compile", "Category for compiler issues listed under 'Issues'"), true, 100); TaskHub::addCategory(Constants::TASK_CATEGORY_BUILDSYSTEM, - tr("Build System", "Category for build system issues listed under 'Issues'"), + Tr::tr("Build System", "Category for build system issues listed under 'Issues'"), true, 100); TaskHub::addCategory(Constants::TASK_CATEGORY_DEPLOYMENT, - tr("Deployment", "Category for deployment issues listed under 'Issues'"), + Tr::tr("Deployment", "Category for deployment issues listed under 'Issues'"), true, 100); TaskHub::addCategory(Constants::TASK_CATEGORY_AUTOTEST, - tr("Autotests", "Category for autotest issues listed under 'Issues'"), + Tr::tr("Autotests", "Category for autotest issues listed under 'Issues'"), true, 100); } @@ -457,14 +457,14 @@ QString BuildManager::displayNameForStepId(Id stepId) { if (stepId == Constants::BUILDSTEPS_CLEAN) { //: Displayed name for a "cleaning" build step - return tr("Clean"); + return Tr::tr("Clean"); } if (stepId == Constants::BUILDSTEPS_DEPLOY) { //: Displayed name for a deploy step - return tr("Deploy"); + return Tr::tr("Deploy"); } //: Displayed name for a normal build step - return tr("Build"); + return Tr::tr("Build"); } void BuildManager::cancel() @@ -504,7 +504,7 @@ void BuildManager::finish() void BuildManager::emitCancelMessage() { - addToOutputWindow(tr("Canceled build/deployment."), BuildStep::OutputFormat::ErrorMessage); + addToOutputWindow(Tr::tr("Canceled build/deployment."), BuildStep::OutputFormat::ErrorMessage); } void BuildManager::clearBuildQueue() @@ -659,7 +659,7 @@ void BuildManager::nextBuildQueue() //TODO NBS fix in qtconcurrent d->m_progressFutureInterface->setProgressValueAndText(d->m_progress*100, - tr("Build/Deployment canceled")); + Tr::tr("Build/Deployment canceled")); clearBuildQueue(); return; } @@ -679,13 +679,13 @@ void BuildManager::nextBuildQueue() Target *t = d->m_currentBuildStep->target(); const QString projectName = d->m_currentBuildStep->project()->displayName(); const QString targetName = t->displayName(); - addToOutputWindow(tr("Error while building/deploying project %1 (kit: %2)").arg(projectName, targetName), BuildStep::OutputFormat::Stderr); + addToOutputWindow(Tr::tr("Error while building/deploying project %1 (kit: %2)").arg(projectName, targetName), BuildStep::OutputFormat::Stderr); const Tasks kitTasks = t->kit()->validate(); if (!kitTasks.isEmpty()) { - addToOutputWindow(tr("The kit %1 has configuration issues which might be the root cause for this problem.") + addToOutputWindow(Tr::tr("The kit %1 has configuration issues which might be the root cause for this problem.") .arg(targetName), BuildStep::OutputFormat::Stderr); } - addToOutputWindow(tr("When executing step \"%1\"").arg(d->m_currentBuildStep->displayName()), BuildStep::OutputFormat::Stderr); + addToOutputWindow(Tr::tr("When executing step \"%1\"").arg(d->m_currentBuildStep->displayName()), BuildStep::OutputFormat::Stderr); bool abort = ProjectExplorerPlugin::projectExplorerSettings().abortBuildAllOnError; if (!abort) { @@ -702,7 +702,7 @@ void BuildManager::nextBuildQueue() if (abort) { // NBS TODO fix in qtconcurrent d->m_progressFutureInterface->setProgressValueAndText(d->m_progress * 100, - tr("Error while building/deploying project %1 (kit: %2)") + Tr::tr("Error while building/deploying project %1 (kit: %2)") .arg(projectName, targetName)); clearBuildQueue(); } else { @@ -729,13 +729,13 @@ void BuildManager::nextStep() if (d->m_currentBuildStep->project() != d->m_previousBuildStepProject) { const QString projectName = d->m_currentBuildStep->project()->displayName(); - addToOutputWindow(tr("Running steps for project %1...") + addToOutputWindow(Tr::tr("Running steps for project %1...") .arg(projectName), BuildStep::OutputFormat::NormalMessage); d->m_previousBuildStepProject = d->m_currentBuildStep->project(); } if (d->m_skipDisabled) { - addToOutputWindow(tr("Skipping disabled step %1.") + addToOutputWindow(Tr::tr("Skipping disabled step %1.") .arg(d->m_currentBuildStep->displayName()), BuildStep::OutputFormat::NormalMessage); nextBuildQueue(); return; @@ -803,8 +803,8 @@ bool BuildManager::buildQueueAppend(const QList &steps, QStringList // print something for the user const QString projectName = bs->project()->displayName(); const QString targetName = bs->target()->displayName(); - addToOutputWindow(tr("Error while building/deploying project %1 (kit: %2)").arg(projectName, targetName), BuildStep::OutputFormat::Stderr); - addToOutputWindow(tr("When executing step \"%1\"").arg(bs->displayName()), BuildStep::OutputFormat::Stderr); + addToOutputWindow(Tr::tr("Error while building/deploying project %1 (kit: %2)").arg(projectName, targetName), BuildStep::OutputFormat::Stderr); + addToOutputWindow(Tr::tr("When executing step \"%1\"").arg(bs->displayName()), BuildStep::OutputFormat::Stderr); // disconnect the buildsteps again for (int j = 0; j <= i; ++j) diff --git a/src/plugins/projectexplorer/buildpropertiessettings.cpp b/src/plugins/projectexplorer/buildpropertiessettings.cpp index 0234adcfa96..a9126551e3e 100644 --- a/src/plugins/projectexplorer/buildpropertiessettings.cpp +++ b/src/plugins/projectexplorer/buildpropertiessettings.cpp @@ -4,6 +4,7 @@ #include "buildpropertiessettings.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include @@ -16,10 +17,7 @@ const char DEFAULT_BUILD_DIRECTORY_TEMPLATE[] = "../%{JS: Util.asciify(\"build-%{Project:Name}-%{Kit:FileSystemName}-%{BuildConfig:Name}\")}"; BuildPropertiesSettings::BuildTriStateAspect::BuildTriStateAspect() - : TriStateAspect{ - BuildPropertiesSettings::tr("Enable"), - BuildPropertiesSettings::tr("Disable"), - BuildPropertiesSettings::tr("Use Project Default")} + : TriStateAspect{Tr::tr("Enable"), Tr::tr("Disable"), Tr::tr("Use Project Default")} {} BuildPropertiesSettings::BuildPropertiesSettings() @@ -30,7 +28,7 @@ BuildPropertiesSettings::BuildPropertiesSettings() buildDirectoryTemplate.setDisplayStyle(StringAspect::LineEditDisplay); buildDirectoryTemplate.setSettingsKey("Directories/BuildDirectory.TemplateV2"); buildDirectoryTemplate.setDefaultValue(DEFAULT_BUILD_DIRECTORY_TEMPLATE); - buildDirectoryTemplate.setLabelText(tr("Default build directory:")); + buildDirectoryTemplate.setLabelText(Tr::tr("Default build directory:")); buildDirectoryTemplate.setUseGlobalMacroExpander(); buildDirectoryTemplate.setUseResetButton(); @@ -40,15 +38,15 @@ BuildPropertiesSettings::BuildPropertiesSettings() registerAspect(&separateDebugInfo); separateDebugInfo.setSettingsKey("ProjectExplorer/Settings/SeparateDebugInfo"); - separateDebugInfo.setLabelText(tr("Separate debug info:")); + separateDebugInfo.setLabelText(Tr::tr("Separate debug info:")); registerAspect(&qmlDebugging); qmlDebugging.setSettingsKey("ProjectExplorer/Settings/QmlDebugging"); - qmlDebugging.setLabelText(tr("QML debugging:")); + qmlDebugging.setLabelText(Tr::tr("QML debugging:")); registerAspect(&qtQuickCompiler); qtQuickCompiler.setSettingsKey("ProjectExplorer/Settings/QtQuickCompiler"); - qtQuickCompiler.setLabelText(tr("Use qmlcachegen:")); + qtQuickCompiler.setLabelText(Tr::tr("Use qmlcachegen:")); QObject::connect(&showQtSettings, &BoolAspect::valueChanged, &qmlDebugging, &BaseAspect::setVisible); @@ -82,7 +80,7 @@ namespace Internal { BuildPropertiesSettingsPage::BuildPropertiesSettingsPage(BuildPropertiesSettings *settings) { setId("AB.ProjectExplorer.BuildPropertiesSettingsPage"); - setDisplayName(BuildPropertiesSettings::tr("Default Build Properties")); + setDisplayName(Tr::tr("Default Build Properties")); setCategory(ProjectExplorer::Constants::BUILD_AND_RUN_SETTINGS_CATEGORY); setSettings(settings); diff --git a/src/plugins/projectexplorer/buildpropertiessettings.h b/src/plugins/projectexplorer/buildpropertiessettings.h index dd4e7ae2fef..75ec957a4ea 100644 --- a/src/plugins/projectexplorer/buildpropertiessettings.h +++ b/src/plugins/projectexplorer/buildpropertiessettings.h @@ -13,8 +13,6 @@ namespace ProjectExplorer { class PROJECTEXPLORER_EXPORT BuildPropertiesSettings : public Utils::AspectContainer { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Internal::BuildPropertiesSettings) - public: BuildPropertiesSettings(); diff --git a/src/plugins/projectexplorer/buildsettingspropertiespage.cpp b/src/plugins/projectexplorer/buildsettingspropertiespage.cpp index 4213f186bca..67cb4806709 100644 --- a/src/plugins/projectexplorer/buildsettingspropertiespage.cpp +++ b/src/plugins/projectexplorer/buildsettingspropertiespage.cpp @@ -2,20 +2,22 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "buildsettingspropertiespage.h" -#include "buildinfo.h" -#include "buildstepspage.h" -#include "target.h" -#include "project.h" + #include "buildconfiguration.h" +#include "buildinfo.h" +#include "buildmanager.h" +#include "namedwidget.h" +#include "project.h" #include "projectconfigurationmodel.h" +#include "projectexplorertr.h" #include "session.h" +#include "target.h" + +#include #include #include #include -#include -#include -#include #include #include @@ -51,7 +53,7 @@ BuildSettingsWidget::BuildSettingsWidget(Target *target) : if (!BuildConfigurationFactory::find(m_target)) { auto noSettingsLabel = new QLabel(this); - noSettingsLabel->setText(tr("No build settings available")); + noSettingsLabel->setText(Tr::tr("No build settings available")); QFont f = noSettingsLabel->font(); f.setPointSizeF(f.pointSizeF() * 1.2); noSettingsLabel->setFont(f); @@ -62,31 +64,31 @@ BuildSettingsWidget::BuildSettingsWidget(Target *target) : { // Edit Build Configuration row auto hbox = new QHBoxLayout(); hbox->setContentsMargins(0, 0, 0, 0); - hbox->addWidget(new QLabel(tr("Edit build configuration:"), this)); + hbox->addWidget(new QLabel(Tr::tr("Edit build configuration:"), this)); m_buildConfigurationComboBox = new QComboBox(this); m_buildConfigurationComboBox->setSizeAdjustPolicy(QComboBox::AdjustToContents); m_buildConfigurationComboBox->setModel(m_target->buildConfigurationModel()); hbox->addWidget(m_buildConfigurationComboBox); m_addButton = new QPushButton(this); - m_addButton->setText(tr("Add")); + m_addButton->setText(Tr::tr("Add")); m_addButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); hbox->addWidget(m_addButton); m_addButtonMenu = new QMenu(this); m_addButton->setMenu(m_addButtonMenu); m_removeButton = new QPushButton(this); - m_removeButton->setText(tr("Remove")); + m_removeButton->setText(Tr::tr("Remove")); m_removeButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); hbox->addWidget(m_removeButton); m_renameButton = new QPushButton(this); - m_renameButton->setText(tr("Rename...")); + m_renameButton->setText(Tr::tr("Rename...")); m_renameButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); hbox->addWidget(m_renameButton); m_cloneButton = new QPushButton(this); - m_cloneButton->setText(tr("Clone...")); + m_cloneButton->setText(Tr::tr("Clone...")); m_cloneButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); hbox->addWidget(m_cloneButton); @@ -205,8 +207,8 @@ void BuildSettingsWidget::createConfiguration(const BuildInfo &info_) if (info.displayName.isEmpty()) { bool ok = false; info.displayName = QInputDialog::getText(Core::ICore::dialogParent(), - tr("New Configuration"), - tr("New configuration name:"), + Tr::tr("New Configuration"), + Tr::tr("New configuration name:"), QLineEdit::Normal, QString(), &ok) @@ -242,8 +244,8 @@ void BuildSettingsWidget::renameConfiguration() { QTC_ASSERT(m_buildConfiguration, return); bool ok; - QString name = QInputDialog::getText(this, tr("Rename..."), - tr("New name for build configuration %1:"). + QString name = QInputDialog::getText(this, Tr::tr("Rename..."), + Tr::tr("New name for build configuration %1:"). arg(m_buildConfiguration->displayName()), QLineEdit::Normal, m_buildConfiguration->displayName(), &ok); @@ -267,8 +269,8 @@ void BuildSettingsWidget::cloneConfiguration() //: Title of a the cloned BuildConfiguration window, text of the window QString name = uniqueName(QInputDialog::getText(this, - tr("Clone Configuration"), - tr("New configuration name:"), + Tr::tr("Clone Configuration"), + Tr::tr("New configuration name:"), QLineEdit::Normal, m_buildConfiguration->displayName())); if (name.isEmpty()) @@ -301,19 +303,19 @@ void BuildSettingsWidget::deleteConfiguration(BuildConfiguration *deleteConfigur if (BuildManager::isBuilding(deleteConfiguration)) { QMessageBox box; - QPushButton *closeAnyway = box.addButton(tr("Cancel Build && Remove Build Configuration"), QMessageBox::AcceptRole); - QPushButton *cancelClose = box.addButton(tr("Do Not Remove"), QMessageBox::RejectRole); + QPushButton *closeAnyway = box.addButton(Tr::tr("Cancel Build && Remove Build Configuration"), QMessageBox::AcceptRole); + QPushButton *cancelClose = box.addButton(Tr::tr("Do Not Remove"), QMessageBox::RejectRole); box.setDefaultButton(cancelClose); - box.setWindowTitle(tr("Remove Build Configuration %1?").arg(deleteConfiguration->displayName())); - box.setText(tr("The build configuration %1 is currently being built.").arg(deleteConfiguration->displayName())); - box.setInformativeText(tr("Do you want to cancel the build process and remove the Build Configuration anyway?")); + box.setWindowTitle(Tr::tr("Remove Build Configuration %1?").arg(deleteConfiguration->displayName())); + box.setText(Tr::tr("The build configuration %1 is currently being built.").arg(deleteConfiguration->displayName())); + box.setInformativeText(Tr::tr("Do you want to cancel the build process and remove the Build Configuration anyway?")); box.exec(); if (box.clickedButton() != closeAnyway) return; BuildManager::cancel(); } else { - QMessageBox msgBox(QMessageBox::Question, tr("Remove Build Configuration?"), - tr("Do you really want to delete build configuration %1?").arg(deleteConfiguration->displayName()), + QMessageBox msgBox(QMessageBox::Question, Tr::tr("Remove Build Configuration?"), + Tr::tr("Do you really want to delete build configuration %1?").arg(deleteConfiguration->displayName()), QMessageBox::Yes|QMessageBox::No, this); msgBox.setDefaultButton(QMessageBox::No); msgBox.setEscapeButton(QMessageBox::No); diff --git a/src/plugins/projectexplorer/buildsteplist.cpp b/src/plugins/projectexplorer/buildsteplist.cpp index 0c46d44866d..8d6159541ef 100644 --- a/src/plugins/projectexplorer/buildsteplist.cpp +++ b/src/plugins/projectexplorer/buildsteplist.cpp @@ -6,6 +6,7 @@ #include "buildmanager.h" #include "buildstep.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "target.h" #include @@ -81,15 +82,15 @@ QString BuildStepList::displayName() const { if (m_id == Constants::BUILDSTEPS_BUILD) { //: Display name of the build build step list. Used as part of the labels in the project window. - return tr("Build"); + return Tr::tr("Build"); } if (m_id == Constants::BUILDSTEPS_CLEAN) { //: Display name of the clean build step list. Used as part of the labels in the project window. - return tr("Clean"); + return Tr::tr("Clean"); } if (m_id == Constants::BUILDSTEPS_DEPLOY) { //: Display name of the deploy build step list. Used as part of the labels in the project window. - return tr("Deploy"); + return Tr::tr("Deploy"); } QTC_CHECK(false); return {}; diff --git a/src/plugins/projectexplorer/buildstepspage.cpp b/src/plugins/projectexplorer/buildstepspage.cpp index d7999aee395..241d2a98352 100644 --- a/src/plugins/projectexplorer/buildstepspage.cpp +++ b/src/plugins/projectexplorer/buildstepspage.cpp @@ -3,10 +3,9 @@ #include "buildstepspage.h" -#include "buildconfiguration.h" #include "buildsteplist.h" -#include "projectexplorerconstants.h" #include "projectexplorericons.h" +#include "projectexplorertr.h" #include @@ -58,21 +57,21 @@ ToolWidget::ToolWidget(QWidget *parent) : FadingPanel(parent) m_upButton = new QToolButton(m_secondWidget); m_upButton->setAutoRaise(true); - m_upButton->setToolTip(BuildStepListWidget::tr("Move Up")); + m_upButton->setToolTip(Tr::tr("Move Up")); m_upButton->setFixedSize(buttonSize); m_upButton->setIcon(Icons::BUILDSTEP_MOVEUP.icon()); hbox->addWidget(m_upButton); m_downButton = new QToolButton(m_secondWidget); m_downButton->setAutoRaise(true); - m_downButton->setToolTip(BuildStepListWidget::tr("Move Down")); + m_downButton->setToolTip(Tr::tr("Move Down")); m_downButton->setFixedSize(buttonSize); m_downButton->setIcon(Icons::BUILDSTEP_MOVEDOWN.icon()); hbox->addWidget(m_downButton); m_removeButton = new QToolButton(m_secondWidget); m_removeButton->setAutoRaise(true); - m_removeButton->setToolTip(BuildStepListWidget::tr("Remove Item")); + m_removeButton->setToolTip(Tr::tr("Remove Item")); m_removeButton->setFixedSize(buttonSize); m_removeButton->setIcon(Icons::BUILDSTEP_REMOVE.icon()); hbox->addWidget(m_removeButton); @@ -116,8 +115,7 @@ void ToolWidget::setBuildStepEnabled(bool b) m_firstWidget->fadeTo(.999); } m_disableButton->setChecked(!b); - m_disableButton->setToolTip(b ? BuildStepListWidget::tr("Disable") - : BuildStepListWidget::tr("Enable")); + m_disableButton->setToolTip(b ? Tr::tr("Disable") : Tr::tr("Enable")); } void ToolWidget::setUpEnabled(bool b) @@ -170,7 +168,7 @@ BuildStepsWidgetData::~BuildStepsWidgetData() BuildStepListWidget::BuildStepListWidget(BuildStepList *bsl) //: %1 is the name returned by BuildStepList::displayName - : NamedWidget(tr("%1 Steps").arg(bsl->displayName())), m_buildStepList(bsl) + : NamedWidget(Tr::tr("%1 Steps").arg(bsl->displayName())), m_buildStepList(bsl) { setupUi(); @@ -189,9 +187,9 @@ BuildStepListWidget::BuildStepListWidget(BuildStepList *bsl) } m_noStepsLabel->setVisible(bsl->isEmpty()); - m_noStepsLabel->setText(tr("No %1 Steps").arg(m_buildStepList->displayName())); + m_noStepsLabel->setText(Tr::tr("No %1 Steps").arg(m_buildStepList->displayName())); - m_addButton->setText(tr("Add %1 Step").arg(m_buildStepList->displayName())); + m_addButton->setText(Tr::tr("Add %1 Step").arg(m_buildStepList->displayName())); updateBuildStepButtonsState(); } @@ -285,7 +283,7 @@ void BuildStepListWidget::setupUi() m_vbox = new QVBoxLayout(this); m_vbox->setContentsMargins(0, 0, 0, 0); - m_noStepsLabel = new QLabel(tr("No Build Steps"), this); + m_noStepsLabel = new QLabel(Tr::tr("No Build Steps"), this); m_noStepsLabel->setContentsMargins(0, 0, 0, 0); m_vbox->addWidget(m_noStepsLabel); @@ -324,8 +322,8 @@ void BuildStepListWidget::updateBuildStepButtonsState() this, [this, i] { if (!m_buildStepList->removeStep(i)) { QMessageBox::warning(Core::ICore::dialogParent(), - tr("Removing Step failed"), - tr("Cannot remove build step while building"), + Tr::tr("Removing Step failed"), + Tr::tr("Cannot remove build step while building"), QMessageBox::Ok, QMessageBox::Ok); } diff --git a/src/plugins/projectexplorer/buildsystem.cpp b/src/plugins/projectexplorer/buildsystem.cpp index 9bcd4963aa7..e0e6f93dcd3 100644 --- a/src/plugins/projectexplorer/buildsystem.cpp +++ b/src/plugins/projectexplorer/buildsystem.cpp @@ -5,6 +5,7 @@ #include "buildconfiguration.h" #include "projectexplorer.h" +#include "projectexplorertr.h" #include "runconfiguration.h" #include "runcontrol.h" #include "session.h" @@ -377,11 +378,11 @@ void BuildSystem::appendBuildSystemOutput(const QString &message) QString BuildSystem::disabledReason(const QString &buildKey) const { if (!hasParsingData()) { - QString msg = isParsing() ? tr("The project is currently being parsed.") - : tr("The project could not be fully parsed."); + QString msg = isParsing() ? Tr::tr("The project is currently being parsed.") + : Tr::tr("The project could not be fully parsed."); const FilePath projectFilePath = buildTarget(buildKey).projectFilePath; if (!projectFilePath.isEmpty() && !projectFilePath.exists()) - msg += '\n' + tr("The project file \"%1\" does not exist.").arg(projectFilePath.toString()); + msg += '\n' + Tr::tr("The project file \"%1\" does not exist.").arg(projectFilePath.toString()); return msg; } return {}; diff --git a/src/plugins/projectexplorer/codestylesettingspropertiespage.cpp b/src/plugins/projectexplorer/codestylesettingspropertiespage.cpp index ed83a2b094b..2ff0285a61b 100644 --- a/src/plugins/projectexplorer/codestylesettingspropertiespage.cpp +++ b/src/plugins/projectexplorer/codestylesettingspropertiespage.cpp @@ -5,6 +5,7 @@ #include "editorconfiguration.h" #include "project.h" +#include "projectexplorertr.h" #include @@ -50,7 +51,7 @@ CodeStyleSettingsWidget::CodeStyleSettingsWidget(Project *project) using namespace Utils::Layouting; Column { - Row { new QLabel(tr("Language:")), languageComboBox, st }, + Row { new QLabel(Tr::tr("Language:")), languageComboBox, st }, stackedWidget }.attachTo(this, WithoutMargins); } diff --git a/src/plugins/projectexplorer/compileoutputwindow.cpp b/src/plugins/projectexplorer/compileoutputwindow.cpp index a535ae08ca4..e6a4c9abd3e 100644 --- a/src/plugins/projectexplorer/compileoutputwindow.cpp +++ b/src/plugins/projectexplorer/compileoutputwindow.cpp @@ -9,9 +9,9 @@ #include "projectexplorerconstants.h" #include "projectexplorericons.h" #include "projectexplorersettings.h" +#include "projectexplorertr.h" #include "showoutputtaskhandler.h" #include "task.h" -#include "taskhub.h" #include #include @@ -64,7 +64,7 @@ CompileOutputWindow::CompileOutputWindow(QAction *cancelBuildAction) : Utils::ProxyAction::proxyActionWithIcon(cancelBuildAction, Utils::Icons::STOP_SMALL_TOOLBAR.icon()); m_cancelBuildButton->setDefaultAction(cancelBuildProxyButton); - m_settingsButton->setToolTip(tr("Open Settings Page")); + m_settingsButton->setToolTip(Tr::tr("Open Settings Page")); m_settingsButton->setIcon(Utils::Icons::SETTINGS_TOOLBAR.icon()); auto updateFontSettings = [this] { @@ -96,9 +96,9 @@ CompileOutputWindow::CompileOutputWindow(QAction *cancelBuildAction) : qRegisterMetaType("QTextCharFormat"); m_handler = new ShowOutputTaskHandler(this, - tr("Show Compile &Output"), - tr("Show the output that generated this issue in Compile Output."), - tr("O")); + Tr::tr("Show Compile &Output"), + Tr::tr("Show the output that generated this issue in Compile Output."), + Tr::tr("O")); ExtensionSystem::PluginManager::addObject(m_handler); setupContext(C_COMPILE_OUTPUT, m_outputWindow); loadSettings(); @@ -255,14 +255,13 @@ void CompileOutputWindow::storeSettings() const class CompileOutputSettingsWidget : public Core::IOptionsPageWidget { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Internal::CompileOutputSettingsPage) public: CompileOutputSettingsWidget() { const CompileOutputSettings &settings = BuildManager::compileOutputSettings(); - m_wrapOutputCheckBox.setText(tr("Word-wrap output")); + m_wrapOutputCheckBox.setText(Tr::tr("Word-wrap output")); m_wrapOutputCheckBox.setChecked(settings.wrapOutput); - m_popUpCheckBox.setText(tr("Open Compile Output when building")); + m_popUpCheckBox.setText(Tr::tr("Open Compile Output when building")); m_popUpCheckBox.setChecked(settings.popUp); m_maxCharsBox.setMaximum(100000000); m_maxCharsBox.setValue(settings.maxCharCount); @@ -270,7 +269,7 @@ public: layout->addWidget(&m_wrapOutputCheckBox); layout->addWidget(&m_popUpCheckBox); const auto maxCharsLayout = new QHBoxLayout; - const QString msg = tr("Limit output to %1 characters"); + const QString msg = Tr::tr("Limit output to %1 characters"); const QStringList parts = msg.split("%1") << QString() << QString(); maxCharsLayout->addWidget(new QLabel(parts.at(0).trimmed())); maxCharsLayout->addWidget(&m_maxCharsBox); @@ -298,7 +297,7 @@ private: CompileOutputSettingsPage::CompileOutputSettingsPage() { setId(OPTIONS_PAGE_ID); - setDisplayName(CompileOutputSettingsWidget::tr("Compile Output")); + setDisplayName(Tr::tr("Compile Output")); setCategory(Constants::BUILD_AND_RUN_SETTINGS_CATEGORY); setWidgetCreator([] { return new CompileOutputSettingsWidget; }); } diff --git a/src/plugins/projectexplorer/compileoutputwindow.h b/src/plugins/projectexplorer/compileoutputwindow.h index 1190e1976a9..ae711e15ee6 100644 --- a/src/plugins/projectexplorer/compileoutputwindow.h +++ b/src/plugins/projectexplorer/compileoutputwindow.h @@ -4,7 +4,10 @@ #pragma once #include "buildstep.h" + #include "projectexplorersettings.h" +#include "projectexplorertr.h" + #include #include @@ -33,7 +36,7 @@ public: QWidget *outputWidget(QWidget *) override; QList toolBarWidgets() const override; - QString displayName() const override { return tr("Compile Output"); } + QString displayName() const override { return Tr::tr("Compile Output"); } int priorityInStatusBar() const override; void clearContents() override; bool canFocus() const override; diff --git a/src/plugins/projectexplorer/copytaskhandler.cpp b/src/plugins/projectexplorer/copytaskhandler.cpp index 24638af1692..a75e6b328cd 100644 --- a/src/plugins/projectexplorer/copytaskhandler.cpp +++ b/src/plugins/projectexplorer/copytaskhandler.cpp @@ -3,6 +3,8 @@ #include "copytaskhandler.h" +#include "projectexplorertr.h" + #include #include @@ -19,11 +21,11 @@ void CopyTaskHandler::handle(const Tasks &tasks) switch (task.type) { case Task::Error: //: Task is of type: error - type = tr("error:") + QLatin1Char(' '); + type = Tr::tr("error:") + QLatin1Char(' '); break; case Task::Warning: //: Task is of type: warning - type = tr("warning:") + QLatin1Char(' '); + type = Tr::tr("warning:") + QLatin1Char(' '); break; default: break; diff --git a/src/plugins/projectexplorer/currentprojectfilter.cpp b/src/plugins/projectexplorer/currentprojectfilter.cpp index d5f9c4be2b5..69b88ddf46c 100644 --- a/src/plugins/projectexplorer/currentprojectfilter.cpp +++ b/src/plugins/projectexplorer/currentprojectfilter.cpp @@ -2,8 +2,10 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "currentprojectfilter.h" -#include "projecttree.h" + #include "project.h" +#include "projectexplorertr.h" +#include "projecttree.h" #include @@ -15,8 +17,8 @@ CurrentProjectFilter::CurrentProjectFilter() : BaseFileFilter() { setId("Files in current project"); - setDisplayName(tr("Files in Current Project")); - setDescription(tr("Matches all files from the current document's project. Append \"+\" " + setDisplayName(Tr::tr("Files in Current Project")); + setDescription(Tr::tr("Matches all files from the current document's project. Append \"+\" " "or \":\" to jump to the given line number. Append another " "\"+\" or \":\" to jump to the column number as well.")); setDefaultShortcutString("p"); diff --git a/src/plugins/projectexplorer/currentprojectfind.cpp b/src/plugins/projectexplorer/currentprojectfind.cpp index cbb21763123..7ecbd990697 100644 --- a/src/plugins/projectexplorer/currentprojectfind.cpp +++ b/src/plugins/projectexplorer/currentprojectfind.cpp @@ -4,6 +4,7 @@ #include "currentprojectfind.h" #include "project.h" +#include "projectexplorertr.h" #include "projecttree.h" #include "session.h" @@ -38,9 +39,9 @@ QString CurrentProjectFind::displayName() const { Project *p = ProjectTree::currentProject(); if (p) - return tr("Project \"%1\"").arg(p->displayName()); + return Tr::tr("Project \"%1\"").arg(p->displayName()); else - return tr("Current Project"); + return Tr::tr("Current Project"); } bool CurrentProjectFind::isEnabled() const @@ -74,7 +75,7 @@ QString CurrentProjectFind::label() const { Project *p = ProjectTree::currentProject(); QTC_ASSERT(p, return QString()); - return tr("Project \"%1\":").arg(p->displayName()); + return Tr::tr("Project \"%1\":").arg(p->displayName()); } void CurrentProjectFind::handleProjectChanged() diff --git a/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp b/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp index b4ff19fefb2..6f333c9b112 100644 --- a/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp +++ b/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp @@ -5,6 +5,7 @@ #include "localenvironmentaspect.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "runconfigurationaspects.h" #include "target.h" @@ -71,15 +72,15 @@ Runnable CustomExecutableRunConfiguration::runnable() const QString CustomExecutableRunConfiguration::defaultDisplayName() const { if (executable().isEmpty()) - return tr("Custom Executable"); - return tr("Run %1").arg(executable().toUserOutput()); + return Tr::tr("Custom Executable"); + return Tr::tr("Run %1").arg(executable().toUserOutput()); } Tasks CustomExecutableRunConfiguration::checkForIssues() const { Tasks tasks; if (executable().isEmpty()) { - tasks << createConfigurationIssue(tr("You need to set an executable in the custom run " + tasks << createConfigurationIssue(Tr::tr("You need to set an executable in the custom run " "configuration.")); } return tasks; @@ -88,7 +89,7 @@ Tasks CustomExecutableRunConfiguration::checkForIssues() const // Factories CustomExecutableRunConfigurationFactory::CustomExecutableRunConfigurationFactory() : - FixedRunConfigurationFactory(CustomExecutableRunConfiguration::tr("Custom Executable")) + FixedRunConfigurationFactory(Tr::tr("Custom Executable")) { registerRunConfiguration(CUSTOM_EXECUTABLE_RUNCONFIG_ID); } diff --git a/src/plugins/projectexplorer/customparser.cpp b/src/plugins/projectexplorer/customparser.cpp index 857093ba16b..327e6ac8441 100644 --- a/src/plugins/projectexplorer/customparser.cpp +++ b/src/plugins/projectexplorer/customparser.cpp @@ -3,11 +3,13 @@ #include "customparser.h" -#include "projectexplorerconstants.h" #include "projectexplorer.h" +#include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "task.h" #include + #include #include @@ -160,7 +162,7 @@ CustomParsersAspect::CustomParsersAspect(Target *target) Q_UNUSED(target) setId("CustomOutputParsers"); setSettingsKey("CustomOutputParsers"); - setDisplayName(tr("Custom Output Parsers")); + setDisplayName(Tr::tr("Custom Output Parsers")); addDataExtractor(this, &CustomParsersAspect::parsers, &Data::parsers); setConfigWidgetCreator([this] { const auto widget = new Internal::CustomParsersSelectionWidget; @@ -261,7 +263,7 @@ public: SelectionWidget(QWidget *parent = nullptr) : QWidget(parent) { const auto layout = new QVBoxLayout(this); - const auto explanatoryLabel = new QLabel(tr( + const auto explanatoryLabel = new QLabel(Tr::tr( "Custom output parsers scan command line output for user-provided error patterns
" "to create entries in Issues.
" "The parsers can be configured here.")); @@ -343,9 +345,9 @@ void CustomParsersSelectionWidget::updateSummary() const QList parsers = qobject_cast(widget())->selectedParsers(); if (parsers.isEmpty()) - setSummaryText(tr("There are no custom parsers active")); + setSummaryText(Tr::tr("There are no custom parsers active")); else - setSummaryText(tr("There are %n custom parsers active", nullptr, parsers.count())); + setSummaryText(Tr::tr("There are %n custom parsers active", nullptr, parsers.count())); } } // namespace Internal diff --git a/src/plugins/projectexplorer/customparserconfigdialog.cpp b/src/plugins/projectexplorer/customparserconfigdialog.cpp index a167a29bb8c..4ebc880c140 100644 --- a/src/plugins/projectexplorer/customparserconfigdialog.cpp +++ b/src/plugins/projectexplorer/customparserconfigdialog.cpp @@ -3,6 +3,8 @@ #include "customparserconfigdialog.h" +#include "projectexplorertr.h" + #include #include @@ -27,15 +29,15 @@ CustomParserConfigDialog::CustomParserConfigDialog(QWidget *parent) : QDialog(parent) { resize(516, 480); - setWindowTitle(tr("Custom Parser")); + setWindowTitle(Tr::tr("Custom Parser")); m_errorPattern = new QLineEdit; - auto label_1 = new QLabel(tr("&Error message capture pattern:")); + auto label_1 = new QLabel(Tr::tr("&Error message capture pattern:")); label_1->setBuddy(m_errorPattern); - auto label = new QLabel(tr("&File name:")); - auto label_2 = new QLabel(tr("&Line number:")); - auto label_3 = new QLabel(tr("&Message:")); + auto label = new QLabel(Tr::tr("&File name:")); + auto label_2 = new QLabel(Tr::tr("&Line number:")); + auto label_3 = new QLabel(Tr::tr("&Message:")); m_errorFileNameCap = new QSpinBox; m_errorFileNameCap->setMaximum(9); @@ -53,10 +55,10 @@ CustomParserConfigDialog::CustomParserConfigDialog(QWidget *parent) label_2->setBuddy(m_errorLineNumberCap); label_3->setBuddy(m_errorMessageCap); - m_errorStdOutChannel = new QCheckBox(tr("Standard output")); - m_errorStdErrChannel = new QCheckBox(tr("Standard error")); + m_errorStdOutChannel = new QCheckBox(Tr::tr("Standard output")); + m_errorStdErrChannel = new QCheckBox(Tr::tr("Standard error")); - auto label_5 = new QLabel(tr("E&rror message:")); + auto label_5 = new QLabel(Tr::tr("E&rror message:")); m_errorOutputMessage = new QLineEdit; m_errorFileNameTest = new QLabel; m_errorLineNumberTest = new QLabel; @@ -66,9 +68,9 @@ CustomParserConfigDialog::CustomParserConfigDialog(QWidget *parent) m_warningPattern = new QLineEdit; - auto label_11 = new QLabel(tr("&File name:")); - auto label_12 = new QLabel(tr("&Line number:")); - auto label_13 = new QLabel(tr("&Message:")); + auto label_11 = new QLabel(Tr::tr("&File name:")); + auto label_12 = new QLabel(Tr::tr("&Line number:")); + auto label_13 = new QLabel(Tr::tr("&Message:")); m_warningLineNumberCap = new QSpinBox; m_warningLineNumberCap->setMaximum(9); @@ -86,10 +88,10 @@ CustomParserConfigDialog::CustomParserConfigDialog(QWidget *parent) label_12->setBuddy(m_warningLineNumberCap); label_13->setBuddy(m_warningMessageCap); - m_warningStdOutChannel = new QCheckBox(tr("Standard output")); - m_warningStdErrChannel = new QCheckBox(tr("Standard error")); + m_warningStdOutChannel = new QCheckBox(Tr::tr("Standard output")); + m_warningStdErrChannel = new QCheckBox(Tr::tr("Standard error")); - auto label_14 = new QLabel(tr("Warning message:")); + auto label_14 = new QLabel(Tr::tr("Warning message:")); m_warningOutputMessage = new QLineEdit; m_warningFileNameTest = new QLabel; m_warningLineNumberTest = new QLabel; @@ -103,28 +105,28 @@ CustomParserConfigDialog::CustomParserConfigDialog(QWidget *parent) auto tabWarning = new QWidget; Column { - tr("Warning message capture pattern:"), + Tr::tr("Warning message capture pattern:"), m_warningPattern, Group { - title(tr("Capture Positions")), + title(Tr::tr("Capture Positions")), Grid { label_11, label_12, label_13, br, m_warningFileNameCap, m_warningLineNumberCap, m_warningMessageCap } }, Group { - title(tr("Capture Output Channels")), + title(Tr::tr("Capture Output Channels")), Row { m_warningStdOutChannel, m_warningStdErrChannel } }, Group { - title(tr("Test")), + title(Tr::tr("Test")), Column { label_14, m_warningOutputMessage, Form { - tr("File name:"), m_warningFileNameTest, br, - tr("Line number:"), m_warningLineNumberTest, br, - tr("Message:"), m_warningMessageTest + Tr::tr("File name:"), m_warningFileNameTest, br, + Tr::tr("Line number:"), m_warningLineNumberTest, br, + Tr::tr("Message:"), m_warningMessageTest } } } @@ -135,33 +137,33 @@ CustomParserConfigDialog::CustomParserConfigDialog(QWidget *parent) label_1, m_errorPattern, Group { - title(tr("Capture Positions")), + title(Tr::tr("Capture Positions")), Grid { label, label_2, label_3, br, m_errorFileNameCap, m_errorLineNumberCap, m_errorMessageCap } }, Group { - title(tr("Capture Output Channels")), + title(Tr::tr("Capture Output Channels")), Row { m_errorStdOutChannel, m_errorStdErrChannel } }, Group { - title(tr("Test")), + title(Tr::tr("Test")), Column { label_5, m_errorOutputMessage, Form { - tr("File name:"), m_errorFileNameTest, br, - tr("Line number:"), m_errorLineNumberTest, br, - tr("Message:"), m_errorMessageTest + Tr::tr("File name:"), m_errorFileNameTest, br, + Tr::tr("Line number:"), m_errorLineNumberTest, br, + Tr::tr("Message:"), m_errorMessageTest } } }, }.attachTo(tabError); auto tabWidget = new QTabWidget(this); - tabWidget->addTab(tabError, tr("Error")); - tabWidget->addTab(tabWarning, tr("Warning")); + tabWidget->addTab(tabError, Tr::tr("Error")); + tabWidget->addTab(tabWarning, Tr::tr("Warning")); tabWidget->setCurrentIndex(0); Column { @@ -414,15 +416,15 @@ bool CustomParserConfigDialog::checkPattern(QLineEdit *pattern, const QString &o if (rx.pattern().isEmpty() || !rx.isValid() || !match->hasMatch()) { *errorMessage = QString::fromLatin1("%2 ").arg( Utils::creatorTheme()->color(Utils::Theme::TextColorError).name(), - tr("Not applicable:")); + Tr::tr("Not applicable:")); if (rx.pattern().isEmpty()) - *errorMessage += tr("Pattern is empty."); + *errorMessage += Tr::tr("Pattern is empty."); else if (!rx.isValid()) *errorMessage += rx.errorString(); else if (outputText.isEmpty()) - *errorMessage += tr("No message given."); + *errorMessage += Tr::tr("No message given."); else - *errorMessage += tr("Pattern does not match the message."); + *errorMessage += Tr::tr("Pattern does not match the message."); return false; } diff --git a/src/plugins/projectexplorer/customparserssettingspage.cpp b/src/plugins/projectexplorer/customparserssettingspage.cpp index 8e31236800f..fd16d41ff6f 100644 --- a/src/plugins/projectexplorer/customparserssettingspage.cpp +++ b/src/plugins/projectexplorer/customparserssettingspage.cpp @@ -7,6 +7,7 @@ #include "customparserconfigdialog.h" #include "projectexplorer.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include #include @@ -24,8 +25,6 @@ namespace Internal { class CustomParsersSettingsWidget final : public Core::IOptionsPageWidget { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Internal::CustomParsersSettingsPage) - public: CustomParsersSettingsWidget() { @@ -35,15 +34,15 @@ public: const auto mainLayout = new QVBoxLayout(this); const auto widgetLayout = new QHBoxLayout; mainLayout->addLayout(widgetLayout); - const auto hintLabel = new QLabel(tr( + const auto hintLabel = new QLabel(Tr::tr( "Custom output parsers defined here can be enabled individually " "in the project's build or run settings.")); mainLayout->addWidget(hintLabel); widgetLayout->addWidget(&m_parserListView); const auto buttonLayout = new QVBoxLayout; widgetLayout->addLayout(buttonLayout); - const auto addButton = new QPushButton(tr("Add...")); - const auto removeButton = new QPushButton(tr("Remove")); + const auto addButton = new QPushButton(Tr::tr("Add...")); + const auto removeButton = new QPushButton(Tr::tr("Remove")); const auto editButton = new QPushButton("Edit..."); buttonLayout->addWidget(addButton); buttonLayout->addWidget(removeButton); @@ -57,7 +56,7 @@ public: return; CustomParserSettings newParser = dlg.settings(); newParser.id = Utils::Id::fromString(QUuid::createUuid().toString()); - newParser.displayName = tr("New Parser"); + newParser.displayName = Tr::tr("New Parser"); m_customParsers << newParser; resetListView(); }); @@ -118,7 +117,7 @@ private: CustomParsersSettingsPage::CustomParsersSettingsPage() { setId(Constants::CUSTOM_PARSERS_SETTINGS_PAGE_ID); - setDisplayName(CustomParsersSettingsWidget::tr("Custom Output Parsers")); + setDisplayName(Tr::tr("Custom Output Parsers")); setCategory(Constants::BUILD_AND_RUN_SETTINGS_CATEGORY); setWidgetCreator([] { return new CustomParsersSettingsWidget; }); } diff --git a/src/plugins/projectexplorer/customtoolchain.cpp b/src/plugins/projectexplorer/customtoolchain.cpp index 38a87400b4d..9c7ab0a4088 100644 --- a/src/plugins/projectexplorer/customtoolchain.cpp +++ b/src/plugins/projectexplorer/customtoolchain.cpp @@ -2,6 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "customtoolchain.h" + #include "abiwidget.h" #include "gccparser.h" #include "clangparser.h" @@ -10,6 +11,7 @@ #include "customparser.h" #include "projectexplorer.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "projectmacro.h" #include @@ -49,7 +51,7 @@ CustomToolChain::CustomToolChain() : ToolChain(Constants::CUSTOM_TOOLCHAIN_TYPEID), m_outputParserId(GccParser::id()) { - setTypeDisplayName(tr("Custom")); + setTypeDisplayName(Tr::tr("Custom")); setTargetAbiKey("ProjectExplorer.CustomToolChain.TargetAbi"); setCompilerCommandKey("ProjectExplorer.CustomToolChain.CompilerPath"); } @@ -273,10 +275,10 @@ void CustomToolChain::setOutputParserId(Utils::Id parserId) QList CustomToolChain::parsers() { QList result; - result.append({GccParser::id(), tr("GCC")}); - result.append({ClangParser::id(), tr("Clang")}); - result.append({LinuxIccParser::id(), tr("ICC")}); - result.append({MsvcParser::id(), tr("MSVC")}); + result.append({GccParser::id(), Tr::tr("GCC")}); + result.append({ClangParser::id(), Tr::tr("Clang")}); + result.append({LinuxIccParser::id(), Tr::tr("ICC")}); + result.append({MsvcParser::id(), Tr::tr("MSVC")}); return result; } @@ -293,7 +295,7 @@ namespace Internal { CustomToolChainFactory::CustomToolChainFactory() { - setDisplayName(CustomToolChain::tr("Custom")); + setDisplayName(Tr::tr("Custom")); setSupportedToolChainType(Constants::CUSTOM_TOOLCHAIN_TYPEID); setSupportsAllLanguages(true); setToolchainConstructor([] { return new CustomToolChain; }); @@ -306,7 +308,6 @@ CustomToolChainFactory::CustomToolChainFactory() class TextEditDetailsWidget : public DetailsWidget { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Internal::TextEditDetailsWidget) public: TextEditDetailsWidget(QPlainTextEdit *textEdit) { @@ -341,7 +342,7 @@ public: void updateSummaryText() { int count = entryCount(); - setSummaryText(count ? tr("%n entries", "", count) : tr("Empty")); + setSummaryText(count ? Tr::tr("%n entries", "", count) : Tr::tr("Empty")); } }; @@ -373,26 +374,26 @@ CustomToolChainConfigWidget::CustomToolChainConfigWidget(CustomToolChain *tc) : auto parserLayoutWidget = new QWidget; auto parserLayout = new QHBoxLayout(parserLayoutWidget); parserLayout->setContentsMargins(0, 0, 0, 0); - m_predefinedMacros->setPlaceholderText(tr("MACRO[=VALUE]")); + m_predefinedMacros->setPlaceholderText(Tr::tr("MACRO[=VALUE]")); m_predefinedMacros->setTabChangesFocus(true); - m_predefinedMacros->setToolTip(tr("Each line defines a macro. Format is MACRO[=VALUE].")); + m_predefinedMacros->setToolTip(Tr::tr("Each line defines a macro. Format is MACRO[=VALUE].")); m_headerPaths->setTabChangesFocus(true); - m_headerPaths->setToolTip(tr("Each line adds a global header lookup path.")); - m_cxx11Flags->setToolTip(tr("Comma-separated list of flags that turn on C++11 support.")); - m_mkspecs->setToolTip(tr("Comma-separated list of mkspecs.")); + m_headerPaths->setToolTip(Tr::tr("Each line adds a global header lookup path.")); + m_cxx11Flags->setToolTip(Tr::tr("Comma-separated list of flags that turn on C++11 support.")); + m_mkspecs->setToolTip(Tr::tr("Comma-separated list of mkspecs.")); m_compilerCommand->setExpectedKind(PathChooser::ExistingCommand); m_compilerCommand->setHistoryCompleter(QLatin1String("PE.ToolChainCommand.History")); m_makeCommand->setExpectedKind(PathChooser::ExistingCommand); m_makeCommand->setHistoryCompleter(QLatin1String("PE.MakeCommand.History")); - m_mainLayout->addRow(tr("&Compiler path:"), m_compilerCommand); - m_mainLayout->addRow(tr("&Make path:"), m_makeCommand); - m_mainLayout->addRow(tr("&ABI:"), m_abiWidget); - m_mainLayout->addRow(tr("&Predefined macros:"), m_predefinedDetails); - m_mainLayout->addRow(tr("&Header paths:"), m_headerDetails); - m_mainLayout->addRow(tr("C++11 &flags:"), m_cxx11Flags); - m_mainLayout->addRow(tr("&Qt mkspecs:"), m_mkspecs); + m_mainLayout->addRow(Tr::tr("&Compiler path:"), m_compilerCommand); + m_mainLayout->addRow(Tr::tr("&Make path:"), m_makeCommand); + m_mainLayout->addRow(Tr::tr("&ABI:"), m_abiWidget); + m_mainLayout->addRow(Tr::tr("&Predefined macros:"), m_predefinedDetails); + m_mainLayout->addRow(Tr::tr("&Header paths:"), m_headerDetails); + m_mainLayout->addRow(Tr::tr("C++11 &flags:"), m_cxx11Flags); + m_mainLayout->addRow(Tr::tr("&Qt mkspecs:"), m_mkspecs); parserLayout->addWidget(m_errorParserComboBox); - m_mainLayout->addRow(tr("&Error parser:"), parserLayoutWidget); + m_mainLayout->addRow(Tr::tr("&Error parser:"), parserLayoutWidget); addErrorLabel(); setFromToolchain(); diff --git a/src/plugins/projectexplorer/customtoolchain.h b/src/plugins/projectexplorer/customtoolchain.h index 9e9b45562c9..3da4dfd9160 100644 --- a/src/plugins/projectexplorer/customtoolchain.h +++ b/src/plugins/projectexplorer/customtoolchain.h @@ -33,8 +33,6 @@ namespace Internal { class CustomToolChainFactory; } class PROJECTEXPLORER_EXPORT CustomToolChain : public ToolChain { - Q_DECLARE_TR_FUNCTIONS(CustomToolChain) - public: class Parser { public: diff --git a/src/plugins/projectexplorer/customwizard/customwizardpage.cpp b/src/plugins/projectexplorer/customwizard/customwizardpage.cpp index 4536250c377..d25d59947e9 100644 --- a/src/plugins/projectexplorer/customwizard/customwizardpage.cpp +++ b/src/plugins/projectexplorer/customwizard/customwizardpage.cpp @@ -2,7 +2,9 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "customwizardpage.h" + #include "customwizardparameters.h" +#include "../projectexplorertr.h" #include #include @@ -406,7 +408,7 @@ CustomWizardPage::CustomWizardPage(const QSharedPointer &ct m_pathChooser(new PathChooser) { m_pathChooser->setHistoryCompleter(QLatin1String("PE.ProjectDir.History")); - addRow(tr("Path:"), m_pathChooser); + addRow(Tr::tr("Path:"), m_pathChooser); connect(m_pathChooser, &PathChooser::validChanged, this, &QWizardPage::completeChanged); } diff --git a/src/plugins/projectexplorer/customwizard/customwizardparameters.cpp b/src/plugins/projectexplorer/customwizard/customwizardparameters.cpp index 24fea208002..c63181bc6e6 100644 --- a/src/plugins/projectexplorer/customwizard/customwizardparameters.cpp +++ b/src/plugins/projectexplorer/customwizard/customwizardparameters.cpp @@ -2,7 +2,9 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "customwizardparameters.h" + #include "customwizardscriptgenerator.h" +#include "../projectexplorertr.h" #include #include @@ -228,7 +230,7 @@ static inline bool assignLanguageElementText(QXmlStreamReader &reader, const auto elementLanguage = reader.attributes().value(QLatin1String(langAttributeC)); if (elementLanguage.isEmpty()) { // Try to find a translation for our built-in Wizards - *target = QCoreApplication::translate("ProjectExplorer::CustomWizard", reader.readElementText().toLatin1().constData()); + *target = Tr::tr(reader.readElementText().toLatin1().constData()); return true; } if (elementLanguage == desiredLanguage) { diff --git a/src/plugins/projectexplorer/dependenciespanel.cpp b/src/plugins/projectexplorer/dependenciespanel.cpp index a3be439aa23..1799126a5b9 100644 --- a/src/plugins/projectexplorer/dependenciespanel.cpp +++ b/src/plugins/projectexplorer/dependenciespanel.cpp @@ -2,7 +2,9 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "dependenciespanel.h" + #include "project.h" +#include "projectexplorertr.h" #include "session.h" #include @@ -64,7 +66,7 @@ QVariant DependenciesModel::data(const QModelIndex &index, int role) const { if (m_projects.isEmpty()) return role == Qt::DisplayRole - ? tr("") + ? Tr::tr("") : QVariant(); const Project *p = m_projects.at(index.row()); @@ -94,8 +96,8 @@ bool DependenciesModel::setData(const QModelIndex &index, const QVariant &value, emit dataChanged(index, index); return true; } else { - QMessageBox::warning(Core::ICore::dialogParent(), QCoreApplication::translate("DependenciesModel", "Unable to Add Dependency"), - QCoreApplication::translate("DependenciesModel", "This would create a circular dependency.")); + QMessageBox::warning(Core::ICore::dialogParent(), Tr::tr("Unable to Add Dependency"), + Tr::tr("This would create a circular dependency.")); } } else if (c == Qt::Unchecked) { if (SessionManager::hasDependency(m_project, p)) { @@ -211,8 +213,8 @@ DependenciesWidget::DependenciesWidget(Project *project, QWidget *parent) : Proj layout->addItem(new QSpacerItem(0, 0 , QSizePolicy::Expanding, QSizePolicy::Fixed), 0, 1); m_cascadeSetActiveCheckBox = new QCheckBox; - m_cascadeSetActiveCheckBox->setText(tr("Synchronize configuration")); - m_cascadeSetActiveCheckBox->setToolTip(tr("Synchronize active kit, build, and deploy configuration between projects.")); + m_cascadeSetActiveCheckBox->setText(Tr::tr("Synchronize configuration")); + m_cascadeSetActiveCheckBox->setToolTip(Tr::tr("Synchronize active kit, build, and deploy configuration between projects.")); m_cascadeSetActiveCheckBox->setChecked(SessionManager::isProjectConfigurationCascading()); connect(m_cascadeSetActiveCheckBox, &QCheckBox::toggled, SessionManager::instance(), &SessionManager::setProjectConfigurationCascading); diff --git a/src/plugins/projectexplorer/deployconfiguration.cpp b/src/plugins/projectexplorer/deployconfiguration.cpp index 56f23ffdc26..d6a105682d3 100644 --- a/src/plugins/projectexplorer/deployconfiguration.cpp +++ b/src/plugins/projectexplorer/deployconfiguration.cpp @@ -8,6 +8,7 @@ #include "kitinformation.h" #include "project.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "target.h" #include @@ -30,7 +31,7 @@ DeployConfiguration::DeployConfiguration(Target *target, Id id) { QTC_CHECK(target && target == this->target()); //: Default DeployConfiguration display name - setDefaultDisplayName(tr("Deploy locally")); + setDefaultDisplayName(Tr::tr("Deploy locally")); } BuildStepList *DeployConfiguration::stepList() @@ -248,7 +249,7 @@ DefaultDeployConfigurationFactory::DefaultDeployConfigurationFactory() setConfigBaseId("ProjectExplorer.DefaultDeployConfiguration"); addSupportedTargetDeviceType(Constants::DESKTOP_DEVICE_TYPE); //: Display name of the default deploy configuration - setDefaultDisplayName(DeployConfiguration::tr("Deploy Configuration")); + setDefaultDisplayName(Tr::tr("Deploy Configuration")); } } // namespace ProjectExplorer diff --git a/src/plugins/projectexplorer/deploymentdataview.cpp b/src/plugins/projectexplorer/deploymentdataview.cpp index 6c73d02dd65..5c13cb3acfb 100644 --- a/src/plugins/projectexplorer/deploymentdataview.cpp +++ b/src/plugins/projectexplorer/deploymentdataview.cpp @@ -6,6 +6,7 @@ #include "buildsystem.h" #include "deployconfiguration.h" #include "deploymentdata.h" +#include "projectexplorertr.h" #include "target.h" #include @@ -65,7 +66,7 @@ public: DeploymentDataView::DeploymentDataView(DeployConfiguration *dc) { auto model = new TreeModel(this); - model->setHeader({tr("Source File Path"), tr("Target Directory")}); + model->setHeader({Tr::tr("Source File Path"), Tr::tr("Target Directory")}); auto view = new QTreeView(this); view->setMinimumSize(QSize(100, 100)); @@ -75,8 +76,8 @@ DeploymentDataView::DeploymentDataView(DeployConfiguration *dc) view->setModel(model); const auto buttonsLayout = new QVBoxLayout; - const auto addButton = new QPushButton(tr("Add")); - const auto removeButton = new QPushButton(tr("Remove")); + const auto addButton = new QPushButton(Tr::tr("Add")); + const auto removeButton = new QPushButton(Tr::tr("Remove")); buttonsLayout->addWidget(addButton); buttonsLayout->addWidget(removeButton); buttonsLayout->addStretch(1); @@ -85,8 +86,8 @@ DeploymentDataView::DeploymentDataView(DeployConfiguration *dc) viewLayout->addWidget(view); viewLayout->addLayout(buttonsLayout); - auto label = new QLabel(tr("Files to deploy:"), this); - const auto sourceCheckBox = new QCheckBox(tr("Override deployment data from build system")); + auto label = new QLabel(Tr::tr("Files to deploy:"), this); + const auto sourceCheckBox = new QCheckBox(Tr::tr("Override deployment data from build system")); sourceCheckBox->setChecked(dc->usesCustomDeploymentData()); auto layout = new QVBoxLayout(this); diff --git a/src/plugins/projectexplorer/desktoprunconfiguration.cpp b/src/plugins/projectexplorer/desktoprunconfiguration.cpp index b4a56393510..82d0123b117 100644 --- a/src/plugins/projectexplorer/desktoprunconfiguration.cpp +++ b/src/plugins/projectexplorer/desktoprunconfiguration.cpp @@ -6,6 +6,7 @@ #include "buildsystem.h" #include "localenvironmentaspect.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "runconfigurationaspects.h" #include "target.h" @@ -26,8 +27,6 @@ namespace Internal { class DesktopRunConfiguration : public RunConfiguration { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Internal::DesktopRunConfiguration) - protected: enum Kind { Qmake, Qbs, CMake }; // FIXME: Remove @@ -94,7 +93,7 @@ void DesktopRunConfiguration::updateTargetInformation() FilePath profile = FilePath::fromString(buildKey()); if (profile.isEmpty()) - setDefaultDisplayName(tr("Qt Run Configuration")); + setDefaultDisplayName(Tr::tr("Qt Run Configuration")); else setDefaultDisplayName(profile.completeBaseName()); diff --git a/src/plugins/projectexplorer/devicesupport/desktopdevice.cpp b/src/plugins/projectexplorer/devicesupport/desktopdevice.cpp index 97579c324cc..097f175d664 100644 --- a/src/plugins/projectexplorer/devicesupport/desktopdevice.cpp +++ b/src/plugins/projectexplorer/devicesupport/desktopdevice.cpp @@ -2,14 +2,15 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "desktopdevice.h" + +#include "desktopprocesssignaloperation.h" #include "deviceprocesslist.h" #include "localprocesslist.h" -#include "desktopprocesssignaloperation.h" +#include "../projectexplorerconstants.h" +#include "../projectexplorertr.h" #include -#include - #include #include #include @@ -32,8 +33,8 @@ DesktopDevice::DesktopDevice() setupId(IDevice::AutoDetected, DESKTOP_DEVICE_ID); setType(DESKTOP_DEVICE_TYPE); - setDefaultDisplayName(tr("Local PC")); - setDisplayType(QCoreApplication::translate("ProjectExplorer::DesktopDevice", "Desktop")); + setDefaultDisplayName(Tr::tr("Local PC")); + setDisplayType(Tr::tr("Desktop")); setDeviceState(IDevice::DeviceStateUnknown); setMachineType(IDevice::Hardware); diff --git a/src/plugins/projectexplorer/devicesupport/desktopdevice.h b/src/plugins/projectexplorer/devicesupport/desktopdevice.h index 29ac2a6dc3d..ee5ac1ca5eb 100644 --- a/src/plugins/projectexplorer/devicesupport/desktopdevice.h +++ b/src/plugins/projectexplorer/devicesupport/desktopdevice.h @@ -17,8 +17,6 @@ namespace Internal { class DesktopDeviceFactory; } class PROJECTEXPLORER_EXPORT DesktopDevice : public IDevice { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::DesktopDevice) - public: IDevice::DeviceInfo deviceInformation() const override; diff --git a/src/plugins/projectexplorer/devicesupport/desktopdevicefactory.cpp b/src/plugins/projectexplorer/devicesupport/desktopdevicefactory.cpp index 62a42f6d2b0..d658d1fa2a0 100644 --- a/src/plugins/projectexplorer/devicesupport/desktopdevicefactory.cpp +++ b/src/plugins/projectexplorer/devicesupport/desktopdevicefactory.cpp @@ -3,10 +3,13 @@ #include "desktopdevicefactory.h" #include "desktopdevice.h" + #include #include +#include #include + #include #include @@ -19,7 +22,7 @@ DesktopDeviceFactory::DesktopDeviceFactory() : IDeviceFactory(Constants::DESKTOP_DEVICE_TYPE) { setConstructionFunction([] { return IDevice::Ptr(new DesktopDevice); }); - setDisplayName(DesktopDevice::tr("Desktop")); + setDisplayName(Tr::tr("Desktop")); setIcon(Utils::creatorTheme()->flag(Utils::Theme::FlatSideBarIcons) ? Utils::Icon::combinedIcon( {Icons::DESKTOP_DEVICE.icon(), Core::Icons::DESKTOP_DEVICE_SMALL.icon()}) diff --git a/src/plugins/projectexplorer/devicesupport/desktopprocesssignaloperation.cpp b/src/plugins/projectexplorer/devicesupport/desktopprocesssignaloperation.cpp index 3b85e0da1a7..36b502c5ad8 100644 --- a/src/plugins/projectexplorer/devicesupport/desktopprocesssignaloperation.cpp +++ b/src/plugins/projectexplorer/devicesupport/desktopprocesssignaloperation.cpp @@ -3,6 +3,8 @@ #include "desktopprocesssignaloperation.h" +#include "../projectexplorertr.h" + #include #include @@ -66,7 +68,7 @@ void DesktopProcessSignalOperation::appendMsgCannotKill(qint64 pid, const QStrin { if (!m_errorMessage.isEmpty()) m_errorMessage += QChar::fromLatin1('\n'); - m_errorMessage += tr("Cannot kill process with pid %1: %2").arg(pid).arg(why); + m_errorMessage += Tr::tr("Cannot kill process with pid %1: %2").arg(pid).arg(why); m_errorMessage += QLatin1Char(' '); } @@ -74,7 +76,7 @@ void DesktopProcessSignalOperation::appendMsgCannotInterrupt(qint64 pid, const Q { if (!m_errorMessage.isEmpty()) m_errorMessage += QChar::fromLatin1('\n'); - m_errorMessage += tr("Cannot interrupt process with pid %1: %2").arg(pid).arg(why); + m_errorMessage += Tr::tr("Cannot interrupt process with pid %1: %2").arg(pid).arg(why); m_errorMessage += QLatin1Char(' '); } @@ -89,11 +91,11 @@ void DesktopProcessSignalOperation::killProcessSilently(qint64 pid) appendMsgCannotKill(pid, winErrorMessage(GetLastError())); CloseHandle(handle); } else { - appendMsgCannotKill(pid, tr("Cannot open process.")); + appendMsgCannotKill(pid, Tr::tr("Cannot open process.")); } #else if (pid <= 0) - appendMsgCannotKill(pid, tr("Invalid process id.")); + appendMsgCannotKill(pid, Tr::tr("Invalid process id.")); else if (kill(pid, SIGKILL)) appendMsgCannotKill(pid, QString::fromLocal8Bit(strerror(errno))); #endif // Q_OS_WIN @@ -144,7 +146,7 @@ GDB 32bit | Api | Api | N/A | Win32 |PROCESS_DUP_HANDLE|PROCESS_TERMINATE|PROCESS_CREATE_THREAD|PROCESS_SUSPEND_RESUME; inferior = OpenProcess(rights, FALSE, pid); if (inferior == NULL) { - appendMsgCannotInterrupt(pid, tr("Cannot open process: %1") + appendMsgCannotInterrupt(pid, Tr::tr("Cannot open process: %1") + winErrorMessage(GetLastError())); break; } @@ -155,7 +157,7 @@ GDB 32bit | Api | Api | N/A | Win32 || (si == Win64Interrupt && creatorIs64Bit) || (si == Win32Interrupt && !creatorIs64Bit)) { if (!DebugBreakProcess(inferior)) { - appendMsgCannotInterrupt(pid, tr("DebugBreakProcess failed:") + appendMsgCannotInterrupt(pid, Tr::tr("DebugBreakProcess failed:") + QLatin1Char(' ') + winErrorMessage(GetLastError())); } } else if (si == Win32Interrupt || si == Win64Interrupt) { @@ -165,7 +167,7 @@ GDB 32bit | Api | Api | N/A | Win32 : QLatin1String("/win64interrupt.exe"); if (!QFile::exists(executable)) { appendMsgCannotInterrupt(pid, - tr("%1 does not exist. If you built %2 " + Tr::tr("%1 does not exist. If you built %2 " "yourself, check out https://code.qt.io/cgit/" "qt-creator/binary-artifacts.git/.") .arg(QDir::toNativeSeparators(executable), @@ -173,7 +175,7 @@ GDB 32bit | Api | Api | N/A | Win32 } switch (QProcess::execute(executable, QStringList(QString::number(pid)))) { case -2: - appendMsgCannotInterrupt(pid, tr( + appendMsgCannotInterrupt(pid, Tr::tr( "Cannot start %1. Check src\\tools\\win64interrupt\\win64interrupt.c " "for more information.").arg(QDir::toNativeSeparators(executable))); break; @@ -181,7 +183,7 @@ GDB 32bit | Api | Api | N/A | Win32 break; default: appendMsgCannotInterrupt(pid, QDir::toNativeSeparators(executable) - + QLatin1Char(' ') + tr("could not break the process.")); + + QLatin1Char(' ') + Tr::tr("could not break the process.")); break; } } @@ -190,7 +192,7 @@ GDB 32bit | Api | Api | N/A | Win32 CloseHandle(inferior); #else if (pid <= 0) - appendMsgCannotInterrupt(pid, tr("Invalid process id.")); + appendMsgCannotInterrupt(pid, Tr::tr("Invalid process id.")); else if (kill(pid, SIGINT)) appendMsgCannotInterrupt(pid, QString::fromLocal8Bit(strerror(errno))); #endif // Q_OS_WIN diff --git a/src/plugins/projectexplorer/devicesupport/devicecheckbuildstep.cpp b/src/plugins/projectexplorer/devicesupport/devicecheckbuildstep.cpp index 32217333295..acce8bf29b6 100644 --- a/src/plugins/projectexplorer/devicesupport/devicecheckbuildstep.cpp +++ b/src/plugins/projectexplorer/devicesupport/devicecheckbuildstep.cpp @@ -4,7 +4,8 @@ #include "devicecheckbuildstep.h" #include "../kitinformation.h" -#include "../target.h" +#include "../projectexplorertr.h" + #include "devicemanager.h" #include "idevice.h" #include "idevicefactory.h" @@ -26,22 +27,22 @@ bool DeviceCheckBuildStep::init() Utils::Id deviceTypeId = DeviceTypeKitAspect::deviceTypeId(kit()); IDeviceFactory *factory = IDeviceFactory::find(deviceTypeId); if (!factory || !factory->canCreate()) { - emit addOutput(tr("No device configured."), BuildStep::OutputFormat::ErrorMessage); + emit addOutput(Tr::tr("No device configured."), BuildStep::OutputFormat::ErrorMessage); return false; } - QMessageBox msgBox(QMessageBox::Question, tr("Set Up Device"), - tr("There is no device set up for this kit. Do you want to add a device?"), + QMessageBox msgBox(QMessageBox::Question, Tr::tr("Set Up Device"), + Tr::tr("There is no device set up for this kit. Do you want to add a device?"), QMessageBox::Yes|QMessageBox::No); msgBox.setDefaultButton(QMessageBox::Yes); if (msgBox.exec() == QMessageBox::No) { - emit addOutput(tr("No device configured."), BuildStep::OutputFormat::ErrorMessage); + emit addOutput(Tr::tr("No device configured."), BuildStep::OutputFormat::ErrorMessage); return false; } IDevice::Ptr newDevice = factory->create(); if (newDevice.isNull()) { - emit addOutput(tr("No device configured."), BuildStep::OutputFormat::ErrorMessage); + emit addOutput(Tr::tr("No device configured."), BuildStep::OutputFormat::ErrorMessage); return false; } @@ -66,5 +67,5 @@ Utils::Id DeviceCheckBuildStep::stepId() QString DeviceCheckBuildStep::displayName() { - return tr("Check for a configured device"); + return Tr::tr("Check for a configured device"); } diff --git a/src/plugins/projectexplorer/devicesupport/devicefactoryselectiondialog.cpp b/src/plugins/projectexplorer/devicesupport/devicefactoryselectiondialog.cpp index f3342871a31..ed47999432b 100644 --- a/src/plugins/projectexplorer/devicesupport/devicefactoryselectiondialog.cpp +++ b/src/plugins/projectexplorer/devicesupport/devicefactoryselectiondialog.cpp @@ -3,8 +3,8 @@ #include "devicefactoryselectiondialog.h" -#include "idevice.h" #include "idevicefactory.h" +#include "../projectexplorertr.h" #include #include @@ -22,11 +22,11 @@ DeviceFactorySelectionDialog::DeviceFactorySelectionDialog(QWidget *parent) : resize(420, 330); m_listWidget = new QListWidget; m_buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel); - m_buttonBox->button(QDialogButtonBox::Ok)->setText(tr("Start Wizard")); + m_buttonBox->button(QDialogButtonBox::Ok)->setText(Tr::tr("Start Wizard")); using namespace Utils::Layouting; Column { - tr("Available device types:"), + Tr::tr("Available device types:"), m_listWidget, m_buttonBox, }.attachTo(this); diff --git a/src/plugins/projectexplorer/devicesupport/devicefilesystemmodel.cpp b/src/plugins/projectexplorer/devicesupport/devicefilesystemmodel.cpp index 3ddf2e420b5..9d9626ce3b2 100644 --- a/src/plugins/projectexplorer/devicesupport/devicefilesystemmodel.cpp +++ b/src/plugins/projectexplorer/devicesupport/devicefilesystemmodel.cpp @@ -3,7 +3,9 @@ #include "devicefilesystemmodel.h" -#include +#include "idevice.h" +#include "../projectexplorertr.h" + #include #include #include @@ -182,9 +184,9 @@ QVariant DeviceFileSystemModel::headerData(int section, Qt::Orientation orientat if (role != Qt::DisplayRole) return QVariant(); if (section == 0) - return tr("File Type"); + return Tr::tr("File Type"); if (section == 1) - return tr("File Name"); + return Tr::tr("File Name"); return QVariant(); } diff --git a/src/plugins/projectexplorer/devicesupport/devicemanagermodel.cpp b/src/plugins/projectexplorer/devicesupport/devicemanagermodel.cpp index 9c0f246fab8..30e12354202 100644 --- a/src/plugins/projectexplorer/devicesupport/devicemanagermodel.cpp +++ b/src/plugins/projectexplorer/devicesupport/devicemanagermodel.cpp @@ -4,6 +4,7 @@ #include "devicemanagermodel.h" #include "devicemanager.h" +#include "../projectexplorertr.h" #include #include @@ -148,7 +149,7 @@ QVariant DeviceManagerModel::data(const QModelIndex &index, int role) const return dev->id().toSetting(); QString name; if (d->deviceManager->defaultDevice(dev->type()) == dev) - name = tr("%1 (default for %2)").arg(dev->displayName(), dev->displayType()); + name = Tr::tr("%1 (default for %2)").arg(dev->displayName(), dev->displayType()); else name = dev->displayName(); return name; diff --git a/src/plugins/projectexplorer/devicesupport/deviceprocessesdialog.cpp b/src/plugins/projectexplorer/devicesupport/deviceprocessesdialog.cpp index d16965ea37d..4c75ea39899 100644 --- a/src/plugins/projectexplorer/devicesupport/deviceprocessesdialog.cpp +++ b/src/plugins/projectexplorer/devicesupport/deviceprocessesdialog.cpp @@ -2,10 +2,12 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "deviceprocessesdialog.h" + #include "deviceprocesslist.h" -#include -#include -#include +#include "idevice.h" +#include "../kitchooser.h" +#include "../kitinformation.h" +#include "../projectexplorertr.h" #include #include @@ -98,16 +100,16 @@ public: DeviceProcessesDialogPrivate::DeviceProcessesDialogPrivate(KitChooser *chooser, QDialog *parent) : q(parent) - , kitLabel(new QLabel(DeviceProcessesDialog::tr("Kit:"), parent)) + , kitLabel(new QLabel(Tr::tr("Kit:"), parent)) , kitChooser(chooser) , acceptButton(nullptr) , buttonBox(new QDialogButtonBox(parent)) { - q->setWindowTitle(DeviceProcessesDialog::tr("List of Processes")); + q->setWindowTitle(Tr::tr("List of Processes")); q->setMinimumHeight(500); processFilterLineEdit = new FancyLineEdit(q); - processFilterLineEdit->setPlaceholderText(DeviceProcessesDialog::tr("Filter")); + processFilterLineEdit->setPlaceholderText(Tr::tr("Filter")); processFilterLineEdit->setFocus(Qt::TabFocusReason); processFilterLineEdit->setHistoryCompleter(QLatin1String("DeviceProcessDialogFilter"), true /*restoreLastItemFromHistory*/); @@ -130,8 +132,8 @@ DeviceProcessesDialogPrivate::DeviceProcessesDialogPrivate(KitChooser *chooser, errorText = new QTextBrowser(q); - updateListButton = new QPushButton(DeviceProcessesDialog::tr("&Update List"), q); - killProcessButton = new QPushButton(DeviceProcessesDialog::tr("&Kill Process"), q); + updateListButton = new QPushButton(Tr::tr("&Update List"), q); + killProcessButton = new QPushButton(Tr::tr("&Kill Process"), q); buttonBox->addButton(updateListButton, QDialogButtonBox::ActionRole); buttonBox->addButton(killProcessButton, QDialogButtonBox::ActionRole); @@ -139,7 +141,7 @@ DeviceProcessesDialogPrivate::DeviceProcessesDialogPrivate(KitChooser *chooser, auto *leftColumn = new QFormLayout(); leftColumn->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow); leftColumn->addRow(kitLabel, kitChooser); - leftColumn->addRow(DeviceProcessesDialog::tr("&Filter:"), processFilterLineEdit); + leftColumn->addRow(Tr::tr("&Filter:"), processFilterLineEdit); // QVBoxLayout *rightColumn = new QVBoxLayout(); // rightColumn->addWidget(updateListButton); @@ -202,7 +204,7 @@ void DeviceProcessesDialogPrivate::setDevice(const IDevice::ConstPtr &device) void DeviceProcessesDialogPrivate::handleRemoteError(const QString &errorMsg) { - QMessageBox::critical(q, tr("Remote Error"), errorMsg); + QMessageBox::critical(q, Tr::tr("Remote Error"), errorMsg); updateListButton->setEnabled(true); updateButtons(); } diff --git a/src/plugins/projectexplorer/devicesupport/deviceprocesslist.cpp b/src/plugins/projectexplorer/devicesupport/deviceprocesslist.cpp index bc547c6354f..6645a478ecb 100644 --- a/src/plugins/projectexplorer/devicesupport/deviceprocesslist.cpp +++ b/src/plugins/projectexplorer/devicesupport/deviceprocesslist.cpp @@ -2,7 +2,9 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "deviceprocesslist.h" + #include "idevice.h" +#include "../projectexplorertr.h" #include #include @@ -47,7 +49,7 @@ using namespace Internal; DeviceProcessList::DeviceProcessList(const IDevice::ConstPtr &device, QObject *parent) : QObject(parent), d(std::make_unique(device)) { - d->model.setHeader({tr("Process ID"), tr("Command Line")}); + d->model.setHeader({Tr::tr("Process ID"), Tr::tr("Command Line")}); } DeviceProcessList::~DeviceProcessList() = default; @@ -60,7 +62,7 @@ void DeviceProcessList::update() d->model.clear(); d->model.rootItem()->appendChild( new DeviceProcessTreeItem( - {0, tr("Fetching process list. This might take a while."), ""}, + {0, Tr::tr("Fetching process list. This might take a while."), ""}, Qt::NoItemFlags)); d->state = Listing; doUpdate(); diff --git a/src/plugins/projectexplorer/devicesupport/devicesettingspage.cpp b/src/plugins/projectexplorer/devicesupport/devicesettingspage.cpp index 5c3c30d6701..562c7ea8221 100644 --- a/src/plugins/projectexplorer/devicesupport/devicesettingspage.cpp +++ b/src/plugins/projectexplorer/devicesupport/devicesettingspage.cpp @@ -4,8 +4,8 @@ #include "devicesettingspage.h" #include "devicesettingswidget.h" - -#include +#include "../projectexplorerconstants.h" +#include "../projectexplorertr.h" #include @@ -17,7 +17,7 @@ DeviceSettingsPage::DeviceSettingsPage() setId(Constants::DEVICE_SETTINGS_PAGE_ID); setDisplayName(DeviceSettingsWidget::tr("Devices")); setCategory(Constants::DEVICE_SETTINGS_CATEGORY); - setDisplayCategory(QCoreApplication::translate("::ProjectExplorer", "Devices")); + setDisplayCategory(Tr::tr("Devices")); setCategoryIconPath(":/projectexplorer/images/settingscategory_devices.png"); setWidgetCreator([] { return new DeviceSettingsWidget; }); } diff --git a/src/plugins/projectexplorer/devicesupport/devicesettingswidget.cpp b/src/plugins/projectexplorer/devicesupport/devicesettingswidget.cpp index 1e3ca6ab65c..27ad8252ab0 100644 --- a/src/plugins/projectexplorer/devicesupport/devicesettingswidget.cpp +++ b/src/plugins/projectexplorer/devicesupport/devicesettingswidget.cpp @@ -11,8 +11,8 @@ #include "idevice.h" #include "idevicefactory.h" #include "idevicewidget.h" -#include -#include +#include "../projectexplorericons.h" +#include "../projectexplorertr.h" #include @@ -88,21 +88,21 @@ DeviceSettingsWidget::~DeviceSettingsWidget() void DeviceSettingsWidget::initGui() { - m_configurationLabel = new QLabel(tr("&Device:")); + m_configurationLabel = new QLabel(Tr::tr("&Device:")); m_configurationComboBox = new QComboBox; m_configurationComboBox->setModel(m_deviceManagerModel); - m_generalGroupBox = new QGroupBox(tr("General")); + m_generalGroupBox = new QGroupBox(Tr::tr("General")); m_nameLineEdit = new QLineEdit; m_nameLineEdit->setValidator(m_nameValidator); m_osTypeValueLabel = new QLabel; m_autoDetectionLabel = new QLabel; m_deviceStateIconLabel = new QLabel; m_deviceStateTextLabel = new QLabel; - m_osSpecificGroupBox = new QGroupBox(tr("Type Specific")); + m_osSpecificGroupBox = new QGroupBox(Tr::tr("Type Specific")); m_osSpecificGroupBox->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding); - m_addConfigButton = new QPushButton(tr("&Add...")); - m_removeConfigButton = new QPushButton(tr("&Remove")); - m_defaultDeviceButton = new QPushButton(tr("Set As Default")); + m_addConfigButton = new QPushButton(Tr::tr("&Add...")); + m_removeConfigButton = new QPushButton(Tr::tr("&Remove")); + m_defaultDeviceButton = new QPushButton(Tr::tr("Set As Default")); auto line = new QFrame; line->setFrameShape(QFrame::HLine); line->setFrameShadow(QFrame::Sunken); @@ -121,10 +121,10 @@ void DeviceSettingsWidget::initGui() }.attachTo(scrollAreaWidget); Form { - tr("&Name:"), m_nameLineEdit, br, - tr("Type:"), m_osTypeValueLabel, br, - tr("Auto-detected:"), m_autoDetectionLabel, br, - tr("Current state:"), Row { m_deviceStateIconLabel, m_deviceStateTextLabel, st, }, br, + Tr::tr("&Name:"), m_nameLineEdit, br, + Tr::tr("Type:"), m_osTypeValueLabel, br, + Tr::tr("Auto-detected:"), m_autoDetectionLabel, br, + Tr::tr("Current state:"), Row { m_deviceStateIconLabel, m_deviceStateTextLabel, st, }, br, }.attachTo(m_generalGroupBox); Row { @@ -204,7 +204,7 @@ void DeviceSettingsWidget::displayCurrent() m_deviceManager->defaultDevice(current->type()) != current); m_osTypeValueLabel->setText(current->displayType()); m_autoDetectionLabel->setText(current->isAutoDetected() - ? tr("Yes (id is \"%1\")").arg(current->id().toString()) : tr("No")); + ? Tr::tr("Yes (id is \"%1\")").arg(current->id().toString()) : Tr::tr("No")); m_nameValidator->setDisplayName(current->displayName()); m_deviceStateIconLabel->show(); switch (current->deviceState()) { @@ -318,14 +318,14 @@ void DeviceSettingsWidget::currentDeviceChanged(int index) m_removeConfigButton->setEnabled(true); if (device->hasDeviceTester()) { - QPushButton * const button = new QPushButton(tr("Test")); + QPushButton * const button = new QPushButton(Tr::tr("Test")); m_additionalActionButtons << button; connect(button, &QAbstractButton::clicked, this, &DeviceSettingsWidget::testDevice); m_buttonsLayout->insertWidget(m_buttonsLayout->count() - 1, button); } if (device->canCreateProcessModel()) { - QPushButton * const button = new QPushButton(tr("Show Running Processes...")); + QPushButton * const button = new QPushButton(Tr::tr("Show Running Processes...")); m_additionalActionButtons << button; connect(button, &QAbstractButton::clicked, this, &DeviceSettingsWidget::handleProcessListRequested); diff --git a/src/plugins/projectexplorer/devicesupport/devicetestdialog.cpp b/src/plugins/projectexplorer/devicesupport/devicetestdialog.cpp index 8f3977e0c51..91a83531b49 100644 --- a/src/plugins/projectexplorer/devicesupport/devicetestdialog.cpp +++ b/src/plugins/projectexplorer/devicesupport/devicetestdialog.cpp @@ -3,6 +3,8 @@ #include "devicetestdialog.h" +#include "../projectexplorertr.h" + #include #include @@ -82,13 +84,13 @@ void DeviceTestDialog::handleErrorMessage(const QString &message) void DeviceTestDialog::handleTestFinished(DeviceTester::TestResult result) { d->finished = true; - d->buttonBox->button(QDialogButtonBox::Cancel)->setText(tr("Close")); + d->buttonBox->button(QDialogButtonBox::Cancel)->setText(Tr::tr("Close")); if (result == DeviceTester::TestSuccess) - addText(tr("Device test finished successfully."), + addText(Tr::tr("Device test finished successfully."), Utils::Theme::OutputPanes_NormalMessageTextColor, true); else - addText(tr("Device test failed."), Utils::Theme::OutputPanes_ErrorMessageTextColor, true); + addText(Tr::tr("Device test failed."), Utils::Theme::OutputPanes_ErrorMessageTextColor, true); } void DeviceTestDialog::addText(const QString &text, Utils::Theme::Color color, bool bold) diff --git a/src/plugins/projectexplorer/devicesupport/deviceusedportsgatherer.cpp b/src/plugins/projectexplorer/devicesupport/deviceusedportsgatherer.cpp index 632e5c07bdc..d76be0a888e 100644 --- a/src/plugins/projectexplorer/devicesupport/deviceusedportsgatherer.cpp +++ b/src/plugins/projectexplorer/devicesupport/deviceusedportsgatherer.cpp @@ -3,9 +3,10 @@ #include "deviceusedportsgatherer.h" +#include "idevice.h" #include "sshparameters.h" +#include "../projectexplorertr.h" -#include #include #include #include @@ -110,7 +111,7 @@ void DeviceUsedPortsGatherer::handleProcessDone() const QByteArray stdErr = d->process->readAllRawStandardError(); if (!stdErr.isEmpty()) { errMsg += QLatin1Char('\n'); - errMsg += tr("Remote error output was: %1").arg(QString::fromUtf8(stdErr)); + errMsg += Tr::tr("Remote error output was: %1").arg(QString::fromUtf8(stdErr)); } emitError(errMsg); } @@ -133,7 +134,7 @@ PortsGatherer::PortsGatherer(RunControl *runControl) connect(&m_portsGatherer, &DeviceUsedPortsGatherer::error, this, &PortsGatherer::reportFailure); connect(&m_portsGatherer, &DeviceUsedPortsGatherer::portListReady, this, [this] { m_portList = device()->freePorts(); - appendMessage(tr("Found %n free ports.", nullptr, m_portList.count()), NormalMessageFormat); + appendMessage(Tr::tr("Found %n free ports.", nullptr, m_portList.count()), NormalMessageFormat); reportStarted(); }); } @@ -142,7 +143,7 @@ PortsGatherer::~PortsGatherer() = default; void PortsGatherer::start() { - appendMessage(tr("Checking available ports..."), NormalMessageFormat); + appendMessage(Tr::tr("Checking available ports..."), NormalMessageFormat); m_portsGatherer.setDevice(device()); m_portsGatherer.start(); } diff --git a/src/plugins/projectexplorer/devicesupport/filetransfer.cpp b/src/plugins/projectexplorer/devicesupport/filetransfer.cpp index a94dcb9e4c3..aa94292047e 100644 --- a/src/plugins/projectexplorer/devicesupport/filetransfer.cpp +++ b/src/plugins/projectexplorer/devicesupport/filetransfer.cpp @@ -5,6 +5,7 @@ #include "devicemanager.h" #include "idevice.h" +#include "../projectexplorertr.h" #include #include @@ -91,7 +92,7 @@ private: void FileTransferPrivate::test() { if (!m_testDevice) - return startFailed(tr("No device set for test transfer.")); + return startFailed(Tr::tr("No device set for test transfer.")); run({{}, m_setup.m_method, m_setup.m_rsyncFlags}, m_testDevice); } @@ -99,7 +100,7 @@ void FileTransferPrivate::test() void FileTransferPrivate::start() { if (m_setup.m_files.isEmpty()) - return startFailed(tr("No files to transfer.")); + return startFailed(Tr::tr("No files to transfer.")); const FileTransferDirection direction = transferDirection(m_setup.m_files); @@ -130,7 +131,7 @@ void FileTransferPrivate::run(const FileTransferSetupData &setup, const IDeviceC stop(); m_transfer.reset(device->createFileTransferInterface(setup)); - QTC_ASSERT(m_transfer, startFailed(tr("Missing transfer implementation.")); return); + QTC_ASSERT(m_transfer, startFailed(Tr::tr("Missing transfer implementation.")); return); m_transfer->setParent(this); connect(m_transfer.get(), &FileTransferInterface::progress, diff --git a/src/plugins/projectexplorer/devicesupport/idevice.cpp b/src/plugins/projectexplorer/devicesupport/idevice.cpp index 0add96f1dfc..b884237b3b2 100644 --- a/src/plugins/projectexplorer/devicesupport/idevice.cpp +++ b/src/plugins/projectexplorer/devicesupport/idevice.cpp @@ -297,7 +297,7 @@ void IDevice::setFileAccess(DeviceFileAccess *fileAccess) IDevice::DeviceInfo IDevice::deviceInformation() const { - const QString key = QCoreApplication::translate("ProjectExplorer::IDevice", "Device"); + const QString key = Tr::tr("Device"); return DeviceInfo() << IDevice::DeviceInfoItem(key, deviceStateToString()); } @@ -513,13 +513,12 @@ IDevice::Ptr IDevice::clone() const QString IDevice::deviceStateToString() const { - const char context[] = "ProjectExplorer::IDevice"; switch (d->deviceState) { - case IDevice::DeviceReadyToUse: return QCoreApplication::translate(context, "Ready to use"); - case IDevice::DeviceConnected: return QCoreApplication::translate(context, "Connected"); - case IDevice::DeviceDisconnected: return QCoreApplication::translate(context, "Disconnected"); - case IDevice::DeviceStateUnknown: return QCoreApplication::translate(context, "Unknown"); - default: return QCoreApplication::translate(context, "Invalid"); + case IDevice::DeviceReadyToUse: return Tr::tr("Ready to use"); + case IDevice::DeviceConnected: return Tr::tr("Connected"); + case IDevice::DeviceDisconnected: return Tr::tr("Disconnected"); + case IDevice::DeviceStateUnknown: return Tr::tr("Unknown"); + default: return Tr::tr("Invalid"); } } @@ -661,14 +660,14 @@ void DeviceProcessKiller::start() const IDevice::ConstPtr device = DeviceManager::deviceForPath(m_processPath); if (!device) { - m_errorString = tr("No device for given path: \"%1\".").arg(m_processPath.toUserOutput()); + m_errorString = Tr::tr("No device for given path: \"%1\".").arg(m_processPath.toUserOutput()); emit done(false); return; } m_signalOperation = device->signalOperation(); if (!m_signalOperation) { - m_errorString = tr("Device for path \"%1\" does not support killing processes.") + m_errorString = Tr::tr("Device for path \"%1\" does not support killing processes.") .arg(m_processPath.toUserOutput()); emit done(false); return; diff --git a/src/plugins/projectexplorer/devicesupport/sshdeviceprocesslist.cpp b/src/plugins/projectexplorer/devicesupport/sshdeviceprocesslist.cpp index 374100a89da..91e388bc09e 100644 --- a/src/plugins/projectexplorer/devicesupport/sshdeviceprocesslist.cpp +++ b/src/plugins/projectexplorer/devicesupport/sshdeviceprocesslist.cpp @@ -2,7 +2,9 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "sshdeviceprocesslist.h" + #include "idevice.h" +#include "../projectexplorertr.h" #include #include @@ -49,11 +51,11 @@ void SshDeviceProcessList::handleProcessDone() reportProcessListUpdated(buildProcessList(d->m_process.cleanedStdOut())); } else { const QString errorMessage = d->m_process.exitStatus() == QProcess::NormalExit - ? tr("Process listing command failed with exit code %1.").arg(d->m_process.exitCode()) + ? Tr::tr("Process listing command failed with exit code %1.").arg(d->m_process.exitCode()) : d->m_process.errorString(); const QString stdErr = d->m_process.cleanedStdErr(); const QString fullMessage = stdErr.isEmpty() - ? errorMessage : errorMessage + '\n' + tr("Remote stderr was: %1").arg(stdErr); + ? errorMessage : errorMessage + '\n' + Tr::tr("Remote stderr was: %1").arg(stdErr); reportError(fullMessage); } setFinished(); @@ -64,7 +66,7 @@ void SshDeviceProcessList::handleKillProcessFinished(const QString &errorString) if (errorString.isEmpty()) reportProcessKilled(); else - reportError(tr("Error: Kill process failed: %1").arg(errorString)); + reportError(Tr::tr("Error: Kill process failed: %1").arg(errorString)); setFinished(); } diff --git a/src/plugins/projectexplorer/devicesupport/sshsettingspage.cpp b/src/plugins/projectexplorer/devicesupport/sshsettingspage.cpp index 985354eec72..1948bd3ebbb 100644 --- a/src/plugins/projectexplorer/devicesupport/sshsettingspage.cpp +++ b/src/plugins/projectexplorer/devicesupport/sshsettingspage.cpp @@ -2,10 +2,12 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "sshsettingspage.h" + #include "sshsettings.h" +#include "../projectexplorerconstants.h" +#include "../projectexplorertr.h" #include -#include #include #include @@ -21,8 +23,6 @@ namespace Internal { class SshSettingsWidget : public Core::IOptionsPageWidget { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Internal::SshSettingsWidget) - public: SshSettingsWidget(); void saveSettings(); @@ -55,9 +55,9 @@ private: SshSettingsPage::SshSettingsPage() { setId(Constants::SSH_SETTINGS_PAGE_ID); - setDisplayName(SshSettingsWidget::tr("SSH")); + setDisplayName(Tr::tr("SSH")); setCategory(Constants::DEVICE_SETTINGS_CATEGORY); - setDisplayCategory(QCoreApplication::translate("::ProjectExplorer", "SSH")); + setDisplayCategory(Tr::tr("SSH")); setCategoryIconPath(":/projectexplorer/images/settingscategory_devices.png"); setWidgetCreator([] { return new SshSettingsWidget; }); } @@ -71,12 +71,12 @@ SshSettingsWidget::SshSettingsWidget() setupAskpassPathChooser(); setupKeygenPathChooser(); auto * const layout = new QFormLayout(this); - layout->addRow(tr("Enable connection sharing:"), &m_connectionSharingCheckBox); - layout->addRow(tr("Connection sharing timeout:"), &m_connectionSharingSpinBox); - layout->addRow(tr("Path to ssh executable:"), &m_sshChooser); - layout->addRow(tr("Path to sftp executable:"), &m_sftpChooser); - layout->addRow(tr("Path to ssh-askpass executable:"), &m_askpassChooser); - layout->addRow(tr("Path to ssh-keygen executable:"), &m_keygenChooser); + layout->addRow(Tr::tr("Enable connection sharing:"), &m_connectionSharingCheckBox); + layout->addRow(Tr::tr("Connection sharing timeout:"), &m_connectionSharingSpinBox); + layout->addRow(Tr::tr("Path to ssh executable:"), &m_sshChooser); + layout->addRow(Tr::tr("Path to sftp executable:"), &m_sftpChooser); + layout->addRow(Tr::tr("Path to ssh-askpass executable:"), &m_askpassChooser); + layout->addRow(Tr::tr("Path to ssh-keygen executable:"), &m_keygenChooser); updateCheckboxEnabled(); updateSpinboxEnabled(); } @@ -107,7 +107,7 @@ void SshSettingsWidget::setupConnectionSharingSpinBox() { m_connectionSharingSpinBox.setMinimum(1); m_connectionSharingSpinBox.setValue(SshSettings::connectionSharingTimeout()); - m_connectionSharingSpinBox.setSuffix(tr(" minutes")); + m_connectionSharingSpinBox.setSuffix(Tr::tr(" minutes")); } void SshSettingsWidget::setupSshPathChooser() diff --git a/src/plugins/projectexplorer/editorconfiguration.cpp b/src/plugins/projectexplorer/editorconfiguration.cpp index 996f0081a85..fc3933d7344 100644 --- a/src/plugins/projectexplorer/editorconfiguration.cpp +++ b/src/plugins/projectexplorer/editorconfiguration.cpp @@ -2,14 +2,16 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "editorconfiguration.h" + #include "project.h" -#include "projectexplorer.h" +#include "projectexplorertr.h" #include "session.h" #include #include #include + #include #include #include @@ -22,8 +24,6 @@ #include #include -#include -#include #include #include @@ -74,7 +74,7 @@ EditorConfiguration::EditorConfiguration() : d(std::make_uniquesetDelegatingPool(TextEditorSettings::codeStylePool(languageId)); preferences->setId(languageId.name() + "Project"); - preferences->setDisplayName(tr("Project %1", "Settings, %1 is a language (C++ or QML)").arg(factory->displayName())); + preferences->setDisplayName(Tr::tr("Project %1", "Settings, %1 is a language (C++ or QML)").arg(factory->displayName())); // project prefs by default point to global prefs (which in turn can delegate to anything else or not) preferences->setCurrentDelegate(originalPreferences); d->m_languageCodeStylePreferences.insert(languageId, preferences); @@ -83,7 +83,7 @@ EditorConfiguration::EditorConfiguration() : d(std::make_uniquem_defaultCodeStyle = new SimpleCodeStylePreferences(this); d->m_defaultCodeStyle->setDelegatingPool(TextEditorSettings::codeStylePool()); - d->m_defaultCodeStyle->setDisplayName(tr("Project", "Settings")); + d->m_defaultCodeStyle->setDisplayName(Tr::tr("Project", "Settings")); d->m_defaultCodeStyle->setId("Project"); // if setCurrentDelegate is 0 values are read from *this prefs d->m_defaultCodeStyle->setCurrentDelegate(TextEditorSettings::codeStyle()); diff --git a/src/plugins/projectexplorer/editorsettingspropertiespage.cpp b/src/plugins/projectexplorer/editorsettingspropertiespage.cpp index 3e6b0d0c4c1..52450b2bc89 100644 --- a/src/plugins/projectexplorer/editorsettingspropertiespage.cpp +++ b/src/plugins/projectexplorer/editorsettingspropertiespage.cpp @@ -2,8 +2,10 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "editorsettingspropertiespage.h" + #include "editorconfiguration.h" #include "project.h" +#include "projectexplorertr.h" #include #include @@ -27,12 +29,12 @@ EditorSettingsWidget::EditorSettingsWidget(Project *project) : m_project(project { setGlobalSettingsId(TextEditor::Constants::TEXT_EDITOR_BEHAVIOR_SETTINGS); - m_restoreButton = new QPushButton(tr("Restore Global")); + m_restoreButton = new QPushButton(Tr::tr("Restore Global")); - m_displaySettings = new QGroupBox(tr("Display Settings")); + m_displaySettings = new QGroupBox(Tr::tr("Display Settings")); m_displaySettings->setEnabled(false); - m_showWrapColumn = new QCheckBox(tr("Display right &margin at column:")); + m_showWrapColumn = new QCheckBox(Tr::tr("Display right &margin at column:")); m_tintMarginArea = new QCheckBox("Colorize right margin area"); @@ -40,8 +42,8 @@ EditorSettingsWidget::EditorSettingsWidget(Project *project) : m_project(project m_wrapColumn->setEnabled(false); m_wrapColumn->setMaximum(999); - m_useIndenter = new QCheckBox(tr("Use context-specific margin")); - m_useIndenter->setToolTip(tr("If available, use a different margin. For example, " + m_useIndenter = new QCheckBox(Tr::tr("Use context-specific margin")); + m_useIndenter->setToolTip(Tr::tr("If available, use a different margin. For example, " "the ColumnLimit from the ClangFormat plugin.")); m_behaviorSettings = new TextEditor::BehaviorSettingsWidget(this); diff --git a/src/plugins/projectexplorer/environmentaspect.cpp b/src/plugins/projectexplorer/environmentaspect.cpp index 4ff96d693c4..64d12e63bee 100644 --- a/src/plugins/projectexplorer/environmentaspect.cpp +++ b/src/plugins/projectexplorer/environmentaspect.cpp @@ -4,7 +4,7 @@ #include "environmentaspect.h" #include "environmentaspectwidget.h" -#include "target.h" +#include "projectexplorertr.h" #include #include @@ -22,7 +22,7 @@ namespace ProjectExplorer { EnvironmentAspect::EnvironmentAspect() { - setDisplayName(tr("Environment")); + setDisplayName(Tr::tr("Environment")); setId("EnvironmentAspect"); setConfigWidgetCreator([this] { return new EnvironmentAspectWidget(this); }); addDataExtractor(this, &EnvironmentAspect::environment, &Data::environment); diff --git a/src/plugins/projectexplorer/environmentaspectwidget.cpp b/src/plugins/projectexplorer/environmentaspectwidget.cpp index 922a8b33ba0..e192ddba312 100644 --- a/src/plugins/projectexplorer/environmentaspectwidget.cpp +++ b/src/plugins/projectexplorer/environmentaspectwidget.cpp @@ -4,6 +4,7 @@ #include "environmentaspectwidget.h" #include "environmentwidget.h" +#include "projectexplorertr.h" #include #include @@ -31,7 +32,7 @@ EnvironmentAspectWidget::EnvironmentAspectWidget(EnvironmentAspect *aspect) auto baseEnvironmentWidget = new QWidget; m_baseLayout = new QHBoxLayout(baseEnvironmentWidget); m_baseLayout->setContentsMargins(0, 0, 0, 0); - auto label = new QLabel(tr("Base environment for this run configuration:"), this); + auto label = new QLabel(Tr::tr("Base environment for this run configuration:"), this); m_baseLayout->addWidget(label); m_baseEnvironmentComboBox = new QComboBox; diff --git a/src/plugins/projectexplorer/environmentwidget.cpp b/src/plugins/projectexplorer/environmentwidget.cpp index a0e82bc5944..d3807824e65 100644 --- a/src/plugins/projectexplorer/environmentwidget.cpp +++ b/src/plugins/projectexplorer/environmentwidget.cpp @@ -3,6 +3,8 @@ #include "environmentwidget.h" +#include "projectexplorertr.h" + #include #include @@ -49,16 +51,15 @@ public: class PathListDialog : public QDialog { - Q_DECLARE_TR_FUNCTIONS(EnvironmentWidget) public: PathListDialog(const QString &varName, const QString &paths, QWidget *parent) : QDialog(parent) { const auto mainLayout = new QVBoxLayout(this); const auto viewLayout = new QHBoxLayout; const auto buttonsLayout = new QVBoxLayout; - const auto addButton = new QPushButton(tr("Add...")); - const auto removeButton = new QPushButton(tr("Remove")); - const auto editButton = new QPushButton(tr("Edit...")); + const auto addButton = new QPushButton(Tr::tr("Add...")); + const auto removeButton = new QPushButton(Tr::tr("Remove")); + const auto editButton = new QPushButton(Tr::tr("Edit...")); buttonsLayout->addWidget(addButton); buttonsLayout->addWidget(removeButton); buttonsLayout->addWidget(editButton); @@ -80,7 +81,7 @@ public: connect(buttonBox, &QDialogButtonBox::accepted, this, &QDialog::accept); connect(buttonBox, &QDialogButtonBox::rejected, this, &QDialog::reject); connect(addButton, &QPushButton::clicked, this, [this] { - const FilePath dir = FileUtils::getExistingDirectory(this, tr("Choose Directory")); + const FilePath dir = FileUtils::getExistingDirectory(this, Tr::tr("Choose Directory")); if (!dir.isEmpty()) addPath(dir.toUserOutput()); }); @@ -139,7 +140,7 @@ public: if (auto edit = qobject_cast(w)) edit->setValidator(new Utils::NameValueValidator( - edit, m_model, m_view, index, EnvironmentWidget::tr("Variable already exists."))); + edit, m_model, m_view, index, Tr::tr("Variable already exists."))); return w; } private: @@ -226,24 +227,24 @@ EnvironmentWidget::EnvironmentWidget(QWidget *parent, Type type, QWidget *additi auto buttonLayout = new QVBoxLayout(); d->m_editButton = new QPushButton(this); - d->m_editButton->setText(tr("Ed&it")); + d->m_editButton->setText(Tr::tr("Ed&it")); buttonLayout->addWidget(d->m_editButton); d->m_addButton = new QPushButton(this); - d->m_addButton->setText(tr("&Add")); + d->m_addButton->setText(Tr::tr("&Add")); buttonLayout->addWidget(d->m_addButton); d->m_resetButton = new QPushButton(this); d->m_resetButton->setEnabled(false); - d->m_resetButton->setText(tr("&Reset")); + d->m_resetButton->setText(Tr::tr("&Reset")); buttonLayout->addWidget(d->m_resetButton); d->m_unsetButton = new QPushButton(this); d->m_unsetButton->setEnabled(false); - d->m_unsetButton->setText(tr("&Unset")); + d->m_unsetButton->setText(Tr::tr("&Unset")); buttonLayout->addWidget(d->m_unsetButton); - d->m_toggleButton = new QPushButton(tr("Disable"), this); + d->m_toggleButton = new QPushButton(Tr::tr("Disable"), this); buttonLayout->addWidget(d->m_toggleButton); connect(d->m_toggleButton, &QPushButton::clicked, this, [this] { d->m_model->toggleVariable(d->m_environmentView->currentIndex()); @@ -253,11 +254,11 @@ EnvironmentWidget::EnvironmentWidget(QWidget *parent, Type type, QWidget *additi if (type == TypeLocal) { d->m_appendPathButton = new QPushButton(this); d->m_appendPathButton->setEnabled(false); - d->m_appendPathButton->setText(tr("Append Path...")); + d->m_appendPathButton->setText(Tr::tr("Append Path...")); buttonLayout->addWidget(d->m_appendPathButton); d->m_prependPathButton = new QPushButton(this); d->m_prependPathButton->setEnabled(false); - d->m_prependPathButton->setText(tr("Prepend Path...")); + d->m_prependPathButton->setText(Tr::tr("Prepend Path...")); buttonLayout->addWidget(d->m_prependPathButton); connect(d->m_appendPathButton, &QAbstractButton::clicked, this, &EnvironmentWidget::appendPathButtonClicked); @@ -266,12 +267,12 @@ EnvironmentWidget::EnvironmentWidget(QWidget *parent, Type type, QWidget *additi } d->m_batchEditButton = new QPushButton(this); - d->m_batchEditButton->setText(tr("&Batch Edit...")); + d->m_batchEditButton->setText(Tr::tr("&Batch Edit...")); buttonLayout->addWidget(d->m_batchEditButton); d->m_terminalButton = new QPushButton(this); - d->m_terminalButton->setText(tr("Open &Terminal")); - d->m_terminalButton->setToolTip(tr("Open a terminal with this environment set up.")); + d->m_terminalButton->setText(Tr::tr("Open &Terminal")); + d->m_terminalButton->setToolTip(Tr::tr("Open a terminal with this environment set up.")); d->m_terminalButton->setEnabled(true); buttonLayout->addWidget(d->m_terminalButton); buttonLayout->addStretch(); @@ -379,19 +380,19 @@ void EnvironmentWidget::updateSummaryText() text.append(QLatin1String("
")); switch (item.operation) { case Utils::EnvironmentItem::Unset: - text.append(tr("Unset %1").arg(item.name.toHtmlEscaped())); + text.append(Tr::tr("Unset %1").arg(item.name.toHtmlEscaped())); break; case Utils::EnvironmentItem::SetEnabled: - text.append(tr("Set %1 to %2").arg(item.name.toHtmlEscaped(), item.value.toHtmlEscaped())); + text.append(Tr::tr("Set %1 to %2").arg(item.name.toHtmlEscaped(), item.value.toHtmlEscaped())); break; case Utils::EnvironmentItem::Append: - text.append(tr("Append %2 to %1").arg(item.name.toHtmlEscaped(), item.value.toHtmlEscaped())); + text.append(Tr::tr("Append %2 to %1").arg(item.name.toHtmlEscaped(), item.value.toHtmlEscaped())); break; case Utils::EnvironmentItem::Prepend: - text.append(tr("Prepend %2 to %1").arg(item.name.toHtmlEscaped(), item.value.toHtmlEscaped())); + text.append(Tr::tr("Prepend %2 to %1").arg(item.name.toHtmlEscaped(), item.value.toHtmlEscaped())); break; case Utils::EnvironmentItem::SetDisabled: - text.append(tr("Set %1 to %2 [disabled]").arg(item.name.toHtmlEscaped(), item.value.toHtmlEscaped())); + text.append(Tr::tr("Set %1 to %2 [disabled]").arg(item.name.toHtmlEscaped(), item.value.toHtmlEscaped())); break; } } @@ -400,14 +401,14 @@ void EnvironmentWidget::updateSummaryText() if (text.isEmpty()) { //: %1 is "System Environment" or some such. if (!d->m_baseEnvironmentText.isEmpty()) - text.prepend(tr("Use %1").arg(d->m_baseEnvironmentText)); + text.prepend(Tr::tr("Use %1").arg(d->m_baseEnvironmentText)); else - text.prepend(tr("No environment changes")); + text.prepend(Tr::tr("No environment changes")); } else { //: Yup, word puzzle. The Set/Unset phrases above are appended to this. //: %1 is "System Environment" or some such. if (!d->m_baseEnvironmentText.isEmpty()) - text.prepend(tr("Use %1 and").arg(d->m_baseEnvironmentText)); + text.prepend(Tr::tr("Use %1 and").arg(d->m_baseEnvironmentText)); } d->m_detailsContainer->setSummaryText(text); @@ -467,7 +468,7 @@ void EnvironmentWidget::unsetEnvironmentButtonClicked() void EnvironmentWidget::amendPathList(Utils::NameValueItem::Operation op) { const QString varName = d->m_model->indexToVariable(d->m_environmentView->currentIndex()); - const FilePath dir = FileUtils::getExistingDirectory(this, tr("Choose Directory")); + const FilePath dir = FileUtils::getExistingDirectory(this, Tr::tr("Choose Directory")); if (dir.isEmpty()) return; Utils::NameValueItems changes = d->m_model->userChanges(); @@ -505,13 +506,13 @@ void EnvironmentWidget::environmentCurrentIndexChanged(const QModelIndex ¤ d->m_resetButton->setEnabled(modified || unset); d->m_unsetButton->setEnabled(!unset); d->m_toggleButton->setEnabled(!unset); - d->m_toggleButton->setText(d->m_model->isEnabled(name) ? tr("Disable") : tr("Enable")); + d->m_toggleButton->setText(d->m_model->isEnabled(name) ? Tr::tr("Disable") : Tr::tr("Enable")); } else { d->m_editButton->setEnabled(false); d->m_resetButton->setEnabled(false); d->m_unsetButton->setEnabled(false); d->m_toggleButton->setEnabled(false); - d->m_toggleButton->setText(tr("Disable")); + d->m_toggleButton->setText(Tr::tr("Disable")); } if (d->m_appendPathButton) { const bool isPathList = d->m_model->currentEntryIsPathList(current); diff --git a/src/plugins/projectexplorer/filesinallprojectsfind.cpp b/src/plugins/projectexplorer/filesinallprojectsfind.cpp index 1de5587c95e..720cfbabae8 100644 --- a/src/plugins/projectexplorer/filesinallprojectsfind.cpp +++ b/src/plugins/projectexplorer/filesinallprojectsfind.cpp @@ -4,6 +4,7 @@ #include "filesinallprojectsfind.h" #include "project.h" +#include "projectexplorertr.h" #include "session.h" #include @@ -24,7 +25,7 @@ QString FilesInAllProjectsFind::id() const QString FilesInAllProjectsFind::displayName() const { - return tr("Files in All Project Directories"); + return Tr::tr("Files in All Project Directories"); } const char kSettingsKey[] = "FilesInAllProjectDirectories"; @@ -62,7 +63,7 @@ Utils::FileIterator *FilesInAllProjectsFind::files(const QStringList &nameFilter QString FilesInAllProjectsFind::label() const { - return tr("Files in All Project Directories:"); + return Tr::tr("Files in All Project Directories:"); } } // namespace Internal diff --git a/src/plugins/projectexplorer/filterkitaspectsdialog.cpp b/src/plugins/projectexplorer/filterkitaspectsdialog.cpp index 18da9ef37b4..b773f59abc5 100644 --- a/src/plugins/projectexplorer/filterkitaspectsdialog.cpp +++ b/src/plugins/projectexplorer/filterkitaspectsdialog.cpp @@ -4,6 +4,7 @@ #include "filterkitaspectsdialog.h" #include "kitmanager.h" +#include "projectexplorertr.h" #include #include @@ -80,7 +81,7 @@ class FilterKitAspectsModel : public TreeModel public: FilterKitAspectsModel(const Kit *kit, QObject *parent) : TreeModel(parent) { - setHeader({FilterKitAspectsDialog::tr("Setting"), FilterKitAspectsDialog::tr("Visible")}); + setHeader({Tr::tr("Setting"), Tr::tr("Visible")}); for (const KitAspect * const aspect : KitManager::kitAspects()) { if (kit && !aspect->isApplicableToKit(kit)) continue; diff --git a/src/plugins/projectexplorer/gcctoolchain.cpp b/src/plugins/projectexplorer/gcctoolchain.cpp index f364f203bd8..3bbc33b7885 100644 --- a/src/plugins/projectexplorer/gcctoolchain.cpp +++ b/src/plugins/projectexplorer/gcctoolchain.cpp @@ -8,6 +8,7 @@ #include "devicesupport/idevice.h" #include "gccparser.h" #include "linuxiccparser.h" +#include "projectexplorertr.h" #include "projectmacro.h" #include "toolchainconfigwidget.h" #include "toolchainmanager.h" @@ -304,7 +305,7 @@ static FilePath gccInstallDir(const FilePath &compiler, GccToolChain::GccToolChain(Utils::Id typeId) : ToolChain(typeId) { - setTypeDisplayName(tr("GCC")); + setTypeDisplayName(Tr::tr("GCC")); setTargetAbiKey(targetAbiKeyC); setCompilerCommandKey("ProjectExplorer.GccToolChain.Path"); } @@ -346,7 +347,7 @@ QString GccToolChain::defaultDisplayName() const const Abi abi = targetAbi(); if (abi.architecture() == Abi::UnknownArchitecture || abi.wordWidth() == 0) return type; - return tr("%1 (%2, %3 %4 at %5)").arg(type, + return Tr::tr("%1 (%2, %3 %4 at %5)").arg(type, ToolChainManager::displayNameOfLanguageId(language()), Abi::toString(abi.architecture()), Abi::toString(abi.wordWidth()), @@ -1028,7 +1029,7 @@ static Utils::FilePaths renesasRl78SearchPathsFromRegistry() GccToolChainFactory::GccToolChainFactory() { - setDisplayName(GccToolChain::tr("GCC")); + setDisplayName(Tr::tr("GCC")); setSupportedToolChainType(Constants::GCC_TOOLCHAIN_TYPEID); setSupportedLanguages({Constants::C_LANGUAGE_ID, Constants::CXX_LANGUAGE_ID}); setToolchainConstructor([] { return new GccToolChain(Constants::GCC_TOOLCHAIN_TYPEID); }); @@ -1277,8 +1278,8 @@ public: const auto layout = new QHBoxLayout(this); layout->setContentsMargins(0, 0, 0, 0); m_tripleLineEdit.setEnabled(false); - m_overrideCheckBox.setText(tr("Override for code model")); - m_overrideCheckBox.setToolTip(tr("Enable in the rare case that the code model\n" + m_overrideCheckBox.setText(Tr::tr("Override for code model")); + m_overrideCheckBox.setToolTip(Tr::tr("Enable in the rare case that the code model\n" "fails because Clang does not understand the target architecture.")); layout->addWidget(&m_tripleLineEdit, 1); layout->addWidget(&m_overrideCheckBox); @@ -1321,15 +1322,15 @@ GccToolChainConfigWidget::GccToolChainConfigWidget(GccToolChain *tc) : m_compilerCommand->setCommandVersionArguments(gnuVersionArgs); m_compilerCommand->setHistoryCompleter("PE.Gcc.Command.History"); m_compilerCommand->setAllowPathFromDevice(true); - m_mainLayout->addRow(tr("&Compiler path:"), m_compilerCommand); + m_mainLayout->addRow(Tr::tr("&Compiler path:"), m_compilerCommand); m_platformCodeGenFlagsLineEdit = new QLineEdit(this); m_platformCodeGenFlagsLineEdit->setText(ProcessArgs::joinArgs(tc->platformCodeGenFlags())); - m_mainLayout->addRow(tr("Platform codegen flags:"), m_platformCodeGenFlagsLineEdit); + m_mainLayout->addRow(Tr::tr("Platform codegen flags:"), m_platformCodeGenFlagsLineEdit); m_platformLinkerFlagsLineEdit = new QLineEdit(this); m_platformLinkerFlagsLineEdit->setText(ProcessArgs::joinArgs(tc->platformLinkerFlags())); - m_mainLayout->addRow(tr("Platform linker flags:"), m_platformLinkerFlagsLineEdit); - m_mainLayout->addRow(tr("&ABI:"), m_abiWidget); - m_mainLayout->addRow(tr("Target triple:"), m_targetTripleWidget); + m_mainLayout->addRow(Tr::tr("Platform linker flags:"), m_platformLinkerFlagsLineEdit); + m_mainLayout->addRow(Tr::tr("&ABI:"), m_abiWidget); + m_mainLayout->addRow(Tr::tr("Target triple:"), m_targetTripleWidget); m_abiWidget->setEnabled(false); addErrorLabel(); @@ -1551,7 +1552,7 @@ ClangToolChain::ClangToolChain() : ClangToolChain::ClangToolChain(Utils::Id typeId) : GccToolChain(typeId) { - setTypeDisplayName(tr("Clang")); + setTypeDisplayName(Tr::tr("Clang")); syncAutodetectedWithParentToolchains(); } @@ -1743,7 +1744,7 @@ QList ClangToolChain::createOutputParsers() const ClangToolChainFactory::ClangToolChainFactory() { - setDisplayName(ClangToolChain::tr("Clang")); + setDisplayName(Tr::tr("Clang")); setSupportedToolChainType(Constants::CLANG_TOOLCHAIN_TYPEID); setSupportedLanguages({Constants::CXX_LANGUAGE_ID, Constants::C_LANGUAGE_ID}); setToolchainConstructor([] { return new ClangToolChain; }); @@ -1802,7 +1803,7 @@ ClangToolChainConfigWidget::ClangToolChainConfigWidget(ClangToolChain *tc) : m_parentToolchainCombo = new QComboBox(this); m_mainLayout->insertRow(m_mainLayout->rowCount() - 1, - tr("Parent toolchain:"), + Tr::tr("Parent toolchain:"), m_parentToolchainCombo); ToolChainManager *tcManager = ToolChainManager::instance(); @@ -1914,7 +1915,7 @@ void ClangToolChainConfigWidget::makeReadOnlyImpl() MingwToolChain::MingwToolChain() : GccToolChain(Constants::MINGW_TOOLCHAIN_TYPEID) { - setTypeDisplayName(MingwToolChain::tr("MinGW")); + setTypeDisplayName(Tr::tr("MinGW")); } QStringList MingwToolChain::suggestedMkspecList() const @@ -1940,7 +1941,7 @@ FilePath MingwToolChain::makeCommand(const Environment &environment) const MingwToolChainFactory::MingwToolChainFactory() { - setDisplayName(MingwToolChain::tr("MinGW")); + setDisplayName(Tr::tr("MinGW")); setSupportedToolChainType(Constants::MINGW_TOOLCHAIN_TYPEID); setSupportedLanguages({Constants::CXX_LANGUAGE_ID, Constants::C_LANGUAGE_ID}); setToolchainConstructor([] { return new MingwToolChain; }); @@ -1987,7 +1988,7 @@ Toolchains MingwToolChainFactory::detectForImport(const ToolChainDescription &tc LinuxIccToolChain::LinuxIccToolChain() : GccToolChain(Constants::LINUXICC_TOOLCHAIN_TYPEID) { - setTypeDisplayName(LinuxIccToolChain::tr("ICC")); + setTypeDisplayName(Tr::tr("ICC")); } /** @@ -2028,7 +2029,7 @@ QStringList LinuxIccToolChain::suggestedMkspecList() const LinuxIccToolChainFactory::LinuxIccToolChainFactory() { - setDisplayName(LinuxIccToolChain::tr("ICC")); + setDisplayName(Tr::tr("ICC")); setSupportedToolChainType(Constants::LINUXICC_TOOLCHAIN_TYPEID); setSupportedLanguages({Constants::CXX_LANGUAGE_ID, Constants::C_LANGUAGE_ID}); setToolchainConstructor([] { return new LinuxIccToolChain; }); diff --git a/src/plugins/projectexplorer/gcctoolchain.h b/src/plugins/projectexplorer/gcctoolchain.h index 9c02f5aff90..1c44e66aac3 100644 --- a/src/plugins/projectexplorer/gcctoolchain.h +++ b/src/plugins/projectexplorer/gcctoolchain.h @@ -45,8 +45,6 @@ inline const QStringList gccPredefinedMacrosOptions(Utils::Id languageId) class PROJECTEXPLORER_EXPORT GccToolChain : public ToolChain { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::GccToolChain) - public: GccToolChain(Utils::Id typeId); @@ -183,8 +181,6 @@ private: class PROJECTEXPLORER_EXPORT ClangToolChain : public GccToolChain { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::ClangToolChain) - public: ClangToolChain(); explicit ClangToolChain(Utils::Id typeId); @@ -236,8 +232,6 @@ private: class PROJECTEXPLORER_EXPORT MingwToolChain : public GccToolChain { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::MingwToolChain) - public: Utils::FilePath makeCommand(const Utils::Environment &environment) const override; @@ -256,8 +250,6 @@ private: class PROJECTEXPLORER_EXPORT LinuxIccToolChain : public GccToolChain { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::LinuxIccToolChain) - public: Utils::LanguageExtensions languageExtensions(const QStringList &cxxflags) const override; QList createOutputParsers() const override; diff --git a/src/plugins/projectexplorer/importwidget.cpp b/src/plugins/projectexplorer/importwidget.cpp index 96e0cc611e0..623476b6748 100644 --- a/src/plugins/projectexplorer/importwidget.cpp +++ b/src/plugins/projectexplorer/importwidget.cpp @@ -3,6 +3,8 @@ #include "importwidget.h" +#include "projectexplorertr.h" + #include #include @@ -23,7 +25,7 @@ ImportWidget::ImportWidget(QWidget *parent) : vboxLayout->setContentsMargins(0, 0, 0, 0); auto detailsWidget = new Utils::DetailsWidget(this); detailsWidget->setUseCheckBox(false); - detailsWidget->setSummaryText(tr("Import Build From...")); + detailsWidget->setSummaryText(Tr::tr("Import Build From...")); detailsWidget->setSummaryFontBold(true); // m_detailsWidget->setIcon(); // FIXME: Set icon! vboxLayout->addWidget(detailsWidget); @@ -35,7 +37,7 @@ ImportWidget::ImportWidget(QWidget *parent) : m_pathChooser->setExpectedKind(Utils::PathChooser::ExistingDirectory); m_pathChooser->setHistoryCompleter(QLatin1String("Import.SourceDir.History")); - auto importButton = new QPushButton(tr("Import"), widget); + auto importButton = new QPushButton(Tr::tr("Import"), widget); layout->addWidget(importButton); connect(importButton, &QAbstractButton::clicked, this, &ImportWidget::handleImportRequest); diff --git a/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp b/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp index 3cec46243e9..5681481b0c3 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp @@ -8,10 +8,12 @@ #include "jsonwizardfactory.h" #include "../project.h" +#include "../projectexplorertr.h" #include "../projecttree.h" #include #include + #include #include #include @@ -153,30 +155,25 @@ QVariant JsonFieldPage::Field::toSettings() const JsonFieldPage::Field *JsonFieldPage::Field::parse(const QVariant &input, QString *errorMessage) { if (input.type() != QVariant::Map) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "Field is not an object."); + *errorMessage = Tr::tr("Field is not an object."); return nullptr; } QVariantMap tmp = input.toMap(); const QString name = consumeValue(tmp, NAME_KEY).toString(); if (name.isEmpty()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "Field has no name."); + *errorMessage = Tr::tr("Field has no name."); return nullptr; } const QString type = consumeValue(tmp, TYPE_KEY).toString(); if (type.isEmpty()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "Field \"%1\" has no type.").arg(name); + *errorMessage = Tr::tr("Field \"%1\" has no type.").arg(name); return nullptr; } Field *data = createFieldData(type); if (!data) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "Field \"%1\" has unsupported type \"%2\".") - .arg(name).arg(type); + *errorMessage = Tr::tr("Field \"%1\" has unsupported type \"%2\".").arg(name).arg(type); return nullptr; } data->setTexts(name, @@ -193,9 +190,7 @@ JsonFieldPage::Field *JsonFieldPage::Field::parse(const QVariant &input, QString QVariant dataVal = consumeValue(tmp, DATA_KEY); if (!data->parseData(dataVal, errorMessage)) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "When parsing Field \"%1\": %2") - .arg(name).arg(*errorMessage); + *errorMessage = Tr::tr("When parsing Field \"%1\": %2").arg(name).arg(*errorMessage); delete data; return nullptr; } @@ -403,9 +398,7 @@ QDebug &operator<<(QDebug &debug, const JsonFieldPage::Field &field) bool LabelField::parseData(const QVariant &data, QString *errorMessage) { if (data.type() != QVariant::Map) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "Label (\"%1\") data is not an object.") - .arg(name()); + *errorMessage = Tr::tr("Label (\"%1\") data is not an object.").arg(name()); return false; } @@ -415,9 +408,7 @@ bool LabelField::parseData(const QVariant &data, QString *errorMessage) m_text = JsonWizardFactory::localizedString(consumeValue(tmp, "trText")); if (m_text.isEmpty()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "Label (\"%1\") has no trText.") - .arg(name()); + *errorMessage = Tr::tr("Label (\"%1\") has no trText.").arg(name()); return false; } warnAboutUnsupportedKeys(tmp, name(), type()); @@ -445,9 +436,7 @@ bool SpacerField::parseData(const QVariant &data, QString *errorMessage) return true; if (data.type() != QVariant::Map) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "Spacer (\"%1\") data is not an object.") - .arg(name()); + *errorMessage = Tr::tr("Spacer (\"%1\") data is not an object.").arg(name()); return false; } @@ -457,8 +446,7 @@ bool SpacerField::parseData(const QVariant &data, QString *errorMessage) m_factor = consumeValue(tmp, "factor", 1).toInt(&ok); if (!ok) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "Spacer (\"%1\") property \"factor\" is no integer value.") + *errorMessage = Tr::tr("Spacer (\"%1\") property \"factor\" is no integer value.") .arg(name()); return false; } @@ -493,9 +481,7 @@ bool LineEditField::parseData(const QVariant &data, QString *errorMessage) return true; if (data.type() != QVariant::Map) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "LineEdit (\"%1\") data is not an object.") - .arg(name()); + *errorMessage = Tr::tr("LineEdit (\"%1\") data is not an object.").arg(name()); return false; } @@ -511,8 +497,8 @@ bool LineEditField::parseData(const QVariant &data, QString *errorMessage) if (!pattern.isEmpty()) { m_validatorRegExp = QRegularExpression('^' + pattern + '$'); if (!m_validatorRegExp.isValid()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "LineEdit (\"%1\") has an invalid regular expression \"%2\" in \"validator\".") + *errorMessage = Tr::tr( + "LineEdit (\"%1\") has an invalid regular expression \"%2\" in \"validator\".") .arg(name(), pattern); m_validatorRegExp = QRegularExpression(); return false; @@ -526,8 +512,7 @@ bool LineEditField::parseData(const QVariant &data, QString *errorMessage) } else if (completion == "namespaces") { m_completion = Completion::Namespaces; } else if (!completion.isEmpty()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "LineEdit (\"%1\") has an invalid value \"%2\" in \"completion\".") + *errorMessage = Tr::tr("LineEdit (\"%1\") has an invalid value \"%2\" in \"completion\".") .arg(name(), completion); return false; } @@ -704,8 +689,7 @@ bool TextEditField::parseData(const QVariant &data, QString *errorMessage) return true; if (data.type() != QVariant::Map) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "TextEdit (\"%1\") data is not an object.") + *errorMessage = Tr::tr("TextEdit (\"%1\") data is not an object.") .arg(name()); return false; } @@ -788,8 +772,7 @@ bool PathChooserField::parseData(const QVariant &data, QString *errorMessage) return true; if (data.type() != QVariant::Map) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "PathChooser data is not an object."); + *errorMessage = Tr::tr("PathChooser data is not an object."); return false; } @@ -815,10 +798,9 @@ bool PathChooserField::parseData(const QVariant &data, QString *errorMessage) } else if (kindStr == "any") { m_kind = PathChooser::Any; } else { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "kind \"%1\" is not one of the supported \"existingDirectory\", " - "\"directory\", \"file\", \"saveFile\", \"existingCommand\", " - "\"command\", \"any\".") + *errorMessage = Tr::tr("kind \"%1\" is not one of the supported \"existingDirectory\", " + "\"directory\", \"file\", \"saveFile\", \"existingCommand\", " + "\"command\", \"any\".") .arg(kindStr); return false; } @@ -895,9 +877,7 @@ bool CheckBoxField::parseData(const QVariant &data, QString *errorMessage) return true; if (data.type() != QVariant::Map) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "CheckBox (\"%1\") data is not an object.") - .arg(name()); + *errorMessage = Tr::tr("CheckBox (\"%1\") data is not an object.").arg(name()); return false; } @@ -906,8 +886,7 @@ bool CheckBoxField::parseData(const QVariant &data, QString *errorMessage) m_checkedValue = consumeValue(tmp, "checkedValue", true).toString(); m_uncheckedValue = consumeValue(tmp, "uncheckedValue", false).toString(); if (m_checkedValue == m_uncheckedValue) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "CheckBox (\"%1\") values for checked and unchecked state are identical.") + *errorMessage = Tr::tr("CheckBox (\"%1\") values for checked and unchecked state are identical.") .arg(name()); return false; } @@ -987,8 +966,7 @@ QVariant CheckBoxField::toSettings() const std::unique_ptr createStandardItemFromListItem(const QVariant &item, QString *errorMessage) { if (item.type() == QVariant::List) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "No JSON lists allowed inside List items."); + *errorMessage = Tr::tr("No JSON lists allowed inside List items."); return {}; } auto standardItem = std::make_unique(); @@ -998,8 +976,7 @@ std::unique_ptr createStandardItemFromListItem(const QVariant &it const QVariant value = consumeValue(tmp, "value", key); if (key.isNull() || key.isEmpty()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "No \"key\" found in List items."); + *errorMessage = Tr::tr("No \"key\" found in List items."); return {}; } standardItem->setText(key); @@ -1024,9 +1001,7 @@ ListField::~ListField() = default; bool ListField::parseData(const QVariant &data, QString *errorMessage) { if (data.type() != QVariant::Map) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "%1 (\"%2\") data is not an object.") - .arg(type(), name()); + *errorMessage = Tr::tr("%1 (\"%2\") data is not an object.").arg(type(), name()); return false; } @@ -1035,30 +1010,24 @@ bool ListField::parseData(const QVariant &data, QString *errorMessage) bool ok; m_index = consumeValue(tmp, "index", 0).toInt(&ok); if (!ok) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "%1 (\"%2\") \"index\" is not an integer value.") + *errorMessage = Tr::tr("%1 (\"%2\") \"index\" is not an integer value.") .arg(type(), name()); return false; } m_disabledIndex = consumeValue(tmp, "disabledIndex", -1).toInt(&ok); if (!ok) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "%1 (\"%2\") \"disabledIndex\" is not an integer value.") + *errorMessage = Tr::tr("%1 (\"%2\") \"disabledIndex\" is not an integer value.") .arg(type(), name()); return false; } const QVariant value = consumeValue(tmp, "items"); if (value.isNull()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "%1 (\"%2\") \"items\" missing.") - .arg(type(), name()); + *errorMessage = Tr::tr("%1 (\"%2\") \"items\" missing.").arg(type(), name()); return false; } if (value.type() != QVariant::List) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "%1 (\"%2\") \"items\" is not a JSON list.") - .arg(type(), name()); + *errorMessage = Tr::tr("%1 (\"%2\") \"items\" is not a JSON list.").arg(type(), name()); return false; } diff --git a/src/plugins/projectexplorer/jsonwizard/jsonkitspage.cpp b/src/plugins/projectexplorer/jsonwizard/jsonkitspage.cpp index 1b1ee191442..aa757eefd0e 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonkitspage.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonkitspage.cpp @@ -6,7 +6,7 @@ #include "../kit.h" #include "../project.h" -#include "../projectexplorer.h" +#include "../projectexplorertr.h" #include "../projectmanager.h" #include @@ -43,12 +43,12 @@ void JsonKitsPage::initializePage() setTasksGenerator([required, preferred, platform](const Kit *k) -> Tasks { if (!k->hasFeatures(required)) - return {CompileTask(Task::Error, tr("At least one required feature is not present."))}; + return {CompileTask(Task::Error, Tr::tr("At least one required feature is not present."))}; if (!k->supportedPlatforms().contains(platform)) - return {CompileTask(Task::Unknown, tr("Platform is not supported."))}; + return {CompileTask(Task::Unknown, Tr::tr("Platform is not supported."))}; if (!k->hasFeatures(preferred)) return { - CompileTask(Task::Unknown, tr("At least one preferred feature is not present."))}; + CompileTask(Task::Unknown, Tr::tr("At least one preferred feature is not present."))}; return {}; }); setProjectPath(wiz->expander()->expand(Utils::FilePath::fromString(unexpandedProjectPath()))); @@ -126,7 +126,7 @@ QVector JsonKitsPage::parseFeatures(const QVar return result; if (data.type() != QVariant::List) { if (errorMessage) - *errorMessage = tr("Feature list is set and not of type list."); + *errorMessage = Tr::tr("Feature list is set and not of type list."); return result; } @@ -139,7 +139,7 @@ QVector JsonKitsPage::parseFeatures(const QVar const QString feature = obj.value(QLatin1String(KEY_FEATURE)).toString(); if (feature.isEmpty()) { if (errorMessage) { - *errorMessage = tr("No \"%1\" key found in feature list object.") + *errorMessage = Tr::tr("No \"%1\" key found in feature list object.") .arg(QLatin1String(KEY_FEATURE)); } return QVector(); @@ -148,7 +148,7 @@ QVector JsonKitsPage::parseFeatures(const QVar result.append({ feature, obj.value(QLatin1String(KEY_CONDITION), true) }); } else { if (errorMessage) - *errorMessage = tr("Feature list element is not a string or object."); + *errorMessage = Tr::tr("Feature list element is not a string or object."); return QVector(); } } diff --git a/src/plugins/projectexplorer/jsonwizard/jsonprojectpage.cpp b/src/plugins/projectexplorer/jsonwizard/jsonprojectpage.cpp index c60a5530509..a42833b6674 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonprojectpage.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonprojectpage.cpp @@ -2,7 +2,9 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "jsonprojectpage.h" + #include "jsonwizard.h" +#include "../projectexplorertr.h" #include @@ -50,7 +52,7 @@ QString JsonProjectPage::uniqueProjectName(const QString &path) //: File path suggestion for a new project. If you choose //: to translate it, make sure it is a valid path name without blanks //: and using only ascii chars. - const QString prefix = tr("untitled"); + const QString prefix = Tr::tr("untitled"); for (unsigned i = 0; ; ++i) { QString name = prefix; if (i) diff --git a/src/plugins/projectexplorer/jsonwizard/jsonsummarypage.cpp b/src/plugins/projectexplorer/jsonwizard/jsonsummarypage.cpp index 4d4c0b28e59..024044d7a0a 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonsummarypage.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonsummarypage.cpp @@ -6,12 +6,11 @@ #include "jsonwizard.h" #include "../project.h" #include "../projectexplorerconstants.h" +#include "../projectexplorertr.h" #include "../projectnodes.h" #include "../projecttree.h" #include "../session.h" -#include "../projecttree.h" - #include #include @@ -152,8 +151,8 @@ void JsonSummaryPage::triggerCommit(const JsonWizard::GeneratorFiles &files) QString errorMessage; if (!runVersionControl(coreFiles, &errorMessage)) { - QMessageBox::critical(wizard(), tr("Failed to Commit to Version Control"), - tr("Error message from Version Control System: \"%1\".") + QMessageBox::critical(wizard(), Tr::tr("Failed to Commit to Version Control"), + Tr::tr("Error message from Version Control System: \"%1\".") .arg(errorMessage)); } } @@ -169,8 +168,8 @@ void JsonSummaryPage::addToProject(const JsonWizard::GeneratorFiles &files) return; if (kind == IWizardFactory::ProjectWizard) { if (!static_cast(folder)->addSubProject(generatedProject)) { - QMessageBox::critical(m_wizard, tr("Failed to Add to Project"), - tr("Failed to add subproject \"%1\"\nto project \"%2\".") + QMessageBox::critical(m_wizard, Tr::tr("Failed to Add to Project"), + Tr::tr("Failed to add subproject \"%1\"\nto project \"%2\".") .arg(generatedProject.toUserOutput()) .arg(folder->filePath().toUserOutput())); return; @@ -181,8 +180,8 @@ void JsonSummaryPage::addToProject(const JsonWizard::GeneratorFiles &files) return f.file.filePath(); }); if (!folder->addFiles(filePaths)) { - QMessageBox::critical(wizard(), tr("Failed to Add to Project"), - tr("Failed to add one or more files to project\n\"%1\" (%2).") + QMessageBox::critical(wizard(), Tr::tr("Failed to Add to Project"), + Tr::tr("Failed to add one or more files to project\n\"%1\" (%2).") .arg(folder->filePath().toUserOutput(), FilePath::formatFilePaths(filePaths, ", "))); return; diff --git a/src/plugins/projectexplorer/jsonwizard/jsonwizard.cpp b/src/plugins/projectexplorer/jsonwizard/jsonwizard.cpp index 45134d9ccce..5377c711c09 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonwizard.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonwizard.cpp @@ -5,11 +5,12 @@ #include "jsonwizardfactory.h" #include "jsonwizardgeneratorfactory.h" - #include "../project.h" #include "../projectexplorer.h" #include "../projectexplorerconstants.h" +#include "../projectexplorertr.h" #include "../projecttree.h" + #include #include #include @@ -71,7 +72,7 @@ public: ProjectFilesModel(const QList &candidates, QObject *parent) : TreeModel(parent) { - setHeader({QCoreApplication::translate("ProjectExplorer::JsonWizard", "Project File")}); + setHeader({Tr::tr("Project File")}); for (JsonWizard::GeneratorFile * const candidate : candidates) rootItem()->appendChild(new ProjectFileTreeItem(candidate)); } @@ -83,8 +84,7 @@ public: ProjectFileChooser(const QList &candidates, QWidget *parent) : QDialog(parent), m_view(new TreeView(this)) { - setWindowTitle(QCoreApplication::translate("ProjectExplorer::JsonWizard", - "Choose Project File")); + setWindowTitle(Tr::tr("Choose Project File")); const auto model = new ProjectFilesModel(candidates, this); m_view->setSelectionMode(TreeView::ExtendedSelection); m_view->setSelectionBehavior(TreeView::SelectRows); @@ -99,7 +99,7 @@ public: updateOkButton(); connect(buttonBox, &QDialogButtonBox::accepted, this, &QDialog::accept); const auto layout = new QVBoxLayout(this); - layout->addWidget(new QLabel(QCoreApplication::translate("ProjectExplorer::JsonWizard", + layout->addWidget(new QLabel(Tr::tr( "The project contains more than one project file. " "Select the one you would like to use."))); layout->addWidget(m_view); @@ -132,7 +132,7 @@ JsonWizard::JsonWizard(QWidget *parent) *ret = stringValue(name); return !ret->isNull(); }); - m_expander.registerPrefix("Exists", tr("Check whether a variable exists.
" + m_expander.registerPrefix("Exists", Tr::tr("Check whether a variable exists.
" "Returns \"true\" if it does and an empty string if not."), [this](const QString &value) -> QString { @@ -171,7 +171,7 @@ JsonWizard::GeneratorFiles JsonWizard::generateFileList() const FilePath targetPath = FilePath::fromString(stringValue(QLatin1String("TargetPath"))); if (targetPath.isEmpty()) - errorMessage = tr("Could not determine target path. \"TargetPath\" was not set on any page."); + errorMessage = Tr::tr("Could not determine target path. \"TargetPath\" was not set on any page."); if (m_files.isEmpty() && errorMessage.isEmpty()) { emit preGenerateFiles(); @@ -188,8 +188,8 @@ JsonWizard::GeneratorFiles JsonWizard::generateFileList() } if (!errorMessage.isEmpty()) { - QMessageBox::critical(this, tr("File Generation Failed"), - tr("The wizard failed to generate files.
" + QMessageBox::critical(this, Tr::tr("File Generation Failed"), + Tr::tr("The wizard failed to generate files.
" "The error message was: \"%1\".").arg(errorMessage)); reject(); return GeneratorFiles(); @@ -252,8 +252,7 @@ QList JsonWizard::parseOptions(const QVariant &v, odef.m_evaluate = optionObject.value(QLatin1String("evaluate"), false); if (odef.m_key.isEmpty()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::Internal::JsonWizardFileGenerator", - "No 'key' in options object."); + *errorMessage = Tr::tr("No 'key' in options object."); result.clear(); break; } @@ -341,40 +340,40 @@ void JsonWizard::accept() JsonWizardGenerator::promptForOverwrite(&m_files, &errorMessage); if (overwrite != JsonWizardGenerator::OverwriteOk) { if (!errorMessage.isEmpty()) - QMessageBox::warning(this, tr("Failed to Overwrite Files"), errorMessage); + QMessageBox::warning(this, Tr::tr("Failed to Overwrite Files"), errorMessage); return; } emit preFormatFiles(m_files); if (!JsonWizardGenerator::formatFiles(this, &m_files, &errorMessage)) { if (!errorMessage.isEmpty()) - QMessageBox::warning(this, tr("Failed to Format Files"), errorMessage); + QMessageBox::warning(this, Tr::tr("Failed to Format Files"), errorMessage); return; } emit preWriteFiles(m_files); if (!JsonWizardGenerator::writeFiles(this, &m_files, &errorMessage)) { if (!errorMessage.isEmpty()) - QMessageBox::warning(this, tr("Failed to Write Files"), errorMessage); + QMessageBox::warning(this, Tr::tr("Failed to Write Files"), errorMessage); return; } emit postProcessFiles(m_files); if (!JsonWizardGenerator::postWrite(this, &m_files, &errorMessage)) { if (!errorMessage.isEmpty()) - QMessageBox::warning(this, tr("Failed to Post-Process Files"), errorMessage); + QMessageBox::warning(this, Tr::tr("Failed to Post-Process Files"), errorMessage); return; } emit filesReady(m_files); if (!JsonWizardGenerator::polish(this, &m_files, &errorMessage)) { if (!errorMessage.isEmpty()) - QMessageBox::warning(this, tr("Failed to Polish Files"), errorMessage); + QMessageBox::warning(this, Tr::tr("Failed to Polish Files"), errorMessage); return; } emit filesPolished(m_files); if (!JsonWizardGenerator::allDone(this, &m_files, &errorMessage)) { if (!errorMessage.isEmpty()) - QMessageBox::warning(this, tr("Failed to Open Files"), errorMessage); + QMessageBox::warning(this, Tr::tr("Failed to Open Files"), errorMessage); return; } emit allDone(m_files); @@ -428,8 +427,7 @@ void JsonWizard::openFiles(const JsonWizard::GeneratorFiles &files) for (const JsonWizard::GeneratorFile &f : files) { const Core::GeneratedFile &file = f.file; if (!file.filePath().exists()) { - errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizard", - "\"%1\" does not exist in the file system.") + errorMessage = Tr::tr("\"%1\" does not exist in the file system.") .arg(file.filePath().toUserOutput()); break; } @@ -439,8 +437,7 @@ void JsonWizard::openFiles(const JsonWizard::GeneratorFiles &files) if (!result) { errorMessage = result.errorMessage(); if (errorMessage.isEmpty()) { - errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizard", - "Failed to open \"%1\" as a project.") + errorMessage = Tr::tr("Failed to open \"%1\" as a project.") .arg(file.filePath().toUserOutput()); } break; @@ -452,8 +449,7 @@ void JsonWizard::openFiles(const JsonWizard::GeneratorFiles &files) Core::IEditor *editor = Core::EditorManager::openEditor(file.filePath(), file.editorId()); if (!editor) { - errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizard", - "Failed to open an editor for \"%1\".") + errorMessage = Tr::tr("Failed to open an editor for \"%1\".") .arg(file.filePath().toUserOutput()); break; } else if (file.attributes() & Core::GeneratedFile::TemporaryFile) { @@ -468,15 +464,13 @@ void JsonWizard::openFiles(const JsonWizard::GeneratorFiles &files) // Now try to find the project file and open if (!openedSomething) { - errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizard", - "No file to open found in \"%1\".") - .arg(path); + errorMessage = Tr::tr("No file to open found in \"%1\".").arg(path); } if (!errorMessage.isEmpty()) { - const QString text = path.isEmpty() ? tr("Failed to open project.") - : tr("Failed to open project in \"%1\".").arg(path); - QMessageBox msgBox(QMessageBox::Warning, tr("Cannot Open Project"), text); + const QString text = path.isEmpty() ? Tr::tr("Failed to open project.") + : Tr::tr("Failed to open project in \"%1\".").arg(path); + QMessageBox msgBox(QMessageBox::Warning, Tr::tr("Cannot Open Project"), text); msgBox.setDetailedText(errorMessage); msgBox.addButton(QMessageBox::Ok); msgBox.exec(); @@ -497,10 +491,9 @@ void JsonWizard::openProjectForNode(Node *node) std::optional projFilePath = projNode->visibleAfterAddFileAction(); if (projFilePath && !Core::EditorManager::openEditor(projFilePath.value())) { - auto errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizard", - "Failed to open an editor for \"%1\".") + auto errorMessage = Tr::tr("Failed to open an editor for \"%1\".") .arg(QDir::toNativeSeparators(projFilePath.value().toString())); - QMessageBox::warning(nullptr, tr("Cannot Open Project"), errorMessage); + QMessageBox::warning(nullptr, Tr::tr("Cannot Open Project"), errorMessage); } } diff --git a/src/plugins/projectexplorer/jsonwizard/jsonwizardfactory.cpp b/src/plugins/projectexplorer/jsonwizard/jsonwizardfactory.cpp index bba2d5efb19..eb0466704c5 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonwizardfactory.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonwizardfactory.cpp @@ -6,8 +6,8 @@ #include "jsonwizard.h" #include "jsonwizardgeneratorfactory.h" #include "jsonwizardpagefactory.h" - #include "../projectexplorerconstants.h" +#include "../projectexplorertr.h" #include #include @@ -103,22 +103,21 @@ static JsonWizardFactory::Generator parseGenerator(const QVariant &value, QStrin JsonWizardFactory::Generator gen; if (value.type() != QVariant::Map) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizardFactory", "Generator is not a object."); + *errorMessage = Tr::tr("Generator is not a object."); return gen; } QVariantMap data = value.toMap(); QString strVal = data.value(QLatin1String(TYPE_ID_KEY)).toString(); if (strVal.isEmpty()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizardFactory", "Generator has no typeId set."); + *errorMessage = Tr::tr("Generator has no typeId set."); return gen; } Id typeId = Id::fromString(QLatin1String(Constants::GENERATOR_ID_PREFIX) + strVal); JsonWizardGeneratorFactory *factory = findOr(s_generatorFactories, nullptr, [typeId](JsonWizardGeneratorFactory *f) { return f->canCreate(typeId); }); if (!factory) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizardFactory", - "TypeId \"%1\" of generator is unknown. Supported typeIds are: \"%2\".") + *errorMessage = Tr::tr("TypeId \"%1\" of generator is unknown. Supported typeIds are: \"%2\".") .arg(strVal) .arg(supportedTypeIds(s_generatorFactories).replace(QLatin1String(Constants::GENERATOR_ID_PREFIX), QLatin1String(""))); return gen; @@ -153,7 +152,7 @@ QVariantMap JsonWizardFactory::loadDefaultValues(const QString &fileName) FilePath dir = FilePath::fromString(path.toString()); if (!dir.exists()) { if (verbose()) - verboseLog.append(tr("Path \"%1\" does not exist when checking Json wizard search paths.\n") + verboseLog.append(Tr::tr("Path \"%1\" does not exist when checking Json wizard search paths.\n") .arg(path.toUserOutput())); continue; } @@ -164,7 +163,7 @@ QVariantMap JsonWizardFactory::loadDefaultValues(const QString &fileName) while (!dirs.isEmpty()) { const FilePath current = dirs.takeFirst(); if (verbose()) - verboseLog.append(tr("Checking \"%1\" for %2.\n") + verboseLog.append(Tr::tr("Checking \"%1\" for %2.\n") .arg(QDir::toNativeSeparators(current.absolutePath().toString())) .arg(fileName)); if (current.pathAppended(fileName).exists()) { @@ -186,7 +185,7 @@ QVariantMap JsonWizardFactory::loadDefaultValues(const QString &fileName) ++column; } } - verboseLog.append(tr("* Failed to parse \"%1\":%2:%3: %4\n") + verboseLog.append(Tr::tr("* Failed to parse \"%1\":%2:%3: %4\n") .arg(configFile.fileName()) .arg(line).arg(column) .arg(error.errorString())); @@ -194,13 +193,13 @@ QVariantMap JsonWizardFactory::loadDefaultValues(const QString &fileName) } if (!json.isObject()) { - verboseLog.append(tr("* Did not find a JSON object in \"%1\".\n") + verboseLog.append(Tr::tr("* Did not find a JSON object in \"%1\".\n") .arg(configFile.fileName())); continue; } if (verbose()) - verboseLog.append(tr("* Configuration found and parsed.\n")); + verboseLog.append(Tr::tr("* Configuration found and parsed.\n")); return json.object().toVariantMap(); } @@ -210,7 +209,7 @@ QVariantMap JsonWizardFactory::loadDefaultValues(const QString &fileName) dirs.swap(subDirs); dirs.append(subDirs); } else if (verbose()) { - verboseLog.append(tr("JsonWizard: \"%1\" not found\n").arg(fileName)); + verboseLog.append(Tr::tr("JsonWizard: \"%1\" not found\n").arg(fileName)); } } } @@ -306,7 +305,7 @@ JsonWizardFactory::Page JsonWizardFactory::parsePage(const QVariant &value, QStr JsonWizardFactory::Page p; if (value.type() != QVariant::Map) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizardFactory", "Page is not an object."); + *errorMessage = Tr::tr("Page is not an object."); return p; } @@ -318,7 +317,7 @@ JsonWizardFactory::Page JsonWizardFactory::parsePage(const QVariant &value, QStr const QString strVal = getDataValue(QLatin1String(TYPE_ID_KEY), data, defaultData).toString(); if (strVal.isEmpty()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizardFactory", "Page has no typeId set."); + *errorMessage = Tr::tr("Page has no typeId set."); return p; } Id typeId = Id::fromString(QLatin1String(Constants::PAGE_ID_PREFIX) + strVal); @@ -326,8 +325,7 @@ JsonWizardFactory::Page JsonWizardFactory::parsePage(const QVariant &value, QStr JsonWizardPageFactory *factory = Utils::findOr(s_pageFactories, nullptr, [typeId](JsonWizardPageFactory *f) { return f->canCreate(typeId); }); if (!factory) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizardFactory", - "TypeId \"%1\" of page is unknown. Supported typeIds are: \"%2\".") + *errorMessage = Tr::tr("TypeId \"%1\" of page is unknown. Supported typeIds are: \"%2\".") .arg(strVal) .arg(supportedTypeIds(s_pageFactories).replace(QLatin1String(Constants::PAGE_ID_PREFIX), QLatin1String(""))); return p; @@ -340,7 +338,7 @@ JsonWizardFactory::Page JsonWizardFactory::parsePage(const QVariant &value, QStr bool ok; int index = getDataValue(QLatin1String(PAGE_INDEX_KEY), data, defaultData, -1).toInt(&ok); if (!ok) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizardFactory", "Page with typeId \"%1\" has invalid \"index\".") + *errorMessage = Tr::tr("Page with typeId \"%1\" has invalid \"index\".") .arg(typeId.toString()); return p; } @@ -387,7 +385,7 @@ void JsonWizardFactory::createWizardFactories() if (!path.exists()) { if (verbose()) - verboseLog.append(tr("Path \"%1\" does not exist when checking Json wizard search paths.\n") + verboseLog.append(Tr::tr("Path \"%1\" does not exist when checking Json wizard search paths.\n") .arg(path.toUserOutput())); continue; } @@ -414,7 +412,7 @@ void JsonWizardFactory::createWizardFactories() ++column; } } - verboseLog.append(tr("* Failed to parse \"%1\":%2:%3: %4\n") + verboseLog.append(Tr::tr("* Failed to parse \"%1\":%2:%3: %4\n") .arg(currentFile.fileName()) .arg(line).arg(column) .arg(error.errorString())); @@ -422,19 +420,19 @@ void JsonWizardFactory::createWizardFactories() } if (!json.isObject()) { - verboseLog.append(tr("* Did not find a JSON object in \"%1\".\n") + verboseLog.append(Tr::tr("* Did not find a JSON object in \"%1\".\n") .arg(currentFile.fileName())); continue; } if (verbose()) - verboseLog.append(tr("* Configuration found and parsed.\n")); + verboseLog.append(Tr::tr("* Configuration found and parsed.\n")); QVariantMap data = json.object().toVariantMap(); int version = data.value(QLatin1String(VERSION_KEY), 0).toInt(); if (version < 1 || version > 1) { - verboseLog.append(tr("* Version %1 not supported.\n").arg(version)); + verboseLog.append(Tr::tr("* Version %1 not supported.\n").arg(version)); continue; } @@ -649,13 +647,13 @@ QList JsonWizardFactory::objectOrList(const QVariant &data, QString *e { QList result; if (data.isNull()) - *errorMessage = tr("key not found."); + *errorMessage = Tr::tr("key not found."); else if (data.type() == QVariant::Map) result.append(data); else if (data.type() == QVariant::List) result = data.toList(); else - *errorMessage = tr("Expected an object or a list."); + *errorMessage = Tr::tr("Expected an object or a list."); return result; } @@ -675,7 +673,7 @@ QString JsonWizardFactory::localizedString(const QVariant &value) } return QString(); } - return QCoreApplication::translate("ProjectExplorer::JsonWizard", value.toByteArray()); + return Tr::tr(value.toByteArray()); } bool JsonWizardFactory::isAvailable(Id platformId) const @@ -685,11 +683,11 @@ bool JsonWizardFactory::isAvailable(Id platformId) const MacroExpander expander; MacroExpander *e = &expander; - expander.registerVariable("Platform", tr("The platform selected for the wizard."), + expander.registerVariable("Platform", Tr::tr("The platform selected for the wizard."), [platformId]() { return platformId.toString(); }); - expander.registerVariable("Features", tr("The features available to this wizard."), + expander.registerVariable("Features", Tr::tr("The features available to this wizard."), [e, platformId]() { return JsonWizard::stringListToArrayString(Id::toStringList(availableFeatures(platformId)), e); }); - expander.registerVariable("Plugins", tr("The plugins loaded."), [e]() { + expander.registerVariable("Plugins", Tr::tr("The plugins loaded."), [e]() { return JsonWizard::stringListToArrayString(Id::toStringList(pluginFeatures()), e); }); Core::JsExpander jsExpander; @@ -729,11 +727,11 @@ bool JsonWizardFactory::initialize(const QVariantMap &data, const FilePath &base && strVal != QLatin1String("class") && strVal != QLatin1String("file") && strVal != QLatin1String("project")) { - *errorMessage = tr("\"kind\" value \"%1\" is not \"class\" (deprecated), \"file\" or \"project\".").arg(strVal); + *errorMessage = Tr::tr("\"kind\" value \"%1\" is not \"class\" (deprecated), \"file\" or \"project\".").arg(strVal); return false; } if ((strVal == QLatin1String("file") || strVal == QLatin1String("class")) && !projectTypes.isEmpty()) { - *errorMessage = tr("\"kind\" is \"file\" or \"class\" (deprecated) and \"%1\" is also set.").arg(QLatin1String(SUPPORTED_PROJECTS)); + *errorMessage = Tr::tr("\"kind\" is \"file\" or \"class\" (deprecated) and \"%1\" is also set.").arg(QLatin1String(SUPPORTED_PROJECTS)); return false; } if (strVal == QLatin1String("project") && projectTypes.isEmpty()) @@ -743,14 +741,14 @@ bool JsonWizardFactory::initialize(const QVariantMap &data, const FilePath &base strVal = data.value(QLatin1String(ID_KEY)).toString(); if (strVal.isEmpty()) { - *errorMessage = tr("No id set."); + *errorMessage = Tr::tr("No id set."); return false; } setId(Id::fromString(strVal)); strVal = data.value(QLatin1String(CATEGORY_KEY)).toString(); if (strVal.isEmpty()) { - *errorMessage = tr("No category is set."); + *errorMessage = Tr::tr("No category is set."); return false; } setCategory(strVal); @@ -760,7 +758,7 @@ bool JsonWizardFactory::initialize(const QVariantMap &data, const FilePath &base strVal = data.value(QLatin1String(ICON_KEY)).toString(); iconPath = baseDir.resolvePath(strVal); if (!iconPath.exists()) { - *errorMessage = tr("Icon file \"%1\" not found.").arg(iconPath.toUserOutput()); + *errorMessage = Tr::tr("Icon file \"%1\" not found.").arg(iconPath.toUserOutput()); return false; } } @@ -780,7 +778,7 @@ bool JsonWizardFactory::initialize(const QVariantMap &data, const FilePath &base if (!strVal.isEmpty()) { const FilePath imagePath = baseDir.resolvePath(strVal); if (!imagePath.exists()) { - *errorMessage = tr("Image file \"%1\" not found.").arg(imagePath.toUserOutput()); + *errorMessage = Tr::tr("Image file \"%1\" not found.").arg(imagePath.toUserOutput()); return false; } setDescriptionImage(imagePath.toString()); @@ -796,21 +794,21 @@ bool JsonWizardFactory::initialize(const QVariantMap &data, const FilePath &base strVal = localizedString(data.value(QLatin1String(DISPLAY_NAME_KEY))); if (strVal.isEmpty()) { - *errorMessage = tr("No displayName set."); + *errorMessage = Tr::tr("No displayName set."); return false; } setDisplayName(strVal); strVal = localizedString(data.value(QLatin1String(CATEGORY_NAME_KEY))); if (strVal.isEmpty()) { - *errorMessage = tr("No displayCategory set."); + *errorMessage = Tr::tr("No displayCategory set."); return false; } setDisplayCategory(strVal); strVal = localizedString(data.value(QLatin1String(DESCRIPTION_KEY))); if (strVal.isEmpty()) { - *errorMessage = tr("No description set."); + *errorMessage = Tr::tr("No description set."); return false; } setDescription(strVal); @@ -818,7 +816,7 @@ bool JsonWizardFactory::initialize(const QVariantMap &data, const FilePath &base // Generator: QVariantList list = objectOrList(data.value(QLatin1String(GENERATOR_KEY)), errorMessage); if (!errorMessage->isEmpty()) { - *errorMessage = tr("When parsing \"generators\": %1").arg(*errorMessage); + *errorMessage = Tr::tr("When parsing \"generators\": %1").arg(*errorMessage); return false; } @@ -833,7 +831,7 @@ bool JsonWizardFactory::initialize(const QVariantMap &data, const FilePath &base // Pages: list = objectOrList(data.value(QLatin1String(PAGES_KEY)), errorMessage); if (!errorMessage->isEmpty()) { - *errorMessage = tr("When parsing \"pages\": %1").arg(*errorMessage); + *errorMessage = Tr::tr("When parsing \"pages\": %1").arg(*errorMessage); return false; } diff --git a/src/plugins/projectexplorer/jsonwizard/jsonwizardfilegenerator.cpp b/src/plugins/projectexplorer/jsonwizard/jsonwizardfilegenerator.cpp index 34bd074b686..e69c101ce3a 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonwizardfilegenerator.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonwizardfilegenerator.cpp @@ -3,7 +3,7 @@ #include "jsonwizardfilegenerator.h" -#include "../projectexplorer.h" +#include "../projectexplorertr.h" #include "jsonwizard.h" #include "jsonwizardfactory.h" @@ -33,8 +33,7 @@ bool JsonWizardFileGenerator::setup(const QVariant &data, QString *errorMessage) for (const QVariant &d : list) { if (d.type() != QVariant::Map) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "Files data list entry is not an object."); + *errorMessage = Tr::tr("Files data list entry is not an object."); return false; } @@ -55,8 +54,7 @@ bool JsonWizardFileGenerator::setup(const QVariant &data, QString *errorMessage) return false; if (f.source.isEmpty() && f.target.isEmpty()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonFieldPage", - "Source and target are both empty."); + *errorMessage = Tr::tr("Source and target are both empty."); return false; } diff --git a/src/plugins/projectexplorer/jsonwizard/jsonwizardgeneratorfactory.cpp b/src/plugins/projectexplorer/jsonwizard/jsonwizardgeneratorfactory.cpp index 0a2ffb1091a..9c574fc1ffb 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonwizardgeneratorfactory.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonwizardgeneratorfactory.cpp @@ -10,8 +10,10 @@ #include "../editorconfiguration.h" #include "../project.h" #include "../projectexplorerconstants.h" +#include "../projectexplorertr.h" #include + #include #include #include @@ -25,7 +27,6 @@ #include #include -#include #include #include #include @@ -162,23 +163,19 @@ JsonWizardGenerator::OverwriteResult JsonWizardGenerator::promptForOverwrite(Jso const QString namePart = filePath.toUserOutput().mid(commonPathSize); if (filePath.isDir()) { oddStuffFound = true; - fileNamesMsgPart += QCoreApplication::translate("ProjectExplorer::JsonWizardGenerator", "%1 [folder]") - .arg(namePart); + fileNamesMsgPart += Tr::tr("%1 [folder]").arg(namePart); } else if (filePath.isSymLink()) { oddStuffFound = true; - fileNamesMsgPart += QCoreApplication::translate("ProjectExplorer::JsonWizardGenerator", "%1 [symbolic link]") - .arg(namePart); + fileNamesMsgPart += Tr::tr("%1 [symbolic link]").arg(namePart); } else if (!filePath.isWritableDir() && !filePath.isWritableFile()) { oddStuffFound = true; - fileNamesMsgPart += QCoreApplication::translate("ProjectExplorer::JsonWizardGenerator", "%1 [read only]") - .arg(namePart); + fileNamesMsgPart += Tr::tr("%1 [read only]").arg(namePart); } } } if (oddStuffFound) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizardGenerator", - "The directory %1 contains files which cannot be overwritten:\n%2.") + *errorMessage = Tr::tr("The directory %1 contains files which cannot be overwritten:\n%2.") .arg(commonExistingPath).arg(fileNamesMsgPart); return OverwriteError; } diff --git a/src/plugins/projectexplorer/jsonwizard/jsonwizardpagefactory_p.cpp b/src/plugins/projectexplorer/jsonwizard/jsonwizardpagefactory_p.cpp index a7ac78661e7..5e8101dfc81 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonwizardpagefactory_p.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonwizardpagefactory_p.cpp @@ -10,11 +10,11 @@ #include "jsonprojectpage.h" #include "jsonsummarypage.h" #include "jsonwizardfactory.h" +#include "../projectexplorertr.h" #include #include -#include #include namespace ProjectExplorer { @@ -60,8 +60,7 @@ bool FieldPageFactory::validateData(Utils::Id typeId, const QVariant &data, QStr const QList list = JsonWizardFactory::objectOrList(data, errorMessage); if (list.isEmpty()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizard", - "When parsing fields of page \"%1\": %2") + *errorMessage = Tr::tr("When parsing fields of page \"%1\": %2") .arg(typeId.toString()).arg(*errorMessage); return false; } @@ -98,8 +97,7 @@ bool FilePageFactory::validateData(Utils::Id typeId, const QVariant &data, QStri { QTC_ASSERT(canCreate(typeId), return false); if (!data.isNull() && (data.type() != QVariant::Map || !data.toMap().isEmpty())) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizard", - "\"data\" for a \"File\" page needs to be unset or an empty object."); + *errorMessage = Tr::tr("\"data\" for a \"File\" page needs to be unset or an empty object."); return false; } @@ -110,9 +108,9 @@ bool FilePageFactory::validateData(Utils::Id typeId, const QVariant &data, QStri // KitsPageFactory: // -------------------------------------------------------------------- -static const char KEY_PROJECT_FILE[] = "projectFilePath"; -static const char KEY_REQUIRED_FEATURES[] = "requiredFeatures"; -static const char KEY_PREFERRED_FEATURES[] = "preferredFeatures"; +const char KEY_PROJECT_FILE[] = "projectFilePath"; +const char KEY_REQUIRED_FEATURES[] = "requiredFeatures"; +const char KEY_PREFERRED_FEATURES[] = "preferredFeatures"; KitsPageFactory::KitsPageFactory() { @@ -138,8 +136,7 @@ static bool validateFeatureList(const QVariantMap &data, const QByteArray &key, QString message; JsonKitsPage::parseFeatures(data.value(QLatin1String(key)), &message); if (!message.isEmpty()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizard", - "Error parsing \"%1\" in \"Kits\" page: %2") + *errorMessage = Tr::tr("Error parsing \"%1\" in \"Kits\" page: %2") .arg(QLatin1String(key), message); return false; } @@ -151,15 +148,13 @@ bool KitsPageFactory::validateData(Utils::Id typeId, const QVariant &data, QStri QTC_ASSERT(canCreate(typeId), return false); if (data.isNull() || data.type() != QVariant::Map) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizard", - "\"data\" must be a JSON object for \"Kits\" pages."); + *errorMessage = Tr::tr("\"data\" must be a JSON object for \"Kits\" pages."); return false; } QVariantMap tmp = data.toMap(); if (tmp.value(QLatin1String(KEY_PROJECT_FILE)).toString().isEmpty()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizard", - "\"Kits\" page requires a \"%1\" set.") + *errorMessage = Tr::tr("\"Kits\" page requires a \"%1\" set.") .arg(QLatin1String(KEY_PROJECT_FILE)); return false; } @@ -212,8 +207,7 @@ bool ProjectPageFactory::validateData(Utils::Id typeId, const QVariant &data, QS QTC_ASSERT(canCreate(typeId), return false); if (!data.isNull() && data.type() != QVariant::Map) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizard", - "\"data\" must be empty or a JSON object for \"Project\" pages."); + *errorMessage = Tr::tr("\"data\" must be empty or a JSON object for \"Project\" pages."); return false; } QVariantMap tmp = data.toMap(); @@ -222,7 +216,7 @@ bool ProjectPageFactory::validateData(Utils::Id typeId, const QVariant &data, QS if (!projectNameValidator.isNull()) { QRegularExpression regularExpression(projectNameValidator); if (!regularExpression.isValid()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizard", + *errorMessage = Tr::tr( "Invalid regular expression \"%1\" in \"%2\". %3").arg( projectNameValidator, QLatin1String(KEY_PROJECT_NAME_VALIDATOR), regularExpression.errorString()); return false; @@ -259,8 +253,7 @@ bool SummaryPageFactory::validateData(Utils::Id typeId, const QVariant &data, QS { QTC_ASSERT(canCreate(typeId), return false); if (!data.isNull() && (data.type() != QVariant::Map)) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizard", - "\"data\" for a \"Summary\" page can be unset or needs to be an object."); + *errorMessage = Tr::tr("\"data\" for a \"Summary\" page can be unset or needs to be an object."); return false; } diff --git a/src/plugins/projectexplorer/jsonwizard/jsonwizardscannergenerator.cpp b/src/plugins/projectexplorer/jsonwizard/jsonwizardscannergenerator.cpp index e7c19ccf695..fc0764cb1b6 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonwizardscannergenerator.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonwizardscannergenerator.cpp @@ -4,6 +4,7 @@ #include "jsonwizardscannergenerator.h" #include "../projectmanager.h" +#include "../projectexplorertr.h" #include @@ -13,7 +14,6 @@ #include #include -#include #include #include @@ -28,8 +28,7 @@ bool JsonWizardScannerGenerator::setup(const QVariant &data, QString *errorMessa return true; if (data.type() != QVariant::Map) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::Internal::JsonWizard", - "Key is not an object."); + *errorMessage = Tr::tr("Key is not an object."); return false; } @@ -40,8 +39,7 @@ bool JsonWizardScannerGenerator::setup(const QVariant &data, QString *errorMessa for (const QString &pattern : patterns) { QRegularExpression regexp(pattern); if (!regexp.isValid()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::Internal::JsonWizard", - "Pattern \"%1\" is no valid regular expression."); + *errorMessage = Tr::tr("Pattern \"%1\" is no valid regular expression."); return false; } m_subDirectoryExpressions << regexp; @@ -64,8 +62,7 @@ Core::GeneratedFiles JsonWizardScannerGenerator::fileList(Utils::MacroExpander * if (!m_binaryPattern.isEmpty()) { binaryPattern = QRegularExpression(expander->expand(m_binaryPattern)); if (!binaryPattern.isValid()) { - qWarning() << QCoreApplication::translate("ProjectExplorer::Internal::JsonWizard", - "ScannerGenerator: Binary pattern \"%1\" not valid.") + qWarning() << Tr::tr("ScannerGenerator: Binary pattern \"%1\" not valid.") .arg(m_binaryPattern); return result; } diff --git a/src/plugins/projectexplorer/kit.cpp b/src/plugins/projectexplorer/kit.cpp index bc0080b5292..b0d370d13ce 100644 --- a/src/plugins/projectexplorer/kit.cpp +++ b/src/plugins/projectexplorer/kit.cpp @@ -10,6 +10,7 @@ #include "ioutputparser.h" #include "osparser.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include #include @@ -53,8 +54,6 @@ namespace Internal { class KitPrivate { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Kit) - public: KitPrivate(Id id, Kit *kit) : m_id(id) @@ -62,28 +61,27 @@ public: if (!id.isValid()) m_id = Id::fromString(QUuid::createUuid().toString()); - m_unexpandedDisplayName.setDefaultValue(QCoreApplication::translate("ProjectExplorer::Kit", - "Unnamed")); + m_unexpandedDisplayName.setDefaultValue(Tr::tr("Unnamed")); - m_macroExpander.setDisplayName(tr("Kit")); + m_macroExpander.setDisplayName(Tr::tr("Kit")); m_macroExpander.setAccumulating(true); - m_macroExpander.registerVariable("Kit:Id", tr("Kit ID"), + m_macroExpander.registerVariable("Kit:Id", Tr::tr("Kit ID"), [kit] { return kit->id().toString(); }); - m_macroExpander.registerVariable("Kit:FileSystemName", tr("Kit filesystem-friendly name"), + m_macroExpander.registerVariable("Kit:FileSystemName", Tr::tr("Kit filesystem-friendly name"), [kit] { return kit->fileSystemFriendlyName(); }); for (KitAspect *aspect : KitManager::kitAspects()) aspect->addToMacroExpander(kit, &m_macroExpander); m_macroExpander.registerVariable("Kit:Name", - tr("The name of the kit."), + Tr::tr("The name of the kit."), [kit] { return kit->displayName(); }); m_macroExpander.registerVariable("Kit:FileSystemName", - tr("The name of the kit in a filesystem-friendly version."), + Tr::tr("The name of the kit in a filesystem-friendly version."), [kit] { return kit->fileSystemFriendlyName(); }); m_macroExpander.registerVariable("Kit:Id", - tr("The ID of the kit."), + Tr::tr("The ID of the kit."), [kit] { return kit->id().toString(); }); } @@ -715,8 +713,8 @@ QString Kit::newKitName(const QList &allKits) const QString Kit::newKitName(const QString &name, const QList &allKits) { const QString baseName = name.isEmpty() - ? QCoreApplication::translate("ProjectExplorer::Kit", "Unnamed") - : QCoreApplication::translate("ProjectExplorer::Kit", "Clone of %1").arg(name); + ? Tr::tr("Unnamed") + : Tr::tr("Clone of %1").arg(name); return Utils::makeUniquelyNumbered(baseName, transform(allKits, &Kit::unexpandedDisplayName)); } diff --git a/src/plugins/projectexplorer/kitchooser.cpp b/src/plugins/projectexplorer/kitchooser.cpp index fa0558aa6d5..14c848da740 100644 --- a/src/plugins/projectexplorer/kitchooser.cpp +++ b/src/plugins/projectexplorer/kitchooser.cpp @@ -3,10 +3,9 @@ #include "kitchooser.h" -#include "kitinformation.h" #include "kitmanager.h" -#include "project.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "session.h" #include "target.h" @@ -92,7 +91,7 @@ void KitChooser::populate() if (Target *target = SessionManager::startupTarget()) { Kit *kit = target->kit(); if (m_kitPredicate(kit)) { - QString display = tr("Kit of Active Project: %1").arg(kitText(kit)); + QString display = Tr::tr("Kit of Active Project: %1").arg(kitText(kit)); m_chooser->addItem(display, kit->id().toSetting()); m_chooser->setItemData(0, kitToolTip(kit), Qt::ToolTipRole); if (!lastKit.isValid()) { diff --git a/src/plugins/projectexplorer/kitinformation.cpp b/src/plugins/projectexplorer/kitinformation.cpp index 51d6d414e31..0207194f4b8 100644 --- a/src/plugins/projectexplorer/kitinformation.cpp +++ b/src/plugins/projectexplorer/kitinformation.cpp @@ -9,6 +9,7 @@ #include "devicesupport/idevicefactory.h" #include "devicesupport/sshparameters.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "kit.h" #include "toolchain.h" #include "toolchainmanager.h" @@ -47,8 +48,6 @@ const char KITINFORMATION_ID_V3[] = "PE.Profile.ToolChainsV3"; namespace Internal { class SysRootKitAspectWidget : public KitAspectWidget { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::SysRootKitAspect) - public: SysRootKitAspectWidget(Kit *k, const KitAspect *ki) : KitAspectWidget(k, ki) { @@ -92,8 +91,8 @@ SysRootKitAspect::SysRootKitAspect() { setObjectName(QLatin1String("SysRootInformation")); setId(SysRootKitAspect::id()); - setDisplayName(tr("Sysroot")); - setDescription(tr("The root directory of the system image to use.
" + setDisplayName(Tr::tr("Sysroot")); + setDescription(Tr::tr("The root directory of the system image to use.
" "Leave empty when building for the desktop.")); setPriority(31000); } @@ -110,13 +109,13 @@ Tasks SysRootKitAspect::validate(const Kit *k) const if (!dir.exists()) { result << BuildSystemTask(Task::Warning, - tr("Sys Root \"%1\" does not exist in the file system.").arg(dir.toUserOutput())); + Tr::tr("Sys Root \"%1\" does not exist in the file system.").arg(dir.toUserOutput())); } else if (!dir.isDir()) { result << BuildSystemTask(Task::Warning, - tr("Sys Root \"%1\" is not a directory.").arg(dir.toUserOutput())); + Tr::tr("Sys Root \"%1\" is not a directory.").arg(dir.toUserOutput())); } else if (dir.dirEntries(QDir::AllEntries | QDir::NoDotAndDotDot).isEmpty()) { result << BuildSystemTask(Task::Warning, - tr("Sys Root \"%1\" is empty.").arg(dir.toUserOutput())); + Tr::tr("Sys Root \"%1\" is empty.").arg(dir.toUserOutput())); } return result; } @@ -130,14 +129,14 @@ KitAspectWidget *SysRootKitAspect::createConfigWidget(Kit *k) const KitAspect::ItemList SysRootKitAspect::toUserOutput(const Kit *k) const { - return {{tr("Sys Root"), sysRoot(k).toUserOutput()}}; + return {{Tr::tr("Sys Root"), sysRoot(k).toUserOutput()}}; } void SysRootKitAspect::addToMacroExpander(Kit *kit, MacroExpander *expander) const { QTC_ASSERT(kit, return); - expander->registerFileVariables("SysRoot", tr("Sys Root"), [kit] { + expander->registerFileVariables("SysRoot", Tr::tr("Sys Root"), [kit] { return SysRootKitAspect::sysRoot(kit); }); } @@ -188,8 +187,6 @@ void SysRootKitAspect::setSysRoot(Kit *k, const FilePath &v) namespace Internal { class ToolChainKitAspectWidget final : public KitAspectWidget { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::ToolChainKitAspect) - public: ToolChainKitAspectWidget(Kit *k, const KitAspect *ki) : KitAspectWidget(k, ki) { @@ -249,7 +246,7 @@ private: QComboBox *cb = m_languageComboboxMap.value(l); cb->clear(); - cb->addItem(tr(""), QByteArray()); + cb->addItem(Tr::tr(""), QByteArray()); for (ToolChain *tc : ltcList) cb->addItem(tc->displayName(), tc->id()); @@ -305,8 +302,8 @@ ToolChainKitAspect::ToolChainKitAspect() { setObjectName(QLatin1String("ToolChainInformation")); setId(ToolChainKitAspect::id()); - setDisplayName(tr("Compiler")); - setDescription(tr("The compiler to use for building.
" + setDisplayName(Tr::tr("Compiler")); + setDescription(Tr::tr("The compiler to use for building.
" "Make sure the compiler will produce binaries compatible " "with the target device, Qt version and other libraries used.")); setPriority(30000); @@ -355,7 +352,7 @@ Tasks ToolChainKitAspect::validate(const Kit *k) const } if (targetAbis.count() != 1) { result << BuildSystemTask(Task::Error, - tr("Compilers produce code for different ABIs: %1") + Tr::tr("Compilers produce code for different ABIs: %1") .arg(Utils::transform(targetAbis, &Abi::toString).join(", "))); } } @@ -507,7 +504,7 @@ QString ToolChainKitAspect::displayNamePostfix(const Kit *k) const KitAspect::ItemList ToolChainKitAspect::toUserOutput(const Kit *k) const { ToolChain *tc = cxxToolChain(k); - return {{tr("Compiler"), tc ? tc->displayName() : tr("None")}}; + return {{Tr::tr("Compiler"), tc ? tc->displayName() : Tr::tr("None")}}; } void ToolChainKitAspect::addToBuildEnvironment(const Kit *k, Environment &env) const @@ -522,25 +519,25 @@ void ToolChainKitAspect::addToMacroExpander(Kit *kit, MacroExpander *expander) c QTC_ASSERT(kit, return); // Compatibility with Qt Creator < 4.2: - expander->registerVariable("Compiler:Name", tr("Compiler"), + expander->registerVariable("Compiler:Name", Tr::tr("Compiler"), [kit] { const ToolChain *tc = cxxToolChain(kit); - return tc ? tc->displayName() : tr("None"); + return tc ? tc->displayName() : Tr::tr("None"); }); - expander->registerVariable("Compiler:Executable", tr("Path to the compiler executable"), + expander->registerVariable("Compiler:Executable", Tr::tr("Path to the compiler executable"), [kit] { const ToolChain *tc = cxxToolChain(kit); return tc ? tc->compilerCommand().path() : QString(); }); // After 4.2 - expander->registerPrefix("Compiler:Name", tr("Compiler for different languages"), + expander->registerPrefix("Compiler:Name", Tr::tr("Compiler for different languages"), [kit](const QString &ls) { const ToolChain *tc = toolChain(kit, findLanguage(ls)); - return tc ? tc->displayName() : tr("None"); + return tc ? tc->displayName() : Tr::tr("None"); }); - expander->registerPrefix("Compiler:Executable", tr("Compiler executable for different languages"), + expander->registerPrefix("Compiler:Executable", Tr::tr("Compiler executable for different languages"), [kit](const QString &ls) { const ToolChain *tc = toolChain(kit, findLanguage(ls)); return tc ? tc->compilerCommand().path() : QString(); @@ -710,7 +707,7 @@ Abi ToolChainKitAspect::targetAbi(const Kit *k) QString ToolChainKitAspect::msgNoToolChainInTarget() { - return tr("No compiler set in kit."); + return Tr::tr("No compiler set in kit."); } void ToolChainKitAspect::kitsWereLoaded() @@ -747,8 +744,6 @@ void ToolChainKitAspect::toolChainRemoved(ToolChain *tc) namespace Internal { class DeviceTypeKitAspectWidget final : public KitAspectWidget { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::DeviceTypeKitAspect) - public: DeviceTypeKitAspectWidget(Kit *workingCopy, const KitAspect *ki) : KitAspectWidget(workingCopy, ki), m_comboBox(createSubWidget()) @@ -799,8 +794,8 @@ DeviceTypeKitAspect::DeviceTypeKitAspect() { setObjectName(QLatin1String("DeviceTypeInformation")); setId(DeviceTypeKitAspect::id()); - setDisplayName(tr("Device type")); - setDescription(tr("The type of device to run applications on.")); + setDisplayName(Tr::tr("Device type")); + setDescription(Tr::tr("The type of device to run applications on.")); setPriority(33000); makeEssential(); } @@ -827,12 +822,12 @@ KitAspect::ItemList DeviceTypeKitAspect::toUserOutput(const Kit *k) const { QTC_ASSERT(k, return {}); Id type = deviceTypeId(k); - QString typeDisplayName = tr("Unknown device type"); + QString typeDisplayName = Tr::tr("Unknown device type"); if (type.isValid()) { if (IDeviceFactory *factory = IDeviceFactory::find(type)) typeDisplayName = factory->displayName(); } - return {{tr("Device type"), typeDisplayName}}; + return {{Tr::tr("Device type"), typeDisplayName}}; } const Id DeviceTypeKitAspect::id() @@ -870,8 +865,6 @@ QSet DeviceTypeKitAspect::availableFeatures(const Kit *k) const namespace Internal { class DeviceKitAspectWidget final : public KitAspectWidget { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::DeviceKitAspect) - public: DeviceKitAspectWidget(Kit *workingCopy, const KitAspect *ki) : KitAspectWidget(workingCopy, ki), @@ -948,8 +941,8 @@ DeviceKitAspect::DeviceKitAspect() { setObjectName(QLatin1String("DeviceInformation")); setId(DeviceKitAspect::id()); - setDisplayName(tr("Device")); - setDescription(tr("The device to run the applications on.")); + setDisplayName(Tr::tr("Device")); + setDescription(Tr::tr("The device to run the applications on.")); setPriority(32000); connect(KitManager::instance(), &KitManager::kitsLoaded, @@ -978,9 +971,9 @@ Tasks DeviceKitAspect::validate(const Kit *k) const IDevice::ConstPtr dev = DeviceKitAspect::device(k); Tasks result; if (dev.isNull()) - result.append(BuildSystemTask(Task::Warning, tr("No device set."))); + result.append(BuildSystemTask(Task::Warning, Tr::tr("No device set."))); else if (!dev->isCompatibleWith(k)) - result.append(BuildSystemTask(Task::Error, tr("Device is incompatible with this kit."))); + result.append(BuildSystemTask(Task::Error, Tr::tr("Device is incompatible with this kit."))); if (dev) result.append(dev->validate()); @@ -1023,33 +1016,33 @@ QString DeviceKitAspect::displayNamePostfix(const Kit *k) const KitAspect::ItemList DeviceKitAspect::toUserOutput(const Kit *k) const { IDevice::ConstPtr dev = device(k); - return {{tr("Device"), dev.isNull() ? tr("Unconfigured") : dev->displayName()}}; + return {{Tr::tr("Device"), dev.isNull() ? Tr::tr("Unconfigured") : dev->displayName()}}; } void DeviceKitAspect::addToMacroExpander(Kit *kit, MacroExpander *expander) const { QTC_ASSERT(kit, return); - expander->registerVariable("Device:HostAddress", tr("Host address"), + expander->registerVariable("Device:HostAddress", Tr::tr("Host address"), [kit]() -> QString { const IDevice::ConstPtr device = DeviceKitAspect::device(kit); return device ? device->sshParameters().host() : QString(); }); - expander->registerVariable("Device:SshPort", tr("SSH port"), + expander->registerVariable("Device:SshPort", Tr::tr("SSH port"), [kit]() -> QString { const IDevice::ConstPtr device = DeviceKitAspect::device(kit); return device ? QString::number(device->sshParameters().port()) : QString(); }); - expander->registerVariable("Device:UserName", tr("User name"), + expander->registerVariable("Device:UserName", Tr::tr("User name"), [kit]() -> QString { const IDevice::ConstPtr device = DeviceKitAspect::device(kit); return device ? device->sshParameters().userName() : QString(); }); - expander->registerVariable("Device:KeyFile", tr("Private key file"), + expander->registerVariable("Device:KeyFile", Tr::tr("Private key file"), [kit]() -> QString { const IDevice::ConstPtr device = DeviceKitAspect::device(kit); return device ? device->sshParameters().privateKeyFile.toString() : QString(); }); - expander->registerVariable("Device:Name", tr("Device name"), + expander->registerVariable("Device:Name", Tr::tr("Device name"), [kit]() -> QString { const IDevice::ConstPtr device = DeviceKitAspect::device(kit); return device ? device->displayName() : QString(); @@ -1135,8 +1128,6 @@ void DeviceKitAspect::devicesChanged() namespace Internal { class BuildDeviceKitAspectWidget final : public KitAspectWidget { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::BuildDeviceKitAspect) - public: BuildDeviceKitAspectWidget(Kit *workingCopy, const KitAspect *ki) : KitAspectWidget(workingCopy, ki), @@ -1219,8 +1210,8 @@ BuildDeviceKitAspect::BuildDeviceKitAspect() { setObjectName("BuildDeviceInformation"); setId(BuildDeviceKitAspect::id()); - setDisplayName(tr("Build device")); - setDescription(tr("The device used to build applications on.")); + setDisplayName(Tr::tr("Build device")); + setDescription(Tr::tr("The device used to build applications on.")); setPriority(31900); connect(KitManager::instance(), &KitManager::kitsLoaded, @@ -1248,7 +1239,7 @@ Tasks BuildDeviceKitAspect::validate(const Kit *k) const IDevice::ConstPtr dev = BuildDeviceKitAspect::device(k); Tasks result; if (dev.isNull()) - result.append(BuildSystemTask(Task::Warning, tr("No build device set."))); + result.append(BuildSystemTask(Task::Warning, Tr::tr("No build device set."))); return result; } @@ -1268,33 +1259,33 @@ QString BuildDeviceKitAspect::displayNamePostfix(const Kit *k) const KitAspect::ItemList BuildDeviceKitAspect::toUserOutput(const Kit *k) const { IDevice::ConstPtr dev = device(k); - return {{tr("Build device"), dev.isNull() ? tr("Unconfigured") : dev->displayName()}}; + return {{Tr::tr("Build device"), dev.isNull() ? Tr::tr("Unconfigured") : dev->displayName()}}; } void BuildDeviceKitAspect::addToMacroExpander(Kit *kit, MacroExpander *expander) const { QTC_ASSERT(kit, return); - expander->registerVariable("BuildDevice:HostAddress", tr("Build host address"), + expander->registerVariable("BuildDevice:HostAddress", Tr::tr("Build host address"), [kit]() -> QString { const IDevice::ConstPtr device = BuildDeviceKitAspect::device(kit); return device ? device->sshParameters().host() : QString(); }); - expander->registerVariable("BuildDevice:SshPort", tr("Build SSH port"), + expander->registerVariable("BuildDevice:SshPort", Tr::tr("Build SSH port"), [kit]() -> QString { const IDevice::ConstPtr device = BuildDeviceKitAspect::device(kit); return device ? QString::number(device->sshParameters().port()) : QString(); }); - expander->registerVariable("BuildDevice:UserName", tr("Build user name"), + expander->registerVariable("BuildDevice:UserName", Tr::tr("Build user name"), [kit]() -> QString { const IDevice::ConstPtr device = BuildDeviceKitAspect::device(kit); return device ? device->sshParameters().userName() : QString(); }); - expander->registerVariable("BuildDevice:KeyFile", tr("Build private key file"), + expander->registerVariable("BuildDevice:KeyFile", Tr::tr("Build private key file"), [kit]() -> QString { const IDevice::ConstPtr device = BuildDeviceKitAspect::device(kit); return device ? device->sshParameters().privateKeyFile.toString() : QString(); }); - expander->registerVariable("BuildDevice:Name", tr("Build device name"), + expander->registerVariable("BuildDevice:Name", Tr::tr("Build device name"), [kit]() -> QString { const IDevice::ConstPtr device = BuildDeviceKitAspect::device(kit); return device ? device->displayName() : QString(); @@ -1376,8 +1367,6 @@ void BuildDeviceKitAspect::devicesChanged() namespace Internal { class EnvironmentKitAspectWidget final : public KitAspectWidget { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::EnvironmentKitAspect) - public: EnvironmentKitAspectWidget(Kit *workingCopy, const KitAspect *ki) : KitAspectWidget(workingCopy, ki), @@ -1392,7 +1381,7 @@ public: initMSVCOutputSwitch(layout); m_mainWidget->setLayout(layout); refresh(); - m_manageButton->setText(tr("Change...")); + m_manageButton->setText(Tr::tr("Change...")); connect(m_manageButton, &QAbstractButton::clicked, this, &EnvironmentKitAspectWidget::editEnvironmentChanges); } @@ -1411,7 +1400,7 @@ private: { const EnvironmentItems changes = currentEnvironment(); const QString shortSummary = EnvironmentItem::toStringList(changes).join("; "); - m_summaryLabel->setText(shortSummary.isEmpty() ? tr("No changes to apply.") : shortSummary); + m_summaryLabel->setText(shortSummary.isEmpty() ? Tr::tr("No changes to apply.") : shortSummary); } void editEnvironmentChanges() @@ -1454,9 +1443,9 @@ private: void initMSVCOutputSwitch(QVBoxLayout *layout) { - m_vslangCheckbox = new QCheckBox(tr("Force UTF-8 MSVC compiler output")); + m_vslangCheckbox = new QCheckBox(Tr::tr("Force UTF-8 MSVC compiler output")); layout->addWidget(m_vslangCheckbox); - m_vslangCheckbox->setToolTip(tr("Either switches MSVC to English or keeps the language and " + m_vslangCheckbox->setToolTip(Tr::tr("Either switches MSVC to English or keeps the language and " "just forces UTF-8 output (may vary depending on the used MSVC " "compiler).")); connect(m_vslangCheckbox, &QCheckBox::toggled, this, [this](bool checked) { @@ -1481,8 +1470,8 @@ EnvironmentKitAspect::EnvironmentKitAspect() { setObjectName(QLatin1String("EnvironmentKitAspect")); setId(EnvironmentKitAspect::id()); - setDisplayName(tr("Environment")); - setDescription(tr("Additional build environment settings when using this kit.")); + setDisplayName(Tr::tr("Environment")); + setDescription(Tr::tr("Additional build environment settings when using this kit.")); setPriority(29000); } @@ -1493,7 +1482,7 @@ Tasks EnvironmentKitAspect::validate(const Kit *k) const const QVariant variant = k->value(EnvironmentKitAspect::id()); if (!variant.isNull() && !variant.canConvert(QVariant::List)) - result << BuildSystemTask(Task::Error, tr("The environment setting value is invalid.")); + result << BuildSystemTask(Task::Error, Tr::tr("The environment setting value is invalid.")); return result; } @@ -1530,7 +1519,7 @@ KitAspectWidget *EnvironmentKitAspect::createConfigWidget(Kit *k) const KitAspect::ItemList EnvironmentKitAspect::toUserOutput(const Kit *k) const { - return {{tr("Environment"), EnvironmentItem::toStringList(environmentChanges(k)).join("
")}}; + return {{Tr::tr("Environment"), EnvironmentItem::toStringList(environmentChanges(k)).join("
")}}; } Id EnvironmentKitAspect::id() diff --git a/src/plugins/projectexplorer/kitmanager.cpp b/src/plugins/projectexplorer/kitmanager.cpp index 363a024b5f2..ba92819c39a 100644 --- a/src/plugins/projectexplorer/kitmanager.cpp +++ b/src/plugins/projectexplorer/kitmanager.cpp @@ -11,6 +11,7 @@ #include "kitmanagerconfigwidget.h" #include "project.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "task.h" #include "toolchainmanager.h" @@ -344,7 +345,7 @@ void KitManager::restoreKits() continue; } if (isHostKit(kit.get())) - kit->setUnexpandedDisplayName(tr("Desktop (%1)").arg(it.key().toString())); + kit->setUnexpandedDisplayName(Tr::tr("Desktop (%1)").arg(it.key().toString())); else kit->setUnexpandedDisplayName(it.key().toString()); DeviceTypeKitAspect::setDeviceTypeId(kit.get(), deviceTypeForKit(kit.get())); @@ -396,7 +397,7 @@ void KitManager::restoreKits() } if (hostKits.size() == 1) - hostKits.first()->setUnexpandedDisplayName(tr("Desktop")); + hostKits.first()->setUnexpandedDisplayName(Tr::tr("Desktop")); } Kit *k = kitForBinary; @@ -726,7 +727,7 @@ KitAspectWidget::KitAspectWidget(Kit *kit, const KitAspect *ki) : m_kit(kit), m_kitInformation(ki) { const Id id = ki->id(); - m_mutableAction = new QAction(tr("Mark as Mutable")); + m_mutableAction = new QAction(Tr::tr("Mark as Mutable")); m_mutableAction->setCheckable(true); m_mutableAction->setChecked(m_kit->isMutable(id)); m_mutableAction->setEnabled(!m_kit->isSticky(id)); @@ -773,7 +774,7 @@ QWidget *KitAspectWidget::createManageButton(Id pageId) QString KitAspectWidget::msgManage() { - return tr("Manage..."); + return Tr::tr("Manage..."); } // -------------------------------------------------------------------- diff --git a/src/plugins/projectexplorer/kitmanagerconfigwidget.cpp b/src/plugins/projectexplorer/kitmanagerconfigwidget.cpp index bf69875dae2..908238d3a7f 100644 --- a/src/plugins/projectexplorer/kitmanagerconfigwidget.cpp +++ b/src/plugins/projectexplorer/kitmanagerconfigwidget.cpp @@ -2,13 +2,12 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "kitmanagerconfigwidget.h" -#include "projectconfiguration.h" #include "devicesupport/idevicefactory.h" #include "kit.h" #include "kitinformation.h" #include "kitmanager.h" -#include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "task.h" #include @@ -46,11 +45,11 @@ KitManagerConfigWidget::KitManagerConfigWidget(Kit *k) : { setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred); - auto label = new QLabel(tr("Name:")); - label->setToolTip(tr("Kit name and icon.")); + auto label = new QLabel(Tr::tr("Name:")); + label->setToolTip(Tr::tr("Kit name and icon.")); QString toolTip = - tr("

The name of the kit suitable for generating " + Tr::tr("

The name of the kit suitable for generating " "directory names. This value is used for the variable %1, " "which for example determines the name of the shadow build directory." "

").arg(QLatin1String("Kit:FileSystemName")); @@ -59,7 +58,7 @@ KitManagerConfigWidget::KitManagerConfigWidget(Kit *k) : Q_ASSERT(fileSystemFriendlyNameRegexp.isValid()); m_fileSystemFriendlyNameLineEdit->setValidator(new QRegularExpressionValidator(fileSystemFriendlyNameRegexp, m_fileSystemFriendlyNameLineEdit)); - auto fsLabel = new QLabel(tr("File system name:")); + auto fsLabel = new QLabel(Tr::tr("File system name:")); fsLabel->setToolTip(toolTip); connect(m_fileSystemFriendlyNameLineEdit, &QLineEdit::textChanged, this, &KitManagerConfigWidget::setFileSystemFriendlyName); @@ -70,10 +69,10 @@ KitManagerConfigWidget::KitManagerConfigWidget(Kit *k) : fsLabel, m_fileSystemFriendlyNameLineEdit }.attachTo(this, WithFormAlignment); - m_iconButton->setToolTip(tr("Kit icon.")); - auto setIconAction = new QAction(tr("Select Icon..."), this); + m_iconButton->setToolTip(Tr::tr("Kit icon.")); + auto setIconAction = new QAction(Tr::tr("Select Icon..."), this); m_iconButton->addAction(setIconAction); - auto resetIconAction = new QAction(tr("Reset to Device Default Icon"), this); + auto resetIconAction = new QAction(Tr::tr("Reset to Device Default Icon"), this); m_iconButton->addAction(resetIconAction); discard(); @@ -183,7 +182,7 @@ QString KitManagerConfigWidget::validityMessage() const { Tasks tmp; if (!m_hasUniqueName) - tmp.append(CompileTask(Task::Warning, tr("Display name is not unique."))); + tmp.append(CompileTask(Task::Warning, Tr::tr("Display name is not unique."))); return m_modifiedKit->toHtml(tmp); } @@ -276,7 +275,7 @@ void KitManagerConfigWidget::setIcon() if (factory->icon().isNull()) continue; QAction *action = iconMenu.addAction(factory->icon(), - tr("Default for %1").arg(factory->displayName()), + Tr::tr("Default for %1").arg(factory->displayName()), [this, factory] { m_iconButton->setIcon(factory->icon()); m_modifiedKit->setDeviceTypeForIcon( @@ -287,9 +286,9 @@ void KitManagerConfigWidget::setIcon() } iconMenu.addSeparator(); iconMenu.addAction(PathChooser::browseButtonLabel(), [this] { - const FilePath path = FileUtils::getOpenFilePath(this, tr("Select Icon"), + const FilePath path = FileUtils::getOpenFilePath(this, Tr::tr("Select Icon"), m_modifiedKit->iconPath(), - tr("Images (*.png *.xpm *.jpg)")); + Tr::tr("Images (*.png *.xpm *.jpg)")); if (path.isEmpty()) return; const QIcon icon(path.toString()); diff --git a/src/plugins/projectexplorer/kitmodel.cpp b/src/plugins/projectexplorer/kitmodel.cpp index 92b69561402..4b250f23c98 100644 --- a/src/plugins/projectexplorer/kitmodel.cpp +++ b/src/plugins/projectexplorer/kitmodel.cpp @@ -6,8 +6,9 @@ #include "kit.h" #include "kitmanagerconfigwidget.h" #include "kitmanager.h" +#include "projectexplorerconstants.h" +#include "projectexplorertr.h" -#include #include #include #include @@ -60,7 +61,7 @@ public: QString baseName = widget->displayName(); if (widget->isDefaultKit()) //: Mark up a kit as the default one. - baseName = KitModel::tr("%1 (default)").arg(baseName); + baseName = Tr::tr("%1 (default)").arg(baseName); return baseName; } if (role == Qt::DecorationRole) { @@ -84,7 +85,7 @@ KitModel::KitModel(QBoxLayout *parentLayout, QObject *parent) : TreeModel(parent), m_parentLayout(parentLayout) { - setHeader(QStringList(tr("Name"))); + setHeader(QStringList(Tr::tr("Name"))); m_autoRoot = new StaticTreeItem({ProjectExplorer::Constants::msgAutoDetected()}, {ProjectExplorer::Constants::msgAutoDetectedToolTip()}); m_manualRoot = new StaticTreeItem(ProjectExplorer::Constants::msgManual()); diff --git a/src/plugins/projectexplorer/kitoptionspage.cpp b/src/plugins/projectexplorer/kitoptionspage.cpp index caf95211be2..d5c709194a1 100644 --- a/src/plugins/projectexplorer/kitoptionspage.cpp +++ b/src/plugins/projectexplorer/kitoptionspage.cpp @@ -7,7 +7,7 @@ #include "kitmodel.h" #include "kit.h" #include "projectexplorerconstants.h" -#include "projectexplorericons.h" +#include "projectexplorertr.h" #include "kitmanagerconfigwidget.h" #include "kitmanager.h" @@ -29,8 +29,6 @@ namespace Internal { class KitOptionsPageWidget : public QWidget { - Q_DECLARE_TR_FUNCTIONS(ProjextExplorer::Internal::KitOptionsPageWidget) - public: KitOptionsPageWidget(); @@ -66,14 +64,14 @@ KitOptionsPageWidget::KitOptionsPageWidget() m_kitsView->setSizePolicy(m_kitsView->sizePolicy().horizontalPolicy(), QSizePolicy::Ignored); - m_addButton = new QPushButton(tr("Add"), this); - m_cloneButton = new QPushButton(tr("Clone"), this); - m_delButton = new QPushButton(tr("Remove"), this); - m_makeDefaultButton = new QPushButton(tr("Make Default"), this); - m_filterButton = new QPushButton(tr("Settings Filter..."), this); - m_filterButton->setToolTip(tr("Choose which settings to display for this kit.")); - m_defaultFilterButton = new QPushButton(tr("Default Settings Filter..."), this); - m_defaultFilterButton->setToolTip(tr("Choose which kit settings to display by default.")); + m_addButton = new QPushButton(Tr::tr("Add"), this); + m_cloneButton = new QPushButton(Tr::tr("Clone"), this); + m_delButton = new QPushButton(Tr::tr("Remove"), this); + m_makeDefaultButton = new QPushButton(Tr::tr("Make Default"), this); + m_filterButton = new QPushButton(Tr::tr("Settings Filter..."), this); + m_filterButton->setToolTip(Tr::tr("Choose which settings to display for this kit.")); + m_defaultFilterButton = new QPushButton(Tr::tr("Default Settings Filter..."), this); + m_defaultFilterButton->setToolTip(Tr::tr("Choose which kit settings to display by default.")); auto buttonLayout = new QVBoxLayout; buttonLayout->setSpacing(6); @@ -247,9 +245,9 @@ KitOptionsPage::KitOptionsPage() { theKitOptionsPage = this; setId(Constants::KITS_SETTINGS_PAGE_ID); - setDisplayName(Internal::KitOptionsPageWidget::tr("Kits")); + setDisplayName(Tr::tr("Kits")); setCategory(Constants::KITS_SETTINGS_CATEGORY); - setDisplayCategory(QCoreApplication::translate("::ProjectExplorer", "Kits")); + setDisplayCategory(Tr::tr("Kits")); setCategoryIconPath(":/projectexplorer/images/settingscategory_kits.png"); } diff --git a/src/plugins/projectexplorer/localenvironmentaspect.cpp b/src/plugins/projectexplorer/localenvironmentaspect.cpp index 2167c5ee633..7510d636e5f 100644 --- a/src/plugins/projectexplorer/localenvironmentaspect.cpp +++ b/src/plugins/projectexplorer/localenvironmentaspect.cpp @@ -4,8 +4,8 @@ #include "localenvironmentaspect.h" #include "buildconfiguration.h" -#include "environmentaspectwidget.h" #include "kit.h" +#include "projectexplorertr.h" #include "target.h" using namespace Utils; @@ -15,14 +15,14 @@ namespace ProjectExplorer { LocalEnvironmentAspect::LocalEnvironmentAspect(Target *target, bool includeBuildEnvironment) { setIsLocal(true); - addSupportedBaseEnvironment(tr("Clean Environment"), {}); + addSupportedBaseEnvironment(Tr::tr("Clean Environment"), {}); - addSupportedBaseEnvironment(tr("System Environment"), [] { + addSupportedBaseEnvironment(Tr::tr("System Environment"), [] { return Environment::systemEnvironment(); }); if (includeBuildEnvironment) { - addPreferredBaseEnvironment(tr("Build Environment"), [target] { + addPreferredBaseEnvironment(Tr::tr("Build Environment"), [target] { Environment env; if (BuildConfiguration *bc = target->activeBuildConfiguration()) { env = bc->environment(); diff --git a/src/plugins/projectexplorer/makestep.cpp b/src/plugins/projectexplorer/makestep.cpp index 2503c570d11..57ebc2490b3 100644 --- a/src/plugins/projectexplorer/makestep.cpp +++ b/src/plugins/projectexplorer/makestep.cpp @@ -9,6 +9,7 @@ #include "processparameters.h" #include "projectexplorer.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "target.h" #include "toolchain.h" @@ -57,41 +58,41 @@ MakeStep::MakeStep(BuildStepList *parent, Id id) m_userArgumentsAspect = addAspect(); m_userArgumentsAspect->setSettingsKey(id.withSuffix(MAKE_ARGUMENTS_SUFFIX).toString()); - m_userArgumentsAspect->setLabelText(tr("Make arguments:")); + m_userArgumentsAspect->setLabelText(Tr::tr("Make arguments:")); m_userArgumentsAspect->setDisplayStyle(StringAspect::LineEditDisplay); m_userJobCountAspect = addAspect(); m_userJobCountAspect->setSettingsKey(id.withSuffix(JOBCOUNT_SUFFIX).toString()); - m_userJobCountAspect->setLabel(tr("Parallel jobs:")); + m_userJobCountAspect->setLabel(Tr::tr("Parallel jobs:")); m_userJobCountAspect->setRange(1, 999); m_userJobCountAspect->setValue(defaultJobCount()); m_userJobCountAspect->setDefaultValue(defaultJobCount()); - const QString text = tr("Override MAKEFLAGS"); + const QString text = Tr::tr("Override MAKEFLAGS"); m_overrideMakeflagsAspect = addAspect(); m_overrideMakeflagsAspect->setSettingsKey(id.withSuffix(OVERRIDE_MAKEFLAGS_SUFFIX).toString()); m_overrideMakeflagsAspect->setLabel(text, BoolAspect::LabelPlacement::AtCheckBox); m_nonOverrideWarning = addAspect(); m_nonOverrideWarning->setText("

" + - tr("MAKEFLAGS specifies parallel jobs. Check \"%1\" to override.") + Tr::tr("MAKEFLAGS specifies parallel jobs. Check \"%1\" to override.") .arg(text) + "

"); m_nonOverrideWarning->setIconType(InfoLabel::Warning); m_disabledForSubdirsAspect = addAspect(); m_disabledForSubdirsAspect->setSettingsKey(id.withSuffix(".disabledForSubdirs").toString()); - m_disabledForSubdirsAspect->setLabel(tr("Disable in subdirectories:")); - m_disabledForSubdirsAspect->setToolTip(tr("Runs this step only for a top-level build.")); + m_disabledForSubdirsAspect->setLabel(Tr::tr("Disable in subdirectories:")); + m_disabledForSubdirsAspect->setToolTip(Tr::tr("Runs this step only for a top-level build.")); m_buildTargetsAspect = addAspect(); m_buildTargetsAspect->setSettingsKey(id.withSuffix(BUILD_TARGETS_SUFFIX).toString()); - m_buildTargetsAspect->setLabelText(tr("Targets:")); + m_buildTargetsAspect->setLabelText(Tr::tr("Targets:")); const auto updateMakeLabel = [this] { const FilePath defaultMake = defaultMakeCommand(); const QString labelText = defaultMake.isEmpty() - ? tr("Make:") - : tr("Override %1:").arg(defaultMake.toUserOutput()); + ? Tr::tr("Make:") + : Tr::tr("Override %1:").arg(defaultMake.toUserOutput()); m_makeCommandAspect->setLabelText(labelText); }; @@ -137,7 +138,7 @@ void MakeStep::setupOutputFormatter(OutputFormatter *formatter) QString MakeStep::defaultDisplayName() { - return tr("Make"); + return Tr::tr("Make"); } static const QList preferredToolChains(const Kit *kit) @@ -169,7 +170,7 @@ FilePath MakeStep::defaultMakeCommand() const QString MakeStep::msgNoMakeCommand() { - return tr("Make command missing. Specify Make command in step configuration."); + return Tr::tr("Make command missing. Specify Make command in step configuration."); } Task MakeStep::makeCommandMissingTask() @@ -331,10 +332,10 @@ QWidget *MakeStep::createConfigWidget() setSummaryUpdater([this] { const CommandLine make = effectiveMakeCommand(MakeStep::Display); if (make.executable().isEmpty()) - return tr("Make: %1").arg(MakeStep::msgNoMakeCommand()); + return Tr::tr("Make: %1").arg(MakeStep::msgNoMakeCommand()); if (!buildConfiguration()) - return tr("Make: No build configuration."); + return Tr::tr("Make: No build configuration."); ProcessParameters param; param.setMacroExpander(macroExpander()); @@ -343,7 +344,7 @@ QWidget *MakeStep::createConfigWidget() param.setEnvironment(buildEnvironment()); if (param.commandMissing()) { - return tr("Make: %1 not found in the environment.") + return Tr::tr("Make: %1 not found in the environment.") .arg(param.command().executable().toUserOutput()); // Override display text } diff --git a/src/plugins/projectexplorer/miniprojecttargetselector.cpp b/src/plugins/projectexplorer/miniprojecttargetselector.cpp index 46cfa068c01..77a515d818a 100644 --- a/src/plugins/projectexplorer/miniprojecttargetselector.cpp +++ b/src/plugins/projectexplorer/miniprojecttargetselector.cpp @@ -12,6 +12,7 @@ #include "projectexplorer.h" #include "projectexplorerconstants.h" #include "projectexplorericons.h" +#include "projectexplorertr.h" #include "runconfiguration.h" #include "session.h" #include "target.h" @@ -121,7 +122,7 @@ private: QVariant data(int column, int role) const override { if (column == 1 && role == Qt::ToolTipRole) - return QCoreApplication::translate("RunConfigSelector", "Run Without Deployment"); + return Tr::tr("Run Without Deployment"); if (column != 0) return {}; switch (role) { @@ -676,14 +677,14 @@ MiniProjectTargetSelector::MiniProjectTargetSelector(QAction *targetSelectorActi m_titleWidgets.resize(LAST); m_listWidgets[PROJECT] = nullptr; //project is not a generic list widget - m_titleWidgets[PROJECT] = createTitleLabel(tr("Project")); + m_titleWidgets[PROJECT] = createTitleLabel(Tr::tr("Project")); m_projectListWidget = new ProjectListView(this); connect(m_projectListWidget, &QAbstractItemView::doubleClicked, this, &MiniProjectTargetSelector::hide); QStringList titles; - titles << tr("Kit") << tr("Build") - << tr("Deploy") << tr("Run"); + titles << Tr::tr("Kit") << Tr::tr("Build") + << Tr::tr("Deploy") << Tr::tr("Run"); for (int i = TARGET; i < LAST; ++i) { m_titleWidgets[i] = createTitleLabel(titles.at(i -1)); @@ -1487,24 +1488,24 @@ void MiniProjectTargetSelector::updateActionAndSummary() } m_projectAction->setProperty("heading", projectName); if (project && project->needsConfiguration()) - m_projectAction->setProperty("subtitle", tr("Unconfigured")); + m_projectAction->setProperty("subtitle", Tr::tr("Unconfigured")); else m_projectAction->setProperty("subtitle", buildConfig); m_projectAction->setIcon(targetIcon); QStringList lines; - lines << tr("Project: %1").arg(projectName); + lines << Tr::tr("Project: %1").arg(projectName); if (!fileName.isEmpty()) - lines << tr("Path: %1").arg(fileName); + lines << Tr::tr("Path: %1").arg(fileName); if (!targetName.isEmpty()) - lines << tr("Kit: %1").arg(targetName); + lines << Tr::tr("Kit: %1").arg(targetName); if (!buildConfig.isEmpty()) - lines << tr("Build: %1").arg(buildConfig); + lines << Tr::tr("Build: %1").arg(buildConfig); if (!deployConfig.isEmpty()) - lines << tr("Deploy: %1").arg(deployConfig); + lines << Tr::tr("Deploy: %1").arg(deployConfig); if (!runConfig.isEmpty()) - lines << tr("Run: %1").arg(runConfig); + lines << Tr::tr("Run: %1").arg(runConfig); if (!targetToolTipText.isEmpty()) - lines << tr("%1").arg(targetToolTipText); + lines << Tr::tr("%1").arg(targetToolTipText); QString toolTip = QString("%1") .arg(lines.join(QLatin1String("
"))); m_projectAction->setToolTip(toolTip); @@ -1516,21 +1517,21 @@ void MiniProjectTargetSelector::updateSummary() QString summary; if (Project *startupProject = SessionManager::startupProject()) { if (!m_projectListWidget->isVisibleTo(this)) - summary.append(tr("Project: %1
").arg(startupProject->displayName())); + summary.append(Tr::tr("Project: %1
").arg(startupProject->displayName())); if (Target *activeTarget = startupProject->activeTarget()) { if (!m_listWidgets[TARGET]->isVisibleTo(this)) - summary.append(tr("Kit: %1
").arg( activeTarget->displayName())); + summary.append(Tr::tr("Kit: %1
").arg( activeTarget->displayName())); if (!m_listWidgets[BUILD]->isVisibleTo(this) && activeTarget->activeBuildConfiguration()) - summary.append(tr("Build: %1
").arg( + summary.append(Tr::tr("Build: %1
").arg( activeTarget->activeBuildConfiguration()->displayName())); if (!m_listWidgets[DEPLOY]->isVisibleTo(this) && activeTarget->activeDeployConfiguration()) - summary.append(tr("Deploy: %1
").arg( + summary.append(Tr::tr("Deploy: %1
").arg( activeTarget->activeDeployConfiguration()->displayName())); if (!m_listWidgets[RUN]->isVisibleTo(this) && activeTarget->activeRunConfiguration()) - summary.append(tr("Run: %1
").arg( + summary.append(Tr::tr("Run: %1
").arg( activeTarget->activeRunConfiguration()->expandedDisplayName())); } else if (startupProject->needsConfiguration()) { - summary = tr("" "The project %1 is not yet configured

" "You can configure it in the Projects mode
") diff --git a/src/plugins/projectexplorer/msvctoolchain.cpp b/src/plugins/projectexplorer/msvctoolchain.cpp index 180eb3d3b55..704bc92d12b 100644 --- a/src/plugins/projectexplorer/msvctoolchain.cpp +++ b/src/plugins/projectexplorer/msvctoolchain.cpp @@ -859,7 +859,7 @@ MsvcToolChain::MsvcToolChain(Utils::Id typeId) : ToolChain(typeId) { setDisplayName("Microsoft Visual C++ Compiler"); - setTypeDisplayName(tr("MSVC")); + setTypeDisplayName(Tr::tr("MSVC")); addToAvailableMsvcToolchains(this); setTargetAbiKey(KEY_ROOT "SupportedAbi"); } @@ -1274,7 +1274,7 @@ MsvcBasedToolChainConfigWidget::MsvcBasedToolChainConfigWidget(ToolChain *tc) m_nameDisplayLabel->setTextInteractionFlags(Qt::TextBrowserInteraction); m_mainLayout->addRow(m_nameDisplayLabel); m_varsBatDisplayLabel->setTextInteractionFlags(Qt::TextBrowserInteraction); - m_mainLayout->addRow(tr("Initialization:"), m_varsBatDisplayLabel); + m_mainLayout->addRow(Tr::tr("Initialization:"), m_varsBatDisplayLabel); } static QString msvcVarsToDisplay(const MsvcToolChain &tc) @@ -1322,7 +1322,7 @@ MsvcToolChainConfigWidget::MsvcToolChainConfigWidget(ToolChain *tc) const bool isAmd64 = Utils::HostOsInfo::hostArchitecture() == Utils::HostOsInfo::HostArchitectureAMD64; // TODO: Add missing values to MsvcToolChain::Platform - m_varsBatArchCombo->addItem(tr(""), isAmd64 ? MsvcToolChain::amd64 : MsvcToolChain::x86); + m_varsBatArchCombo->addItem(Tr::tr(""), isAmd64 ? MsvcToolChain::amd64 : MsvcToolChain::x86); m_varsBatArchCombo->addItem("x86", MsvcToolChain::x86); m_varsBatArchCombo->addItem("amd64", MsvcToolChain::amd64); m_varsBatArchCombo->addItem("arm", MsvcToolChain::arm); @@ -1338,12 +1338,12 @@ MsvcToolChainConfigWidget::MsvcToolChainConfigWidget(ToolChain *tc) m_varsBatArchCombo->addItem("arm64_x86", MsvcToolChain::arm64_x86); m_varsBatArchCombo->addItem("arm64_amd64", MsvcToolChain::arm64_amd64); m_varsBatArgumentsEdit->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed); - m_varsBatArgumentsEdit->setToolTip(tr("Additional arguments for the vcvarsall.bat call")); + m_varsBatArgumentsEdit->setToolTip(Tr::tr("Additional arguments for the vcvarsall.bat call")); hLayout->addWidget(m_varsBatPathCombo); hLayout->addWidget(m_varsBatArchCombo); hLayout->addWidget(m_varsBatArgumentsEdit); - m_mainLayout->addRow(tr("Initialization:"), hLayout); - m_mainLayout->addRow(tr("&ABI:"), m_abiWidget); + m_mainLayout->addRow(Tr::tr("Initialization:"), hLayout); + m_mainLayout->addRow(Tr::tr("&ABI:"), m_abiWidget); addErrorLabel(); setFromMsvcToolChain(); @@ -1472,7 +1472,7 @@ void MsvcToolChainConfigWidget::handleVcVarsArchChange(const QString &) QString MsvcToolChainConfigWidget::vcVarsArguments() const { QString varsBatArg - = m_varsBatArchCombo->currentText() == tr("") + = m_varsBatArchCombo->currentText() == Tr::tr("") ? "" : m_varsBatArchCombo->currentText(); if (!m_varsBatArgumentsEdit->text().isEmpty()) varsBatArg += QLatin1Char(' ') + m_varsBatArgumentsEdit->text(); @@ -1491,19 +1491,19 @@ ClangClToolChainConfigWidget::ClangClToolChainConfigWidget(ToolChain *tc) : m_varsBatDisplayCombo->setObjectName("varsBatCombo"); m_varsBatDisplayCombo->setSizeAdjustPolicy(QComboBox::AdjustToContents); - m_mainLayout->addRow(tr("Initialization:"), m_varsBatDisplayCombo); + m_mainLayout->addRow(Tr::tr("Initialization:"), m_varsBatDisplayCombo); if (tc->isAutoDetected()) { m_llvmDirLabel = new QLabel(this); m_llvmDirLabel->setTextInteractionFlags(Qt::TextBrowserInteraction); - m_mainLayout->addRow(tr("&Compiler path:"), m_llvmDirLabel); + m_mainLayout->addRow(Tr::tr("&Compiler path:"), m_llvmDirLabel); } else { const QStringList gnuVersionArgs = QStringList("--version"); m_compilerCommand = new Utils::PathChooser(this); m_compilerCommand->setExpectedKind(Utils::PathChooser::ExistingCommand); m_compilerCommand->setCommandVersionArguments(gnuVersionArgs); m_compilerCommand->setHistoryCompleter("PE.Clang.Command.History"); - m_mainLayout->addRow(tr("&Compiler path:"), m_compilerCommand); + m_mainLayout->addRow(Tr::tr("&Compiler path:"), m_compilerCommand); } addErrorLabel(); setFromClangClToolChain(); @@ -1697,7 +1697,7 @@ ClangClToolChain::ClangClToolChain() : MsvcToolChain(Constants::CLANG_CL_TOOLCHAIN_TYPEID) { setDisplayName("clang-cl"); - setTypeDisplayName(QCoreApplication::translate("ProjectExplorer::ClangToolChainFactory", "Clang")); + setTypeDisplayName(Tr::tr("Clang")); } bool ClangClToolChain::isValid() const @@ -1820,7 +1820,7 @@ ClangClToolChain::BuiltInHeaderPathsRunner ClangClToolChain::createBuiltInHeader MsvcToolChainFactory::MsvcToolChainFactory() { - setDisplayName(MsvcToolChain::tr("MSVC")); + setDisplayName(Tr::tr("MSVC")); setSupportedToolChainType(Constants::MSVC_TOOLCHAIN_TYPEID); setSupportedLanguages({Constants::C_LANGUAGE_ID, Constants::CXX_LANGUAGE_ID}); setToolchainConstructor([] { return new MsvcToolChain(Constants::MSVC_TOOLCHAIN_TYPEID); }); @@ -2017,7 +2017,7 @@ Toolchains MsvcToolChainFactory::autoDetect(const ToolchainDetector &detector) c ClangClToolChainFactory::ClangClToolChainFactory() { - setDisplayName(ClangClToolChain::tr("clang-cl")); + setDisplayName(Tr::tr("clang-cl")); setSupportedLanguages({Constants::C_LANGUAGE_ID, Constants::CXX_LANGUAGE_ID}); setSupportedToolChainType(Constants::CLANG_CL_TOOLCHAIN_TYPEID); setToolchainConstructor([] { return new ClangClToolChain; }); @@ -2153,9 +2153,7 @@ std::optional MsvcToolChain::generateEnvironmentSettings(const Utils::E QString command = QDir::toNativeSeparators(batchFile); if (!batchArgs.isEmpty()) command += ' ' + batchArgs; - return QCoreApplication::translate("ProjectExplorer::Internal::MsvcToolChain", - "Failed to retrieve MSVC Environment from \"%1\":\n" - "%2") + return Tr::tr("Failed to retrieve MSVC Environment from \"%1\":\n%2") .arg(command, message); } diff --git a/src/plugins/projectexplorer/msvctoolchain.h b/src/plugins/projectexplorer/msvctoolchain.h index 7cd94ba6610..042bbfe38f8 100644 --- a/src/plugins/projectexplorer/msvctoolchain.h +++ b/src/plugins/projectexplorer/msvctoolchain.h @@ -31,8 +31,6 @@ namespace Internal { class MsvcToolChain : public ToolChain { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Internal::MsvcToolChain) - public: enum Type { WindowsSDK, VS }; enum Platform { x86, amd64, x86_amd64, ia64, x86_ia64, arm, x86_arm, amd64_arm, amd64_x86, @@ -139,8 +137,6 @@ protected: class PROJECTEXPLORER_EXPORT ClangClToolChain : public MsvcToolChain { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Internal::ClangClToolChain) - public: ClangClToolChain(); diff --git a/src/plugins/projectexplorer/osparser.cpp b/src/plugins/projectexplorer/osparser.cpp index b72f3f801a1..42c65f2cb5d 100644 --- a/src/plugins/projectexplorer/osparser.cpp +++ b/src/plugins/projectexplorer/osparser.cpp @@ -2,12 +2,13 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "osparser.h" -#include "projectexplorerconstants.h" + +#include "projectexplorertr.h" #include "task.h" #include -using namespace ProjectExplorer; +namespace ProjectExplorer { OsParser::OsParser() { @@ -21,7 +22,7 @@ Utils::OutputLineParser::Result OsParser::handleLine(const QString &line, Utils: const QString trimmed = line.trimmed(); if (trimmed == QLatin1String("The process cannot access the file because it is " "being used by another process.")) { - scheduleTask(CompileTask(Task::Error, tr( + scheduleTask(CompileTask(Task::Error, Tr::tr( "The process cannot access the file because it is being used " "by another process.\n" "Please close all running instances of your application before " @@ -41,3 +42,5 @@ Utils::OutputLineParser::Result OsParser::handleLine(const QString &line, Utils: } return Status::NotHandled; } + +} // ProjectExplorer diff --git a/src/plugins/projectexplorer/parseissuesdialog.cpp b/src/plugins/projectexplorer/parseissuesdialog.cpp index d9e9ab81aea..331773fe7b6 100644 --- a/src/plugins/projectexplorer/parseissuesdialog.cpp +++ b/src/plugins/projectexplorer/parseissuesdialog.cpp @@ -8,6 +8,7 @@ #include "kitchooser.h" #include "kitmanager.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "taskhub.h" #include @@ -40,23 +41,23 @@ public: ParseIssuesDialog::ParseIssuesDialog(QWidget *parent) : QDialog(parent), d(new Private) { - setWindowTitle(tr("Parse Build Output")); + setWindowTitle(Tr::tr("Parse Build Output")); - d->stderrCheckBox.setText(tr("Output went to stderr")); + d->stderrCheckBox.setText(Tr::tr("Output went to stderr")); d->stderrCheckBox.setChecked(true); - d->clearTasksCheckBox.setText(tr("Clear existing tasks")); + d->clearTasksCheckBox.setText(Tr::tr("Clear existing tasks")); d->clearTasksCheckBox.setChecked(true); - const auto loadFileButton = new QPushButton(tr("Load from File...")); + const auto loadFileButton = new QPushButton(Tr::tr("Load from File...")); connect(loadFileButton, &QPushButton::clicked, this, [this] { - const FilePath filePath = FileUtils::getOpenFilePath(this, tr("Choose File")); + const FilePath filePath = FileUtils::getOpenFilePath(this, Tr::tr("Choose File")); if (filePath.isEmpty()) return; QFile file(filePath.toString()); if (!file.open(QIODevice::ReadOnly)) { - QMessageBox::critical(this, tr("Could Not Open File"), - tr("Could not open file: \"%1\": %2") + QMessageBox::critical(this, Tr::tr("Could Not Open File"), + Tr::tr("Could not open file: \"%1\": %2") .arg(filePath.toUserOutput(), file.errorString())); return; } @@ -79,7 +80,7 @@ ParseIssuesDialog::ParseIssuesDialog(QWidget *parent) : QDialog(parent), d(new P buttonBox->button(QDialogButtonBox::Ok)->setEnabled(d->kitChooser.currentKit()); const auto layout = new QVBoxLayout(this); - const auto outputGroupBox = new QGroupBox(tr("Build Output")); + const auto outputGroupBox = new QGroupBox(Tr::tr("Build Output")); layout->addWidget(outputGroupBox); const auto outputLayout = new QHBoxLayout(outputGroupBox); outputLayout->addWidget(&d->compileOutputEdit); @@ -93,13 +94,13 @@ ParseIssuesDialog::ParseIssuesDialog(QWidget *parent) : QDialog(parent), d(new P // TODO: Only very few parsers are available from a Kit (basically just the Toolchain one). // If we introduced factories for IOutputParsers, we could offer the user // to combine arbitrary parsers here. - const auto parserGroupBox = new QGroupBox(tr("Parsing Options")); + const auto parserGroupBox = new QGroupBox(Tr::tr("Parsing Options")); layout->addWidget(parserGroupBox); const auto parserLayout = new QVBoxLayout(parserGroupBox); const auto kitChooserWidget = new QWidget; const auto kitChooserLayout = new QHBoxLayout(kitChooserWidget); kitChooserLayout->setContentsMargins(0, 0, 0, 0); - kitChooserLayout->addWidget(new QLabel(tr("Use parsers from kit:"))); + kitChooserLayout->addWidget(new QLabel(Tr::tr("Use parsers from kit:"))); kitChooserLayout->addWidget(&d->kitChooser); parserLayout->addWidget(kitChooserWidget); parserLayout->addWidget(&d->clearTasksCheckBox); @@ -117,7 +118,7 @@ void ParseIssuesDialog::accept() const QList lineParsers = d->kitChooser.currentKit()->createOutputParsers(); if (lineParsers.isEmpty()) { - QMessageBox::critical(this, tr("Cannot Parse"), tr("Cannot parse: The chosen kit does " + QMessageBox::critical(this, Tr::tr("Cannot Parse"), Tr::tr("Cannot parse: The chosen kit does " "not provide an output parser.")); return; } diff --git a/src/plugins/projectexplorer/processstep.cpp b/src/plugins/projectexplorer/processstep.cpp index 11b1d1d24ec..3ced1622d0d 100644 --- a/src/plugins/projectexplorer/processstep.cpp +++ b/src/plugins/projectexplorer/processstep.cpp @@ -8,8 +8,7 @@ #include "kit.h" #include "processparameters.h" #include "projectexplorerconstants.h" -#include "projectexplorer_export.h" -#include "target.h" +#include "projectexplorertr.h" #include #include @@ -26,8 +25,6 @@ const char PROCESS_ARGUMENTS_KEY[] = "ProjectExplorer.ProcessStep.Arguments"; class ProcessStep final : public AbstractProcessStep { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::ProcessStep) - public: ProcessStep(BuildStepList *bsl, Id id); @@ -40,20 +37,20 @@ ProcessStep::ProcessStep(BuildStepList *bsl, Id id) auto command = addAspect(); command->setSettingsKey(PROCESS_COMMAND_KEY); command->setDisplayStyle(StringAspect::PathChooserDisplay); - command->setLabelText(tr("Command:")); + command->setLabelText(Tr::tr("Command:")); command->setExpectedKind(PathChooser::Command); command->setHistoryCompleter("PE.ProcessStepCommand.History"); auto arguments = addAspect(); arguments->setSettingsKey(PROCESS_ARGUMENTS_KEY); arguments->setDisplayStyle(StringAspect::LineEditDisplay); - arguments->setLabelText(tr("Arguments:")); + arguments->setLabelText(Tr::tr("Arguments:")); auto workingDirectory = addAspect(); workingDirectory->setSettingsKey(PROCESS_WORKINGDIRECTORY_KEY); workingDirectory->setValue(Constants::DEFAULT_WORKING_DIR); workingDirectory->setDisplayStyle(StringAspect::PathChooserDisplay); - workingDirectory->setLabelText(tr("Working directory:")); + workingDirectory->setLabelText(Tr::tr("Working directory:")); workingDirectory->setExpectedKind(PathChooser::Directory); setWorkingDirectoryProvider([this, workingDirectory] { @@ -70,7 +67,7 @@ ProcessStep::ProcessStep(BuildStepList *bsl, Id id) setSummaryUpdater([this] { QString display = displayName(); if (display.isEmpty()) - display = tr("Custom Process Step"); + display = Tr::tr("Custom Process Step"); ProcessParameters param; setupProcessParameters(¶m); return param.summary(display); @@ -91,7 +88,7 @@ ProcessStepFactory::ProcessStepFactory() { registerStep("ProjectExplorer.ProcessStep"); //: Default ProcessStep display name - setDisplayName(ProcessStep::tr("Custom Process Step")); + setDisplayName(Tr::tr("Custom Process Step")); } } // Internal diff --git a/src/plugins/projectexplorer/project.cpp b/src/plugins/projectexplorer/project.cpp index 256d8c17cd3..6bff1aa781b 100644 --- a/src/plugins/projectexplorer/project.cpp +++ b/src/plugins/projectexplorer/project.cpp @@ -13,6 +13,7 @@ #include "kitinformation.h" #include "projectexplorer.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "projectnodes.h" #include "runconfiguration.h" #include "runconfigurationaspects.h" @@ -204,8 +205,8 @@ Project::Project(const QString &mimeType, const FilePath &fileName) d->m_document = std::make_unique(mimeType, fileName, this); DocumentManager::addDocument(d->m_document.get()); - d->m_macroExpander.setDisplayName(tr("Project")); - d->m_macroExpander.registerVariable("Project:Name", tr("Project Name"), + d->m_macroExpander.setDisplayName(Tr::tr("Project")); + d->m_macroExpander.registerVariable("Project:Name", Tr::tr("Project Name"), [this] { return displayName(); }); // Only set up containernode after d is set so that it will find the project directory! @@ -417,7 +418,7 @@ Tasks Project::projectIssues(const Kit *k) const { Tasks result; if (!k->isValid()) - result.append(createProjectTask(Task::TaskType::Error, tr("Kit is not valid."))); + result.append(createProjectTask(Task::TaskType::Error, Tr::tr("Kit is not valid."))); return {}; } @@ -498,8 +499,8 @@ bool Project::copySteps(Target *sourceTarget, Target *newTarget) if (fatalError) { // That could be a more granular error message QMessageBox::critical(ICore::dialogParent(), - tr("Incompatible Kit"), - tr("Kit %1 is incompatible with kit %2.") + Tr::tr("Incompatible Kit"), + Tr::tr("Kit %1 is incompatible with kit %2.") .arg(sourceTarget->kit()->displayName()) .arg(newTarget->kit()->displayName())); } else if (!buildconfigurationError.isEmpty() @@ -508,27 +509,27 @@ bool Project::copySteps(Target *sourceTarget, Target *newTarget) QString error; if (!buildconfigurationError.isEmpty()) - error += tr("Build configurations:") + QLatin1Char('\n') + error += Tr::tr("Build configurations:") + QLatin1Char('\n') + buildconfigurationError.join(QLatin1Char('\n')); if (!deployconfigurationError.isEmpty()) { if (!error.isEmpty()) error.append(QLatin1Char('\n')); - error += tr("Deploy configurations:") + QLatin1Char('\n') + error += Tr::tr("Deploy configurations:") + QLatin1Char('\n') + deployconfigurationError.join(QLatin1Char('\n')); } if (!runconfigurationError.isEmpty()) { if (!error.isEmpty()) error.append(QLatin1Char('\n')); - error += tr("Run configurations:") + QLatin1Char('\n') + error += Tr::tr("Run configurations:") + QLatin1Char('\n') + runconfigurationError.join(QLatin1Char('\n')); } QMessageBox msgBox(ICore::dialogParent()); msgBox.setIcon(QMessageBox::Warning); - msgBox.setWindowTitle(tr("Partially Incompatible Kit")); - msgBox.setText(tr("Some configurations could not be copied.")); + msgBox.setWindowTitle(Tr::tr("Partially Incompatible Kit")); + msgBox.setText(Tr::tr("Some configurations could not be copied.")); msgBox.setDetailedText(error); msgBox.setStandardButtons(QMessageBox::Ok | QMessageBox::Cancel); fatalError = msgBox.exec() != QDialog::Accepted; @@ -704,7 +705,7 @@ void Project::changeRootProjectDirectory() { FilePath rootPath = FileUtils::getExistingDirectory( nullptr, - tr("Select the Root Directory"), + Tr::tr("Select the Root Directory"), rootProjectDirectory(), QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks); if (rootPath != d->m_rootProjectDirectory) { @@ -792,8 +793,8 @@ void Project::createTargetFromMap(const QVariantMap &map, int index) deviceTypeId = Constants::DESKTOP_DEVICE_TYPE; const QString formerKitName = targetMap.value(Target::displayNameKey()).toString(); k = KitManager::registerKit([deviceTypeId, &formerKitName](Kit *kit) { - const QString kitNameSuggestion = formerKitName.contains(tr("Replacement for")) - ? formerKitName : tr("Replacement for \"%1\"").arg(formerKitName); + const QString kitNameSuggestion = formerKitName.contains(Tr::tr("Replacement for")) + ? formerKitName : Tr::tr("Replacement for \"%1\"").arg(formerKitName); const QString tempKitName = makeUniquelyNumbered(kitNameSuggestion, transform(KitManager::kits(), &Kit::unexpandedDisplayName)); kit->setUnexpandedDisplayName(tempKitName); @@ -802,7 +803,7 @@ void Project::createTargetFromMap(const QVariantMap &map, int index) kit->setup(); }, id); QTC_ASSERT(k, return); - TaskHub::addTask(BuildSystemTask(Task::Warning, tr("Project \"%1\" was configured for " + TaskHub::addTask(BuildSystemTask(Task::Warning, Tr::tr("Project \"%1\" was configured for " "kit \"%2\" with id %3, which does not exist anymore. The new kit \"%4\" was " "created in its place, in an attempt not to lose custom project settings.") .arg(displayName(), formerKitName, id.toString(), k->displayName()))); @@ -1027,7 +1028,7 @@ QStringList Project::availableQmlPreviewTranslations(QString *errorMessage) const QDir languageDirectory(projectDirectory + "/i18n"); const auto qmFiles = languageDirectory.entryList({"qml_*.qm"}); if (qmFiles.isEmpty() && errorMessage) - errorMessage->append(tr("Could not find any qml_*.qm file at \"%1\"").arg(languageDirectory.absolutePath())); + errorMessage->append(Tr::tr("Could not find any qml_*.qm file at \"%1\"").arg(languageDirectory.absolutePath())); return transform(qmFiles, [](const QString &qmFile) { const int localeStartPosition = qmFile.lastIndexOf("_") + 1; const int localeEndPosition = qmFile.size() - QString(".qm").size(); @@ -1113,7 +1114,7 @@ void Project::addVariablesToMacroExpander(const QByteArray &prefix, const QByteArray prefixWithoutColon = fullPrefix.chopped(1); expander->registerVariable(fullPrefix + "Name", //: %1 is something like "Active project" - tr("%1: Name.").arg(descriptor), + Tr::tr("%1: Name.").arg(descriptor), [projectGetter]() -> QString { if (const Project *const project = projectGetter()) return project->displayName(); @@ -1121,7 +1122,7 @@ void Project::addVariablesToMacroExpander(const QByteArray &prefix, }); expander->registerFileVariables(prefixWithoutColon, //: %1 is something like "Active project" - tr("%1: Full path to main file.").arg(descriptor), + Tr::tr("%1: Full path to main file.").arg(descriptor), [projectGetter]() -> FilePath { if (const Project *const project = projectGetter()) return project->projectFilePath(); @@ -1129,7 +1130,7 @@ void Project::addVariablesToMacroExpander(const QByteArray &prefix, }); expander->registerVariable(fullPrefix + "Kit:Name", //: %1 is something like "Active project" - tr("%1: The name the active kit.").arg(descriptor), + Tr::tr("%1: The name the active kit.").arg(descriptor), [targetGetter]() -> QString { if (const Target *const target = targetGetter()) return target->kit()->displayName(); @@ -1137,7 +1138,7 @@ void Project::addVariablesToMacroExpander(const QByteArray &prefix, }); expander->registerVariable(fullPrefix + "BuildConfig:Name", //: %1 is something like "Active project" - tr("%1: Name of the active build configuration.").arg(descriptor), + Tr::tr("%1: Name of the active build configuration.").arg(descriptor), [bcGetter]() -> QString { if (const BuildConfiguration *const bc = bcGetter()) return bc->displayName(); @@ -1145,7 +1146,7 @@ void Project::addVariablesToMacroExpander(const QByteArray &prefix, }); expander->registerVariable(fullPrefix + "BuildConfig:Type", //: %1 is something like "Active project" - tr("%1: Type of the active build configuration.").arg(descriptor), + Tr::tr("%1: Type of the active build configuration.").arg(descriptor), [bcGetter]() -> QString { const BuildConfiguration *const bc = bcGetter(); const BuildConfiguration::BuildType type @@ -1155,7 +1156,7 @@ void Project::addVariablesToMacroExpander(const QByteArray &prefix, expander ->registerVariable(fullPrefix + "BuildConfig:Path", //: %1 is something like "Active project" - tr("%1: Full build path of active build configuration.").arg(descriptor), + Tr::tr("%1: Full build path of active build configuration.").arg(descriptor), [bcGetter]() -> QString { if (const BuildConfiguration *const bc = bcGetter()) return bc->buildDirectory().toUserOutput(); @@ -1163,7 +1164,7 @@ void Project::addVariablesToMacroExpander(const QByteArray &prefix, }); expander->registerPrefix(fullPrefix + "BuildConfig:Env", //: %1 is something like "Active project" - tr("%1: Variables in the active build environment.").arg(descriptor), + Tr::tr("%1: Variables in the active build environment.").arg(descriptor), [bcGetter](const QString &var) { if (BuildConfiguration *const bc = bcGetter()) return bc->environment().expandedValueForKey(var); @@ -1172,7 +1173,7 @@ void Project::addVariablesToMacroExpander(const QByteArray &prefix, expander->registerVariable(fullPrefix + "RunConfig:Name", //: %1 is something like "Active project" - tr("%1: Name of the active run configuration.").arg(descriptor), + Tr::tr("%1: Name of the active run configuration.").arg(descriptor), [rcGetter]() -> QString { if (const RunConfiguration *const rc = rcGetter()) return rc->displayName(); @@ -1180,7 +1181,7 @@ void Project::addVariablesToMacroExpander(const QByteArray &prefix, }); expander->registerFileVariables(fullPrefix + "RunConfig:Executable", //: %1 is something like "Active project" - tr("%1: Executable of the active run configuration.") + Tr::tr("%1: Executable of the active run configuration.") .arg(descriptor), [rcGetter]() -> FilePath { if (const RunConfiguration *const rc = rcGetter()) @@ -1189,7 +1190,7 @@ void Project::addVariablesToMacroExpander(const QByteArray &prefix, }); expander->registerPrefix(fullPrefix + "RunConfig:Env", //: %1 is something like "Active project" - tr("%1: Variables in the environment of the active run configuration.") + Tr::tr("%1: Variables in the environment of the active run configuration.") .arg(descriptor), [rcGetter](const QString &var) { if (const RunConfiguration *const rc = rcGetter()) { @@ -1200,7 +1201,7 @@ void Project::addVariablesToMacroExpander(const QByteArray &prefix, }); expander->registerVariable(fullPrefix + "RunConfig:WorkingDir", //: %1 is something like "Active project" - tr("%1: Working directory of the active run configuration.") + Tr::tr("%1: Working directory of the active run configuration.") .arg(descriptor), [rcGetter] { if (const RunConfiguration *const rc = rcGetter()) { diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index 96d36381c70..7e3388c440b 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -364,7 +364,7 @@ public: ProjectsMode() { setContext(Context(Constants::C_PROJECTEXPLORER)); - setDisplayName(QCoreApplication::translate("ProjectExplorer::ProjectsMode", "Projects")); + setDisplayName(Tr::tr("Projects")); setIcon(Icon::modeIcon(Icons::MODE_PROJECT_CLASSIC, Icons::MODE_PROJECT_FLAT, Icons::MODE_PROJECT_FLAT_ACTIVE)); setPriority(Constants::P_MODE_SESSION); @@ -373,13 +373,10 @@ public: } }; - class ProjectEnvironmentWidget : public NamedWidget { - Q_DECLARE_TR_FUNCTIONS(ProjectEnvironmentWidget) - public: - explicit ProjectEnvironmentWidget(Project *project) : NamedWidget(tr("Project Environment")) + explicit ProjectEnvironmentWidget(Project *project) : NamedWidget(Tr::tr("Project Environment")) { setUseGlobalSettingsCheckBoxVisible(false); setUseGlobalSettingsLabelVisible(false); @@ -445,8 +442,6 @@ public: class ProjectExplorerPluginPrivate : public QObject { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::ProjectExplorerPlugin) - public: ProjectExplorerPluginPrivate(); @@ -829,8 +824,8 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er dd->m_toolChainManager = new ToolChainManager; // Register languages - ToolChainManager::registerLanguage(Constants::C_LANGUAGE_ID, tr("C")); - ToolChainManager::registerLanguage(Constants::CXX_LANGUAGE_ID, tr("C++")); + ToolChainManager::registerLanguage(Constants::C_LANGUAGE_ID, Tr::tr("C")); + ToolChainManager::registerLanguage(Constants::CXX_LANGUAGE_ID, Tr::tr("C++")); IWizardFactory::registerFeatureProvider(new KitFeatureProvider); IWizardFactory::registerFactoryCreator([] { return new SimpleProjectWizard; }); @@ -913,25 +908,25 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er // ProjectPanelFactories auto panelFactory = new ProjectPanelFactory; panelFactory->setPriority(30); - panelFactory->setDisplayName(QCoreApplication::translate("EditorSettingsPanelFactory", "Editor")); + panelFactory->setDisplayName(Tr::tr("Editor")); panelFactory->setCreateWidgetFunction([](Project *project) { return new EditorSettingsWidget(project); }); ProjectPanelFactory::registerFactory(panelFactory); panelFactory = new ProjectPanelFactory; panelFactory->setPriority(40); - panelFactory->setDisplayName(QCoreApplication::translate("CodeStyleSettingsPanelFactory", "Code Style")); + panelFactory->setDisplayName(Tr::tr("Code Style")); panelFactory->setCreateWidgetFunction([](Project *project) { return new CodeStyleSettingsWidget(project); }); ProjectPanelFactory::registerFactory(panelFactory); panelFactory = new ProjectPanelFactory; panelFactory->setPriority(50); - panelFactory->setDisplayName(QCoreApplication::translate("DependenciesPanelFactory", "Dependencies")); + panelFactory->setDisplayName(Tr::tr("Dependencies")); panelFactory->setCreateWidgetFunction([](Project *project) { return new DependenciesWidget(project); }); ProjectPanelFactory::registerFactory(panelFactory); panelFactory = new ProjectPanelFactory; panelFactory->setPriority(60); - panelFactory->setDisplayName(QCoreApplication::translate("EnvironmentPanelFactory", "Environment")); + panelFactory->setDisplayName(Tr::tr("Environment")); panelFactory->setCreateWidgetFunction([](Project *project) { return new ProjectEnvironmentWidget(project); }); @@ -959,32 +954,32 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er // context menu sub menus: ActionContainer *folderOpenLocationCtxMenu = ActionManager::createMenu(Constants::FOLDER_OPEN_LOCATIONS_CONTEXT_MENU); - folderOpenLocationCtxMenu->menu()->setTitle(tr("Open...")); + folderOpenLocationCtxMenu->menu()->setTitle(Tr::tr("Open...")); folderOpenLocationCtxMenu->setOnAllDisabledBehavior(ActionContainer::Hide); ActionContainer *projectOpenLocationCtxMenu = ActionManager::createMenu(Constants::PROJECT_OPEN_LOCATIONS_CONTEXT_MENU); - projectOpenLocationCtxMenu->menu()->setTitle(tr("Open...")); + projectOpenLocationCtxMenu->menu()->setTitle(Tr::tr("Open...")); projectOpenLocationCtxMenu->setOnAllDisabledBehavior(ActionContainer::Hide); // build menu ActionContainer *mbuild = ActionManager::createMenu(Constants::M_BUILDPROJECT); - mbuild->menu()->setTitle(tr("&Build")); + mbuild->menu()->setTitle(Tr::tr("&Build")); if (!hideBuildMenu()) menubar->addMenu(mbuild, Core::Constants::G_VIEW); // debug menu ActionContainer *mdebug = ActionManager::createMenu(Constants::M_DEBUG); - mdebug->menu()->setTitle(tr("&Debug")); + mdebug->menu()->setTitle(Tr::tr("&Debug")); if (!hideDebugMenu()) menubar->addMenu(mdebug, Core::Constants::G_VIEW); ActionContainer *mstartdebugging = ActionManager::createMenu(Constants::M_DEBUG_STARTDEBUGGING); - mstartdebugging->menu()->setTitle(tr("&Start Debugging")); + mstartdebugging->menu()->setTitle(Tr::tr("&Start Debugging")); mdebug->addMenu(mstartdebugging, Core::Constants::G_DEFAULT_ONE); // @@ -1040,7 +1035,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er const QIcon runIcon = Icon::combinedIcon({Utils::Icons::RUN_SMALL.icon(), runSideBarIcon}); runMenu->menu()->setIcon(runIcon); - runMenu->menu()->setTitle(tr("Run")); + runMenu->menu()->setTitle(Tr::tr("Run")); msubProjectContextMenu->addMenu(runMenu, ProjectExplorer::Constants::G_PROJECT_RUN); mfolderContextMenu->appendGroup(Constants::G_FOLDER_LOCATIONS); @@ -1066,7 +1061,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er ActionManager::createMenu(ProjectExplorer::Constants::M_OPENFILEWITHCONTEXT); openWith->setOnAllDisabledBehavior(ActionContainer::Show); dd->m_openWithMenu = openWith->menu(); - dd->m_openWithMenu->setTitle(tr("Open With")); + dd->m_openWithMenu->setTitle(Tr::tr("Open With")); mfolderContextMenu->addMenu(folderOpenLocationCtxMenu, Constants::G_FOLDER_LOCATIONS); connect(mfolderContextMenu->menu(), &QMenu::aboutToShow, @@ -1104,19 +1099,19 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er // // new action - dd->m_newAction = new QAction(tr("New Project..."), this); + dd->m_newAction = new QAction(Tr::tr("New Project..."), this); cmd = ActionManager::registerAction(dd->m_newAction, Core::Constants::NEW, projectTreeContext); msessionContextMenu->addAction(cmd, Constants::G_SESSION_FILES); // open action - dd->m_loadAction = new QAction(tr("Load Project..."), this); + dd->m_loadAction = new QAction(Tr::tr("Load Project..."), this); cmd = ActionManager::registerAction(dd->m_loadAction, Constants::LOAD); if (!HostOsInfo::isMacHost()) - cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+Shift+O"))); + cmd->setDefaultKeySequence(QKeySequence(Tr::tr("Ctrl+Shift+O"))); msessionContextMenu->addAction(cmd, Constants::G_SESSION_FILES); // Default open action - dd->m_openFileAction = new QAction(tr("Open File"), this); + dd->m_openFileAction = new QAction(Tr::tr("Open File"), this); cmd = ActionManager::registerAction(dd->m_openFileAction, Constants::OPENFILE, projectTreeContext); mfileContextMenu->addAction(cmd, Constants::G_FILE_OPEN); @@ -1162,8 +1157,8 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er mprojectContextMenu->addMenu(openTerminal, Constants::G_PROJECT_LAST); - dd->m_openTerminalHereBuildEnv = new QAction(tr("Build Environment"), this); - dd->m_openTerminalHereRunEnv = new QAction(tr("Run Environment"), this); + dd->m_openTerminalHereBuildEnv = new QAction(Tr::tr("Build Environment"), this); + dd->m_openTerminalHereRunEnv = new QAction(Tr::tr("Run Environment"), this); cmd = ActionManager::registerAction(dd->m_openTerminalHereBuildEnv, "ProjectExplorer.OpenTerminalHereBuildEnv", projectTreeContext); @@ -1180,7 +1175,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er // recent projects menu ActionContainer *mrecent = ActionManager::createMenu(Constants::M_RECENTPROJECTS); - mrecent->menu()->setTitle(tr("Recent P&rojects")); + mrecent->menu()->setTitle(Tr::tr("Recent P&rojects")); mrecent->setOnAllDisabledBehavior(ActionContainer::Show); mfile->addMenu(mrecent, Core::Constants::G_FILE_OPEN); connect(mfile->menu(), &QMenu::aboutToShow, @@ -1188,7 +1183,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er // session menu ActionContainer *msession = ActionManager::createMenu(Constants::M_SESSION); - msession->menu()->setTitle(tr("S&essions")); + msession->menu()->setTitle(Tr::tr("S&essions")); msession->setOnAllDisabledBehavior(ActionContainer::Show); mfile->addMenu(msession, Core::Constants::G_FILE_OPEN); dd->m_sessionMenu = msession->menu(); @@ -1196,7 +1191,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er dd, &ProjectExplorerPluginPrivate::updateSessionMenu); // session manager action - dd->m_sessionManagerAction = new QAction(tr("&Manage..."), this); + dd->m_sessionManagerAction = new QAction(Tr::tr("&Manage..."), this); dd->m_sessionMenu->addAction(dd->m_sessionManagerAction); dd->m_sessionMenu->addSeparator(); cmd = ActionManager::registerAction(dd->m_sessionManagerAction, @@ -1204,7 +1199,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er cmd->setDefaultKeySequence(QKeySequence()); // unload action - dd->m_unloadAction = new ParameterAction(tr("Close Project"), tr("Close Pro&ject \"%1\""), + dd->m_unloadAction = new ParameterAction(Tr::tr("Close Project"), Tr::tr("Close Pro&ject \"%1\""), ParameterAction::AlwaysEnabled, this); cmd = ActionManager::registerAction(dd->m_unloadAction, Constants::UNLOAD); cmd->setAttribute(Command::CA_UpdateText); @@ -1212,7 +1207,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er mfile->addAction(cmd, Core::Constants::G_FILE_PROJECT); dd->m_closeProjectFilesActionFileMenu = new ParameterAction( - tr("Close All Files in Project"), tr("Close All Files in Project \"%1\""), + Tr::tr("Close All Files in Project"), Tr::tr("Close All Files in Project \"%1\""), ParameterAction::AlwaysEnabled, this); cmd = ActionManager::registerAction(dd->m_closeProjectFilesActionFileMenu, "ProjectExplorer.CloseProjectFilesFileMenu"); @@ -1222,14 +1217,14 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er ActionContainer *munload = ActionManager::createMenu(Constants::M_UNLOADPROJECTS); - munload->menu()->setTitle(tr("Close Pro&ject")); + munload->menu()->setTitle(Tr::tr("Close Pro&ject")); munload->setOnAllDisabledBehavior(ActionContainer::Show); mfile->addMenu(munload, Core::Constants::G_FILE_PROJECT); connect(mfile->menu(), &QMenu::aboutToShow, dd, &ProjectExplorerPluginPrivate::updateUnloadProjectMenu); // unload session action - dd->m_closeAllProjects = new QAction(tr("Close All Projects and Editors"), this); + dd->m_closeAllProjects = new QAction(Tr::tr("Close All Projects and Editors"), this); cmd = ActionManager::registerAction(dd->m_closeAllProjects, Constants::CLEARSESSION); mfile->addAction(cmd, Core::Constants::G_FILE_PROJECT); msessionContextMenu->addAction(cmd, Constants::G_SESSION_FILES); @@ -1237,41 +1232,41 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er // build session action const QIcon sideBarIcon = Icon::sideBarIcon(Icons::BUILD, Icons::BUILD_FLAT); const QIcon buildIcon = Icon::combinedIcon({Icons::BUILD_SMALL.icon(), sideBarIcon}); - dd->m_buildSessionAction = new QAction(buildIcon, tr("Build All Projects"), this); + dd->m_buildSessionAction = new QAction(buildIcon, Tr::tr("Build All Projects"), this); cmd = ActionManager::registerAction(dd->m_buildSessionAction, Constants::BUILDSESSION); - cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+Shift+B"))); + cmd->setDefaultKeySequence(QKeySequence(Tr::tr("Ctrl+Shift+B"))); mbuild->addAction(cmd, Constants::G_BUILD_ALLPROJECTS); msessionContextMenu->addAction(cmd, Constants::G_SESSION_BUILD); dd->m_buildSessionForAllConfigsAction - = new QAction(buildIcon, tr("Build All Projects for All Configurations"), this); + = new QAction(buildIcon, Tr::tr("Build All Projects for All Configurations"), this); cmd = ActionManager::registerAction(dd->m_buildSessionForAllConfigsAction, Constants::BUILDSESSIONALLCONFIGS); mbuild->addAction(cmd, Constants::G_BUILD_ALLPROJECTS_ALLCONFIGURATIONS); msessionContextMenu->addAction(cmd, Constants::G_SESSION_BUILD); // deploy session - dd->m_deploySessionAction = new QAction(tr("Deploy"), this); - dd->m_deploySessionAction->setWhatsThis(tr("Deploy All Projects")); + dd->m_deploySessionAction = new QAction(Tr::tr("Deploy"), this); + dd->m_deploySessionAction->setWhatsThis(Tr::tr("Deploy All Projects")); cmd = ActionManager::registerAction(dd->m_deploySessionAction, Constants::DEPLOYSESSION); cmd->setDescription(dd->m_deploySessionAction->whatsThis()); mbuild->addAction(cmd, Constants::G_BUILD_ALLPROJECTS); msessionContextMenu->addAction(cmd, Constants::G_SESSION_BUILD); // rebuild session action - dd->m_rebuildSessionAction = new QAction(Icons::REBUILD.icon(), tr("Rebuild"), + dd->m_rebuildSessionAction = new QAction(Icons::REBUILD.icon(), Tr::tr("Rebuild"), this); - dd->m_rebuildSessionAction->setWhatsThis(tr("Rebuild All Projects")); + dd->m_rebuildSessionAction->setWhatsThis(Tr::tr("Rebuild All Projects")); cmd = ActionManager::registerAction(dd->m_rebuildSessionAction, Constants::REBUILDSESSION); cmd->setDescription(dd->m_rebuildSessionAction->whatsThis()); mbuild->addAction(cmd, Constants::G_BUILD_ALLPROJECTS); msessionContextMenu->addAction(cmd, Constants::G_SESSION_REBUILD); dd->m_rebuildSessionForAllConfigsAction - = new QAction(Icons::REBUILD.icon(), tr("Rebuild"), + = new QAction(Icons::REBUILD.icon(), Tr::tr("Rebuild"), this); dd->m_rebuildSessionForAllConfigsAction->setWhatsThis( - tr("Rebuild All Projects for All Configurations")); + Tr::tr("Rebuild All Projects for All Configurations")); cmd = ActionManager::registerAction(dd->m_rebuildSessionForAllConfigsAction, Constants::REBUILDSESSIONALLCONFIGS); cmd->setDescription(dd->m_rebuildSessionForAllConfigsAction->whatsThis()); @@ -1279,18 +1274,18 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er msessionContextMenu->addAction(cmd, Constants::G_SESSION_REBUILD); // clean session - dd->m_cleanSessionAction = new QAction(Utils::Icons::CLEAN.icon(), tr("Clean"), + dd->m_cleanSessionAction = new QAction(Utils::Icons::CLEAN.icon(), Tr::tr("Clean"), this); - dd->m_cleanSessionAction->setWhatsThis(tr("Clean All Projects")); + dd->m_cleanSessionAction->setWhatsThis(Tr::tr("Clean All Projects")); cmd = ActionManager::registerAction(dd->m_cleanSessionAction, Constants::CLEANSESSION); cmd->setDescription(dd->m_cleanSessionAction->whatsThis()); mbuild->addAction(cmd, Constants::G_BUILD_ALLPROJECTS); msessionContextMenu->addAction(cmd, Constants::G_SESSION_REBUILD); dd->m_cleanSessionForAllConfigsAction = new QAction(Utils::Icons::CLEAN.icon(), - tr("Clean"), this); + Tr::tr("Clean"), this); dd->m_cleanSessionForAllConfigsAction->setWhatsThis( - tr("Clean All Projects for All Configurations")); + Tr::tr("Clean All Projects for All Configurations")); cmd = ActionManager::registerAction(dd->m_cleanSessionForAllConfigsAction, Constants::CLEANSESSIONALLCONFIGS); cmd->setDescription(dd->m_cleanSessionForAllConfigsAction->whatsThis()); @@ -1298,18 +1293,18 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er msessionContextMenu->addAction(cmd, Constants::G_SESSION_REBUILD); // build action - dd->m_buildAction = new ParameterAction(tr("Build Project"), tr("Build Project \"%1\""), + dd->m_buildAction = new ParameterAction(Tr::tr("Build Project"), Tr::tr("Build Project \"%1\""), ParameterAction::AlwaysEnabled, this); dd->m_buildAction->setIcon(buildIcon); cmd = ActionManager::registerAction(dd->m_buildAction, Constants::BUILD); cmd->setAttribute(Command::CA_UpdateText); cmd->setDescription(dd->m_buildAction->text()); - cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+B"))); + cmd->setDefaultKeySequence(QKeySequence(Tr::tr("Ctrl+B"))); mbuild->addAction(cmd, Constants::G_BUILD_PROJECT); dd->m_buildProjectForAllConfigsAction - = new ParameterAction(tr("Build Project for All Configurations"), - tr("Build Project \"%1\" for All Configurations"), + = new ParameterAction(Tr::tr("Build Project for All Configurations"), + Tr::tr("Build Project \"%1\" for All Configurations"), ParameterAction::AlwaysEnabled, this); dd->m_buildProjectForAllConfigsAction->setIcon(buildIcon); cmd = ActionManager::registerAction(dd->m_buildProjectForAllConfigsAction, @@ -1329,7 +1324,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er // build for run config dd->m_buildForRunConfigAction = new ParameterAction( - tr("Build for &Run Configuration"), tr("Build for &Run Configuration \"%1\""), + Tr::tr("Build for &Run Configuration"), Tr::tr("Build for &Run Configuration \"%1\""), ParameterAction::EnabledWithParameter, this); dd->m_buildForRunConfigAction->setIcon(buildIcon); cmd = ActionManager::registerAction(dd->m_buildForRunConfigAction, @@ -1342,7 +1337,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er ActionContainer * const generatorContainer = ActionManager::createMenu(Id(Constants::M_GENERATORS)); generatorContainer->setOnAllDisabledBehavior(ActionContainer::Show); - generatorContainer->menu()->setTitle(tr("Run Generator")); + generatorContainer->menu()->setTitle(Tr::tr("Run Generator")); mbuild->addMenu(generatorContainer, Constants::G_BUILD_BUILD); // FIXME: This menu will never become visible if the user tried to open it once @@ -1359,25 +1354,25 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er }); // deploy action - dd->m_deployAction = new QAction(tr("Deploy"), this); - dd->m_deployAction->setWhatsThis(tr("Deploy Project")); + dd->m_deployAction = new QAction(Tr::tr("Deploy"), this); + dd->m_deployAction->setWhatsThis(Tr::tr("Deploy Project")); cmd = ActionManager::registerAction(dd->m_deployAction, Constants::DEPLOY); cmd->setAttribute(Command::CA_UpdateText); cmd->setDescription(dd->m_deployAction->whatsThis()); mbuild->addAction(cmd, Constants::G_BUILD_PROJECT); // rebuild action - dd->m_rebuildAction = new QAction(Icons::REBUILD.icon(), tr("Rebuild"), this); - dd->m_rebuildAction->setWhatsThis(tr("Rebuild Project")); + dd->m_rebuildAction = new QAction(Icons::REBUILD.icon(), Tr::tr("Rebuild"), this); + dd->m_rebuildAction->setWhatsThis(Tr::tr("Rebuild Project")); cmd = ActionManager::registerAction(dd->m_rebuildAction, Constants::REBUILD); cmd->setAttribute(Command::CA_UpdateText); cmd->setDescription(dd->m_rebuildAction->whatsThis()); mbuild->addAction(cmd, Constants::G_BUILD_PROJECT); dd->m_rebuildProjectForAllConfigsAction - = new QAction(Icons::REBUILD.icon(), tr("Rebuild"), this); + = new QAction(Icons::REBUILD.icon(), Tr::tr("Rebuild"), this); dd->m_rebuildProjectForAllConfigsAction->setWhatsThis( - tr("Rebuild Project for All Configurations")); + Tr::tr("Rebuild Project for All Configurations")); cmd = ActionManager::registerAction(dd->m_rebuildProjectForAllConfigsAction, Constants::REBUILDALLCONFIGS); cmd->setAttribute(Command::CA_UpdateText); @@ -1385,16 +1380,16 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er mbuild->addAction(cmd, Constants::G_BUILD_PROJECT_ALLCONFIGURATIONS); // clean action - dd->m_cleanAction = new QAction(Utils::Icons::CLEAN.icon(), tr("Clean"), this); - dd->m_cleanAction->setWhatsThis(tr("Clean Project")); + dd->m_cleanAction = new QAction(Utils::Icons::CLEAN.icon(), Tr::tr("Clean"), this); + dd->m_cleanAction->setWhatsThis(Tr::tr("Clean Project")); cmd = ActionManager::registerAction(dd->m_cleanAction, Constants::CLEAN); cmd->setAttribute(Command::CA_UpdateText); cmd->setDescription(dd->m_cleanAction->whatsThis()); mbuild->addAction(cmd, Constants::G_BUILD_PROJECT); dd->m_cleanProjectForAllConfigsAction - = new QAction(Utils::Icons::CLEAN.icon(), tr("Clean"), this); - dd->m_cleanProjectForAllConfigsAction->setWhatsThis(tr("Clean Project for All Configurations")); + = new QAction(Utils::Icons::CLEAN.icon(), Tr::tr("Clean"), this); + dd->m_cleanProjectForAllConfigsAction->setWhatsThis(Tr::tr("Clean Project for All Configurations")); cmd = ActionManager::registerAction(dd->m_cleanProjectForAllConfigsAction, Constants::CLEANALLCONFIGS); cmd->setAttribute(Command::CA_UpdateText); @@ -1402,91 +1397,91 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er mbuild->addAction(cmd, Constants::G_BUILD_PROJECT_ALLCONFIGURATIONS); // cancel build action - dd->m_cancelBuildAction = new QAction(Utils::Icons::STOP_SMALL.icon(), tr("Cancel Build"), this); + dd->m_cancelBuildAction = new QAction(Utils::Icons::STOP_SMALL.icon(), Tr::tr("Cancel Build"), this); cmd = ActionManager::registerAction(dd->m_cancelBuildAction, Constants::CANCELBUILD); - cmd->setDefaultKeySequence(QKeySequence(useMacShortcuts ? tr("Meta+Backspace") : tr("Alt+Backspace"))); + cmd->setDefaultKeySequence(QKeySequence(useMacShortcuts ? Tr::tr("Meta+Backspace") : Tr::tr("Alt+Backspace"))); mbuild->addAction(cmd, Constants::G_BUILD_CANCEL); // run action - dd->m_runAction = new QAction(runIcon, tr("Run"), this); + dd->m_runAction = new QAction(runIcon, Tr::tr("Run"), this); cmd = ActionManager::registerAction(dd->m_runAction, Constants::RUN); cmd->setAttribute(Command::CA_UpdateText); - cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+R"))); + cmd->setDefaultKeySequence(QKeySequence(Tr::tr("Ctrl+R"))); mbuild->addAction(cmd, Constants::G_BUILD_RUN); cmd->action()->setObjectName("Run"); // used for UI introduction ModeManager::addAction(cmd->action(), Constants::P_ACTION_RUN); // Run without deployment action - dd->m_runWithoutDeployAction = new QAction(tr("Run Without Deployment"), this); + dd->m_runWithoutDeployAction = new QAction(Tr::tr("Run Without Deployment"), this); cmd = ActionManager::registerAction(dd->m_runWithoutDeployAction, Constants::RUNWITHOUTDEPLOY); mbuild->addAction(cmd, Constants::G_BUILD_RUN); // build action with dependencies (context menu) - dd->m_buildDependenciesActionContextMenu = new QAction(tr("Build"), this); + dd->m_buildDependenciesActionContextMenu = new QAction(Tr::tr("Build"), this); cmd = ActionManager::registerAction(dd->m_buildDependenciesActionContextMenu, Constants::BUILDDEPENDCM, projectTreeContext); cmd->setAttribute(Command::CA_UpdateText); mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_BUILD); // build action (context menu) - dd->m_buildActionContextMenu = new QAction(tr("Build Without Dependencies"), this); + dd->m_buildActionContextMenu = new QAction(Tr::tr("Build Without Dependencies"), this); cmd = ActionManager::registerAction(dd->m_buildActionContextMenu, Constants::BUILDCM, projectTreeContext); cmd->setAttribute(Command::CA_UpdateText); mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_BUILD); // rebuild action with dependencies (context menu) - dd->m_rebuildDependenciesActionContextMenu = new QAction(tr("Rebuild"), this); + dd->m_rebuildDependenciesActionContextMenu = new QAction(Tr::tr("Rebuild"), this); cmd = ActionManager::registerAction(dd->m_rebuildDependenciesActionContextMenu, Constants::REBUILDDEPENDCM, projectTreeContext); cmd->setAttribute(Command::CA_UpdateText); mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_REBUILD); // rebuild action (context menu) - dd->m_rebuildActionContextMenu = new QAction(tr("Rebuild Without Dependencies"), this); + dd->m_rebuildActionContextMenu = new QAction(Tr::tr("Rebuild Without Dependencies"), this); cmd = ActionManager::registerAction(dd->m_rebuildActionContextMenu, Constants::REBUILDCM, projectTreeContext); cmd->setAttribute(Command::CA_UpdateText); mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_REBUILD); // clean action with dependencies (context menu) - dd->m_cleanDependenciesActionContextMenu = new QAction(tr("Clean"), this); + dd->m_cleanDependenciesActionContextMenu = new QAction(Tr::tr("Clean"), this); cmd = ActionManager::registerAction(dd->m_cleanDependenciesActionContextMenu, Constants::CLEANDEPENDCM, projectTreeContext); cmd->setAttribute(Command::CA_UpdateText); mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_REBUILD); // clean action (context menu) - dd->m_cleanActionContextMenu = new QAction(tr("Clean Without Dependencies"), this); + dd->m_cleanActionContextMenu = new QAction(Tr::tr("Clean Without Dependencies"), this); cmd = ActionManager::registerAction(dd->m_cleanActionContextMenu, Constants::CLEANCM, projectTreeContext); cmd->setAttribute(Command::CA_UpdateText); mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_REBUILD); // build without dependencies action - dd->m_buildProjectOnlyAction = new QAction(tr("Build Without Dependencies"), this); + dd->m_buildProjectOnlyAction = new QAction(Tr::tr("Build Without Dependencies"), this); ActionManager::registerAction(dd->m_buildProjectOnlyAction, Constants::BUILDPROJECTONLY); // rebuild without dependencies action - dd->m_rebuildProjectOnlyAction = new QAction(tr("Rebuild Without Dependencies"), this); + dd->m_rebuildProjectOnlyAction = new QAction(Tr::tr("Rebuild Without Dependencies"), this); ActionManager::registerAction(dd->m_rebuildProjectOnlyAction, Constants::REBUILDPROJECTONLY); // deploy without dependencies action - dd->m_deployProjectOnlyAction = new QAction(tr("Deploy Without Dependencies"), this); + dd->m_deployProjectOnlyAction = new QAction(Tr::tr("Deploy Without Dependencies"), this); ActionManager::registerAction(dd->m_deployProjectOnlyAction, Constants::DEPLOYPROJECTONLY); // clean without dependencies action - dd->m_cleanProjectOnlyAction = new QAction(tr("Clean Without Dependencies"), this); + dd->m_cleanProjectOnlyAction = new QAction(Tr::tr("Clean Without Dependencies"), this); ActionManager::registerAction(dd->m_cleanProjectOnlyAction, Constants::CLEANPROJECTONLY); // deploy action (context menu) - dd->m_deployActionContextMenu = new QAction(tr("Deploy"), this); + dd->m_deployActionContextMenu = new QAction(Tr::tr("Deploy"), this); cmd = ActionManager::registerAction(dd->m_deployActionContextMenu, Constants::DEPLOYCM, projectTreeContext); mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_RUN); - dd->m_runActionContextMenu = new QAction(runIcon, tr("Run"), this); + dd->m_runActionContextMenu = new QAction(runIcon, Tr::tr("Run"), this); cmd = ActionManager::registerAction(dd->m_runActionContextMenu, Constants::RUNCONTEXTMENU, projectTreeContext); mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_RUN); msubProjectContextMenu->addAction(cmd, Constants::G_PROJECT_RUN); // add new file action - dd->m_addNewFileAction = new QAction(tr("Add New..."), this); + dd->m_addNewFileAction = new QAction(Tr::tr("Add New..."), this); cmd = ActionManager::registerAction(dd->m_addNewFileAction, Constants::ADDNEWFILE, projectTreeContext); mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_FILES); @@ -1494,7 +1489,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er mfolderContextMenu->addAction(cmd, Constants::G_FOLDER_FILES); // add existing file action - dd->m_addExistingFilesAction = new QAction(tr("Add Existing Files..."), this); + dd->m_addExistingFilesAction = new QAction(Tr::tr("Add Existing Files..."), this); cmd = ActionManager::registerAction(dd->m_addExistingFilesAction, Constants::ADDEXISTINGFILES, projectTreeContext); mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_FILES); @@ -1502,14 +1497,14 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er mfolderContextMenu->addAction(cmd, Constants::G_FOLDER_FILES); // add existing projects action - dd->m_addExistingProjectsAction = new QAction(tr("Add Existing Projects..."), this); + dd->m_addExistingProjectsAction = new QAction(Tr::tr("Add Existing Projects..."), this); cmd = ActionManager::registerAction(dd->m_addExistingProjectsAction, "ProjectExplorer.AddExistingProjects", projectTreeContext); mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_FILES); msubProjectContextMenu->addAction(cmd, Constants::G_PROJECT_FILES); // add existing directory action - dd->m_addExistingDirectoryAction = new QAction(tr("Add Existing Directory..."), this); + dd->m_addExistingDirectoryAction = new QAction(Tr::tr("Add Existing Directory..."), this); cmd = ActionManager::registerAction(dd->m_addExistingDirectoryAction, Constants::ADDEXISTINGDIRECTORY, projectTreeContext); @@ -1518,14 +1513,14 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er mfolderContextMenu->addAction(cmd, Constants::G_FOLDER_FILES); // new subproject action - dd->m_addNewSubprojectAction = new QAction(tr("New Subproject..."), this); + dd->m_addNewSubprojectAction = new QAction(Tr::tr("New Subproject..."), this); cmd = ActionManager::registerAction(dd->m_addNewSubprojectAction, Constants::ADDNEWSUBPROJECT, projectTreeContext); mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_FILES); msubProjectContextMenu->addAction(cmd, Constants::G_PROJECT_FILES); dd->m_closeProjectFilesActionContextMenu = new ParameterAction( - tr("Close All Files"), tr("Close All Files in Project \"%1\""), + Tr::tr("Close All Files"), Tr::tr("Close All Files in Project \"%1\""), ParameterAction::EnabledWithParameter, this); cmd = ActionManager::registerAction(dd->m_closeProjectFilesActionContextMenu, "ProjectExplorer.CloseAllFilesInProjectContextMenu"); @@ -1534,14 +1529,14 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_CLOSE); // unload project again, in right position - dd->m_unloadActionContextMenu = new ParameterAction(tr("Close Project"), tr("Close Project \"%1\""), + dd->m_unloadActionContextMenu = new ParameterAction(Tr::tr("Close Project"), Tr::tr("Close Project \"%1\""), ParameterAction::EnabledWithParameter, this); cmd = ActionManager::registerAction(dd->m_unloadActionContextMenu, Constants::UNLOADCM); cmd->setAttribute(Command::CA_UpdateText); cmd->setDescription(dd->m_unloadActionContextMenu->text()); mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_CLOSE); - dd->m_unloadOthersActionContextMenu = new ParameterAction(tr("Close Other Projects"), tr("Close All Projects Except \"%1\""), + dd->m_unloadOthersActionContextMenu = new ParameterAction(Tr::tr("Close Other Projects"), Tr::tr("Close All Projects Except \"%1\""), ParameterAction::EnabledWithParameter, this); cmd = ActionManager::registerAction(dd->m_unloadOthersActionContextMenu, Constants::UNLOADOTHERSCM); cmd->setAttribute(Command::CA_UpdateText); @@ -1549,39 +1544,39 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_CLOSE); // file properties action - dd->m_filePropertiesAction = new QAction(tr("Properties..."), this); + dd->m_filePropertiesAction = new QAction(Tr::tr("Properties..."), this); cmd = ActionManager::registerAction(dd->m_filePropertiesAction, Constants::FILEPROPERTIES, projectTreeContext); mfileContextMenu->addAction(cmd, Constants::G_FILE_OTHER); // remove file action - dd->m_removeFileAction = new QAction(tr("Remove..."), this); + dd->m_removeFileAction = new QAction(Tr::tr("Remove..."), this); cmd = ActionManager::registerAction(dd->m_removeFileAction, Constants::REMOVEFILE, projectTreeContext); cmd->setDefaultKeySequences({QKeySequence::Delete, QKeySequence::Backspace}); mfileContextMenu->addAction(cmd, Constants::G_FILE_OTHER); // duplicate file action - dd->m_duplicateFileAction = new QAction(tr("Duplicate File..."), this); + dd->m_duplicateFileAction = new QAction(Tr::tr("Duplicate File..."), this); cmd = ActionManager::registerAction(dd->m_duplicateFileAction, Constants::DUPLICATEFILE, projectTreeContext); mfileContextMenu->addAction(cmd, Constants::G_FILE_OTHER); //: Remove project from parent profile (Project explorer view); will not physically delete any files. - dd->m_removeProjectAction = new QAction(tr("Remove Project..."), this); + dd->m_removeProjectAction = new QAction(Tr::tr("Remove Project..."), this); cmd = ActionManager::registerAction(dd->m_removeProjectAction, Constants::REMOVEPROJECT, projectTreeContext); msubProjectContextMenu->addAction(cmd, Constants::G_PROJECT_FILES); // delete file action - dd->m_deleteFileAction = new QAction(tr("Delete File..."), this); + dd->m_deleteFileAction = new QAction(Tr::tr("Delete File..."), this); cmd = ActionManager::registerAction(dd->m_deleteFileAction, Constants::DELETEFILE, projectTreeContext); cmd->setDefaultKeySequences({QKeySequence::Delete, QKeySequence::Backspace}); mfileContextMenu->addAction(cmd, Constants::G_FILE_OTHER); // renamefile action - dd->m_renameFileAction = new QAction(tr("Rename..."), this); + dd->m_renameFileAction = new QAction(Tr::tr("Rename..."), this); cmd = ActionManager::registerAction(dd->m_renameFileAction, Constants::RENAMEFILE, projectTreeContext); mfileContextMenu->addAction(cmd, Constants::G_FILE_OTHER); @@ -1598,8 +1593,8 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er // mproject->addAction(cmd, Constants::G_FOLDER_FILES); // set startup project action - dd->m_setStartupProjectAction = new ParameterAction(tr("Set as Active Project"), - tr("Set \"%1\" as Active Project"), + dd->m_setStartupProjectAction = new ParameterAction(Tr::tr("Set as Active Project"), + Tr::tr("Set \"%1\" as Active Project"), ParameterAction::AlwaysEnabled, this); cmd = ActionManager::registerAction(dd->m_setStartupProjectAction, Constants::SETSTARTUP, projectTreeContext); @@ -1610,17 +1605,17 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er // Collapse & Expand. const Id treeGroup = Constants::G_PROJECT_TREE; - dd->m_projectTreeExpandNodeAction = new QAction(tr("Expand"), this); + dd->m_projectTreeExpandNodeAction = new QAction(Tr::tr("Expand"), this); connect(dd->m_projectTreeExpandNodeAction, &QAction::triggered, ProjectTree::instance(), &ProjectTree::expandCurrentNodeRecursively); Command * const expandNodeCmd = ActionManager::registerAction( dd->m_projectTreeExpandNodeAction, "ProjectExplorer.ExpandNode", projectTreeContext); - dd->m_projectTreeCollapseAllAction = new QAction(tr("Collapse All"), this); + dd->m_projectTreeCollapseAllAction = new QAction(Tr::tr("Collapse All"), this); Command * const collapseCmd = ActionManager::registerAction( dd->m_projectTreeCollapseAllAction, Constants::PROJECTTREE_COLLAPSE_ALL, projectTreeContext); - dd->m_projectTreeExpandAllAction = new QAction(tr("Expand All"), this); + dd->m_projectTreeExpandAllAction = new QAction(Tr::tr("Expand All"), this); Command * const expandCmd = ActionManager::registerAction( dd->m_projectTreeExpandAllAction, Constants::PROJECTTREE_EXPAND_ALL, projectTreeContext); @@ -1644,7 +1639,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er dd->m_projectSelectorActionMenu = new QAction(this); dd->m_projectSelectorActionMenu->setEnabled(false); - dd->m_projectSelectorActionMenu->setText(tr("Open Build and Run Kit Selector...")); + dd->m_projectSelectorActionMenu->setText(Tr::tr("Open Build and Run Kit Selector...")); connect(dd->m_projectSelectorActionMenu, &QAction::triggered, dd->m_targetSelector, &MiniProjectTargetSelector::toggleVisible); @@ -1653,11 +1648,11 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er dd->m_projectSelectorActionQuick = new QAction(this); dd->m_projectSelectorActionQuick->setEnabled(false); - dd->m_projectSelectorActionQuick->setText(tr("Quick Switch Kit Selector")); + dd->m_projectSelectorActionQuick->setText(Tr::tr("Quick Switch Kit Selector")); connect(dd->m_projectSelectorActionQuick, &QAction::triggered, dd->m_targetSelector, &MiniProjectTargetSelector::nextOrShow); cmd = ActionManager::registerAction(dd->m_projectSelectorActionQuick, Constants::SELECTTARGETQUICK); - cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+T"))); + cmd->setDefaultKeySequence(QKeySequence(Tr::tr("Ctrl+T"))); connect(ICore::instance(), &ICore::saveSettingsRequested, dd, &ProjectExplorerPluginPrivate::savePersistentSettings); @@ -1948,13 +1943,13 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er expander, &ProjectTree::currentProject); EnvironmentProvider::addProvider( - {"CurrentDocument:Project:BuildConfig:Env", tr("Current Build Environment"), [] { + {"CurrentDocument:Project:BuildConfig:Env", Tr::tr("Current Build Environment"), [] { if (BuildConfiguration *bc = currentBuildConfiguration()) return bc->environment(); return Environment::systemEnvironment(); }}); EnvironmentProvider::addProvider( - {"CurrentDocument:Project:RunConfig:Env", tr("Current Run Environment"), [] { + {"CurrentDocument:Project:RunConfig:Env", Tr::tr("Current Run Environment"), [] { const Project *const project = ProjectTree::currentProject(); const Target *const target = project ? project->activeTarget() : nullptr; const RunConfiguration *const rc = target ? target->activeRunConfiguration() : nullptr; @@ -1971,13 +1966,13 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er expander, &SessionManager::startupProject); EnvironmentProvider::addProvider( - {"ActiveProject:BuildConfig:Env", tr("Active build environment of the active project."), [] { + {"ActiveProject:BuildConfig:Env", Tr::tr("Active build environment of the active project."), [] { if (const BuildConfiguration * const bc = activeBuildConfiguration()) return bc->environment(); return Environment::systemEnvironment(); }}); EnvironmentProvider::addProvider( - {"ActiveProject:RunConfig:Env", tr("Active run environment of the active project."), [] { + {"ActiveProject:RunConfig:Env", Tr::tr("Active run environment of the active project."), [] { if (const RunConfiguration *const rc = activeRunConfiguration()) { if (auto envAspect = rc->aspect()) return envAspect->environment(); @@ -1988,9 +1983,9 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er const auto fileHandler = [] { return SessionManager::sessionNameToFileName(SessionManager::activeSession()); }; - expander->registerFileVariables("Session", tr("File where current session is saved."), + expander->registerFileVariables("Session", Tr::tr("File where current session is saved."), fileHandler); - expander->registerVariable("Session:Name", tr("Name of current session."), [] { + expander->registerVariable("Session:Name", Tr::tr("Name of current session."), [] { return SessionManager::activeSession(); }); @@ -2012,7 +2007,7 @@ void ProjectExplorerPluginPrivate::loadAction() } FilePath filePath = Utils::FileUtils::getOpenFilePath(ICore::dialogParent(), - tr("Load Project"), dir, + Tr::tr("Load Project"), dir, dd->m_projectFilterString); if (filePath.isEmpty()) return; @@ -2056,12 +2051,12 @@ void ProjectExplorerPlugin::unloadProject(Project *project) { if (BuildManager::isBuilding(project)) { QMessageBox box; - QPushButton *closeAnyway = box.addButton(tr("Cancel Build && Unload"), QMessageBox::AcceptRole); - QPushButton *cancelClose = box.addButton(tr("Do Not Unload"), QMessageBox::RejectRole); + QPushButton *closeAnyway = box.addButton(Tr::tr("Cancel Build && Unload"), QMessageBox::AcceptRole); + QPushButton *cancelClose = box.addButton(Tr::tr("Do Not Unload"), QMessageBox::RejectRole); box.setDefaultButton(cancelClose); - box.setWindowTitle(tr("Unload Project %1?").arg(project->displayName())); - box.setText(tr("The project %1 is currently being built.").arg(project->displayName())); - box.setInformativeText(tr("Do you want to cancel the build process and unload the project anyway?")); + box.setWindowTitle(Tr::tr("Unload Project %1?").arg(project->displayName())); + box.setText(Tr::tr("The project %1 is currently being built.").arg(project->displayName())); + box.setInformativeText(Tr::tr("Do you want to cancel the build process and unload the project anyway?")); box.exec(); if (box.clickedButton() != closeAnyway) return; @@ -2127,7 +2122,7 @@ void ProjectExplorerPlugin::extensionsInitialized() return TaskFile::openTasks(filePath); }); - QString allProjectsFilter = tr("All Projects"); + QString allProjectsFilter = Tr::tr("All Projects"); allProjectsFilter += QLatin1String(" (") + allGlobPatterns.join(QLatin1Char(' ')) + QLatin1Char(')'); filterStrings.prepend(allProjectsFilter); @@ -2135,8 +2130,8 @@ void ProjectExplorerPlugin::extensionsInitialized() BuildManager::extensionsInitialized(); TaskHub::addCategory(Constants::TASK_CATEGORY_SANITIZER, - tr("Sanitizer", "Category for sanitizer issues listed under 'Issues'")); - TaskHub::addCategory(Constants::TASK_CATEGORY_TASKLIST_ID, TaskFile::tr("My Tasks")); + Tr::tr("Sanitizer", "Category for sanitizer issues listed under 'Issues'")); + TaskHub::addCategory(Constants::TASK_CATEGORY_TASKLIST_ID, Tr::tr("My Tasks")); SshSettings::loadSettings(Core::ICore::settings()); const auto searchPathRetriever = [] { @@ -2159,7 +2154,7 @@ void ProjectExplorerPlugin::extensionsInitialized() }; SshSettings::setExtraSearchPathRetriever(searchPathRetriever); - const auto parseIssuesAction = new QAction(tr("Parse Build Output..."), this); + const auto parseIssuesAction = new QAction(Tr::tr("Parse Build Output..."), this); ActionContainer *mtools = ActionManager::actionContainer(Core::Constants::M_TOOLS); Command * const cmd = ActionManager::registerAction(parseIssuesAction, "ProjectExplorer.ParseIssuesAction"); @@ -2224,7 +2219,7 @@ void ProjectExplorerPlugin::showSessionManager() void ProjectExplorerPlugin::openNewProjectDialog() { if (!ICore::isNewItemDialogRunning()) { - ICore::showNewItemDialog(tr("New Project", "Title of dialog"), + ICore::showNewItemDialog(Tr::tr("New Project", "Title of dialog"), Utils::filtered(IWizardFactory::allWizardFactories(), [](IWizardFactory *f) { return !f->supportedProjectTypes().isEmpty(); })); } else { @@ -2398,12 +2393,12 @@ void ProjectExplorerPlugin::showOpenProjectError(const OpenProjectResult &result QString errorMessage = result.errorMessage(); if (!errorMessage.isEmpty()) { // ignore alreadyOpen - QMessageBox::critical(ICore::dialogParent(), tr("Failed to Open Project"), errorMessage); + QMessageBox::critical(ICore::dialogParent(), Tr::tr("Failed to Open Project"), errorMessage); } else { // ignore multiple alreadyOpen Project *alreadyOpen = result.alreadyOpen().constFirst(); ProjectTree::highlightProject(alreadyOpen, - tr("

Project already open

")); + Tr::tr("

Project already open

")); } } @@ -2438,7 +2433,7 @@ ProjectExplorerPlugin::OpenProjectResult ProjectExplorerPlugin::openProjects(con if (ProjectManager::canOpenProjectForMimeType(mt)) { if (!filePath.isFile()) { appendError(errorString, - tr("Failed opening project \"%1\": Project is not a file.").arg(filePath.toUserOutput())); + Tr::tr("Failed opening project \"%1\": Project is not a file.").arg(filePath.toUserOutput())); } else if (Project *pro = ProjectManager::openProject(mt, filePath)) { QString restoreError; Project::RestoreResult restoreResult = pro->restoreSettings(&restoreError); @@ -2454,7 +2449,7 @@ ProjectExplorerPlugin::OpenProjectResult ProjectExplorerPlugin::openProjects(con } } } else { - appendError(errorString, tr("Failed opening project \"%1\": No plugin can open project type \"%2\".") + appendError(errorString, Tr::tr("Failed opening project \"%1\": No plugin can open project type \"%2\".") .arg(filePath.toUserOutput()) .arg(mt.name())); } @@ -2702,16 +2697,16 @@ void ProjectExplorerPluginPrivate::buildQueueFinished(bool success) bool ignoreErrors = true; if (!m_delayedRunConfiguration.isNull() && success && BuildManager::getErrorTaskCount() > 0) { ignoreErrors = QMessageBox::question(ICore::dialogParent(), - ProjectExplorerPlugin::tr("Ignore All Errors?"), - ProjectExplorerPlugin::tr("Found some build errors in current task.\n" + Tr::tr("Ignore All Errors?"), + Tr::tr("Found some build errors in current task.\n" "Do you want to ignore them?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No) == QMessageBox::Yes; } if (m_delayedRunConfiguration.isNull() && m_shouldHaveRunConfiguration) { QMessageBox::warning(ICore::dialogParent(), - ProjectExplorerPlugin::tr("Run Configuration Removed"), - ProjectExplorerPlugin::tr("The configuration that was supposed to run is no longer " + Tr::tr("Run Configuration Removed"), + Tr::tr("The configuration that was supposed to run is no longer " "available."), QMessageBox::Ok); } @@ -2872,7 +2867,7 @@ bool ProjectExplorerPlugin::saveModifiedFiles() bool cancelled = false; bool alwaysSave = false; if (!DocumentManager::saveModifiedDocuments(documentsToSave, QString(), &cancelled, - tr("Always save files before build"), &alwaysSave)) { + Tr::tr("Always save files before build"), &alwaysSave)) { if (cancelled) return false; } @@ -2895,7 +2890,7 @@ void ProjectExplorerPluginPrivate::extendFolderNavigationWidgetFactory() [this](QMenu *menu, const FilePath &filePath, bool isDir) { if (isDir) { QAction *actionOpenProjects = menu->addAction( - ProjectExplorerPlugin::tr("Open Project in \"%1\"") + Tr::tr("Open Project in \"%1\"") .arg(filePath.toUserOutput())); connect(actionOpenProjects, &QAction::triggered, this, [filePath] { openProjectsInDirectory(filePath); @@ -2904,7 +2899,7 @@ void ProjectExplorerPluginPrivate::extendFolderNavigationWidgetFactory() actionOpenProjects->setEnabled(false); } else if (ProjectExplorerPlugin::isProjectFile(filePath)) { QAction *actionOpenAsProject = menu->addAction( - tr("Open Project \"%1\"").arg(filePath.toUserOutput())); + Tr::tr("Open Project \"%1\"").arg(filePath.toUserOutput())); connect(actionOpenAsProject, &QAction::triggered, this, [filePath] { ProjectExplorerPlugin::openProject(filePath); }); @@ -2923,13 +2918,13 @@ void ProjectExplorerPluginPrivate::extendFolderNavigationWidgetFactory() if (!failedNodes.isEmpty()) { const QString projects = projectNames(failedNodes).join(", "); const QString errorMessage - = ProjectExplorerPlugin::tr( + = Tr::tr( "The file \"%1\" was renamed to \"%2\", " "but the following projects could not be automatically changed: %3") .arg(before.toUserOutput(), after.toUserOutput(), projects); QTimer::singleShot(0, Core::ICore::instance(), [errorMessage] { QMessageBox::warning(Core::ICore::dialogParent(), - ProjectExplorerPlugin::tr("Project Editing Failed"), + Tr::tr("Project Editing Failed"), errorMessage); }); } @@ -2946,11 +2941,11 @@ void ProjectExplorerPluginPrivate::extendFolderNavigationWidgetFactory() if (!failedNodes.isEmpty()) { const QString projects = projectNames(failedNodes).join(", "); const QString errorMessage - = tr("The following projects failed to automatically remove the file: %1") + = Tr::tr("The following projects failed to automatically remove the file: %1") .arg(projects); QTimer::singleShot(0, Core::ICore::instance(), [errorMessage] { QMessageBox::warning(Core::ICore::dialogParent(), - tr("Project Editing Failed"), + Tr::tr("Project Editing Failed"), errorMessage); }); } @@ -2990,8 +2985,7 @@ static QPair subprojectEnabledState(const Project *pro) && !project->activeTarget()->activeBuildConfiguration()->isEnabled()) { result.first = false; result.second - += QCoreApplication::translate("ProjectExplorerPluginPrivate", - "Building \"%1\" is disabled: %2
") + += Tr::tr("Building \"%1\" is disabled: %2
") .arg(project->displayName(), project->activeTarget()->activeBuildConfiguration()->disabledReason()); } @@ -3006,16 +3000,16 @@ QPair ProjectExplorerPluginPrivate::buildSettingsEnabled(const Pr result.first = true; if (!pro) { result.first = false; - result.second = tr("No project loaded."); + result.second = Tr::tr("No project loaded."); } else if (BuildManager::isBuilding(pro)) { result.first = false; - result.second = tr("Currently building the active project."); + result.second = Tr::tr("Currently building the active project."); } else if (pro->needsConfiguration()) { result.first = false; - result.second = tr("The project %1 is not configured.").arg(pro->displayName()); + result.second = Tr::tr("The project %1 is not configured.").arg(pro->displayName()); } else if (!hasBuildSettings(pro)) { result.first = false; - result.second = tr("Project has no build settings."); + result.second = Tr::tr("Project has no build settings."); } else { result = subprojectEnabledState(pro); } @@ -3028,13 +3022,13 @@ QPair ProjectExplorerPluginPrivate::buildSettingsEnabledForSessio result.first = true; if (!SessionManager::hasProjects()) { result.first = false; - result.second = tr("No project loaded."); + result.second = Tr::tr("No project loaded."); } else if (BuildManager::isBuilding()) { result.first = false; - result.second = tr("A build is in progress."); + result.second = Tr::tr("A build is in progress."); } else if (!hasBuildSettings(nullptr)) { result.first = false; - result.second = tr("Project has no build settings."); + result.second = Tr::tr("Project has no build settings."); } else { result = subprojectEnabledState(nullptr); } @@ -3047,12 +3041,12 @@ bool ProjectExplorerPlugin::coreAboutToClose() return true; if (BuildManager::isBuilding()) { QMessageBox box; - QPushButton *closeAnyway = box.addButton(tr("Cancel Build && Close"), QMessageBox::AcceptRole); - QPushButton *cancelClose = box.addButton(tr("Do Not Close"), QMessageBox::RejectRole); + QPushButton *closeAnyway = box.addButton(Tr::tr("Cancel Build && Close"), QMessageBox::AcceptRole); + QPushButton *cancelClose = box.addButton(Tr::tr("Do Not Close"), QMessageBox::RejectRole); box.setDefaultButton(cancelClose); - box.setWindowTitle(tr("Close %1?").arg(Core::Constants::IDE_DISPLAY_NAME)); - box.setText(tr("A project is currently being built.")); - box.setInformativeText(tr("Do you want to cancel the build process and close %1 anyway?") + box.setWindowTitle(Tr::tr("Close %1?").arg(Core::Constants::IDE_DISPLAY_NAME)); + box.setText(Tr::tr("A project is currently being built.")); + box.setInformativeText(Tr::tr("Do you want to cancel the build process and close %1 anyway?") .arg(Core::Constants::IDE_DISPLAY_NAME)); box.exec(); if (box.clickedButton() != closeAnyway) @@ -3223,27 +3217,27 @@ bool ProjectExplorerPlugin::canRunStartupProject(Id runMode, QString *whyNot) Project *project = SessionManager::startupProject(); if (!project) { if (whyNot) - *whyNot = tr("No active project."); + *whyNot = Tr::tr("No active project."); return false; } if (project->needsConfiguration()) { if (whyNot) - *whyNot = tr("The project \"%1\" is not configured.").arg(project->displayName()); + *whyNot = Tr::tr("The project \"%1\" is not configured.").arg(project->displayName()); return false; } Target *target = project->activeTarget(); if (!target) { if (whyNot) - *whyNot = tr("The project \"%1\" has no active kit.").arg(project->displayName()); + *whyNot = Tr::tr("The project \"%1\" has no active kit.").arg(project->displayName()); return false; } RunConfiguration *activeRC = target->activeRunConfiguration(); if (!activeRC) { if (whyNot) - *whyNot = tr("The kit \"%1\" for the project \"%2\" has no active run configuration.") + *whyNot = Tr::tr("The kit \"%1\" for the project \"%2\" has no active run configuration.") .arg(target->displayName(), project->displayName()); return false; } @@ -3267,7 +3261,7 @@ bool ProjectExplorerPlugin::canRunStartupProject(Id runMode, QString *whyNot) if (BuildManager::isBuilding()) { if (whyNot) - *whyNot = tr("A build is still in progress."); + *whyNot = Tr::tr("A build is still in progress."); return false; } } @@ -3277,13 +3271,13 @@ bool ProjectExplorerPlugin::canRunStartupProject(Id runMode, QString *whyNot) DeviceTypeKitAspect::deviceTypeId(target->kit()), activeRC->id())) { if (whyNot) - *whyNot = tr("Cannot run \"%1\".").arg(activeRC->displayName()); + *whyNot = Tr::tr("Cannot run \"%1\".").arg(activeRC->displayName()); return false; } if (dd->m_delayedRunConfiguration && dd->m_delayedRunConfiguration->project() == project) { if (whyNot) - *whyNot = tr("A run action is already scheduled for the active project."); + *whyNot = Tr::tr("A run action is already scheduled for the active project."); return false; } @@ -3326,7 +3320,7 @@ void ProjectExplorerPluginPrivate::updateUnloadProjectMenu() QMenu *menu = aci->menu(); menu->clear(); for (Project *project : SessionManager::projects()) { - QAction *action = menu->addAction(tr("Close Project \"%1\"").arg(project->displayName())); + QAction *action = menu->addAction(Tr::tr("Close Project \"%1\"").arg(project->displayName())); connect(action, &QAction::triggered, [project] { ProjectExplorerPlugin::unloadProject(project); } ); } @@ -3468,7 +3462,7 @@ void ProjectExplorerPluginPrivate::updateContextMenuActions(Node *currentNode) runMenu->menu()->menuAction()->setVisible(true); for (RunConfiguration *rc : std::as_const(runConfigs)) { auto *act = new QAction(runMenu->menu()); - act->setText(tr("Run %1").arg(rc->displayName())); + act->setText(Tr::tr("Run %1").arg(rc->displayName())); runMenu->menu()->addAction(act); connect(act, &QAction::triggered, this, [this, rc] { runProjectContextMenu(rc); }); @@ -3592,7 +3586,7 @@ void ProjectExplorerPluginPrivate::updateLocationSubMenus() const FilePath path = li.path; QString displayName = fn->filePath() == li.path ? li.displayName - : tr("%1 in %2").arg(li.displayName).arg(li.path.toUserOutput()); + : Tr::tr("%1 in %2").arg(li.displayName).arg(li.path.toUserOutput()); auto *action = new QAction(displayName, nullptr); connect(action, &QAction::triggered, this, [line, path] { Core::EditorManager::openEditorAt(Link(path, line), @@ -3625,7 +3619,7 @@ void ProjectExplorerPluginPrivate::addNewFile() map.insert(QLatin1String(Constants::PROJECT_KIT_IDS), profileIds); map.insert(Constants::PROJECT_POINTER, QVariant::fromValue(static_cast(p))); } - ICore::showNewItemDialog(ProjectExplorerPlugin::tr("New File", "Title of dialog"), + ICore::showNewItemDialog(Tr::tr("New File", "Title of dialog"), Utils::filtered(IWizardFactory::allWizardFactories(), [](IWizardFactory *f) { return f->supportedProjectTypes().isEmpty(); @@ -3654,7 +3648,7 @@ void ProjectExplorerPluginPrivate::addNewSubproject() projectType = project->id(); } - ICore::showNewItemDialog(tr("New Subproject", "Title of dialog"), + ICore::showNewItemDialog(Tr::tr("New Subproject", "Title of dialog"), Utils::filtered(IWizardFactory::allWizardFactories(), [projectType](IWizardFactory *f) { return projectType.isValid() ? f->supportedProjectTypes().contains(projectType) @@ -3674,7 +3668,7 @@ void ProjectExplorerPluginPrivate::addExistingProjects() QTC_ASSERT(projectNode, return); const FilePath dir = currentNode->directory(); FilePaths subProjectFilePaths = Utils::FileUtils::getOpenFilePaths( - nullptr, tr("Choose Project File"), dir, + nullptr, Tr::tr("Choose Project File"), dir, projectNode->subProjectFileNamePatterns().join(";;")); if (!ProjectTree::hasNode(projectNode)) return; @@ -3695,9 +3689,9 @@ void ProjectExplorerPluginPrivate::addExistingProjects() failedProjects << filePath; } if (!failedProjects.empty()) { - const QString message = tr("The following subprojects could not be added to project " + const QString message = Tr::tr("The following subprojects could not be added to project " "\"%1\":").arg(projectNode->managingProject()->displayName()); - QMessageBox::warning(ICore::dialogParent(), tr("Adding Subproject Failed"), + QMessageBox::warning(ICore::dialogParent(), Tr::tr("Adding Subproject Failed"), message + "\n " + FilePath::formatFilePaths(failedProjects, "\n ")); return; } @@ -3712,7 +3706,7 @@ void ProjectExplorerPluginPrivate::handleAddExistingFiles() QTC_ASSERT(folderNode, return); const FilePaths filePaths = - Utils::FileUtils::getOpenFilePaths(nullptr, tr("Add Existing Files"), node->directory()); + Utils::FileUtils::getOpenFilePaths(nullptr, Tr::tr("Add Existing Files"), node->directory()); if (filePaths.isEmpty()) return; @@ -3745,9 +3739,9 @@ void ProjectExplorerPlugin::addExistingFiles(FolderNode *folderNode, const FileP folderNode->addFiles(fileNames, ¬Added); if (!notAdded.isEmpty()) { - const QString message = tr("Could not add following files to project %1:") + const QString message = Tr::tr("Could not add following files to project %1:") .arg(folderNode->managingProject()->displayName()) + QLatin1Char('\n'); - QMessageBox::warning(ICore::dialogParent(), tr("Adding Files to Project Failed"), + QMessageBox::warning(ICore::dialogParent(), Tr::tr("Adding Files to Project Failed"), message + FilePath::formatFilePaths(notAdded, "\n")); fileNames = Utils::filtered(fileNames, [¬Added](const FilePath &f) { return !notAdded.contains(f); }); @@ -3855,8 +3849,8 @@ void ProjectExplorerPluginPrivate::removeFile() if (!siblings.isEmpty()) { const QMessageBox::StandardButton reply = QMessageBox::question( - Core::ICore::dialogParent(), tr("Remove More Files?"), - tr("Remove these files as well?\n %1") + Core::ICore::dialogParent(), Tr::tr("Remove More Files?"), + Tr::tr("Remove these files as well?\n %1") .arg(Utils::transform(siblings, [](const NodeAndPath &np) { return np.second.fileName(); }).join("\n "))); @@ -3867,8 +3861,8 @@ void ProjectExplorerPluginPrivate::removeFile() for (const NodeAndPath &file : std::as_const(filesToRemove)) { // Nodes can become invalid if the project was re-parsed while the dialog was open if (!ProjectTree::hasNode(file.first)) { - QMessageBox::warning(ICore::dialogParent(), tr("Removing File Failed"), - tr("File \"%1\" was not removed, because the project has changed " + QMessageBox::warning(ICore::dialogParent(), Tr::tr("Removing File Failed"), + Tr::tr("File \"%1\" was not removed, because the project has changed " "in the meantime.\nPlease try again.") .arg(file.second.toUserOutput())); return; @@ -3885,7 +3879,7 @@ void ProjectExplorerPluginPrivate::removeFile() && removeFileDialog.isDeleteFileChecked()); if (!success) { TaskHub::addTask(BuildSystemTask(Task::Error, - tr("Could not remove file \"%1\" from project \"%2\".") + Tr::tr("Could not remove file \"%1\" from project \"%2\".") .arg(currentFilePath.toUserOutput(), folderNode->managingProject()->displayName()), folderNode->managingProject()->filePath())); } @@ -3921,11 +3915,11 @@ void ProjectExplorerPluginPrivate::duplicateFile() QString newFileName = sourceFileInfo.fileName(); int copyTokenIndex = newFileName.lastIndexOf(baseName)+baseName.length(); - newFileName.insert(copyTokenIndex, tr("_copy")); + newFileName.insert(copyTokenIndex, Tr::tr("_copy")); bool okPressed; - newFileName = QInputDialog::getText(ICore::dialogParent(), tr("Choose File Name"), - tr("New file name:"), QLineEdit::Normal, newFileName, &okPressed); + newFileName = QInputDialog::getText(ICore::dialogParent(), Tr::tr("Choose File Name"), + Tr::tr("New file name:"), QLineEdit::Normal, newFileName, &okPressed); if (!okPressed) return; if (!ProjectTree::hasNode(currentNode)) @@ -3936,8 +3930,8 @@ void ProjectExplorerPluginPrivate::duplicateFile() QTC_ASSERT(folderNode, return); QFile sourceFile(filePath); if (!sourceFile.copy(newFilePath)) { - QMessageBox::critical(ICore::dialogParent(), tr("Duplicating File Failed"), - tr("Failed to copy file \"%1\" to \"%2\": %3.") + QMessageBox::critical(ICore::dialogParent(), Tr::tr("Duplicating File Failed"), + Tr::tr("Failed to copy file \"%1\" to \"%2\": %3.") .arg(QDir::toNativeSeparators(filePath), QDir::toNativeSeparators(newFilePath), sourceFile.errorString())); return; @@ -3946,8 +3940,8 @@ void ProjectExplorerPluginPrivate::duplicateFile() FilePath::fromString(newFilePath), canTryToRenameIncludeGuards(currentNode)); if (!folderNode->addFiles({FilePath::fromString(newFilePath)})) { - QMessageBox::critical(ICore::dialogParent(), tr("Duplicating File Failed"), - tr("Failed to add new file \"%1\" to the project.") + QMessageBox::critical(ICore::dialogParent(), Tr::tr("Duplicating File Failed"), + Tr::tr("Failed to add new file \"%1\" to the project.") .arg(QDir::toNativeSeparators(newFilePath))); } } @@ -3964,8 +3958,8 @@ void ProjectExplorerPluginPrivate::deleteFile() FilePath filePath = currentNode->filePath(); QMessageBox::StandardButton button = QMessageBox::question(ICore::dialogParent(), - tr("Delete File"), - tr("Delete %1 from file system?") + Tr::tr("Delete File"), + Tr::tr("Delete %1 from file system?") .arg(filePath.toUserOutput()), QMessageBox::Yes | QMessageBox::No); if (button != QMessageBox::Yes) @@ -3982,8 +3976,8 @@ void ProjectExplorerPluginPrivate::deleteFile() if (filePath.exists()) { if (!filePath.removeFile()) - QMessageBox::warning(ICore::dialogParent(), tr("Deleting File Failed"), - tr("Could not delete file %1.") + QMessageBox::warning(ICore::dialogParent(), Tr::tr("Deleting File Failed"), + Tr::tr("Could not delete file %1.") .arg(filePath.toUserOutput())); } } @@ -4017,8 +4011,8 @@ void ProjectExplorerPlugin::renameFile(Node *node, const QString &newFileName) if (!folderNode->canRenameFile(oldFilePath, newFilePath)) { QTimer::singleShot(0, [oldFilePath, newFilePath, projectFileName, handleGuards] { int res = QMessageBox::question(ICore::dialogParent(), - tr("Project Editing Failed"), - tr("The project file %1 cannot be automatically changed.\n\n" + Tr::tr("Project Editing Failed"), + Tr::tr("The project file %1 cannot be automatically changed.\n\n" "Rename %2 to %3 anyway?") .arg(projectFileName) .arg(oldFilePath.toUserOutput()) @@ -4033,7 +4027,7 @@ void ProjectExplorerPlugin::renameFile(Node *node, const QString &newFileName) if (Core::FileUtils::renameFile(oldFilePath, newFilePath, handleGuards)) { // Tell the project plugin about rename if (!folderNode->renameFile(oldFilePath, newFilePath)) { - const QString renameFileError = tr("The file %1 was renamed to %2, but the project " + const QString renameFileError = Tr::tr("The file %1 was renamed to %2, but the project " "file %3 could not be automatically changed.") .arg(oldFilePath.toUserOutput()) .arg(newFilePath.toUserOutput()) @@ -4041,17 +4035,17 @@ void ProjectExplorerPlugin::renameFile(Node *node, const QString &newFileName) QTimer::singleShot(0, [renameFileError] { QMessageBox::warning(ICore::dialogParent(), - tr("Project Editing Failed"), + Tr::tr("Project Editing Failed"), renameFileError); }); } } else { - const QString renameFileError = tr("The file %1 could not be renamed %2.") + const QString renameFileError = Tr::tr("The file %1 could not be renamed %2.") .arg(oldFilePath.toUserOutput()) .arg(newFilePath.toUserOutput()); QTimer::singleShot(0, [renameFileError] { - QMessageBox::warning(ICore::dialogParent(), tr("Cannot Rename File"), renameFileError); + QMessageBox::warning(ICore::dialogParent(), Tr::tr("Cannot Rename File"), renameFileError); }); } } @@ -4322,7 +4316,7 @@ AllProjectFilesFilter::AllProjectFilesFilter() setDefaultIncludedByDefault(false); // but not included in default setFilters({}); setIsCustomFilter(false); - setDescription(ProjectExplorerPluginPrivate::tr( + setDescription(Tr::tr( "Matches all files from all project directories. Append \"+\" or " "\":\" to jump to the given line number. Append another " "\"+\" or \":\" to jump to the column number as well.")); @@ -4398,9 +4392,8 @@ static RunConfiguration *runConfigurationForDisplayName(const QString &displayNa RunRunConfigurationLocatorFilter::RunRunConfigurationLocatorFilter() { setId("Run run configuration"); - setDisplayName(ProjectExplorerPluginPrivate::tr("Run run configuration")); - setDescription(ProjectExplorerPluginPrivate::tr("Run a run configuration of the current " - "active project")); + setDisplayName(Tr::tr("Run run configuration")); + setDescription(Tr::tr("Run a run configuration of the current active project")); setDefaultShortcutString("rr"); setPriority(Medium); } @@ -4422,8 +4415,8 @@ void RunRunConfigurationLocatorFilter::accept(const LocatorFilterEntry &selectio SwitchToRunConfigurationLocatorFilter::SwitchToRunConfigurationLocatorFilter() { setId("Switch run configuration"); - setDisplayName(ProjectExplorerPluginPrivate::tr("Switch run configuration")); - setDescription(ProjectExplorerPluginPrivate::tr("Switch active run configuration")); + setDisplayName(Tr::tr("Switch run configuration")); + setDescription(Tr::tr("Switch active run configuration")); setDefaultShortcutString("sr"); setPriority(Medium); } @@ -4444,8 +4437,7 @@ void SwitchToRunConfigurationLocatorFilter::accept(const LocatorFilterEntry &sel QTimer::singleShot(200, this, [displayName = selection.displayName] { if (auto ks = ICore::mainWindow()->findChild("KitSelector.Button")) { Utils::ToolTip::show(ks->mapToGlobal(QPoint{25, 25}), - ProjectExplorerPluginPrivate::tr( - "Switched run configuration to\n%1").arg(displayName), + Tr::tr("Switched run configuration to\n%1").arg(displayName), ICore::dialogParent()); } }); diff --git a/src/plugins/projectexplorer/projectexplorerconstants.cpp b/src/plugins/projectexplorer/projectexplorerconstants.cpp index 804a175ff6a..0481d82a020 100644 --- a/src/plugins/projectexplorer/projectexplorerconstants.cpp +++ b/src/plugins/projectexplorer/projectexplorerconstants.cpp @@ -3,29 +3,27 @@ #include "projectexplorerconstants.h" -#include +#include "projectexplorertr.h" -#include -#include +#include namespace ProjectExplorer { namespace Constants { QString msgAutoDetected() { - return QCoreApplication::translate("::ProjectExplorer", "Auto-detected"); + return Tr::tr("Auto-detected"); } QString msgAutoDetectedToolTip() { - return QCoreApplication::translate("::ProjectExplorer", - "Automatically managed by %1 or the installer.") + return Tr::tr("Automatically managed by %1 or the installer.") .arg(Core::ICore::ideDisplayName()); } QString msgManual() { - return QCoreApplication::translate("::ProjectExplorer", "Manual"); + return Tr::tr("Manual"); } } // namespace Constants diff --git a/src/plugins/projectexplorer/projectexplorersettingspage.cpp b/src/plugins/projectexplorer/projectexplorersettingspage.cpp index 6affa0c262c..30eb850cd0c 100644 --- a/src/plugins/projectexplorer/projectexplorersettingspage.cpp +++ b/src/plugins/projectexplorer/projectexplorersettingspage.cpp @@ -3,12 +3,14 @@ #include "projectexplorersettingspage.h" +#include "projectexplorer.h" #include "projectexplorerconstants.h" #include "projectexplorersettings.h" -#include "projectexplorer.h" +#include "projectexplorertr.h" #include #include + #include #include #include @@ -30,8 +32,6 @@ enum { UseCurrentDirectory, UseProjectDirectory }; class ProjectExplorerSettingsWidget : public QWidget { - Q_DECLARE_TR_FUNCTIONS(ProjextExplorer::ProjectExplorerSettings) - public: explicit ProjectExplorerSettingsWidget(QWidget *parent = nullptr); @@ -71,44 +71,44 @@ private: ProjectExplorerSettingsWidget::ProjectExplorerSettingsWidget(QWidget *parent) : QWidget(parent) { - m_currentDirectoryRadioButton = new QRadioButton(tr("Current directory")); - m_directoryRadioButton = new QRadioButton(tr("Directory")); + m_currentDirectoryRadioButton = new QRadioButton(Tr::tr("Current directory")); + m_directoryRadioButton = new QRadioButton(Tr::tr("Directory")); m_projectsDirectoryPathChooser = new PathChooser; - m_closeSourceFilesCheckBox = new QCheckBox(tr("Close source files along with project")); - m_saveAllFilesCheckBox = new QCheckBox(tr("Save all files before build")); - m_deployProjectBeforeRunCheckBox = new QCheckBox(tr("Always deploy project before running it")); + m_closeSourceFilesCheckBox = new QCheckBox(Tr::tr("Close source files along with project")); + m_saveAllFilesCheckBox = new QCheckBox(Tr::tr("Save all files before build")); + m_deployProjectBeforeRunCheckBox = new QCheckBox(Tr::tr("Always deploy project before running it")); m_addLibraryPathsToRunEnvCheckBox = - new QCheckBox(tr("Add linker library search paths to run environment")); - m_promptToStopRunControlCheckBox = new QCheckBox(tr("Always ask before stopping applications")); + new QCheckBox(Tr::tr("Add linker library search paths to run environment")); + m_promptToStopRunControlCheckBox = new QCheckBox(Tr::tr("Always ask before stopping applications")); m_automaticallyCreateRunConfiguration = - new QCheckBox(tr("Create suitable run configurations automatically")); - m_clearIssuesCheckBox = new QCheckBox(tr("Clear issues list on new build")); - m_abortBuildAllOnErrorCheckBox = new QCheckBox(tr("Abort on error when building all projects")); - m_lowBuildPriorityCheckBox = new QCheckBox(tr("Start build processes with low priority")); + new QCheckBox(Tr::tr("Create suitable run configurations automatically")); + m_clearIssuesCheckBox = new QCheckBox(Tr::tr("Clear issues list on new build")); + m_abortBuildAllOnErrorCheckBox = new QCheckBox(Tr::tr("Abort on error when building all projects")); + m_lowBuildPriorityCheckBox = new QCheckBox(Tr::tr("Start build processes with low priority")); m_buildBeforeDeployComboBox = new QComboBox; - m_buildBeforeDeployComboBox->addItem(tr("Do Not Build Anything"), + m_buildBeforeDeployComboBox->addItem(Tr::tr("Do Not Build Anything"), int(BuildBeforeRunMode::Off)); - m_buildBeforeDeployComboBox->addItem(tr("Build the Whole Project"), + m_buildBeforeDeployComboBox->addItem(Tr::tr("Build the Whole Project"), int(BuildBeforeRunMode::WholeProject)); - m_buildBeforeDeployComboBox->addItem(tr("Build Only the Application to Be Run"), + m_buildBeforeDeployComboBox->addItem(Tr::tr("Build Only the Application to Be Run"), int(BuildBeforeRunMode::AppOnly)); const QSizePolicy cbSizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred); m_buildBeforeDeployComboBox->setSizePolicy(cbSizePolicy); m_stopBeforeBuildComboBox = new QComboBox; - m_stopBeforeBuildComboBox->addItem(tr("None"), int(StopBeforeBuild::None)); - m_stopBeforeBuildComboBox->addItem(tr("All"), int(StopBeforeBuild::All)); - m_stopBeforeBuildComboBox->addItem(tr("Same Project"), int(StopBeforeBuild::SameProject)); - m_stopBeforeBuildComboBox->addItem(tr("Same Build Directory"), + m_stopBeforeBuildComboBox->addItem(Tr::tr("None"), int(StopBeforeBuild::None)); + m_stopBeforeBuildComboBox->addItem(Tr::tr("All"), int(StopBeforeBuild::All)); + m_stopBeforeBuildComboBox->addItem(Tr::tr("Same Project"), int(StopBeforeBuild::SameProject)); + m_stopBeforeBuildComboBox->addItem(Tr::tr("Same Build Directory"), int(StopBeforeBuild::SameBuildDir)); - m_stopBeforeBuildComboBox->addItem(tr("Same Application"), + m_stopBeforeBuildComboBox->addItem(Tr::tr("Same Application"), int(StopBeforeBuild::SameApp)); m_stopBeforeBuildComboBox->setSizePolicy(cbSizePolicy); m_terminalModeComboBox = new QComboBox; - m_terminalModeComboBox->addItem(tr("Enabled")); - m_terminalModeComboBox->addItem(tr("Disabled")); - m_terminalModeComboBox->addItem(tr("Deduced from Project")); + m_terminalModeComboBox->addItem(Tr::tr("Enabled")); + m_terminalModeComboBox->addItem(Tr::tr("Disabled")); + m_terminalModeComboBox->addItem(Tr::tr("Deduced from Project")); m_terminalModeComboBox->setSizePolicy(cbSizePolicy); - m_jomCheckbox = new QCheckBox(tr("Use jom instead of nmake")); + m_jomCheckbox = new QCheckBox(Tr::tr("Use jom instead of nmake")); auto jomLabel = new QLabel("jom is a drop-in replacement for nmake which " "distributes the compilation process to multiple CPU cores. " "The latest binary is available at " @@ -120,20 +120,20 @@ ProjectExplorerSettingsWidget::ProjectExplorerSettingsWidget(QWidget *parent) : using namespace Utils::Layouting; Column { Group { - title(tr("Projects Directory")), + title(Tr::tr("Projects Directory")), Column { m_currentDirectoryRadioButton, Row { m_directoryRadioButton, m_projectsDirectoryPathChooser }, }, }, Group { - title(tr("Closing Projects")), + title(Tr::tr("Closing Projects")), Column { m_closeSourceFilesCheckBox, }, }, Group { - title(tr("Build and Run")), + title(Tr::tr("Build and Run")), Column { m_saveAllFilesCheckBox, m_deployProjectBeforeRunCheckBox, @@ -144,9 +144,9 @@ ProjectExplorerSettingsWidget::ProjectExplorerSettingsWidget(QWidget *parent) : m_abortBuildAllOnErrorCheckBox, m_lowBuildPriorityCheckBox, Form { - tr("Build before deploying:"), m_buildBeforeDeployComboBox, br, - tr("Stop applications before building:"), m_stopBeforeBuildComboBox, br, - tr("Default for \"Run in terminal\":"), m_terminalModeComboBox, br, + Tr::tr("Build before deploying:"), m_buildBeforeDeployComboBox, br, + Tr::tr("Stop applications before building:"), m_stopBeforeBuildComboBox, br, + Tr::tr("Default for \"Run in terminal\":"), m_terminalModeComboBox, br, }, m_jomCheckbox, jomLabel, @@ -240,9 +240,9 @@ void ProjectExplorerSettingsWidget::slotDirectoryButtonGroupChanged() ProjectExplorerSettingsPage::ProjectExplorerSettingsPage() { setId(Constants::BUILD_AND_RUN_SETTINGS_PAGE_ID); - setDisplayName(ProjectExplorerSettingsWidget::tr("General")); + setDisplayName(Tr::tr("General")); setCategory(Constants::BUILD_AND_RUN_SETTINGS_CATEGORY); - setDisplayCategory(QCoreApplication::translate("::ProjectExplorer", "Build & Run")); + setDisplayCategory(Tr::tr("Build & Run")); setCategoryIconPath(":/projectexplorer/images/settingscategory_buildrun.png"); } diff --git a/src/plugins/projectexplorer/projectfilewizardextension.cpp b/src/plugins/projectexplorer/projectfilewizardextension.cpp index 94295ed1581..53d3eb15781 100644 --- a/src/plugins/projectexplorer/projectfilewizardextension.cpp +++ b/src/plugins/projectexplorer/projectfilewizardextension.cpp @@ -6,9 +6,9 @@ #include "editorconfiguration.h" #include "project.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "projectnodes.h" #include "projecttree.h" -#include "projecttree.h" #include "projectwizardpage.h" #include "session.h" @@ -168,8 +168,8 @@ bool ProjectFileWizardExtension::processFiles( message.append(QLatin1String("\n\n")); errorMessage->clear(); } - message.append(tr("Open project anyway?")); - if (QMessageBox::question(ICore::dialogParent(), tr("Version Control Failure"), message, + message.append(Tr::tr("Open project anyway?")); + if (QMessageBox::question(ICore::dialogParent(), Tr::tr("Version Control Failure"), message, QMessageBox::Yes, QMessageBox::No) == QMessageBox::No) return false; } @@ -190,7 +190,7 @@ bool ProjectFileWizardExtension::processProject( return true; if (m_context->wizard->kind() == IWizardFactory::ProjectWizard) { if (!static_cast(folder)->addSubProject(generatedProject)) { - *errorMessage = tr("Failed to add subproject \"%1\"\nto project \"%2\".") + *errorMessage = Tr::tr("Failed to add subproject \"%1\"\nto project \"%2\".") .arg(generatedProject.toUserOutput()).arg(folder->filePath().toUserOutput()); return false; } @@ -198,7 +198,7 @@ bool ProjectFileWizardExtension::processProject( } else { FilePaths filePaths = Utils::transform(files, &GeneratedFile::filePath); if (!folder->addFiles(filePaths)) { - *errorMessage = tr("Failed to add one or more files to project\n\"%1\" (%2).") + *errorMessage = Tr::tr("Failed to add one or more files to project\n\"%1\" (%2).") .arg(folder->filePath().toUserOutput()) .arg(FilePath::formatFilePaths(filePaths, ",")); return false; diff --git a/src/plugins/projectexplorer/projectimporter.cpp b/src/plugins/projectexplorer/projectimporter.cpp index d8c297fa443..9c9b1f707a5 100644 --- a/src/plugins/projectexplorer/projectimporter.cpp +++ b/src/plugins/projectexplorer/projectimporter.cpp @@ -7,8 +7,8 @@ #include "kit.h" #include "kitinformation.h" #include "kitmanager.h" -#include "project.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "target.h" #include "toolchain.h" #include "toolchainmanager.h" @@ -84,8 +84,8 @@ const QList ProjectImporter::import(const Utils::FilePath &importPath if (silent) return; QMessageBox::critical(Core::ICore::dialogParent(), - tr("No Build Found"), - tr("No build found in %1 matching project %2.") + Tr::tr("No Build Found"), + Tr::tr("No build found in %1 matching project %2.") .arg(importPath.toUserOutput(), projectFilePath().toUserOutput())); }; qCDebug(log) << "Examining directory" << absoluteImportPath.toString(); @@ -102,10 +102,10 @@ const QList ProjectImporter::import(const Utils::FilePath &importPath if (silent) return result; QMessageBox dialog(Core::ICore::dialogParent()); - dialog.setWindowTitle(tr("Import Warning")); + dialog.setWindowTitle(Tr::tr("Import Warning")); dialog.setText(warningMessage); dialog.setIcon(QMessageBox::Warning); - QPushButton *acceptButton = dialog.addButton(tr("Import Build"), QMessageBox::AcceptRole); + QPushButton *acceptButton = dialog.addButton(Tr::tr("Import Build"), QMessageBox::AcceptRole); dialog.addButton(QMessageBox::Cancel); dialog.exec(); if (dialog.clickedButton() != acceptButton) @@ -188,8 +188,7 @@ void ProjectImporter::markKitAsTemporary(Kit *k) const UpdateGuard guard(*this); const QString name = k->displayName(); - k->setUnexpandedDisplayName(QCoreApplication::translate("ProjectExplorer::ProjectImporter", - "%1 - temporary").arg(name)); + k->setUnexpandedDisplayName(Tr::tr("%1 - temporary").arg(name)); k->setValue(KIT_TEMPORARY_NAME, k->displayName()); k->setValue(KIT_FINAL_NAME, name); @@ -296,8 +295,7 @@ Kit *ProjectImporter::createTemporaryKit(const KitSetupFunction &setup) const UpdateGuard guard(*this); const auto init = [&](Kit *k) { KitGuard kitGuard(k); - k->setUnexpandedDisplayName(QCoreApplication::translate("ProjectExplorer::ProjectImporter", - "Imported Kit")); + k->setUnexpandedDisplayName(Tr::tr("Imported Kit")); k->setup(); setup(k); k->fix(); diff --git a/src/plugins/projectexplorer/projectmodels.cpp b/src/plugins/projectexplorer/projectmodels.cpp index 0ca3092e6d6..0a761f91e62 100644 --- a/src/plugins/projectexplorer/projectmodels.cpp +++ b/src/plugins/projectexplorer/projectmodels.cpp @@ -7,6 +7,7 @@ #include "project.h" #include "projectnodes.h" #include "projectexplorer.h" +#include "projectexplorertr.h" #include "projecttree.h" #include "session.h" #include "target.h" @@ -209,7 +210,7 @@ QVariant FlatModel::data(const QModelIndex &index, int role) const if (!projectIssues.isEmpty()) tooltip += "

" + projectIssues; } else { - tooltip += "

" + tr("No kits are enabled for this project. " + tooltip += "

" + Tr::tr("No kits are enabled for this project. " "Enable kits in the \"Projects\" mode."); } } @@ -295,8 +296,8 @@ bool FlatModel::setData(const QModelIndex &index, const QVariant &value, int rol }); fileNames.removeDuplicates(); const QMessageBox::StandardButton reply = QMessageBox::question( - Core::ICore::dialogParent(), tr("Rename More Files?"), - tr("Would you like to rename these files as well?\n %1") + Core::ICore::dialogParent(), Tr::tr("Rename More Files?"), + Tr::tr("Would you like to rename these files as well?\n %1") .arg(fileNames.join("\n ")), QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel, QMessageBox::Yes); @@ -570,17 +571,16 @@ enum class DropAction { Copy, CopyWithFiles, Move, MoveWithFiles }; class DropFileDialog : public QDialog { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Internal::FlatModel) public: DropFileDialog(const FilePath &defaultTargetDir) : m_buttonBox(new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel)), m_buttonGroup(new QButtonGroup(this)) { - setWindowTitle(tr("Choose Drop Action")); + setWindowTitle(Tr::tr("Choose Drop Action")); const bool offerFileIo = !defaultTargetDir.isEmpty(); auto * const layout = new QVBoxLayout(this); const QString idename(Core::Constants::IDE_DISPLAY_NAME); - layout->addWidget(new QLabel(tr("You just dragged some files from one project node to " + layout->addWidget(new QLabel(Tr::tr("You just dragged some files from one project node to " "another.\nWhat should %1 do now?").arg(idename), this)); auto * const copyButton = new QRadioButton(this); m_buttonGroup->addButton(copyButton, int(DropAction::Copy)); @@ -589,20 +589,20 @@ public: m_buttonGroup->addButton(moveButton, int(DropAction::Move)); layout->addWidget(moveButton); if (offerFileIo) { - copyButton->setText(tr("Copy Only File References")); - moveButton->setText(tr("Move Only File References")); + copyButton->setText(Tr::tr("Copy Only File References")); + moveButton->setText(Tr::tr("Move Only File References")); auto * const copyWithFilesButton - = new QRadioButton(tr("Copy file references and files"), this); + = new QRadioButton(Tr::tr("Copy file references and files"), this); m_buttonGroup->addButton(copyWithFilesButton, int(DropAction::CopyWithFiles)); layout->addWidget(copyWithFilesButton); auto * const moveWithFilesButton - = new QRadioButton(tr("Move file references and files"), this); + = new QRadioButton(Tr::tr("Move file references and files"), this); m_buttonGroup->addButton(moveWithFilesButton, int(DropAction::MoveWithFiles)); layout->addWidget(moveWithFilesButton); moveWithFilesButton->setChecked(true); auto * const targetDirLayout = new QHBoxLayout; layout->addLayout(targetDirLayout); - targetDirLayout->addWidget(new QLabel(tr("Target directory:"), this)); + targetDirLayout->addWidget(new QLabel(Tr::tr("Target directory:"), this)); m_targetDirChooser = new PathChooser(this); m_targetDirChooser->setExpectedKind(PathChooser::ExistingDirectory); m_targetDirChooser->setFilePath(defaultTargetDir); @@ -626,8 +626,8 @@ public: } }); } else { - copyButton->setText(tr("Copy File References")); - moveButton->setText(tr("Move File References")); + copyButton->setText(Tr::tr("Copy File References")); + moveButton->setText(Tr::tr("Move File References")); moveButton->setChecked(true); } connect(m_buttonBox, &QDialogButtonBox::accepted, this, &QDialog::accept); @@ -821,31 +821,31 @@ bool FlatModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int r }; if (!failedAddToProject.empty() || !failedRemoveFromProject.empty() || !failedCopyOrMove.empty() || !failedDelete.empty() || !failedVcsOp.empty()) { - QString message = tr("Not all operations finished successfully."); + QString message = Tr::tr("Not all operations finished successfully."); if (!failedCopyOrMove.empty()) { - message.append('\n').append(tr("The following files could not be copied or moved:")) + message.append('\n').append(Tr::tr("The following files could not be copied or moved:")) .append("\n ").append(makeUserFileList(failedCopyOrMove)); } if (!failedRemoveFromProject.empty()) { - message.append('\n').append(tr("The following files could not be removed from the " + message.append('\n').append(Tr::tr("The following files could not be removed from the " "project file:")) .append("\n ").append(makeUserFileList(failedRemoveFromProject)); } if (!failedAddToProject.empty()) { - message.append('\n').append(tr("The following files could not be added to the " + message.append('\n').append(Tr::tr("The following files could not be added to the " "project file:")) .append("\n ").append(makeUserFileList(failedAddToProject)); } if (!failedDelete.empty()) { - message.append('\n').append(tr("The following files could not be deleted:")) + message.append('\n').append(Tr::tr("The following files could not be deleted:")) .append("\n ").append(makeUserFileList(failedDelete)); } if (!failedVcsOp.empty()) { - message.append('\n').append(tr("A version control operation failed for the following " + message.append('\n').append(Tr::tr("A version control operation failed for the following " "files. Please check your repository.")) .append("\n ").append(makeUserFileList(failedVcsOp)); } - QMessageBox::warning(Core::ICore::dialogParent(), tr("Failure Updating Project"), message); + QMessageBox::warning(Core::ICore::dialogParent(), Tr::tr("Failure Updating Project"), message); } return true; diff --git a/src/plugins/projectexplorer/projecttree.cpp b/src/plugins/projectexplorer/projecttree.cpp index 972615fb964..18b03d3ae0e 100644 --- a/src/plugins/projectexplorer/projecttree.cpp +++ b/src/plugins/projectexplorer/projecttree.cpp @@ -5,6 +5,7 @@ #include "project.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "projectnodes.h" #include "projecttreewidget.h" #include "session.h" @@ -197,8 +198,8 @@ void ProjectTree::setCurrent(Node *node, Project *project) disconnect(document, &Core::IDocument::changed, this, nullptr); if (!node || node->isGenerated()) { const QString message = node - ? tr("Warning: This file is generated.") - : tr("Warning: This file is outside the project directory."); + ? Tr::tr("Warning: This file is generated.") + : Tr::tr("Warning: This file is outside the project directory."); connect(document, &Core::IDocument::changed, this, [this, document, message] { updateFileWarning(document, message); }); diff --git a/src/plugins/projectexplorer/projecttreewidget.cpp b/src/plugins/projectexplorer/projecttreewidget.cpp index 8d1d5432ef6..65f38626fef 100644 --- a/src/plugins/projectexplorer/projecttreewidget.cpp +++ b/src/plugins/projectexplorer/projecttreewidget.cpp @@ -5,6 +5,7 @@ #include "project.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "projectmodels.h" #include "projectnodes.h" #include "projecttree.h" @@ -217,18 +218,18 @@ ProjectTreeWidget::ProjectTreeWidget(QWidget *parent) : QWidget(parent) layout->setContentsMargins(0, 0, 0, 0); setLayout(layout); - m_filterProjectsAction = new QAction(tr("Simplify Tree"), this); + m_filterProjectsAction = new QAction(Tr::tr("Simplify Tree"), this); m_filterProjectsAction->setCheckable(true); m_filterProjectsAction->setChecked(false); // default is the traditional complex tree connect(m_filterProjectsAction, &QAction::toggled, this, &ProjectTreeWidget::setProjectFilter); - m_filterGeneratedFilesAction = new QAction(tr("Hide Generated Files"), this); + m_filterGeneratedFilesAction = new QAction(Tr::tr("Hide Generated Files"), this); m_filterGeneratedFilesAction->setCheckable(true); m_filterGeneratedFilesAction->setChecked(true); connect(m_filterGeneratedFilesAction, &QAction::toggled, this, &ProjectTreeWidget::setGeneratedFilesFilter); - m_filterDisabledFilesAction = new QAction(tr("Hide Disabled Files"), this); + m_filterDisabledFilesAction = new QAction(Tr::tr("Hide Disabled Files"), this); m_filterDisabledFilesAction->setCheckable(true); m_filterDisabledFilesAction->setChecked(false); connect(m_filterDisabledFilesAction, &QAction::toggled, @@ -236,22 +237,22 @@ ProjectTreeWidget::ProjectTreeWidget(QWidget *parent) : QWidget(parent) const char focusActionId[] = "ProjectExplorer.FocusDocumentInProjectTree"; if (!ActionManager::command(focusActionId)) { - auto focusDocumentInProjectTree = new QAction(tr("Focus Document in Project Tree"), this); + auto focusDocumentInProjectTree = new QAction(Tr::tr("Focus Document in Project Tree"), this); Command *cmd = ActionManager::registerAction(focusDocumentInProjectTree, focusActionId); cmd->setDefaultKeySequence( - QKeySequence(useMacShortcuts ? tr("Meta+Shift+L") : tr("Alt+Shift+L"))); + QKeySequence(useMacShortcuts ? Tr::tr("Meta+Shift+L") : Tr::tr("Alt+Shift+L"))); connect(focusDocumentInProjectTree, &QAction::triggered, this, [this] { syncFromDocumentManager(); }); } - m_trimEmptyDirectoriesAction = new QAction(tr("Hide Empty Directories"), this); + m_trimEmptyDirectoriesAction = new QAction(Tr::tr("Hide Empty Directories"), this); m_trimEmptyDirectoriesAction->setCheckable(true); m_trimEmptyDirectoriesAction->setChecked(true); connect(m_trimEmptyDirectoriesAction, &QAction::toggled, this, &ProjectTreeWidget::setTrimEmptyDirectories); - m_hideSourceGroupsAction = new QAction(tr("Hide Source and Header Groups"), this); + m_hideSourceGroupsAction = new QAction(Tr::tr("Hide Source and Header Groups"), this); m_hideSourceGroupsAction->setCheckable(true); m_hideSourceGroupsAction->setChecked(false); connect(m_hideSourceGroupsAction, &QAction::toggled, @@ -277,7 +278,7 @@ ProjectTreeWidget::ProjectTreeWidget(QWidget *parent) : QWidget(parent) m_toggleSync->setIcon(Icons::LINK_TOOLBAR.icon()); m_toggleSync->setCheckable(true); m_toggleSync->setChecked(autoSynchronization()); - m_toggleSync->setToolTip(tr("Synchronize with Editor")); + m_toggleSync->setToolTip(Tr::tr("Synchronize with Editor")); connect(m_toggleSync, &QAction::triggered, this, &ProjectTreeWidget::toggleAutoSynchronization); setCurrentItem(ProjectTree::currentNode()); @@ -417,7 +418,7 @@ QList ProjectTreeWidget::createToolButtons() { auto filter = new QToolButton(this); filter->setIcon(Icons::FILTER.icon()); - filter->setToolTip(tr("Filter Tree")); + filter->setToolTip(Tr::tr("Filter Tree")); filter->setPopupMode(QToolButton::InstantPopup); filter->setProperty("noArrow", true); @@ -606,10 +607,10 @@ bool ProjectTreeWidget::projectFilter() ProjectTreeWidgetFactory::ProjectTreeWidgetFactory() { - setDisplayName(tr("Projects")); + setDisplayName(Tr::tr("Projects")); setPriority(100); setId(ProjectExplorer::Constants::PROJECTTREE_ID); - setActivationSequence(QKeySequence(useMacShortcuts ? tr("Meta+X") : tr("Alt+X"))); + setActivationSequence(QKeySequence(useMacShortcuts ? Tr::tr("Meta+X") : Tr::tr("Alt+X"))); } NavigationView ProjectTreeWidgetFactory::createWidget() diff --git a/src/plugins/projectexplorer/projectwelcomepage.cpp b/src/plugins/projectexplorer/projectwelcomepage.cpp index f7417c4107f..cac15eabdb3 100644 --- a/src/plugins/projectexplorer/projectwelcomepage.cpp +++ b/src/plugins/projectexplorer/projectwelcomepage.cpp @@ -2,9 +2,11 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "projectwelcomepage.h" + #include "session.h" #include "sessionmodel.h" #include "projectexplorer.h" +#include "projectexplorertr.h" #include #include @@ -162,17 +164,17 @@ void ProjectWelcomePage::createActions() const Id sessionBase = SESSION_BASE_ID; for (int i = 1; i <= actionsCount; ++i) { - auto act = new QAction(tr("Open Session #%1").arg(i), this); + auto act = new QAction(Tr::tr("Open Session #%1").arg(i), this); Command *cmd = ActionManager::registerAction(act, sessionBase.withSuffix(i), welcomeContext); - cmd->setDefaultKeySequence(QKeySequence((useMacShortcuts ? tr("Ctrl+Meta+%1") : tr("Ctrl+Alt+%1")).arg(i))); + cmd->setDefaultKeySequence(QKeySequence((useMacShortcuts ? Tr::tr("Ctrl+Meta+%1") : Tr::tr("Ctrl+Alt+%1")).arg(i))); connect(act, &QAction::triggered, this, [this, i] { if (i <= m_sessionModel->rowCount()) openSessionAt(i - 1); }); - act = new QAction(tr("Open Recent Project #%1").arg(i), this); + act = new QAction(Tr::tr("Open Recent Project #%1").arg(i), this); cmd = ActionManager::registerAction(act, projectBase.withSuffix(i), welcomeContext); - cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+Shift+%1").arg(i))); + cmd->setDefaultKeySequence(QKeySequence(Tr::tr("Ctrl+Shift+%1").arg(i))); connect(act, &QAction::triggered, this, [this, i] { if (i <= m_projectModel->rowCount(QModelIndex())) openProjectAt(i - 1); @@ -226,9 +228,9 @@ protected: QString tooltipText; const QString type = entryType(); if (shortcut.isEmpty()) - tooltipText = ProjectWelcomePage::tr("Open %1 \"%2\"").arg(type, name); + tooltipText = Tr::tr("Open %1 \"%2\"").arg(type, name); else - tooltipText = ProjectWelcomePage::tr("Open %1 \"%2\" (%3)").arg(type, name, shortcut); + tooltipText = Tr::tr("Open %1 \"%2\" (%3)").arg(type, name, shortcut); if (tooltipText.isEmpty()) return false; @@ -243,7 +245,7 @@ class SessionDelegate : public BaseDelegate protected: QString entryType() override { - return ProjectWelcomePage::tr("session", "Appears in \"Open session \""); + return Tr::tr("session", "Appears in \"Open session \""); } QRect toolTipArea(const QRect &itemRect, const QModelIndex &idx) const override { @@ -302,9 +304,9 @@ public: QString fullSessionName = sessionName; if (isLastSession && isDefaultVirgin) - fullSessionName = ProjectWelcomePage::tr("%1 (last session)").arg(fullSessionName); + fullSessionName = Tr::tr("%1 (last session)").arg(fullSessionName); if (isActiveSession && !isDefaultVirgin) - fullSessionName = ProjectWelcomePage::tr("%1 (current session)").arg(fullSessionName); + fullSessionName = Tr::tr("%1 (current session)").arg(fullSessionName); const QRect switchRect = QRect(x, y, rc.width() - SESSION_ARROW_RECT_WIDTH, SESSION_LINE_HEIGHT); const bool switchActive = switchRect.contains(mousePos); @@ -342,9 +344,9 @@ public: yy += 3; int xx = x1; const QStringList actions = { - ProjectWelcomePage::tr("Clone"), - ProjectWelcomePage::tr("Rename"), - ProjectWelcomePage::tr("Delete") + Tr::tr("Clone"), + Tr::tr("Rename"), + Tr::tr("Delete") }; for (int i = 0; i < 3; ++i) { const QString &action = actions.at(i); @@ -441,7 +443,7 @@ class ProjectDelegate : public BaseDelegate { QString entryType() override { - return ProjectWelcomePage::tr("project", "Appears in \"Open project \""); + return Tr::tr("project", "Appears in \"Open project \""); } int shortcutRole() const override { return ProjectModel::ShortcutRole; } @@ -513,8 +515,7 @@ public: } if (button == Qt::RightButton) { QMenu contextMenu; - QAction *action = new QAction( - ProjectWelcomePage::tr("Remove Project from Recent Projects")); + QAction *action = new QAction(Tr::tr("Remove Project from Recent Projects")); const auto projectModel = qobject_cast(model); contextMenu.addAction(action); connect(action, &QAction::triggered, [idx, projectModel](){ @@ -523,7 +524,7 @@ public: projectModel->resetProjects(); }); contextMenu.addSeparator(); - action = new QAction(ProjectWelcomePage::tr("Clear Recent Project List")); + action = new QAction(Tr::tr("Clear Recent Project List")); connect(action, &QAction::triggered, [projectModel]() { ProjectExplorerPlugin::clearRecentProjects(); projectModel->resetProjects(); @@ -572,17 +573,17 @@ public: projectWelcomePage->m_projectModel = new ProjectModel(this); auto manageSessionsButton = new WelcomePageButton(this); - manageSessionsButton->setText(ProjectWelcomePage::tr("Manage...")); + manageSessionsButton->setText(Tr::tr("Manage...")); manageSessionsButton->setWithAccentColor(true); manageSessionsButton->setOnClicked([] { ProjectExplorerPlugin::showSessionManager(); }); auto sessionsLabel = new QLabel(this); sessionsLabel->setFont(brandFont()); - sessionsLabel->setText(ProjectWelcomePage::tr("Sessions")); + sessionsLabel->setText(Tr::tr("Sessions")); auto recentProjectsLabel = new QLabel(this); recentProjectsLabel->setFont(brandFont()); - recentProjectsLabel->setText(ProjectWelcomePage::tr("Projects")); + recentProjectsLabel->setText(Tr::tr("Projects")); auto sessionsList = new TreeView(this, "Sessions"); sessionsList->setModel(projectWelcomePage->m_sessionModel); diff --git a/src/plugins/projectexplorer/projectwelcomepage.h b/src/plugins/projectexplorer/projectwelcomepage.h index 6d51d2536e8..778c6af560a 100644 --- a/src/plugins/projectexplorer/projectwelcomepage.h +++ b/src/plugins/projectexplorer/projectwelcomepage.h @@ -5,6 +5,8 @@ #include "projectexplorer.h" +#include "projectexplorertr.h" + #include #include @@ -42,7 +44,7 @@ class ProjectWelcomePage : public Core::IWelcomePage public: ProjectWelcomePage(); - QString title() const override { return tr("Projects"); } + QString title() const override { return Tr::tr("Projects"); } int priority() const override { return 20; } Utils::Id id() const override; QWidget *createWidget() const override; diff --git a/src/plugins/projectexplorer/projectwindow.cpp b/src/plugins/projectexplorer/projectwindow.cpp index d7bd5d77132..6adcefd342a 100644 --- a/src/plugins/projectexplorer/projectwindow.cpp +++ b/src/plugins/projectexplorer/projectwindow.cpp @@ -9,8 +9,8 @@ #include "kitoptionspage.h" #include "panelswidget.h" #include "project.h" -#include "projectexplorer.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "projectimporter.h" #include "projectpanelfactory.h" #include "projectsettingswidget.h" @@ -101,14 +101,14 @@ BuildSystemOutputWindow::BuildSystemOutputWindow() connect(&m_clear, &QAction::triggered, this, &OutputWindow::clear); m_filterActionRegexp.setCheckable(true); - m_filterActionRegexp.setText(ProjectWindow::tr("Use Regular Expressions")); + m_filterActionRegexp.setText(Tr::tr("Use Regular Expressions")); connect(&m_filterActionRegexp, &QAction::toggled, this, &BuildSystemOutputWindow::updateFilter); Core::ActionManager::registerAction(&m_filterActionRegexp, kRegExpActionId, Context(Constants::C_PROJECTEXPLORER)); m_filterActionCaseSensitive.setCheckable(true); - m_filterActionCaseSensitive.setText(ProjectWindow::tr("Case Sensitive")); + m_filterActionCaseSensitive.setText(Tr::tr("Case Sensitive")); connect(&m_filterActionCaseSensitive, &QAction::toggled, this, @@ -118,7 +118,7 @@ BuildSystemOutputWindow::BuildSystemOutputWindow() Context(Constants::C_PROJECTEXPLORER)); m_invertFilterAction.setCheckable(true); - m_invertFilterAction.setText(ProjectWindow::tr("Show Non-matching Lines")); + m_invertFilterAction.setText(Tr::tr("Show Non-matching Lines")); connect(&m_invertFilterAction, &QAction::toggled, this, &BuildSystemOutputWindow::updateFilter); Core::ActionManager::registerAction(&m_invertFilterAction, kInvertActionId, @@ -291,7 +291,7 @@ public: { switch (role) { case Qt::DisplayRole: - return ProjectWindow::tr("Project Settings"); + return Tr::tr("Project Settings"); case PanelWidgetRole: case ActiveItemRole: @@ -336,7 +336,7 @@ public: : m_project(project), m_changeListener(changeListener) { QTC_ASSERT(m_project, return); - QString display = ProjectWindow::tr("Build & Run"); + QString display = Tr::tr("Build & Run"); appendChild(m_targetsItem = new TargetGroupItem(display, project)); appendChild(m_miscItem = new MiscSettingsGroupItem(project)); } @@ -520,7 +520,7 @@ public: ProjectWindowPrivate(ProjectWindow *parent) : q(parent) { - m_projectsModel.setHeader({ProjectWindow::tr("Projects")}); + m_projectsModel.setHeader({Tr::tr("Projects")}); m_selectorTree = new SelectorTree; m_selectorTree->setModel(&m_projectsModel); @@ -552,14 +552,14 @@ public: connect(sessionManager, &SessionManager::startupProjectChanged, this, &ProjectWindowPrivate::startupProjectChanged); - m_importBuild = new QPushButton(ProjectWindow::tr("Import Existing Build...")); + m_importBuild = new QPushButton(Tr::tr("Import Existing Build...")); connect(m_importBuild, &QPushButton::clicked, this, &ProjectWindowPrivate::handleImportBuild); connect(sessionManager, &SessionManager::startupProjectChanged, this, [this](Project *project) { m_importBuild->setEnabled(project && project->projectImporter()); }); - m_manageKits = new QPushButton(ProjectWindow::tr("Manage Kits...")); + m_manageKits = new QPushButton(Tr::tr("Manage Kits...")); connect(m_manageKits, &QPushButton::clicked, this, &ProjectWindowPrivate::handleManageKits); @@ -568,13 +568,13 @@ public: auto selectorView = new QWidget; // Black blob + Combobox + Project tree below. selectorView->setObjectName("ProjectSelector"); // Needed for dock widget state saving - selectorView->setWindowTitle(ProjectWindow::tr("Project Selector")); + selectorView->setWindowTitle(Tr::tr("Project Selector")); selectorView->setAutoFillBackground(true); selectorView->setContextMenuPolicy(Qt::CustomContextMenu); connect(selectorView, &QWidget::customContextMenuRequested, this, &ProjectWindowPrivate::openContextMenu); - auto activeLabel = new QLabel(ProjectWindow::tr("Active Project")); + auto activeLabel = new QLabel(Tr::tr("Active Project")); QFont font = activeLabel->font(); font.setBold(true); font.setPointSizeF(font.pointSizeF() * 1.2); @@ -605,7 +605,7 @@ public: // especially the find tool bar (resulting in wrong label color) output->setBackgroundRole(QPalette::Window); output->setObjectName("BuildSystemOutput"); - output->setWindowTitle(ProjectWindow::tr("Build System Output")); + output->setWindowTitle(Tr::tr("Build System Output")); auto outputLayout = new QVBoxLayout; output->setLayout(outputLayout); outputLayout->setContentsMargins(0, 0, 0, 0); @@ -726,9 +726,9 @@ public: if (!menu.actions().isEmpty()) menu.addSeparator(); - QAction *importBuild = menu.addAction(ProjectWindow::tr("Import Existing Build...")); + QAction *importBuild = menu.addAction(Tr::tr("Import Existing Build...")); importBuild->setEnabled(project && project->projectImporter()); - QAction *manageKits = menu.addAction(ProjectWindow::tr("Manage Kits...")); + QAction *manageKits = menu.addAction(Tr::tr("Manage Kits...")); QAction *act = menu.exec(m_selectorTree->mapToGlobal(pos)); @@ -755,7 +755,7 @@ public: QTC_ASSERT(projectImporter, return); FilePath importDir = - FileUtils::getExistingDirectory(nullptr, ProjectWindow::tr("Import Directory"), + FileUtils::getExistingDirectory(nullptr, Tr::tr("Import Directory"), project->projectDirectory()); Target *lastTarget = nullptr; diff --git a/src/plugins/projectexplorer/projectwizardpage.cpp b/src/plugins/projectexplorer/projectwizardpage.cpp index e661fe97c02..34dc0b9aaa5 100644 --- a/src/plugins/projectexplorer/projectwizardpage.cpp +++ b/src/plugins/projectexplorer/projectwizardpage.cpp @@ -4,6 +4,7 @@ #include "projectwizardpage.h" #include "project.h" +#include "projectexplorertr.h" #include "projectmodels.h" #include "session.h" @@ -11,6 +12,7 @@ #include #include #include + #include #include #include @@ -19,6 +21,7 @@ #include #include #include + #include #include @@ -142,7 +145,7 @@ private: BestNodeSelector::BestNodeSelector(const FilePath &commonDirectory, const FilePaths &files) : m_commonDirectory(commonDirectory), m_files(files), - m_deployText(QCoreApplication::translate("ProjectWizard", "The files are implicitly added to the projects:") + QLatin1Char('\n')) + m_deployText(Tr::tr("The files are implicitly added to the projects:") + QLatin1Char('\n')) { } // Find the project the new files should be added @@ -207,9 +210,9 @@ QString BestNodeSelector::deployingProjects() const static inline AddNewTree *createNoneNode(BestNodeSelector *selector) { - QString displayName = QCoreApplication::translate("ProjectWizard", ""); + QString displayName = Tr::tr(""); if (selector->deploys()) - displayName = QCoreApplication::translate("ProjectWizard", ""); + displayName = Tr::tr(""); return new AddNewTree(displayName); } @@ -272,7 +275,7 @@ ProjectWizardPage::ProjectWizardPage(QWidget *parent) m_projectComboBox = new Utils::TreeViewComboBox; m_projectComboBox->setObjectName("projectComboBox"); m_additionalInfo = new QLabel; - m_addToVersionControlLabel = new QLabel(tr("Add to &version control:")); + m_addToVersionControlLabel = new QLabel(Tr::tr("Add to &version control:")); m_addToVersionControlComboBox = new QComboBox; m_addToVersionControlComboBox->setObjectName("addToVersionControlComboBox"); m_vcsManageButton = new QPushButton(ICore::msgShowOptionsDialog()); @@ -302,7 +305,7 @@ ProjectWizardPage::ProjectWizardPage(QWidget *parent) connect(m_addToVersionControlComboBox, &QComboBox::currentIndexChanged, this, &ProjectWizardPage::versionControlChanged); connect(m_vcsManageButton, &QAbstractButton::clicked, this, &ProjectWizardPage::manageVcs); - setProperty(SHORT_TITLE_PROPERTY, tr("Summary")); + setProperty(SHORT_TITLE_PROPERTY, Tr::tr("Summary")); connect(VcsManager::instance(), &VcsManager::configurationChanged, this, &ProjectExplorer::Internal::ProjectWizardPage::initializeVersionControls); @@ -363,8 +366,8 @@ FolderNode *ProjectWizardPage::currentNode() const void ProjectWizardPage::setAddingSubProject(bool addingSubProject) { m_projectLabel->setText(addingSubProject ? - tr("Add as a subproject to project:") - : tr("Add to &project:")); + Tr::tr("Add as a subproject to project:") + : Tr::tr("Add to &project:")); } void ProjectWizardPage::initializeVersionControls() @@ -386,7 +389,7 @@ void ProjectWizardPage::initializeVersionControls() m_activeVersionControls.clear(); - QStringList versionControlChoices = QStringList(tr("")); + QStringList versionControlChoices = QStringList(Tr::tr("")); if (!m_commonDirectory.isEmpty()) { IVersionControl *managingControl = VcsManager::findVersionControlForDirectory(m_commonDirectory); @@ -434,7 +437,7 @@ bool ProjectWizardPage::runVersionControl(const QList &files, QSt QTC_ASSERT(versionControl->supportsOperation(IVersionControl::CreateRepositoryOperation), return false); if (!versionControl->vcsCreateRepository(m_commonDirectory)) { *errorMessage = - tr("A version control system repository could not be created in \"%1\"."). + Tr::tr("A version control system repository could not be created in \"%1\"."). arg(m_commonDirectory.toUserOutput()); return false; } @@ -443,7 +446,7 @@ bool ProjectWizardPage::runVersionControl(const QList &files, QSt if (versionControl->supportsOperation(IVersionControl::AddOperation)) { for (const GeneratedFile &generatedFile : files) { if (!versionControl->vcsAdd(generatedFile.filePath())) { - *errorMessage = tr("Failed to add \"%1\" to the version control system."). + *errorMessage = Tr::tr("Failed to add \"%1\" to the version control system."). arg(generatedFile.filePath().toUserOutput()); return false; } @@ -534,7 +537,7 @@ void ProjectWizardPage::setFiles(const FilePaths &files) { QTextStream str(&fileMessage); str << "" - << (hasNoCommonDirectory ? tr("Files to be added:") : tr("Files to be added in")) + << (hasNoCommonDirectory ? Tr::tr("Files to be added:") : Tr::tr("Files to be added in")) << "

";
 
         QStringList formattedFiles;
diff --git a/src/plugins/projectexplorer/removetaskhandler.cpp b/src/plugins/projectexplorer/removetaskhandler.cpp
index 00fe2a0613f..bfa457c6e68 100644
--- a/src/plugins/projectexplorer/removetaskhandler.cpp
+++ b/src/plugins/projectexplorer/removetaskhandler.cpp
@@ -3,6 +3,7 @@
 
 #include "removetaskhandler.h"
 
+#include "projectexplorertr.h"
 #include "task.h"
 #include "taskhub.h"
 
@@ -19,8 +20,8 @@ void RemoveTaskHandler::handle(const Tasks &tasks)
 
 QAction *RemoveTaskHandler::createAction(QObject *parent) const
 {
-    QAction *removeAction = new QAction(tr("Remove", "Name of the action triggering the removetaskhandler"), parent);
-    removeAction->setToolTip(tr("Remove task from the task list."));
+    QAction *removeAction = new QAction(Tr::tr("Remove", "Name of the action triggering the removetaskhandler"), parent);
+    removeAction->setToolTip(Tr::tr("Remove task from the task list."));
     removeAction->setShortcuts({QKeySequence::Delete, QKeySequence::Backspace});
     removeAction->setShortcutContext(Qt::WidgetWithChildrenShortcut);
     return removeAction;
diff --git a/src/plugins/projectexplorer/runconfiguration.cpp b/src/plugins/projectexplorer/runconfiguration.cpp
index 1f9d6043793..b5f3f8e703e 100644
--- a/src/plugins/projectexplorer/runconfiguration.cpp
+++ b/src/plugins/projectexplorer/runconfiguration.cpp
@@ -11,6 +11,7 @@
 #include "project.h"
 #include "projectexplorer.h"
 #include "projectexplorerconstants.h"
+#include "projectexplorertr.h"
 #include "projectnodes.h"
 #include "runconfigurationaspects.h"
 #include "runcontrol.h"
@@ -164,27 +165,27 @@ RunConfiguration::RunConfiguration(Target *target, Utils::Id id)
     QTC_CHECK(target && target == this->target());
     connect(target, &Target::parsingFinished, this, &RunConfiguration::update);
 
-    m_expander.setDisplayName(tr("Run Settings"));
+    m_expander.setDisplayName(Tr::tr("Run Settings"));
     m_expander.setAccumulating(true);
     m_expander.registerSubProvider([target] {
         BuildConfiguration *bc = target->activeBuildConfiguration();
         return bc ? bc->macroExpander() : target->macroExpander();
     });
-    m_expander.registerPrefix("RunConfig:Env", tr("Variables in the run environment."),
+    m_expander.registerPrefix("RunConfig:Env", Tr::tr("Variables in the run environment."),
                              [this](const QString &var) {
         const auto envAspect = aspect();
         return envAspect ? envAspect->environment().expandedValueForKey(var) : QString();
     });
     m_expander.registerVariable("RunConfig:WorkingDir",
-                               tr("The run configuration's working directory."),
+                               Tr::tr("The run configuration's working directory."),
                                [this] {
         const auto wdAspect = aspect();
         return wdAspect ? wdAspect->workingDirectory().toString() : QString();
     });
-    m_expander.registerVariable("RunConfig:Name", tr("The run configuration's name."),
+    m_expander.registerVariable("RunConfig:Name", Tr::tr("The run configuration's name."),
             [this] { return displayName(); });
     m_expander.registerFileVariables("RunConfig:Executable",
-                                     tr("The run configuration's executable."),
+                                     Tr::tr("The run configuration's executable."),
                                      [this] { return commandLine().executable(); });
 
 
@@ -205,7 +206,7 @@ RunConfiguration::~RunConfiguration() = default;
 QString RunConfiguration::disabledReason() const
 {
     BuildSystem *bs = activeBuildSystem();
-    return bs ? bs->disabledReason(m_buildKey) : tr("No build system active");
+    return bs ? bs->disabledReason(m_buildKey) : Tr::tr("No build system active");
 }
 
 bool RunConfiguration::isEnabled() const
@@ -453,10 +454,10 @@ QString RunConfigurationFactory::decoratedTargetName(const QString &targetName,
         if (IDevice::ConstPtr dev = DeviceKitAspect::device(target->kit())) {
             if (displayName.isEmpty()) {
                 //: Shown in Run configuration if no executable is given, %1 is device name
-                displayName = RunConfiguration::tr("Run on %{Device:Name}");
+                displayName = Tr::tr("Run on %{Device:Name}");
             } else {
                 //: Shown in Run configuration, Add menu: "name of runnable (on device name)"
-                displayName = RunConfiguration::tr("%1 (on %{Device:Name})").arg(displayName);
+                displayName = Tr::tr("%1 (on %{Device:Name})").arg(displayName);
             }
         }
     }
diff --git a/src/plugins/projectexplorer/runconfigurationaspects.cpp b/src/plugins/projectexplorer/runconfigurationaspects.cpp
index 56cbe883b81..32ab75ee0f9 100644
--- a/src/plugins/projectexplorer/runconfigurationaspects.cpp
+++ b/src/plugins/projectexplorer/runconfigurationaspects.cpp
@@ -48,7 +48,7 @@ namespace ProjectExplorer {
 
 TerminalAspect::TerminalAspect()
 {
-    setDisplayName(tr("Terminal"));
+    setDisplayName(Tr::tr("Terminal"));
     setId("TerminalAspect");
     setSettingsKey("RunConfiguration.UseTerminal");
     addDataExtractor(this, &TerminalAspect::useTerminal, &Data::useTerminal);
@@ -64,7 +64,7 @@ TerminalAspect::TerminalAspect()
 void TerminalAspect::addToLayout(LayoutBuilder &builder)
 {
     QTC_CHECK(!m_checkBox);
-    m_checkBox = new QCheckBox(tr("Run in terminal"));
+    m_checkBox = new QCheckBox(Tr::tr("Run in terminal"));
     m_checkBox->setChecked(m_useTerminal);
     builder.addItems({{}, m_checkBox.data()});
     connect(m_checkBox.data(), &QAbstractButton::clicked, this, [this] {
@@ -154,7 +154,7 @@ WorkingDirectoryAspect::WorkingDirectoryAspect(const MacroExpander *expander,
                                                EnvironmentAspect *envAspect)
     : m_envAspect(envAspect), m_macroExpander(expander)
 {
-    setDisplayName(tr("Working Directory"));
+    setDisplayName(Tr::tr("Working Directory"));
     setId("WorkingDirectoryAspect");
     setSettingsKey("RunConfiguration.WorkingDirectory");
 }
@@ -170,7 +170,7 @@ void WorkingDirectoryAspect::addToLayout(LayoutBuilder &builder)
         m_chooser->setMacroExpander(m_macroExpander);
     m_chooser->setHistoryCompleter(settingsKey());
     m_chooser->setExpectedKind(Utils::PathChooser::Directory);
-    m_chooser->setPromptDialogTitle(tr("Select Working Directory"));
+    m_chooser->setPromptDialogTitle(Tr::tr("Select Working Directory"));
     m_chooser->setBaseDirectory(m_defaultWorkingDirectory);
     m_chooser->setFilePath(m_workingDirectory.isEmpty() ? m_defaultWorkingDirectory : m_workingDirectory);
     connect(m_chooser.data(), &PathChooser::textChanged, this, [this] {
@@ -179,7 +179,7 @@ void WorkingDirectoryAspect::addToLayout(LayoutBuilder &builder)
     });
 
     m_resetButton = new QToolButton;
-    m_resetButton->setToolTip(tr("Reset to Default"));
+    m_resetButton->setToolTip(Tr::tr("Reset to Default"));
     m_resetButton->setIcon(Utils::Icons::RESET.icon());
     connect(m_resetButton.data(), &QAbstractButton::clicked, this, &WorkingDirectoryAspect::resetPath);
     m_resetButton->setEnabled(m_workingDirectory != m_defaultWorkingDirectory);
@@ -191,7 +191,7 @@ void WorkingDirectoryAspect::addToLayout(LayoutBuilder &builder)
         m_chooser->setEnvironmentChange(EnvironmentChange::fromFixedEnvironment(m_envAspect->environment()));
     }
 
-    builder.addItems({tr("Working directory:"), m_chooser.data(), m_resetButton.data()});
+    builder.addItems({Tr::tr("Working directory:"), m_chooser.data(), m_resetButton.data()});
 }
 
 void WorkingDirectoryAspect::resetPath()
@@ -295,13 +295,13 @@ PathChooser *WorkingDirectoryAspect::pathChooser() const
 ArgumentsAspect::ArgumentsAspect(const MacroExpander *macroExpander)
     : m_macroExpander(macroExpander)
 {
-    setDisplayName(tr("Arguments"));
+    setDisplayName(Tr::tr("Arguments"));
     setId("ArgumentsAspect");
     setSettingsKey("RunConfiguration.Arguments");
 
     addDataExtractor(this, &ArgumentsAspect::arguments, &Data::arguments);
 
-    m_labelText = tr("Command line arguments:");
+    m_labelText = Tr::tr("Command line arguments:");
 }
 
 /*!
@@ -440,7 +440,7 @@ void ArgumentsAspect::addToLayout(LayoutBuilder &builder)
     containerLayout->setContentsMargins(0, 0, 0, 0);
     containerLayout->addWidget(setupChooser());
     m_multiLineButton = new ExpandButton;
-    m_multiLineButton->setToolTip(tr("Toggle multi-line mode."));
+    m_multiLineButton->setToolTip(Tr::tr("Toggle multi-line mode."));
     m_multiLineButton->setChecked(m_multiLine);
     connect(m_multiLineButton, &QCheckBox::clicked, this, [this](bool checked) {
         if (m_multiLine == checked)
@@ -468,7 +468,7 @@ void ArgumentsAspect::addToLayout(LayoutBuilder &builder)
 
     if (m_resetter) {
         m_resetButton = new QToolButton;
-        m_resetButton->setToolTip(tr("Reset to Default"));
+        m_resetButton->setToolTip(Tr::tr("Reset to Default"));
         m_resetButton->setIcon(Icons::RESET.icon());
         connect(m_resetButton.data(), &QAbstractButton::clicked,
                 this, &ArgumentsAspect::resetArguments);
@@ -493,12 +493,12 @@ void ArgumentsAspect::addToLayout(LayoutBuilder &builder)
 ExecutableAspect::ExecutableAspect(Target *target, ExecutionDeviceSelector selector)
     : m_target(target), m_selector(selector)
 {
-    setDisplayName(tr("Executable"));
+    setDisplayName(Tr::tr("Executable"));
     setId("ExecutableAspect");
     addDataExtractor(this, &ExecutableAspect::executable, &Data::executable);
 
-    m_executable.setPlaceHolderText(tr(""));
-    m_executable.setLabelText(tr("Executable:"));
+    m_executable.setPlaceHolderText(Tr::tr(""));
+    m_executable.setLabelText(Tr::tr("Executable:"));
     m_executable.setDisplayStyle(StringAspect::LabelDisplay);
 
     updateDevice();
@@ -600,10 +600,10 @@ void ExecutableAspect::makeOverridable(const QString &overridingKey, const QStri
     QTC_ASSERT(!m_alternativeExecutable, return);
     m_alternativeExecutable = new StringAspect;
     m_alternativeExecutable->setDisplayStyle(StringAspect::LineEditDisplay);
-    m_alternativeExecutable->setLabelText(tr("Alternate executable on device:"));
+    m_alternativeExecutable->setLabelText(Tr::tr("Alternate executable on device:"));
     m_alternativeExecutable->setSettingsKey(overridingKey);
     m_alternativeExecutable->makeCheckable(StringAspect::CheckBoxPlacement::Right,
-                                           tr("Use this command instead"), useOverridableKey);
+                                           Tr::tr("Use this command instead"), useOverridableKey);
     connect(m_alternativeExecutable, &StringAspect::changed,
             this, &ExecutableAspect::changed);
 }
@@ -715,12 +715,12 @@ UseLibraryPathsAspect::UseLibraryPathsAspect()
     setId("UseLibraryPath");
     setSettingsKey("RunConfiguration.UseLibrarySearchPath");
     if (HostOsInfo::isMacHost()) {
-        setLabel(tr("Add build library search path to DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH"),
+        setLabel(Tr::tr("Add build library search path to DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH"),
                  LabelPlacement::AtCheckBox);
     } else if (HostOsInfo::isWindowsHost()) {
-        setLabel(tr("Add build library search path to PATH"), LabelPlacement::AtCheckBox);
+        setLabel(Tr::tr("Add build library search path to PATH"), LabelPlacement::AtCheckBox);
     } else {
-        setLabel(tr("Add build library search path to LD_LIBRARY_PATH"),
+        setLabel(Tr::tr("Add build library search path to LD_LIBRARY_PATH"),
                  LabelPlacement::AtCheckBox);
     }
     setValue(ProjectExplorerPlugin::projectExplorerSettings().addLibraryPathsToRunEnv);
@@ -739,7 +739,7 @@ UseDyldSuffixAspect::UseDyldSuffixAspect()
 {
     setId("UseDyldSuffix");
     setSettingsKey("RunConfiguration.UseDyldImageSuffix");
-    setLabel(tr("Use debug version of frameworks (DYLD_IMAGE_SUFFIX=_debug)"),
+    setLabel(Tr::tr("Use debug version of frameworks (DYLD_IMAGE_SUFFIX=_debug)"),
              LabelPlacement::AtCheckBox);
 }
 
@@ -755,7 +755,7 @@ RunAsRootAspect::RunAsRootAspect()
 {
     setId("RunAsRoot");
     setSettingsKey("RunConfiguration.RunAsRoot");
-    setLabel(tr("Run as root user"), LabelPlacement::AtCheckBox);
+    setLabel(Tr::tr("Run as root user"), LabelPlacement::AtCheckBox);
 }
 
 Interpreter::Interpreter()
@@ -830,12 +830,12 @@ void InterpreterAspect::addToLayout(LayoutBuilder &builder)
     connect(m_comboBox, &QComboBox::currentIndexChanged,
             this, &InterpreterAspect::updateCurrentInterpreter);
 
-    auto manageButton = new QPushButton(tr("Manage..."));
+    auto manageButton = new QPushButton(Tr::tr("Manage..."));
     connect(manageButton, &QPushButton::clicked, [this] {
         Core::ICore::showOptionsDialog(m_settingsDialogId);
     });
 
-    builder.addItems({tr("Interpreter"), m_comboBox.data(), manageButton});
+    builder.addItems({Tr::tr("Interpreter"), m_comboBox.data(), manageButton});
 }
 
 void InterpreterAspect::updateCurrentInterpreter()
diff --git a/src/plugins/projectexplorer/runcontrol.cpp b/src/plugins/projectexplorer/runcontrol.cpp
index 9017eba460a..490e5668de6 100644
--- a/src/plugins/projectexplorer/runcontrol.cpp
+++ b/src/plugins/projectexplorer/runcontrol.cpp
@@ -14,6 +14,7 @@
 #include "projectexplorer.h"
 #include "projectexplorerconstants.h"
 #include "projectexplorersettings.h"
+#include "projectexplorertr.h"
 #include "runconfigurationaspects.h"
 #include "runcontrol.h"
 #include "session.h"
@@ -725,7 +726,7 @@ void RunControlPrivate::onWorkerStarted(RunWorker *worker)
         continueStart();
         return;
     }
-    showError(RunControl::tr("Unexpected run control state %1 when worker %2 started.")
+    showError(Tr::tr("Unexpected run control state %1 when worker %2 started.")
                   .arg(stateName(state))
                   .arg(worker->d->id));
 }
@@ -739,8 +740,7 @@ void RunControlPrivate::onWorkerFailed(RunWorker *worker, const QString &msg)
     case RunControlState::Initialized:
         // FIXME 1: We don't have an output pane yet, so use some other mechanism for now.
         // FIXME 2: Translation...
-        QMessageBox::critical(Core::ICore::dialogParent(),
-             QCoreApplication::translate("TaskHub", "Error"),
+        QMessageBox::critical(Core::ICore::dialogParent(), Tr::tr("Error"),
              QString("Failure during startup. Aborting.") + "

" + msg); continueStopOrFinish(); break; @@ -1047,10 +1047,10 @@ bool RunControl::promptToStop(bool *optionalPrompt) const if (d->promptToStop) return d->promptToStop(optionalPrompt); - const QString msg = tr("

%1 is still running.
" + const QString msg = Tr::tr("
%1 is still running.
" "
Force it to quit?
").arg(displayName()); - return showPromptToStopDialog(tr("Application Still Running"), msg, - tr("Force &Quit"), tr("&Keep Running"), + return showPromptToStopDialog(Tr::tr("Application Still Running"), msg, + Tr::tr("Force &Quit"), Tr::tr("&Keep Running"), optionalPrompt); } @@ -1288,7 +1288,7 @@ SimpleTargetRunnerPrivate::SimpleTargetRunnerPrivate(SimpleTargetRunner *parent) connect(WinDebugInterface::instance(), &WinDebugInterface::cannotRetrieveDebugOutput, this, [this] { disconnect(WinDebugInterface::instance(), nullptr, this, nullptr); - q->appendMessage(tr("Cannot retrieve debugging output.") + q->appendMessage(Tr::tr("Cannot retrieve debugging output.") + QLatin1Char('\n'), ErrorMessageFormat); }); @@ -1321,7 +1321,7 @@ void SimpleTargetRunnerPrivate::stop() if (m_stopRequested) return; m_stopRequested = true; - q->appendMessage(tr("User requested stop. Shutting down..."), NormalMessageFormat); + q->appendMessage(Tr::tr("User requested stop. Shutting down..."), NormalMessageFormat); switch (m_state) { case Run: m_process.stop(); @@ -1402,7 +1402,7 @@ void SimpleTargetRunnerPrivate::start() const IDevice::ConstPtr device = DeviceManager::deviceForPath(m_command.executable()); if (device && !device->isEmptyCommandAllowed() && m_command.isEmpty()) { - m_resultData.m_errorString = tr("Cannot run: No command given."); + m_resultData.m_errorString = Tr::tr("Cannot run: No command given."); m_resultData.m_error = QProcess::FailedToStart; m_resultData.m_exitStatus = QProcess::CrashExit; forwardDone(); @@ -1452,11 +1452,11 @@ void SimpleTargetRunnerPrivate::forwardDone() if (m_stopReported) return; const QString executable = m_command.executable().displayName(); - QString msg = tr("%1 exited with code %2").arg(executable).arg(m_resultData.m_exitCode); + QString msg = Tr::tr("%1 exited with code %2").arg(executable).arg(m_resultData.m_exitCode); if (m_resultData.m_exitStatus == QProcess::CrashExit) - msg = tr("%1 crashed.").arg(executable); + msg = Tr::tr("%1 crashed.").arg(executable); else if (m_stopForced) - msg = tr("The process was ended forcefully."); + msg = Tr::tr("The process was ended forcefully."); else if (m_resultData.m_error != QProcess::UnknownError) msg = RunWorker::userMessageForProcessError(m_resultData.m_error, m_command.executable()); q->appendMessage(msg, NormalMessageFormat); @@ -1501,12 +1501,12 @@ void SimpleTargetRunner::start() d->m_process.setTerminalMode(useTerminal ? Utils::TerminalMode::On : Utils::TerminalMode::Off); d->m_runAsRoot = runAsRoot; - const QString msg = RunControl::tr("Starting %1...").arg(d->m_command.displayName()); + const QString msg = Tr::tr("Starting %1...").arg(d->m_command.displayName()); appendMessage(msg, NormalMessageFormat); const bool isDesktop = !d->m_command.executable().needsDevice(); if (isDesktop && d->m_command.isEmpty()) { - reportFailure(RunControl::tr("No executable specified.")); + reportFailure(Tr::tr("No executable specified.")); return; } d->start(); @@ -1820,16 +1820,16 @@ bool RunWorker::supportsReRunning() const QString RunWorker::userMessageForProcessError(QProcess::ProcessError error, const FilePath &program) { - QString failedToStart = tr("The process failed to start."); - QString msg = tr("An unknown error in the process occurred."); + QString failedToStart = Tr::tr("The process failed to start."); + QString msg = Tr::tr("An unknown error in the process occurred."); switch (error) { case QProcess::FailedToStart: - msg = failedToStart + ' ' + tr("Either the " + msg = failedToStart + ' ' + Tr::tr("Either the " "invoked program \"%1\" is missing, or you may have insufficient " "permissions to invoke the program.").arg(program.toUserOutput()); break; case QProcess::Crashed: - msg = tr("The process crashed."); + msg = Tr::tr("The process crashed."); break; case QProcess::Timedout: // "The last waitFor...() function timed out. " @@ -1837,12 +1837,12 @@ QString RunWorker::userMessageForProcessError(QProcess::ProcessError error, cons // "waitFor...() again." return QString(); // sic! case QProcess::WriteError: - msg = tr("An error occurred when attempting to write " + msg = Tr::tr("An error occurred when attempting to write " "to the process. For example, the process may not be running, " "or it may have closed its input channel."); break; case QProcess::ReadError: - msg = tr("An error occurred when attempting to read from " + msg = Tr::tr("An error occurred when attempting to read from " "the process. For example, the process may not be running."); break; case QProcess::UnknownError: diff --git a/src/plugins/projectexplorer/runsettingspropertiespage.cpp b/src/plugins/projectexplorer/runsettingspropertiespage.cpp index 27ae7f65d4c..bd8b30f2b7a 100644 --- a/src/plugins/projectexplorer/runsettingspropertiespage.cpp +++ b/src/plugins/projectexplorer/runsettingspropertiespage.cpp @@ -8,6 +8,7 @@ #include "buildstepspage.h" #include "deployconfiguration.h" #include "projectconfigurationmodel.h" +#include "projectexplorertr.h" #include "runconfiguration.h" #include "session.h" #include "target.h" @@ -39,9 +40,9 @@ RunSettingsWidget::RunSettingsWidget(Target *target) : Q_ASSERT(m_target); m_deployConfigurationCombo = new QComboBox(this); - m_addDeployToolButton = new QPushButton(tr("Add"), this); - m_removeDeployToolButton = new QPushButton(tr("Remove"), this); - m_renameDeployButton = new QPushButton(tr("Rename..."), this); + m_addDeployToolButton = new QPushButton(Tr::tr("Add"), this); + m_removeDeployToolButton = new QPushButton(Tr::tr("Remove"), this); + m_renameDeployButton = new QPushButton(Tr::tr("Rename..."), this); auto deployWidget = new QWidget(this); @@ -49,20 +50,20 @@ RunSettingsWidget::RunSettingsWidget(Target *target) : m_runConfigurationCombo->setSizeAdjustPolicy(QComboBox::AdjustToContents); m_runConfigurationCombo->setMinimumContentsLength(15); - m_addRunToolButton = new QPushButton(tr("Add..."), this); - m_removeRunToolButton = new QPushButton(tr("Remove"), this); - m_renameRunButton = new QPushButton(tr("Rename..."), this); - m_cloneRunButton = new QPushButton(tr("Clone..."), this); + m_addRunToolButton = new QPushButton(Tr::tr("Add..."), this); + m_removeRunToolButton = new QPushButton(Tr::tr("Remove"), this); + m_renameRunButton = new QPushButton(Tr::tr("Rename..."), this); + m_cloneRunButton = new QPushButton(Tr::tr("Clone..."), this); auto spacer1 = new QSpacerItem(10, 10, QSizePolicy::Expanding, QSizePolicy::Minimum); auto spacer2 = new QSpacerItem(10, 10, QSizePolicy::Minimum, QSizePolicy::Expanding); auto runWidget = new QWidget(this); - auto deployTitle = new QLabel(tr("Deployment"), this); - auto deployLabel = new QLabel(tr("Method:"), this); - auto runTitle = new QLabel(tr("Run"), this); - auto runLabel = new QLabel(tr("Run configuration:"), this); + auto deployTitle = new QLabel(Tr::tr("Deployment"), this); + auto deployLabel = new QLabel(Tr::tr("Method:"), this); + auto runTitle = new QLabel(Tr::tr("Run"), this); + auto runLabel = new QLabel(Tr::tr("Run configuration:"), this); runLabel->setBuddy(m_runConfigurationCombo); @@ -196,8 +197,8 @@ void RunSettingsWidget::cloneRunConfiguration() //: Title of a the cloned RunConfiguration window, text of the window QString name = uniqueRCName( QInputDialog::getText(this, - tr("Clone Configuration"), - tr("New configuration name:"), + Tr::tr("Clone Configuration"), + Tr::tr("New configuration name:"), QLineEdit::Normal, activeRunConfiguration->displayName())); if (name.isEmpty()) @@ -215,8 +216,8 @@ void RunSettingsWidget::cloneRunConfiguration() void RunSettingsWidget::removeRunConfiguration() { RunConfiguration *rc = m_target->activeRunConfiguration(); - QMessageBox msgBox(QMessageBox::Question, tr("Remove Run Configuration?"), - tr("Do you really want to delete the run configuration %1?").arg(rc->displayName()), + QMessageBox msgBox(QMessageBox::Question, Tr::tr("Remove Run Configuration?"), + Tr::tr("Do you really want to delete the run configuration %1?").arg(rc->displayName()), QMessageBox::Yes|QMessageBox::No, this); msgBox.setDefaultButton(QMessageBox::No); msgBox.setEscapeButton(QMessageBox::No); @@ -248,8 +249,8 @@ void RunSettingsWidget::activeRunConfigurationChanged() void RunSettingsWidget::renameRunConfiguration() { bool ok; - QString name = QInputDialog::getText(this, tr("Rename..."), - tr("New name for run configuration %1:"). + QString name = QInputDialog::getText(this, Tr::tr("Rename..."), + Tr::tr("New name for run configuration %1:"). arg(m_target->activeRunConfiguration()->displayName()), QLineEdit::Normal, m_target->activeRunConfiguration()->displayName(), &ok); @@ -319,19 +320,19 @@ void RunSettingsWidget::removeDeployConfiguration() DeployConfiguration *dc = m_target->activeDeployConfiguration(); if (BuildManager::isBuilding(dc)) { QMessageBox box; - QPushButton *closeAnyway = box.addButton(tr("Cancel Build && Remove Deploy Configuration"), QMessageBox::AcceptRole); - QPushButton *cancelClose = box.addButton(tr("Do Not Remove"), QMessageBox::RejectRole); + QPushButton *closeAnyway = box.addButton(Tr::tr("Cancel Build && Remove Deploy Configuration"), QMessageBox::AcceptRole); + QPushButton *cancelClose = box.addButton(Tr::tr("Do Not Remove"), QMessageBox::RejectRole); box.setDefaultButton(cancelClose); - box.setWindowTitle(tr("Remove Deploy Configuration %1?").arg(dc->displayName())); - box.setText(tr("The deploy configuration %1 is currently being built.").arg(dc->displayName())); - box.setInformativeText(tr("Do you want to cancel the build process and remove the Deploy Configuration anyway?")); + box.setWindowTitle(Tr::tr("Remove Deploy Configuration %1?").arg(dc->displayName())); + box.setText(Tr::tr("The deploy configuration %1 is currently being built.").arg(dc->displayName())); + box.setInformativeText(Tr::tr("Do you want to cancel the build process and remove the Deploy Configuration anyway?")); box.exec(); if (box.clickedButton() != closeAnyway) return; BuildManager::cancel(); } else { - QMessageBox msgBox(QMessageBox::Question, tr("Remove Deploy Configuration?"), - tr("Do you really want to delete deploy configuration %1?").arg(dc->displayName()), + QMessageBox msgBox(QMessageBox::Question, Tr::tr("Remove Deploy Configuration?"), + Tr::tr("Do you really want to delete deploy configuration %1?").arg(dc->displayName()), QMessageBox::Yes|QMessageBox::No, this); msgBox.setDefaultButton(QMessageBox::No); msgBox.setEscapeButton(QMessageBox::No); @@ -352,8 +353,8 @@ void RunSettingsWidget::activeDeployConfigurationChanged() void RunSettingsWidget::renameDeployConfiguration() { bool ok; - QString name = QInputDialog::getText(this, tr("Rename..."), - tr("New name for deploy configuration %1:"). + QString name = QInputDialog::getText(this, Tr::tr("Rename..."), + Tr::tr("New name for deploy configuration %1:"). arg(m_target->activeDeployConfiguration()->displayName()), QLineEdit::Normal, m_target->activeDeployConfiguration()->displayName(), &ok); diff --git a/src/plugins/projectexplorer/selectablefilesmodel.cpp b/src/plugins/projectexplorer/selectablefilesmodel.cpp index f428ea98196..365c319992d 100644 --- a/src/plugins/projectexplorer/selectablefilesmodel.cpp +++ b/src/plugins/projectexplorer/selectablefilesmodel.cpp @@ -2,7 +2,9 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "selectablefilesmodel.h" + #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include @@ -531,9 +533,9 @@ SelectableFilesWidget::SelectableFilesWidget(QWidget *parent) : auto layout = new QGridLayout(this); layout->setContentsMargins(0, 0, 0, 0); - m_baseDirLabel->setText(tr("Source directory:")); + m_baseDirLabel->setText(Tr::tr("Source directory:")); m_baseDirChooser->setHistoryCompleter(QLatin1String("PE.AddToProjectDir.History")); - m_startParsingButton->setText(tr("Start Parsing")); + m_startParsingButton->setText(Tr::tr("Start Parsing")); layout->addWidget(m_baseDirLabel, static_cast(SelectableFilesWidgetRows::BaseDirectory), 0); layout->addWidget(m_baseDirChooser->lineEdit(), static_cast(SelectableFilesWidgetRows::BaseDirectory), 1); layout->addWidget(m_baseDirChooser->buttonAtIndex(0), static_cast(SelectableFilesWidgetRows::BaseDirectory), 2); @@ -544,17 +546,17 @@ SelectableFilesWidget::SelectableFilesWidget(QWidget *parent) : connect(m_startParsingButton, &QAbstractButton::clicked, this, [this] { startParsing(m_baseDirChooser->filePath()); }); - m_selectFilesFilterLabel->setText(tr("Select files matching:")); + m_selectFilesFilterLabel->setText(Tr::tr("Select files matching:")); m_selectFilesFilterEdit->setText(selectFilter); layout->addWidget(m_selectFilesFilterLabel, static_cast(SelectableFilesWidgetRows::SelectFileFilter), 0); layout->addWidget(m_selectFilesFilterEdit, static_cast(SelectableFilesWidgetRows::SelectFileFilter), 1, 1, 3); - m_hideFilesFilterLabel->setText(tr("Hide files matching:")); + m_hideFilesFilterLabel->setText(Tr::tr("Hide files matching:")); m_hideFilesFilterEdit->setText(hideFilter); layout->addWidget(m_hideFilesFilterLabel, static_cast(SelectableFilesWidgetRows::HideFileFilter), 0); layout->addWidget(m_hideFilesFilterEdit, static_cast(SelectableFilesWidgetRows::HideFileFilter), 1, 1, 3); - m_applyFiltersButton->setText(tr("Apply Filters")); + m_applyFiltersButton->setText(Tr::tr("Apply Filters")); layout->addWidget(m_applyFiltersButton, static_cast(SelectableFilesWidgetRows::ApplyButton), 3); connect(m_applyFiltersButton, &QAbstractButton::clicked, @@ -680,7 +682,7 @@ void SelectableFilesWidget::startParsing(const Utils::FilePath &baseDir) void SelectableFilesWidget::parsingProgress(const Utils::FilePath &fileName) { - m_progressLabel->setText(tr("Generating file list...\n\n%1").arg(fileName.toUserOutput())); + m_progressLabel->setText(Tr::tr("Generating file list...\n\n%1").arg(fileName.toUserOutput())); } void SelectableFilesWidget::parsingFinished() @@ -691,7 +693,7 @@ void SelectableFilesWidget::parsingFinished() smartExpand(m_model->index(0,0, QModelIndex())); const Utils::FilePaths preservedFiles = m_model->preservedFiles(); - m_preservedFilesLabel->setText(tr("Not showing %n files that are outside of the base directory.\n" + m_preservedFilesLabel->setText(Tr::tr("Not showing %n files that are outside of the base directory.\n" "These files are preserved.", nullptr, preservedFiles.count())); enableWidgets(true); @@ -720,7 +722,7 @@ SelectableFilesDialogEditFiles::SelectableFilesDialogEditFiles(const Utils::File QDialog(parent), m_filesWidget(new SelectableFilesWidget(path, files)) { - setWindowTitle(tr("Edit Files")); + setWindowTitle(Tr::tr("Edit Files")); auto layout = new QVBoxLayout(this); layout->addWidget(m_filesWidget); @@ -754,7 +756,7 @@ SelectableFilesDialogAddDirectory::SelectableFilesDialogAddDirectory(const Utils QWidget *parent) : SelectableFilesDialogEditFiles(path, files, parent) { - setWindowTitle(tr("Add Existing Directory")); + setWindowTitle(Tr::tr("Add Existing Directory")); m_filesWidget->setBaseDirEditable(true); } diff --git a/src/plugins/projectexplorer/session.cpp b/src/plugins/projectexplorer/session.cpp index 874870e057a..6ed90a39970 100644 --- a/src/plugins/projectexplorer/session.cpp +++ b/src/plugins/projectexplorer/session.cpp @@ -10,6 +10,7 @@ #include "project.h" #include "projectexplorer.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "projectnodes.h" #include "target.h" @@ -474,8 +475,8 @@ bool SessionManager::save() if (filePath.exists()) { PersistentSettingsReader reader; if (!reader.load(filePath)) { - QMessageBox::warning(ICore::dialogParent(), tr("Error while saving session"), - tr("Could not save session %1").arg(filePath.toUserOutput())); + QMessageBox::warning(ICore::dialogParent(), Tr::tr("Error while saving session"), + Tr::tr("Could not save session %1").arg(filePath.toUserOutput())); return false; } data = reader.restoreValues(); @@ -538,8 +539,8 @@ bool SessionManager::save() if (!isDefaultVirgin()) d->m_sessionDateTimes.insert(activeSession(), QDateTime::currentDateTime()); } else { - QMessageBox::warning(ICore::dialogParent(), tr("Error while saving session"), - tr("Could not save session to file %1").arg(d->m_writer->fileName().toUserOutput())); + QMessageBox::warning(ICore::dialogParent(), Tr::tr("Error while saving session"), + Tr::tr("Could not save session to file %1").arg(d->m_writer->fileName().toUserOutput())); } return result; @@ -857,10 +858,10 @@ bool SessionManager::renameSession(const QString &original, const QString &newNa */ bool SessionManager::confirmSessionDelete(const QStringList &sessions) { - const QString title = sessions.size() == 1 ? tr("Delete Session") : tr("Delete Sessions"); + const QString title = sessions.size() == 1 ? Tr::tr("Delete Session") : Tr::tr("Delete Sessions"); const QString question = sessions.size() == 1 - ? tr("Delete session %1?").arg(sessions.first()) - : tr("Delete these sessions?\n %1").arg(sessions.join("\n ")); + ? Tr::tr("Delete session %1?").arg(sessions.first()) + : Tr::tr("Delete these sessions?\n %1").arg(sessions.join("\n ")); return QMessageBox::question(ICore::dialogParent(), title, question, @@ -1041,8 +1042,8 @@ bool SessionManager::loadSession(const QString &session, bool initial) PersistentSettingsReader reader; if (fileName.exists()) { if (!reader.load(fileName)) { - QMessageBox::warning(ICore::dialogParent(), tr("Error while restoring session"), - tr("Could not restore session %1").arg(fileName.toUserOutput())); + QMessageBox::warning(ICore::dialogParent(), Tr::tr("Error while restoring session"), + Tr::tr("Could not restore session %1").arg(fileName.toUserOutput())); return false; } @@ -1098,7 +1099,7 @@ bool SessionManager::loadSession(const QString &session, bool initial) if (fileName.exists()) { d->m_virginSession = false; - ProgressManager::addTask(d->m_future.future(), tr("Loading Session"), + ProgressManager::addTask(d->m_future.future(), Tr::tr("Loading Session"), "ProjectExplorer.SessionFile.Load"); d->m_future.setProgressRange(0, 1); diff --git a/src/plugins/projectexplorer/sessiondialog.cpp b/src/plugins/projectexplorer/sessiondialog.cpp index 3dfc7643f0d..cef6f34b06e 100644 --- a/src/plugins/projectexplorer/sessiondialog.cpp +++ b/src/plugins/projectexplorer/sessiondialog.cpp @@ -3,6 +3,7 @@ #include "sessiondialog.h" +#include "projectexplorertr.h" #include "session.h" #include "sessionview.h" @@ -77,7 +78,7 @@ SessionNameInputDialog::SessionNameInputDialog(QWidget *parent) using namespace Utils::Layouting; Column { - tr("Enter the name of the session:"), + Tr::tr("Enter the name of the session:"), m_newSessionLineEdit, buttons, }.attachTo(this); @@ -111,7 +112,7 @@ SessionDialog::SessionDialog(QWidget *parent) : QDialog(parent) { setObjectName("ProjectExplorer.SessionDialog"); resize(550, 400); - setWindowTitle(tr("Session Manager")); + setWindowTitle(Tr::tr("Session Manager")); auto sessionView = new SessionView(this); @@ -119,16 +120,16 @@ SessionDialog::SessionDialog(QWidget *parent) : QDialog(parent) sessionView->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); sessionView->setActivationMode(Utils::DoubleClickActivation); - auto createNewButton = new QPushButton(tr("&New")); + auto createNewButton = new QPushButton(Tr::tr("&New")); createNewButton->setObjectName("btCreateNew"); - m_openButton = new QPushButton(tr("&Open")); + m_openButton = new QPushButton(Tr::tr("&Open")); m_openButton->setObjectName("btOpen"); - m_renameButton = new QPushButton(tr("&Rename")); - m_cloneButton = new QPushButton(tr("C&lone")); - m_deleteButton = new QPushButton(tr("&Delete")); + m_renameButton = new QPushButton(Tr::tr("&Rename")); + m_cloneButton = new QPushButton(Tr::tr("C&lone")); + m_deleteButton = new QPushButton(Tr::tr("&Delete")); - m_autoLoadCheckBox = new QCheckBox(tr("Restore last session on startup")); + m_autoLoadCheckBox = new QCheckBox(Tr::tr("Restore last session on startup")); auto buttonBox = new QDialogButtonBox(this); buttonBox->setStandardButtons(QDialogButtonBox::Close); @@ -137,7 +138,7 @@ SessionDialog::SessionDialog(QWidget *parent) : QDialog(parent) // FIXME: Simplify translator's work. auto whatsASessionLabel = new QLabel( - tr("" + Tr::tr("" "What is a Session?")); whatsASessionLabel->setOpenExternalLinks(true); diff --git a/src/plugins/projectexplorer/sessionmodel.cpp b/src/plugins/projectexplorer/sessionmodel.cpp index 35d5e241ac0..d8c9aa935e2 100644 --- a/src/plugins/projectexplorer/sessionmodel.cpp +++ b/src/plugins/projectexplorer/sessionmodel.cpp @@ -2,8 +2,9 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "sessionmodel.h" -#include "session.h" +#include "projectexplorertr.h" +#include "session.h" #include "sessiondialog.h" #include @@ -46,9 +47,9 @@ QVariant SessionModel::headerData(int section, Qt::Orientation orientation, int switch (role) { case Qt::DisplayRole: switch (section) { - case 0: result = tr("Session"); + case 0: result = Tr::tr("Session"); break; - case 1: result = tr("Last Modified"); + case 1: result = Tr::tr("Last Modified"); break; } // switch (section) break; @@ -194,8 +195,8 @@ void SessionModel::resetSessions() void SessionModel::newSession(QWidget *parent) { SessionNameInputDialog sessionInputDialog(parent); - sessionInputDialog.setWindowTitle(tr("New Session Name")); - sessionInputDialog.setActionText(tr("&Create"), tr("Create and &Open")); + sessionInputDialog.setWindowTitle(Tr::tr("New Session Name")); + sessionInputDialog.setActionText(Tr::tr("&Create"), Tr::tr("Create and &Open")); runSessionNameInputDialog(&sessionInputDialog, [](const QString &newName) { SessionManager::createSession(newName); @@ -205,8 +206,8 @@ void SessionModel::newSession(QWidget *parent) void SessionModel::cloneSession(QWidget *parent, const QString &session) { SessionNameInputDialog sessionInputDialog(parent); - sessionInputDialog.setWindowTitle(tr("New Session Name")); - sessionInputDialog.setActionText(tr("&Clone"), tr("Clone and &Open")); + sessionInputDialog.setWindowTitle(Tr::tr("New Session Name")); + sessionInputDialog.setActionText(Tr::tr("&Clone"), Tr::tr("Clone and &Open")); sessionInputDialog.setValue(session + " (2)"); runSessionNameInputDialog(&sessionInputDialog, [session](const QString &newName) { @@ -228,8 +229,8 @@ void SessionModel::deleteSessions(const QStringList &sessions) void SessionModel::renameSession(QWidget *parent, const QString &session) { SessionNameInputDialog sessionInputDialog(parent); - sessionInputDialog.setWindowTitle(tr("Rename Session")); - sessionInputDialog.setActionText(tr("&Rename"), tr("Rename and &Open")); + sessionInputDialog.setWindowTitle(Tr::tr("Rename Session")); + sessionInputDialog.setActionText(Tr::tr("&Rename"), Tr::tr("Rename and &Open")); sessionInputDialog.setValue(session); runSessionNameInputDialog(&sessionInputDialog, [session](const QString &newName) { diff --git a/src/plugins/projectexplorer/showineditortaskhandler.cpp b/src/plugins/projectexplorer/showineditortaskhandler.cpp index 2e6ed333929..f9904b79082 100644 --- a/src/plugins/projectexplorer/showineditortaskhandler.cpp +++ b/src/plugins/projectexplorer/showineditortaskhandler.cpp @@ -4,6 +4,7 @@ #include "showineditortaskhandler.h" #include "task.h" +#include "projectexplorertr.h" #include @@ -31,8 +32,8 @@ void ShowInEditorTaskHandler::handle(const Task &task) QAction *ShowInEditorTaskHandler::createAction(QObject *parent) const { - QAction *showAction = new QAction(tr("Show in Editor"), parent); - showAction->setToolTip(tr("Show task location in an editor.")); + QAction *showAction = new QAction(Tr::tr("Show in Editor"), parent); + showAction->setToolTip(Tr::tr("Show task location in an editor.")); showAction->setShortcut(QKeySequence(Qt::Key_Return)); showAction->setShortcutContext(Qt::WidgetWithChildrenShortcut); return showAction; diff --git a/src/plugins/projectexplorer/simpleprojectwizard.cpp b/src/plugins/projectexplorer/simpleprojectwizard.cpp index 242214108e9..a73725daa19 100644 --- a/src/plugins/projectexplorer/simpleprojectwizard.cpp +++ b/src/plugins/projectexplorer/simpleprojectwizard.cpp @@ -103,7 +103,7 @@ FilesSelectionWizardPage::FilesSelectionWizardPage(SimpleProjectWizardDialog *si connect(m_filesWidget, &SelectableFilesWidget::selectedFilesChanged, this, &FilesSelectionWizardPage::completeChanged); - setProperty(Utils::SHORT_TITLE_PROPERTY, tr("Files")); + setProperty(Utils::SHORT_TITLE_PROPERTY, Tr::tr("Files")); } class SimpleProjectWizardDialog : public BaseFileWizard @@ -114,16 +114,16 @@ public: SimpleProjectWizardDialog(const BaseFileWizardFactory *factory, QWidget *parent) : BaseFileWizard(factory, QVariantMap(), parent) { - setWindowTitle(tr("Import Existing Project")); + setWindowTitle(Tr::tr("Import Existing Project")); m_firstPage = new FileWizardPage; - m_firstPage->setTitle(tr("Project Name and Location")); - m_firstPage->setFileNameLabel(tr("Project name:")); - m_firstPage->setPathLabel(tr("Location:")); + m_firstPage->setTitle(Tr::tr("Project Name and Location")); + m_firstPage->setFileNameLabel(Tr::tr("Project name:")); + m_firstPage->setPathLabel(Tr::tr("Location:")); addPage(m_firstPage); m_secondPage = new FilesSelectionWizardPage(this); - m_secondPage->setTitle(tr("File Selection")); + m_secondPage->setTitle(Tr::tr("File Selection")); addPage(m_secondPage); } @@ -149,9 +149,9 @@ SimpleProjectWizard::SimpleProjectWizard() setSupportedProjectTypes({QmakeProjectManager::Constants::QMAKEPROJECT_ID, CMakeProjectManager::Constants::CMAKE_PROJECT_ID}); setIcon(ProjectExplorer::Icons::WIZARD_IMPORT_AS_PROJECT.icon()); - setDisplayName(tr("Import as qmake or CMake Project (Limited Functionality)")); + setDisplayName(Tr::tr("Import as qmake or CMake Project (Limited Functionality)")); setId("Z.DummyProFile"); - setDescription(tr("Imports existing projects that do not use qmake, CMake, Qbs, Meson, or Autotools.

" + setDescription(Tr::tr("Imports existing projects that do not use qmake, CMake, Qbs, Meson, or Autotools.

" "This creates a project file that allows you to use %1 as a code editor " "and as a launcher for debugging and analyzing tools. " "If you want to build the project, you might need to edit the generated project file.") @@ -321,7 +321,7 @@ GeneratedFiles SimpleProjectWizard::generateFiles(const QWizard *w, return generateCmakeFiles(wizard, errorMessage); if (errorMessage) - *errorMessage = tr("Unknown build system \"%1\"").arg(wizard->buildSystem()); + *errorMessage = Tr::tr("Unknown build system \"%1\"").arg(wizard->buildSystem()); return {}; } diff --git a/src/plugins/projectexplorer/target.cpp b/src/plugins/projectexplorer/target.cpp index 5c315a02c6e..8f227512eec 100644 --- a/src/plugins/projectexplorer/target.cpp +++ b/src/plugins/projectexplorer/target.cpp @@ -1,7 +1,6 @@ // Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 -#include "projectconfigurationmodel.h" #include "target.h" #include "buildconfiguration.h" @@ -12,17 +11,17 @@ #include "deployconfiguration.h" #include "deploymentdata.h" #include "devicesupport/devicemanager.h" -#include "environmentaspect.h" #include "kit.h" #include "kitinformation.h" #include "kitmanager.h" #include "miniprojecttargetselector.h" #include "project.h" +#include "projectconfigurationmodel.h" #include "projectexplorer.h" #include "projectexplorericons.h" #include "projectexplorersettings.h" +#include "projectexplorertr.h" #include "runconfiguration.h" -#include "runconfigurationaspects.h" #include "session.h" #include @@ -132,21 +131,21 @@ Target::Target(Project *project, Kit *k, _constructor_tag) : connect(km, &KitManager::kitUpdated, this, &Target::handleKitUpdates); connect(km, &KitManager::kitRemoved, this, &Target::handleKitRemoval); - d->m_macroExpander.setDisplayName(tr("Target Settings")); + d->m_macroExpander.setDisplayName(Tr::tr("Target Settings")); d->m_macroExpander.setAccumulating(true); d->m_macroExpander.registerSubProvider([this] { return kit()->macroExpander(); }); - d->m_macroExpander.registerVariable("sourceDir", tr("Source directory"), + d->m_macroExpander.registerVariable("sourceDir", Tr::tr("Source directory"), [project] { return project->projectDirectory().toUserOutput(); }); - d->m_macroExpander.registerVariable("BuildSystem:Name", tr("Build system"), [this] { + d->m_macroExpander.registerVariable("BuildSystem:Name", Tr::tr("Build system"), [this] { if (const BuildSystem * const bs = buildSystem()) return bs->name(); return QString(); }); d->m_macroExpander.registerVariable("Project:Name", - QCoreApplication::translate("::ProjectExplorer", "Name of current project"), + Tr::tr("Name of current project"), [project] { return project->displayName(); }); } diff --git a/src/plugins/projectexplorer/targetsettingspanel.cpp b/src/plugins/projectexplorer/targetsettingspanel.cpp index aadd189c66c..6d8c81e634c 100644 --- a/src/plugins/projectexplorer/targetsettingspanel.cpp +++ b/src/plugins/projectexplorer/targetsettingspanel.cpp @@ -3,7 +3,6 @@ #include "targetsettingspanel.h" -#include "buildconfiguration.h" #include "buildmanager.h" #include "buildsettingspropertiespage.h" #include "ipotentialkit.h" @@ -11,8 +10,8 @@ #include "kitmanager.h" #include "panelswidget.h" #include "project.h" -#include "projectexplorer.h" #include "projectexplorericons.h" +#include "projectexplorertr.h" #include "projectwindow.h" #include "runsettingspropertiespage.h" #include "session.h" @@ -53,8 +52,6 @@ namespace Internal { class TargetSetupPageWrapper : public QWidget { - Q_DECLARE_TR_FUNCTIONS(TargetSettingsPanelWidget) - public: explicit TargetSetupPageWrapper(Project *project); @@ -114,7 +111,7 @@ TargetSetupPageWrapper::TargetSetupPageWrapper(Project *project) auto box = new QDialogButtonBox(this); m_configureButton = new QPushButton(this); - m_configureButton->setText(tr("&Configure Project")); + m_configureButton->setText(Tr::tr("&Configure Project")); box->addButton(m_configureButton, QDialogButtonBox::AcceptRole); auto hbox = new QHBoxLayout; @@ -156,8 +153,6 @@ void TargetSetupPageWrapper::addTargetSetupPage() class TargetGroupItemPrivate : public QObject { - Q_DECLARE_TR_FUNCTIONS(TargetSettingsPanelItem) - public: TargetGroupItemPrivate(TargetGroupItem *q, Project *project); ~TargetGroupItemPrivate() override; @@ -190,7 +185,7 @@ void TargetGroupItemPrivate::ensureWidget() m_noKitLabel->setFocusPolicy(Qt::NoFocus); auto label = new QLabel; - label->setText(tr("No kit defined in this project.")); + label->setText(Tr::tr("No kit defined in this project.")); QFont f = label->font(); f.setPointSizeF(f.pointSizeF() * 1.4); f.setBold(true); @@ -207,7 +202,7 @@ void TargetGroupItemPrivate::ensureWidget() if (!m_configurePage) { m_targetSetupPageWrapper = new TargetSetupPageWrapper(m_project); - m_configurePage = new PanelsWidget(tr("Configure Project"), m_targetSetupPageWrapper); + m_configurePage = new PanelsWidget(Tr::tr("Configure Project"), m_targetSetupPageWrapper); m_configurePage->setFocusProxy(m_targetSetupPageWrapper); } m_targetSetupPageWrapper->ensureSetupPage(); @@ -219,7 +214,7 @@ void TargetGroupItemPrivate::ensureWidget() layout->setContentsMargins(0, 0, 0, 0); layout->addWidget(label); layout->addStretch(10); - m_configuredPage = new PanelsWidget(tr("Configure Project"), widget); + m_configuredPage = new PanelsWidget(Tr::tr("Configure Project"), widget); } } @@ -228,8 +223,6 @@ void TargetGroupItemPrivate::ensureWidget() // class TargetItem : public TypedTreeItem { - Q_DECLARE_TR_FUNCTIONS(TargetSettingsPanelWidget) - public: enum { DefaultPage = 0 }; // Build page. @@ -300,9 +293,9 @@ public: break; const QString extraText = [this] { if (m_kitErrorsForProject) - return QString("

" + tr("Kit is unsuited for project") + "

"); + return QString("

" + Tr::tr("Kit is unsuited for project") + "

"); if (!isEnabled()) - return QString("

" + tr("Click to activate") + "

"); + return QString("

" + Tr::tr("Click to activate") + "

"); return QString(); }(); return k->toHtml(m_kitIssues, extraText); @@ -374,14 +367,14 @@ public: QTC_ASSERT(kit, return); const QString projectName = m_project->displayName(); - QAction *enableAction = menu->addAction(tr("Enable Kit for Project \"%1\"").arg(projectName)); + QAction *enableAction = menu->addAction(Tr::tr("Enable Kit for Project \"%1\"").arg(projectName)); enableAction->setEnabled(isSelectable && m_kitId.isValid() && !isEnabled()); QObject::connect(enableAction, &QAction::triggered, [this, kit] { m_project->addTargetForKit(kit); }); QAction * const enableForAllAction - = menu->addAction(tr("Enable Kit for All Projects")); + = menu->addAction(Tr::tr("Enable Kit for All Projects")); enableForAllAction->setEnabled(isSelectable); QObject::connect(enableForAllAction, &QAction::triggered, [kit] { for (Project * const p : SessionManager::projects()) { @@ -390,7 +383,7 @@ public: } }); - QAction *disableAction = menu->addAction(tr("Disable Kit for Project \"%1\"").arg(projectName)); + QAction *disableAction = menu->addAction(Tr::tr("Disable Kit for Project \"%1\"").arg(projectName)); disableAction->setEnabled(isSelectable && m_kitId.isValid() && isEnabled()); QObject::connect(disableAction, &QAction::triggered, m_project, [this] { Target *t = target(); @@ -398,12 +391,12 @@ public: QString kitName = t->displayName(); if (BuildManager::isBuilding(t)) { QMessageBox box; - QPushButton *closeAnyway = box.addButton(tr("Cancel Build and Disable Kit in This Project"), QMessageBox::AcceptRole); - QPushButton *cancelClose = box.addButton(tr("Do Not Remove"), QMessageBox::RejectRole); + QPushButton *closeAnyway = box.addButton(Tr::tr("Cancel Build and Disable Kit in This Project"), QMessageBox::AcceptRole); + QPushButton *cancelClose = box.addButton(Tr::tr("Do Not Remove"), QMessageBox::RejectRole); box.setDefaultButton(cancelClose); - box.setWindowTitle(tr("Disable Kit \"%1\" in This Project?").arg(kitName)); - box.setText(tr("The kit %1 is currently being built.").arg(kitName)); - box.setInformativeText(tr("Do you want to cancel the build process and remove the kit anyway?")); + box.setWindowTitle(Tr::tr("Disable Kit \"%1\" in This Project?").arg(kitName)); + box.setText(Tr::tr("The kit %1 is currently being built.").arg(kitName)); + box.setInformativeText(Tr::tr("Do you want to cancel the build process and remove the kit anyway?")); box.exec(); if (box.clickedButton() != closeAnyway) return; @@ -415,7 +408,7 @@ public: m_project->removeTarget(t); }); - QAction *disableForAllAction = menu->addAction(tr("Disable Kit for All Projects")); + QAction *disableForAllAction = menu->addAction(Tr::tr("Disable Kit for All Projects")); disableForAllAction->setEnabled(isSelectable); QObject::connect(disableForAllAction, &QAction::triggered, [kit] { for (Project * const p : SessionManager::projects()) { @@ -428,7 +421,7 @@ public: } }); - QMenu *copyMenu = menu->addMenu(tr("Copy Steps From Another Kit...")); + QMenu *copyMenu = menu->addMenu(Tr::tr("Copy Steps From Another Kit...")); if (m_kitId.isValid() && m_project->target(m_kitId)) { const QList kits = KitManager::kits(); for (Kit *kit : kits) { @@ -504,8 +497,6 @@ private: class BuildOrRunItem : public TreeItem { - Q_DECLARE_TR_FUNCTIONS(TargetSettingsPanelWidget) - public: enum SubIndex { BuildPage = 0, RunPage = 1 }; @@ -529,9 +520,9 @@ public: case Qt::DisplayRole: { switch (m_subIndex) { case BuildPage: - return tr("Build"); + return Tr::tr("Build"); case RunPage: - return tr("Run"); + return Tr::tr("Run"); } break; } @@ -589,10 +580,8 @@ public: { if (!m_panel) { m_panel = (m_subIndex == RunPage) - ? new PanelsWidget(RunSettingsWidget::tr("Run Settings"), - new RunSettingsWidget(target())) - : new PanelsWidget(QCoreApplication::translate("BuildSettingsPanel", "Build Settings"), - new BuildSettingsWidget(target())); + ? new PanelsWidget(Tr::tr("Run Settings"), new RunSettingsWidget(target())) + : new PanelsWidget(Tr::tr("Build Settings"), new BuildSettingsWidget(target())); } return m_panel; } @@ -609,8 +598,6 @@ public: // class PotentialKitItem : public TypedTreeItem { - Q_DECLARE_TR_FUNCTIONS(TargetSettingsPanelWidget) - public: PotentialKitItem(Project *project, IPotentialKit *potentialKit) : m_project(project), m_potentialKit(potentialKit) @@ -635,7 +622,7 @@ public: Q_UNUSED(column) if (role == ContextMenuItemAdderRole) { auto *menu = data.value(); - auto enableAction = menu->addAction(tr("Enable Kit")); + auto enableAction = menu->addAction(Tr::tr("Enable Kit")); enableAction->setEnabled(!isEnabled()); QObject::connect(enableAction, &QAction::triggered, [this] { m_potentialKit->executeFromMenu(); diff --git a/src/plugins/projectexplorer/targetsettingspanel.h b/src/plugins/projectexplorer/targetsettingspanel.h index b0cc1820de1..227d2e7020f 100644 --- a/src/plugins/projectexplorer/targetsettingspanel.h +++ b/src/plugins/projectexplorer/targetsettingspanel.h @@ -21,8 +21,6 @@ class TargetGroupItemPrivate; // Second level: Special case for the Build & Run item (with per-kit subItems) class TargetGroupItem : public Utils::TypedTreeItem { - Q_DECLARE_TR_FUNCTIONS(TargetSettingsPanelItem) - public: TargetGroupItem(const QString &displayName, Project *project); ~TargetGroupItem() override; diff --git a/src/plugins/projectexplorer/targetsetuppage.cpp b/src/plugins/projectexplorer/targetsetuppage.cpp index 7997833f5ca..a17aa58c946 100644 --- a/src/plugins/projectexplorer/targetsetuppage.cpp +++ b/src/plugins/projectexplorer/targetsetuppage.cpp @@ -2,13 +2,15 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "targetsetuppage.h" -#include "buildconfiguration.h" + #include "buildinfo.h" #include "importwidget.h" +#include "ipotentialkit.h" #include "kit.h" #include "kitmanager.h" #include "project.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "session.h" #include "target.h" #include "targetsetupwidget.h" @@ -16,8 +18,6 @@ #include -#include - #include #include #include @@ -81,20 +81,20 @@ public: noValidKitLabel = new QLabel(setupTargetPage); noValidKitLabel->setWordWrap(true); noValidKitLabel->setText("" - + TargetSetupPage::tr("No suitable kits found.") + "
" - + TargetSetupPage::tr("Add a kit in the " - "options or via the maintenance tool of" - " the SDK.")); + + Tr::tr("No suitable kits found.") + "
" + + Tr::tr("Add a kit in the " + "options or via the maintenance tool of" + " the SDK.")); noValidKitLabel->setTextInteractionFlags(Qt::TextBrowserInteraction); noValidKitLabel->setVisible(false); allKitsCheckBox = new QCheckBox(setupTargetPage); allKitsCheckBox->setTristate(true); - allKitsCheckBox->setText(TargetSetupPage::tr("Select all kits")); + allKitsCheckBox->setText(Tr::tr("Select all kits")); kitFilterLineEdit = new FancyLineEdit(setupTargetPage); kitFilterLineEdit->setFiltering(true); - kitFilterLineEdit->setPlaceholderText(TargetSetupPage::tr("Type to filter kits by name...")); + kitFilterLineEdit->setPlaceholderText(Tr::tr("Type to filter kits by name...")); centralWidget = new QWidget(setupTargetPage); QSizePolicy policy(QSizePolicy::Preferred, QSizePolicy::Fixed); @@ -149,9 +149,7 @@ static TasksGenerator defaultTasksGenerator(const TasksGenerator &childGenerator { return [childGenerator](const Kit *k) -> Tasks { if (!k->isValid()) - return { - CompileTask(Task::Error, - QCoreApplication::translate("::ProjectExplorer", "Kit is not valid."))}; + return {CompileTask(Task::Error, Tr::tr("Kit is not valid."))}; if (childGenerator) return childGenerator(k); return {}; @@ -170,7 +168,7 @@ TargetSetupPage::TargetSetupPage(QWidget *parent) m_importWidget->setVisible(false); setObjectName(QLatin1String("TargetSetupPage")); - setWindowTitle(tr("Select Kits for Your Project")); + setWindowTitle(Tr::tr("Select Kits for Your Project")); m_ui->setupUi(this); QSizePolicy policy(QSizePolicy::Preferred, QSizePolicy::Preferred); @@ -185,7 +183,7 @@ TargetSetupPage::TargetSetupPage(QWidget *parent) m_ui->centralWidget->setLayout(new QVBoxLayout); m_ui->centralWidget->layout()->setContentsMargins(0, 0, 0, 0); - setTitle(tr("Kit Selection")); + setTitle(Tr::tr("Kit Selection")); for (IPotentialKit *pk : std::as_const(g_potentialKits)) if (pk->isEnabled()) @@ -204,7 +202,7 @@ TargetSetupPage::TargetSetupPage(QWidget *parent) connect(KitManager::instance(), &KitManager::kitsChanged, this, &TargetSetupPage::updateVisibility); - setProperty(SHORT_TITLE_PROPERTY, tr("Kits")); + setProperty(SHORT_TITLE_PROPERTY, Tr::tr("Kits")); } void TargetSetupPage::initializePage() @@ -300,7 +298,7 @@ void TargetSetupPage::setProjectPath(const FilePath &path) if (!m_projectPath.isEmpty()) { QFileInfo fileInfo(QDir::cleanPath(path.toString())); QStringList subDirsList = fileInfo.absolutePath().split('/'); - m_ui->headerLabel->setText(tr("The following kits can be used for project %1:", + m_ui->headerLabel->setText(Tr::tr("The following kits can be used for project %1:", "%1: Project name").arg(subDirsList.last())); } m_ui->headerLabel->setVisible(!m_projectPath.isEmpty()); diff --git a/src/plugins/projectexplorer/targetsetupwidget.cpp b/src/plugins/projectexplorer/targetsetupwidget.cpp index eacd073a3b4..cae28fc3e1f 100644 --- a/src/plugins/projectexplorer/targetsetupwidget.cpp +++ b/src/plugins/projectexplorer/targetsetupwidget.cpp @@ -6,6 +6,7 @@ #include "buildconfiguration.h" #include "buildinfo.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "kitmanager.h" #include "kitoptionspage.h" @@ -353,11 +354,11 @@ QPair TargetSetupWidget::findIssues(const BuildInfo &in QString severity; if (t.type == Task::Error) { highestType = Task::Error; - severity = tr("Error: ", "Severity is Task::Error"); + severity = Tr::tr("Error: ", "Severity is Task::Error"); } else if (t.type == Task::Warning) { if (highestType == Task::Unknown) highestType = Task::Warning; - severity = tr("Warning: ", "Severity is Task::Warning"); + severity = Tr::tr("Warning: ", "Severity is Task::Warning"); } text.append(severity + t.description()); } diff --git a/src/plugins/projectexplorer/task.cpp b/src/plugins/projectexplorer/task.cpp index 3d449ced757..dab4c7ed17d 100644 --- a/src/plugins/projectexplorer/task.cpp +++ b/src/plugins/projectexplorer/task.cpp @@ -5,6 +5,7 @@ #include "fileinsessionfinder.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include #include @@ -59,7 +60,7 @@ Task::Task(TaskType type_, const QString &description, Task Task::compilerMissingTask() { return BuildSystemTask(Task::Error, - tr("%1 needs a compiler set up to build. " + Tr::tr("%1 needs a compiler set up to build. " "Configure a compiler in the kit options.") .arg(Core::Constants::IDE_DISPLAY_NAME)); } @@ -164,10 +165,10 @@ QString toHtml(const Tasks &issues) str << ""; switch (t.type) { case Task::Error: - str << QCoreApplication::translate("ProjectExplorer::Kit", "Error:") << " "; + str << Tr::tr("Error:") << " "; break; case Task::Warning: - str << QCoreApplication::translate("ProjectExplorer::Kit", "Warning:") << " "; + str << Tr::tr("Warning:") << " "; break; case Task::Unknown: default: diff --git a/src/plugins/projectexplorer/task.h b/src/plugins/projectexplorer/task.h index 2555b664cb3..f38302f90f9 100644 --- a/src/plugins/projectexplorer/task.h +++ b/src/plugins/projectexplorer/task.h @@ -24,8 +24,6 @@ class TaskHub; // Documentation inside. class PROJECTEXPLORER_EXPORT Task { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Task) - public: enum TaskType : char { Unknown, diff --git a/src/plugins/projectexplorer/taskfile.cpp b/src/plugins/projectexplorer/taskfile.cpp index 011b64124fe..6375d12ee7e 100644 --- a/src/plugins/projectexplorer/taskfile.cpp +++ b/src/plugins/projectexplorer/taskfile.cpp @@ -5,6 +5,7 @@ #include "projectexplorer.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "session.h" #include "taskhub.h" @@ -104,7 +105,7 @@ static bool parseTaskFile(QString *errorString, const FilePath &name) { QFile tf(name.toString()); if (!tf.open(QIODevice::ReadOnly)) { - *errorString = TaskFile::tr("Cannot open task file %1: %2") + *errorString = Tr::tr("Cannot open task file %1: %2") .arg(name.toUserOutput(), tf.errorString()); return false; } @@ -192,7 +193,7 @@ TaskFile *TaskFile::openTasks(const FilePath &filePath) file = new TaskFile(ProjectExplorerPlugin::instance()); if (!file->load(&errorString, filePath)) { - QMessageBox::critical(Core::ICore::dialogParent(), tr("File Error"), errorString); + QMessageBox::critical(Core::ICore::dialogParent(), Tr::tr("File Error"), errorString); delete file; return nullptr; } @@ -219,12 +220,8 @@ void StopMonitoringHandler::handle(const ProjectExplorer::Task &task) QAction *StopMonitoringHandler::createAction(QObject *parent) const { - const QString text = - QCoreApplication::translate("TaskList::Internal::StopMonitoringHandler", - "Stop Monitoring"); - const QString toolTip = - QCoreApplication::translate("TaskList::Internal::StopMonitoringHandler", - "Stop monitoring task files."); + const QString text = Tr::tr("Stop Monitoring"); + const QString toolTip = Tr::tr("Stop monitoring task files."); auto stopMonitoringAction = new QAction(text, parent); stopMonitoringAction->setToolTip(toolTip); return stopMonitoringAction; diff --git a/src/plugins/projectexplorer/taskfile.h b/src/plugins/projectexplorer/taskfile.h index c6e4a8b7bb5..74ed5ca01b0 100644 --- a/src/plugins/projectexplorer/taskfile.h +++ b/src/plugins/projectexplorer/taskfile.h @@ -20,7 +20,6 @@ public: class TaskFile : public Core::IDocument { - Q_DECLARE_TR_FUNCTIONS(TaskList::Internal::TaskListPlugin) public: TaskFile(QObject *parent); diff --git a/src/plugins/projectexplorer/taskhub.cpp b/src/plugins/projectexplorer/taskhub.cpp index 4575467465e..53b527eae19 100644 --- a/src/plugins/projectexplorer/taskhub.cpp +++ b/src/plugins/projectexplorer/taskhub.cpp @@ -47,12 +47,12 @@ public: { setColor(task.type == Task::Error ? Utils::Theme::ProjectExplorer_TaskError_TextMarkColor : Utils::Theme::ProjectExplorer_TaskWarn_TextMarkColor); - setDefaultToolTip(task.type == Task::Error ? QApplication::translate("TaskHub", "Error") - : QApplication::translate("TaskHub", "Warning")); + setDefaultToolTip(task.type == Task::Error ? Tr::tr("Error") + : Tr::tr("Warning")); setPriority(task.type == Task::Error ? TextEditor::TextMark::NormalPriority : TextEditor::TextMark::LowPriority); if (task.category == Constants::TASK_CATEGORY_COMPILE) { - setToolTip("" + QApplication::translate("TaskHub", "Build Issue") + setToolTip("" + Tr::tr("Build Issue") + "
" + task.description().toHtmlEscaped() + ""); } else { diff --git a/src/plugins/projectexplorer/taskwindow.cpp b/src/plugins/projectexplorer/taskwindow.cpp index 9f2fbf2bdbb..dca99bf96c2 100644 --- a/src/plugins/projectexplorer/taskwindow.cpp +++ b/src/plugins/projectexplorer/taskwindow.cpp @@ -5,6 +5,7 @@ #include "itaskhandler.h" #include "projectexplorericons.h" +#include "projectexplorertr.h" #include "session.h" #include "task.h" #include "taskhub.h" @@ -357,11 +358,11 @@ TaskWindow::TaskWindow() : d(std::make_unique()) d->m_filterWarningsButton = createFilterButton( Utils::Icons::WARNING_TOOLBAR.icon(), - tr("Show Warnings"), this, [this](bool show) { setShowWarnings(show); }); + Tr::tr("Show Warnings"), this, [this](bool show) { setShowWarnings(show); }); d->m_categoriesButton = new QToolButton; d->m_categoriesButton->setIcon(Utils::Icons::FILTER.icon()); - d->m_categoriesButton->setToolTip(tr("Filter by categories")); + d->m_categoriesButton->setToolTip(Tr::tr("Filter by categories")); d->m_categoriesButton->setProperty("noArrow", true); d->m_categoriesButton->setPopupMode(QToolButton::InstantPopup); @@ -451,6 +452,11 @@ QList TaskWindow::toolBarWidgets() const return {d->m_filterWarningsButton, d->m_categoriesButton, filterWidget()}; } +QString TaskWindow::displayName() const +{ + return Tr::tr("Issues"); +} + QWidget *TaskWindow::outputWidget(QWidget *) { return d->m_listview; @@ -944,7 +950,7 @@ void TaskDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, int secondBaseLine = positions.top() + fm.ascent() + height + leading; if (index.data(TaskModel::FileNotFound).toBool() && !directory.isEmpty()) { - QString fileNotFound = tr("File not found: %1").arg(directory); + QString fileNotFound = Tr::tr("File not found: %1").arg(directory); painter->setPen(Qt::red); painter->drawText(positions.textAreaLeft(), secondBaseLine, fileNotFound); } else { diff --git a/src/plugins/projectexplorer/taskwindow.h b/src/plugins/projectexplorer/taskwindow.h index 0defb9281db..c2e7a78a242 100644 --- a/src/plugins/projectexplorer/taskwindow.h +++ b/src/plugins/projectexplorer/taskwindow.h @@ -39,7 +39,7 @@ public: QWidget *outputWidget(QWidget *) override; QList toolBarWidgets() const override; - QString displayName() const override { return tr("Issues"); } + QString displayName() const override; int priorityInStatusBar() const override; void clearContents() override; void visibilityChanged(bool visible) override; diff --git a/src/plugins/projectexplorer/toolchainconfigwidget.cpp b/src/plugins/projectexplorer/toolchainconfigwidget.cpp index c79201e2107..ef97ad72cfd 100644 --- a/src/plugins/projectexplorer/toolchainconfigwidget.cpp +++ b/src/plugins/projectexplorer/toolchainconfigwidget.cpp @@ -2,14 +2,14 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "toolchainconfigwidget.h" + #include "toolchain.h" +#include "projectexplorertr.h" #include #include #include -#include - #include #include #include @@ -44,7 +44,7 @@ ToolChainConfigWidget::ToolChainConfigWidget(ToolChain *tc) : m_nameLineEdit = new QLineEdit; m_nameLineEdit->setText(tc->displayName()); - m_mainLayout->addRow(tr("Name:"), m_nameLineEdit); + m_mainLayout->addRow(Tr::tr("Name:"), m_nameLineEdit); connect(m_nameLineEdit, &QLineEdit::textChanged, this, &ToolChainConfigWidget::dirty); } diff --git a/src/plugins/projectexplorer/toolchainmanager.cpp b/src/plugins/projectexplorer/toolchainmanager.cpp index 2f7227001f4..d7f20d6f0f5 100644 --- a/src/plugins/projectexplorer/toolchainmanager.cpp +++ b/src/plugins/projectexplorer/toolchainmanager.cpp @@ -4,8 +4,8 @@ #include "toolchainmanager.h" #include "abi.h" -#include "kitinformation.h" #include "msvctoolchain.h" +#include "projectexplorertr.h" #include "toolchain.h" #include "toolchainsettingsaccessor.h" @@ -234,9 +234,9 @@ bool ToolChainManager::registerLanguage(const Utils::Id &language, const QString QString ToolChainManager::displayNameOfLanguageId(const Utils::Id &id) { - QTC_ASSERT(id.isValid(), return tr("None")); + QTC_ASSERT(id.isValid(), return Tr::tr("None")); auto entry = Utils::findOrDefault(d->m_languages, Utils::equal(&LanguageDisplayPair::id, id)); - QTC_ASSERT(entry.id.isValid(), return tr("None")); + QTC_ASSERT(entry.id.isValid(), return Tr::tr("None")); return entry.displayName; } diff --git a/src/plugins/projectexplorer/toolchainoptionspage.cpp b/src/plugins/projectexplorer/toolchainoptionspage.cpp index ae391bb175a..b8df603850f 100644 --- a/src/plugins/projectexplorer/toolchainoptionspage.cpp +++ b/src/plugins/projectexplorer/toolchainoptionspage.cpp @@ -2,10 +2,11 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "toolchainoptionspage.h" + #include "toolchain.h" #include "abi.h" #include "projectexplorerconstants.h" -#include "projectexplorericons.h" +#include "projectexplorertr.h" #include "toolchainconfigwidget.h" #include "toolchainmanager.h" @@ -77,11 +78,11 @@ public: case Qt::ToolTipRole: { QString toolTip; if (toolChain->isValid()) { - toolTip = ToolChainOptionsPage::tr("
ABI: %1").arg( - changed ? ToolChainOptionsPage::tr("not up-to-date") + toolTip = Tr::tr("ABI: %1").arg( + changed ? Tr::tr("not up-to-date") : toolChain->targetAbi().toString()); } else { - toolTip = ToolChainOptionsPage::tr("This toolchain is invalid."); + toolTip = Tr::tr("This toolchain is invalid."); } return QVariant("
" + toolTip + "
"); } @@ -103,11 +104,11 @@ public: DetectionSettingsDialog(const ToolchainDetectionSettings &settings, QWidget *parent) : QDialog(parent) { - setWindowTitle(ToolChainOptionsPage::tr("Toolchain Auto-detection Settings")); + setWindowTitle(Tr::tr("Toolchain Auto-detection Settings")); const auto layout = new QVBoxLayout(this); - m_detectX64AsX32CheckBox.setText(ToolChainOptionsPage::tr("Detect x86_64 GCC compilers " - "as x86_64 and x86")); - m_detectX64AsX32CheckBox.setToolTip(ToolChainOptionsPage::tr("If checked, %1 will " + m_detectX64AsX32CheckBox.setText(Tr::tr("Detect x86_64 GCC compilers " + "as x86_64 and x86")); + m_detectX64AsX32CheckBox.setToolTip(Tr::tr("If checked, %1 will " "set up two instances of each x86_64 compiler:\nOne for the native x86_64 target, and " "one for a plain x86 target.\nEnable this if you plan to create 32-bit x86 binaries " "without using a dedicated cross compiler.").arg(Core::Constants::IDE_DISPLAY_NAME)); @@ -143,7 +144,7 @@ public: m_factories = Utils::filtered(ToolChainFactory::allToolChainFactories(), [](ToolChainFactory *factory) { return factory->canCreate();}); - m_model.setHeader({ToolChainOptionsPage::tr("Name"), ToolChainOptionsPage::tr("Type")}); + m_model.setHeader({Tr::tr("Name"), Tr::tr("Type")}); auto autoRoot = new StaticTreeItem({ProjectExplorer::Constants::msgAutoDetected()}, {ProjectExplorer::Constants::msgAutoDetectedToolTip()}); auto manualRoot = new StaticTreeItem(ProjectExplorer::Constants::msgManual()); @@ -173,7 +174,7 @@ public: m_toolChainView->header()->setSectionResizeMode(1, QHeaderView::Stretch); m_toolChainView->expandAll(); - m_addButton = new QPushButton(ToolChainOptionsPage::tr("Add"), this); + m_addButton = new QPushButton(Tr::tr("Add"), this); auto addMenu = new QMenu; for (ToolChainFactory *factory : std::as_const(m_factories)) { QList languages = factory->supportedLanguages(); @@ -195,12 +196,12 @@ public: if (HostOsInfo::isMacHost()) m_addButton->setStyleSheet("text-align:center;"); - m_cloneButton = new QPushButton(ToolChainOptionsPage::tr("Clone"), this); + m_cloneButton = new QPushButton(Tr::tr("Clone"), this); connect(m_cloneButton, &QAbstractButton::clicked, [this] { cloneToolChain(); }); - m_delButton = new QPushButton(ToolChainOptionsPage::tr("Remove"), this); + m_delButton = new QPushButton(Tr::tr("Remove"), this); - m_removeAllButton = new QPushButton(ToolChainOptionsPage::tr("Remove All"), this); + m_removeAllButton = new QPushButton(Tr::tr("Remove All"), this); connect(m_removeAllButton, &QAbstractButton::clicked, this, [this] { QList itemsToRemove; @@ -215,12 +216,11 @@ public: markForRemoval(tcItem); }); - m_redetectButton = new QPushButton(ToolChainOptionsPage::tr("Re-detect"), this); + m_redetectButton = new QPushButton(Tr::tr("Re-detect"), this); connect(m_redetectButton, &QAbstractButton::clicked, this, &ToolChainOptionsWidget::redetectToolchains); - m_detectionSettingsButton = new QPushButton( - ToolChainOptionsPage::tr("Auto-detection Settings..."), this); + m_detectionSettingsButton = new QPushButton(Tr::tr("Auto-detection Settings..."), this); connect(m_detectionSettingsButton, &QAbstractButton::clicked, this, [this] { DetectionSettingsDialog dlg(m_detectionSettings, this); @@ -471,19 +471,19 @@ void ToolChainOptionsWidget::apply() if (removedTcs.count() == 1) { QMessageBox::warning(Core::ICore::dialogParent(), - ToolChainOptionsPage::tr("Duplicate Compilers Detected"), - ToolChainOptionsPage::tr("The following compiler was already configured:
" - " %1
" - "It was not configured again.") - .arg(removedTcs.at(0))); + Tr::tr("Duplicate Compilers Detected"), + Tr::tr("The following compiler was already configured:
" + " %1
" + "It was not configured again.") + .arg(removedTcs.at(0))); } else if (!removedTcs.isEmpty()) { QMessageBox::warning(Core::ICore::dialogParent(), - ToolChainOptionsPage::tr("Duplicate Compilers Detected"), - ToolChainOptionsPage::tr("The following compilers were already configured:
" - " %1
" - "They were not configured again.") - .arg(removedTcs.join(QLatin1String(",
 ")))); + Tr::tr("Duplicate Compilers Detected"), + Tr::tr("The following compilers were already configured:
" + " %1
" + "They were not configured again.") + .arg(removedTcs.join(QLatin1String(",
 ")))); } ToolChainManager::setDetectionSettings(m_detectionSettings); } @@ -518,8 +518,7 @@ void ToolChainOptionsWidget::cloneToolChain() return; tc->setDetection(ToolChain::ManualDetection); - tc->setDisplayName(QCoreApplication::translate("ProjectExplorer::ToolChain", "Clone of %1") - .arg(current->toolChain->displayName())); + tc->setDisplayName(Tr::tr("Clone of %1").arg(current->toolChain->displayName())); auto item = insertToolChain(tc, true); m_toAddList.append(item); @@ -555,7 +554,7 @@ ToolChainTreeItem *ToolChainOptionsWidget::currentTreeItem() ToolChainOptionsPage::ToolChainOptionsPage() { setId(Constants::TOOLCHAIN_SETTINGS_PAGE_ID); - setDisplayName(ToolChainOptionsPage::tr("Compilers")); + setDisplayName(Tr::tr("Compilers")); setCategory(Constants::KITS_SETTINGS_CATEGORY); setWidgetCreator([] { return new ToolChainOptionsWidget; }); } diff --git a/src/plugins/projectexplorer/toolchainoptionspage.h b/src/plugins/projectexplorer/toolchainoptionspage.h index 1e810996154..552ef1ed630 100644 --- a/src/plugins/projectexplorer/toolchainoptionspage.h +++ b/src/plugins/projectexplorer/toolchainoptionspage.h @@ -12,8 +12,6 @@ namespace Internal { class ToolChainOptionsPage final : public Core::IOptionsPage { - Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Internal::ToolChainOptionsPage) - public: ToolChainOptionsPage(); }; diff --git a/src/plugins/projectexplorer/toolchainsettingsaccessor.cpp b/src/plugins/projectexplorer/toolchainsettingsaccessor.cpp index 77e33187305..4152e9882ee 100644 --- a/src/plugins/projectexplorer/toolchainsettingsaccessor.cpp +++ b/src/plugins/projectexplorer/toolchainsettingsaccessor.cpp @@ -4,6 +4,7 @@ #include "toolchainsettingsaccessor.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "toolchain.h" #include @@ -169,7 +170,7 @@ static ToolChainOperations mergeToolChainLists(const Toolchains &systemFileTcs, ToolChainSettingsAccessor::ToolChainSettingsAccessor() : UpgradingSettingsAccessor("QtCreatorToolChains", - QCoreApplication::translate("ProjectExplorer::ToolChainManager", "Tool Chains"), + Tr::tr("Tool Chains"), Core::Constants::IDE_DISPLAY_NAME) { setBaseFilePath(Core::ICore::userResourcePath(TOOLCHAIN_FILENAME)); diff --git a/src/plugins/projectexplorer/vcsannotatetaskhandler.cpp b/src/plugins/projectexplorer/vcsannotatetaskhandler.cpp index 36ff43d1eb5..0fba65df403 100644 --- a/src/plugins/projectexplorer/vcsannotatetaskhandler.cpp +++ b/src/plugins/projectexplorer/vcsannotatetaskhandler.cpp @@ -3,6 +3,7 @@ #include "vcsannotatetaskhandler.h" +#include "projectexplorertr.h" #include "task.h" #include @@ -39,8 +40,8 @@ void VcsAnnotateTaskHandler::handle(const Task &task) QAction *VcsAnnotateTaskHandler::createAction(QObject *parent) const { - QAction *vcsannotateAction = new QAction(tr("&Annotate"), parent); - vcsannotateAction->setToolTip(tr("Annotate using version control system.")); + QAction *vcsannotateAction = new QAction(Tr::tr("&Annotate"), parent); + vcsannotateAction->setToolTip(Tr::tr("Annotate using version control system.")); return vcsannotateAction; } diff --git a/src/plugins/projectexplorer/waitforstopdialog.cpp b/src/plugins/projectexplorer/waitforstopdialog.cpp index 2f3a4ab2643..d1e304a3a14 100644 --- a/src/plugins/projectexplorer/waitforstopdialog.cpp +++ b/src/plugins/projectexplorer/waitforstopdialog.cpp @@ -3,6 +3,7 @@ #include "waitforstopdialog.h" +#include "projectexplorertr.h" #include "runcontrol.h" #include @@ -18,7 +19,7 @@ using namespace ProjectExplorer::Internal; WaitForStopDialog::WaitForStopDialog(const QList &runControls) : m_runControls(runControls) { - setWindowTitle(tr("Waiting for Applications to Stop")); + setWindowTitle(Tr::tr("Waiting for Applications to Stop")); auto layout = new QVBoxLayout(); setLayout(layout); @@ -26,7 +27,7 @@ WaitForStopDialog::WaitForStopDialog(const QList m_progressLabel = new QLabel; layout->addWidget(m_progressLabel); - auto cancelButton = new QPushButton(tr("Cancel")); + auto cancelButton = new QPushButton(Tr::tr("Cancel")); connect(cancelButton, &QPushButton::clicked, this, &QDialog::close); layout->addWidget(cancelButton); @@ -46,7 +47,7 @@ bool WaitForStopDialog::canceled() void WaitForStopDialog::updateProgressText() { - QString text = tr("Waiting for applications to stop.") + QLatin1String("\n\n"); + QString text = Tr::tr("Waiting for applications to stop.") + QLatin1String("\n\n"); QStringList names = Utils::transform(m_runControls, &RunControl::displayName); text += names.join(QLatin1Char('\n')); m_progressLabel->setText(text); diff --git a/src/plugins/projectexplorer/xcodebuildparser.cpp b/src/plugins/projectexplorer/xcodebuildparser.cpp index cb5a4995f71..8dd1d3d8a05 100644 --- a/src/plugins/projectexplorer/xcodebuildparser.cpp +++ b/src/plugins/projectexplorer/xcodebuildparser.cpp @@ -4,6 +4,7 @@ #include "xcodebuildparser.h" #include "projectexplorerconstants.h" +#include "projectexplorertr.h" #include "task.h" #include @@ -53,7 +54,7 @@ OutputLineParser::Result XcodebuildParser::handleLine(const QString &line, Outpu const int filePathEndPos = lne.size() - QLatin1String(signatureChangeEndsWithPattern).size(); CompileTask task(Task::Warning, - tr("Replacing signature"), + Tr::tr("Replacing signature"), absoluteFilePath(FilePath::fromString( lne.left(filePathEndPos)))); LinkSpecs linkSpecs; @@ -68,7 +69,7 @@ OutputLineParser::Result XcodebuildParser::handleLine(const QString &line, Outpu if (match.hasMatch()) { ++m_fatalErrorCount; m_xcodeBuildParserState = UnknownXcodebuildState; - scheduleTask(CompileTask(Task::Error, tr("Xcodebuild failed.")), 1); + scheduleTask(CompileTask(Task::Error, Tr::tr("Xcodebuild failed.")), 1); } if (m_xcodeBuildParserState == OutsideXcodebuild) return Status::NotHandled; diff --git a/src/plugins/python/pythonsettings.cpp b/src/plugins/python/pythonsettings.cpp index 92630bafff6..9306fe3b6f4 100644 --- a/src/plugins/python/pythonsettings.cpp +++ b/src/plugins/python/pythonsettings.cpp @@ -882,7 +882,7 @@ void PythonSettings::detectPythonOnDevice(const Utils::FilePaths &searchPaths, const QString &detectionSource, QString *logMessage) { - QStringList messages{tr("Searching Python binaries...")}; + QStringList messages{Tr::tr("Searching Python binaries...")}; auto alreadyConfigured = interpreterOptionsPage().interpreters(); for (const FilePath &path : searchPaths) { const FilePath python = path.pathAppended("python3").withExecutableSuffix(); @@ -893,7 +893,7 @@ void PythonSettings::detectPythonOnDevice(const Utils::FilePaths &searchPaths, auto interpreter = createInterpreter(python, "Python on", "on " + deviceName); interpreter.detectionSource = detectionSource; interpreterOptionsPage().addInterpreter(interpreter); - messages.append(tr("Found \"%1\" (%2)").arg(interpreter.name, python.toUserOutput())); + messages.append(Tr::tr("Found \"%1\" (%2)").arg(interpreter.name, python.toUserOutput())); } if (logMessage) *logMessage = messages.join('\n'); diff --git a/src/plugins/qmakeprojectmanager/customwidgetwizard/customwidgetwizard.cpp b/src/plugins/qmakeprojectmanager/customwidgetwizard/customwidgetwizard.cpp index 570d85d22e2..b5322031bf1 100644 --- a/src/plugins/qmakeprojectmanager/customwidgetwizard/customwidgetwizard.cpp +++ b/src/plugins/qmakeprojectmanager/customwidgetwizard/customwidgetwizard.cpp @@ -9,13 +9,12 @@ #include "../qmakeprojectmanagertr.h" #include +#include #include #include -#include - namespace QmakeProjectManager { namespace Internal { @@ -23,8 +22,7 @@ CustomWidgetWizard::CustomWidgetWizard() { setId("P.Qt4CustomWidget"); setCategory(QLatin1String(ProjectExplorer::Constants::QT_PROJECT_WIZARD_CATEGORY)); - setDisplayCategory(QCoreApplication::translate("::ProjectExplorer", - ProjectExplorer::Constants::QT_PROJECT_WIZARD_CATEGORY_DISPLAY)); + setDisplayCategory(ProjectExplorer::Tr::tr(ProjectExplorer::Constants::QT_PROJECT_WIZARD_CATEGORY_DISPLAY)); setDisplayName(Tr::tr("Qt Custom Designer Widget")); setDescription(Tr::tr("Creates a Qt Custom Designer Widget or a Custom Widget Collection.")); setIcon(themedIcon(":/wizards/images/gui.png")); diff --git a/src/plugins/qmakeprojectmanager/wizards/subdirsprojectwizard.cpp b/src/plugins/qmakeprojectmanager/wizards/subdirsprojectwizard.cpp index d67d3f28ba4..724ff9329cd 100644 --- a/src/plugins/qmakeprojectmanager/wizards/subdirsprojectwizard.cpp +++ b/src/plugins/qmakeprojectmanager/wizards/subdirsprojectwizard.cpp @@ -8,13 +8,13 @@ #include "../qmakeprojectmanagertr.h" #include +#include + #include #include #include -#include - using namespace Utils; namespace QmakeProjectManager { @@ -24,7 +24,7 @@ SubdirsProjectWizard::SubdirsProjectWizard() { setId("U.Qt4Subdirs"); setCategory(QLatin1String(ProjectExplorer::Constants::QT_PROJECT_WIZARD_CATEGORY)); - setDisplayCategory(QCoreApplication::translate("::ProjectExplorer", + setDisplayCategory(ProjectExplorer::Tr::tr( ProjectExplorer::Constants::QT_PROJECT_WIZARD_CATEGORY_DISPLAY)); setDisplayName(Tr::tr("Subdirs Project")); setDescription(Tr::tr("Creates a qmake-based subdirs project. This allows you to group "