QtSupport: Convert to Tr::tr

Change-Id: Id0f7a2e55f329fe37b9c23e890c314e145e36d79
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2022-07-13 16:37:33 +02:00
parent 26d0dda4f8
commit a663473f8f
26 changed files with 417 additions and 1110 deletions

View File

@@ -28664,7 +28664,7 @@ Projekty Qt Quick UI není potřeba je sestavovat a lze je spouštět přímo v
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<name>QtSupport</name>
<message>
<source>The Qt version is invalid: %1</source>
<extracomment>%1: Reason for being invalid</extracomment>
@@ -28675,6 +28675,9 @@ Projekty Qt Quick UI není potřeba je sestavovat a lze je spouštět přímo v
<extracomment>%1: Path to qmake executable</extracomment>
<translation>Příkaz qmake: &quot;%1&quot; se nepodařilo nalézt, nebo není spustitelný.</translation>
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<message>
<source>Qmake does not support build directories below the source directory.</source>
<translation>Qmake nepodporuje žádné sestavování v adresářích, které se nacházejí pod zdrojovým adresářem.</translation>
@@ -28685,7 +28688,7 @@ Projekty Qt Quick UI není potřeba je sestavovat a lze je spouštět přímo v
</message>
</context>
<context>
<name>QtVersion</name>
<name>QtSupport</name>
<message>
<source>No qmake path set</source>
<translation>Není nastavena žádná cesta ke qmake</translation>
@@ -31177,7 +31180,7 @@ Vyžaduje Qt 4.7.4 nebo novější, a soubor součástek nainstalovaný pro tuto
</message>
</context>
<context>
<name>QtSupport::Internal::DebuggingHelper</name>
<name>QtSupport</name>
<message>
<source>Used to extract QML type information from library-based plugins.</source>
<translation>Používá se k určení informace o typu QML pro na knihovně založené přídavné moduly.</translation>
@@ -31240,7 +31243,7 @@ Vyžaduje Qt 4.7.4 nebo novější, a soubor součástek nainstalovaný pro tuto
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionInfo</name>
<name>QtSupport</name>
<message>
<source>Version name:</source>
<translation>Název verze:</translation>
@@ -31255,7 +31258,7 @@ Vyžaduje Qt 4.7.4 nebo novější, a soubor součástek nainstalovaný pro tuto
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>Name</source>
<translation>Název</translation>
@@ -39808,47 +39811,7 @@ Vyžaduje &lt;b&gt;Qt 4.7.0&lt;/b&gt; nebo novější.</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::GettingStartedWelcomePage</name>
<message>
<source>Demos and Examples</source>
<translation type="obsolete">Dema a příklady</translation>
</message>
<message>
<source>Copy Project to writable Location?</source>
<translation type="obsolete"> se projekt zkopírovat do zapisovatelného umístění?</translation>
</message>
<message>
<source>&lt;p&gt;The project you are about to open is located in the write-protected location:&lt;/p&gt;&lt;blockquote&gt;%1&lt;/blockquote&gt;&lt;p&gt;Please select a writable location below and click &quot;Copy Project and Open&quot; to open a modifiable copy of the project or click &quot;Keep Project and Open&quot; to open the project in location.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; You will not be able to alter or compile your project in the current location.&lt;/p&gt;</source>
<translation type="obsolete">&lt;p&gt;Projekt, který se chystáte otevřít, je v místě chráněném před zápisem:&lt;/p&gt;&lt;blockquote&gt;%1&lt;/blockquote&gt;&lt;p&gt;Níže vyberte zapisovatelné umístění a klepněte na &quot;Kopírovat projekt a otevřít&quot; abyste otevřeli upravovatelnou kopii projektu, anebo klepněte na &quot;Zachovat projekt a otevřít&quot; abyste otevřeli projektu na místě.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Poznámka:&lt;/b&gt; V současném umístění projekt nelze ani sestavit ani změnit.&lt;/p&gt;</translation>
</message>
<message>
<source>&amp;Location:</source>
<translation type="obsolete">&amp;Umístění:</translation>
</message>
<message>
<source>&amp;Copy Project and Open</source>
<translation type="obsolete">&amp;Kopírovat projekt a otevřít</translation>
</message>
<message>
<source>&amp;Keep Project and Open</source>
<translation type="obsolete">&amp;Zachovat projekt a otevřít</translation>
</message>
<message>
<source>Cannot Use Location</source>
<translation type="obsolete">Umístění nelze použít</translation>
</message>
<message>
<source>The specified location already exists. Please specify a valid location.</source>
<translation type="obsolete">Zadané umístění již existuje. Zadejte, prosím, platné umístění.</translation>
</message>
<message>
<source>Cannot Copy Project</source>
<translation type="obsolete">Chyba při kopírování projektu</translation>
</message>
<message>
<source>Failed to open project</source>
<translation type="obsolete">Nepodařilo se otevřít projekt</translation>
</message>
<name>QtSupport</name>
<message>
<source>Getting Started</source>
<translation>Jak začít</translation>
@@ -39963,7 +39926,7 @@ Důvod: %2</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtOptionsPageWidget</name>
<name>QtSupport</name>
<message>
<source>&lt;specify a name&gt;</source>
<translation>&lt;Zadejte název&gt;</translation>
@@ -40099,7 +40062,7 @@ Důvod: %2</translation>
</message>
</context>
<context>
<name>QtSupport::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>MinGW from %1</source>
<translation type="obsolete">MinGW z %1</translation>
@@ -46425,7 +46388,7 @@ Tyto předpony se používají dodatečně k nynějšímu názvu souboru na Pře
</message>
</context>
<context>
<name>QtSupport::Internal::ShowBuildLog</name>
<name>QtSupport</name>
<message>
<source>Debugging Helper Build Log</source>
<translation>Záznam o sestavení pomocného ladicího programu</translation>
@@ -51082,7 +51045,7 @@ Je zapotřebí mít nějakou verzi Qt a sadu nástrojů, aby modely kódu C++ a
</message>
</context>
<context>
<name>QtSupport::Internal::ExamplesWelcomePage</name>
<name>QtSupport</name>
<message>
<source>Examples</source>
<translation>Příklady</translation>
@@ -54291,7 +54254,7 @@ Chcete, aby jej Qt Creator pro váš projekt vytvořil?</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::CustomExecutableConfigurationWidget</name>
<name>QtSupport</name>
<message>
<source>Command:</source>
<translation type="obsolete">Příkaz:</translation>
@@ -54320,18 +54283,6 @@ Chcete, aby jej Qt Creator pro váš projekt vytvořil?</translation>
<source>Base environment for this run configuration:</source>
<translation type="obsolete">Základní prostředí pro toto nastavení spuštění:</translation>
</message>
<message>
<source>Clean Environment</source>
<translation type="obsolete">Smazat prostředí</translation>
</message>
<message>
<source>System Environment</source>
<translation type="obsolete">Prostředí systému</translation>
</message>
<message>
<source>Build Environment</source>
<translation type="obsolete">Prostředí pro sestavování</translation>
</message>
</context>
<context>
<name>CustomExecutableDialog</name>
@@ -54341,7 +54292,7 @@ Chcete, aby jej Qt Creator pro váš projekt vytvořil?</translation>
</message>
</context>
<context>
<name>QtSupport::CustomExecutableRunConfiguration</name>
<name>QtSupport</name>
<message>
<source>No executable.</source>
<translation>Žádný spustitelný soubor.</translation>
@@ -54376,14 +54327,7 @@ nelze najít v cestě.</translation>
</message>
</context>
<context>
<name>QtSupport::CustomExecutableRunConfigurationFactory</name>
<message>
<source>Custom Executable</source>
<translation>Uživatelsky stanovený spustitelný soubor</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtKitConfigWidget</name>
<name>QtSupport</name>
<message>
<source>The Qt library to use for all projects using this kit.&lt;br&gt;A Qt version is required for qmake-based projects and optional when using other build systems.</source>
<translation>Knihovna Qt k použití pro všechny projekty používající tuto sadu.&lt;br&gt;Je požadována verze Qt pro projekty založené na qmake a jako volitelná při použití jiných sestavovacích systémů.</translation>
@@ -54392,10 +54336,6 @@ nelze najít v cestě.</translation>
<source>Manage...</source>
<translation>Spravovat...</translation>
</message>
<message>
<source>None</source>
<translation>Žádný</translation>
</message>
<message>
<source>Qt version:</source>
<translation>Verze Qt:</translation>
@@ -54406,7 +54346,7 @@ nelze najít v cestě.</translation>
</message>
</context>
<context>
<name>QtSupport::QtKitInformation</name>
<name>QtSupport</name>
<message>
<source>Qt version</source>
<translation>Verze Qt</translation>
@@ -57480,14 +57420,14 @@ Commit now?</source>
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionsModel</name>
<name>QtSupport</name>
<message>
<source>All Versions</source>
<translation>Všechny verze</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtSupportPlugin</name>
<name>QtSupport</name>
<message>
<source>Full path to the host bin directory of the current project&apos;s Qt version.</source>
<translation>Úplná cesta k adresáři bin hostitele verze Qt nynějšího projektu.</translation>
@@ -57498,7 +57438,7 @@ Commit now?</source>
</message>
</context>
<context>
<name>QtSupport::QtVersionFactory</name>
<name>QtSupport</name>
<message>
<source>No factory found for qmake: &apos;%1&apos;</source>
<translation>Pro QMake nebyla nalezena žádná továrna: &apos;%1&apos;</translation>

View File

@@ -30505,7 +30505,7 @@ Hverken stien til biblioteket eller stien til dets includere tilføjes til .pro-
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<name>QtSupport</name>
<message>
<source>The Qt version is invalid: %1</source>
<extracomment>%1: Reason for being invalid</extracomment>
@@ -30516,6 +30516,9 @@ Hverken stien til biblioteket eller stien til dets includere tilføjes til .pro-
<extracomment>%1: Path to qmake executable</extracomment>
<translation>Qmake-kommandoen &quot;%1&quot; blev ikke fundet eller er ikke eksekverbar.</translation>
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<message>
<source>The build directory needs to be at the same level as the source directory.</source>
<translation>Bygmappen skal være samme niveau som kildemappen.</translation>
@@ -34534,7 +34537,7 @@ For flere detaljer, se /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::CodeGenSettingsPageWidget</name>
<name>QtSupport</name>
<message>
<source>Embedding of the UI Class</source>
<translation>Indlejring af brugerflade-klassen</translation>
@@ -34569,7 +34572,7 @@ For flere detaljer, se /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::ExamplesWelcomePage</name>
<name>QtSupport</name>
<message>
<source>Examples</source>
<translation>Eksempler</translation>
@@ -34624,11 +34627,7 @@ For flere detaljer, se /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::QtKitConfigWidget</name>
<message>
<source>None</source>
<translation>Ingen</translation>
</message>
<name>QtSupport</name>
<message>
<source>Qt version:</source>
<translation>Qt version:</translation>
@@ -34643,7 +34642,7 @@ For flere detaljer, se /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::QtOptionsPageWidget</name>
<name>QtSupport</name>
<message>
<source>&lt;specify a name&gt;</source>
<translation>&lt;angiv et navn&gt;</translation>
@@ -34726,7 +34725,7 @@ For flere detaljer, se /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::QtSupportPlugin</name>
<name>QtSupport</name>
<message>
<source>Full path to the host bin directory of the current project&apos;s Qt version.</source>
<translation>Fuld sti til værtens bin-mappe af det aktuelle projekts Qt version.</translation>
@@ -34737,7 +34736,7 @@ For flere detaljer, se /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionInfo</name>
<name>QtSupport</name>
<message>
<source>Version name:</source>
<translation>Versionsnavn:</translation>
@@ -34752,7 +34751,7 @@ For flere detaljer, se /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>Add...</source>
<translation>Tilføj...</translation>
@@ -34767,21 +34766,21 @@ For flere detaljer, se /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::ShowBuildLog</name>
<name>QtSupport</name>
<message>
<source>Debugging Helper Build Log</source>
<translation>Fejlretningshjælper byglog</translation>
</message>
</context>
<context>
<name>QtSupport::ProMessageHandler</name>
<name>QtSupport</name>
<message>
<source>[Inexact] </source>
<translation>[ineksakt] </translation>
</message>
</context>
<context>
<name>QtSupport::QtKitInformation</name>
<name>QtSupport</name>
<message>
<source>Qt version</source>
<translation>Qt version</translation>
@@ -34880,7 +34879,7 @@ For flere detaljer, se /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::QtVersionFactory</name>
<name>QtSupport</name>
<message>
<source>No factory found for qmake: &quot;%1&quot;</source>
<translation>Ingen fabrik fundet for qmake: &quot;%1&quot;</translation>
@@ -34901,7 +34900,7 @@ For flere detaljer, se /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtVersion</name>
<name>QtSupport</name>
<message>
<source>&lt;unknown&gt;</source>
<translation>&lt;ukendt&gt;</translation>

View File

@@ -9898,7 +9898,7 @@ Dies ist unabhängig vom Wert der Eigenschaft &quot;visible&quot; in QML.</trans
</message>
</context>
<context>
<name>QtVersion</name>
<name>QtSupport</name>
<message>
<source>No qmake path set</source>
<translation>Es ist keine qmake-Pfad gesetzt</translation>
@@ -14457,7 +14457,7 @@ Gibt an, wie sich die Rücktaste bezüglich Einrückung verhält.
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionInfo</name>
<name>QtSupport</name>
<message>
<source>Version name:</source>
<translation>Name der Version:</translation>
@@ -14472,7 +14472,7 @@ Gibt an, wie sich die Rücktaste bezüglich Einrückung verhält.
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>Remove</source>
<translation>Entfernen</translation>
@@ -15526,7 +15526,7 @@ Wollen Sie die Daten vorher speichern?</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtOptionsPageWidget</name>
<name>QtSupport</name>
<message>
<source>&lt;specify a name&gt;</source>
<translation>&lt;Geben Sie einen Namen an&gt;</translation>
@@ -15583,10 +15583,6 @@ Wollen Sie die Daten vorher speichern?</translation>
<source>All</source>
<translation>Alle</translation>
</message>
<message>
<source>None</source>
<translation>Keine</translation>
</message>
<message>
<source>Remove Invalid Qt Versions</source>
<translation>Ungültige Qt-Versionen entfernen</translation>
@@ -15655,10 +15651,6 @@ Wollen Sie die Daten vorher speichern?</translation>
<source>Choose the Qt installation directory, or a directory that contains &quot;%1&quot;.</source>
<translation>Wählen Sie das Qt-Installationsverzeichnis oder ein Verzeichnis, das &quot;%1&quot; enthält.</translation>
</message>
<message>
<source>Link with Qt</source>
<translation>Mit Qt verknüpfen</translation>
</message>
<message>
<source>Cancel</source>
<translation>Abbrechen</translation>
@@ -17544,7 +17536,7 @@ Diese Präfixe werden zusätzlich zum Dateinamen beim Wechseln zwischen Header-
</message>
</context>
<context>
<name>QtSupport::Internal::ShowBuildLog</name>
<name>QtSupport</name>
<message>
<source>Debugging Helper Build Log</source>
<translation>Erstellungsprotokoll der Ausgabe-Hilfsbibliothek</translation>
@@ -18401,7 +18393,7 @@ should a repository require SSH-authentication (see documentation on SSH and the
</message>
</context>
<context>
<name>QtSupport::Internal::ExamplesWelcomePage</name>
<name>QtSupport</name>
<message>
<source>Examples</source>
<translation>Beispiele</translation>
@@ -20789,7 +20781,7 @@ Sie können hier eine andere Verbindung wählen, beispielsweise eine serielle Ve
</message>
</context>
<context>
<name>QtSupport::Internal::QtKitConfigWidget</name>
<name>QtSupport</name>
<message>
<source>%1 (invalid)</source>
<translation>%1 (ungültig)</translation>
@@ -21584,7 +21576,7 @@ Entfernt: %4</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtSupportPlugin</name>
<name>QtSupport</name>
<message>
<source>Link with a Qt installation to automatically register Qt versions and kits? To do this later, select Options &gt; Kits &gt; Qt Versions &gt; Link with Qt.</source>
<translation>Mit einer Qt-Installation verknüpfen, um automatisch Qt-Versionen und Kits zu registrieren? Um dies später zu tun, wählen Sie Einstellungen &gt; Kits &gt; Qt-Versionen &gt; Mit Qt verknüpfen.</translation>
@@ -21603,7 +21595,7 @@ Entfernt: %4</translation>
</message>
</context>
<context>
<name>QtSupport::QtVersionFactory</name>
<name>QtSupport</name>
<message>
<source>No factory found for qmake: &quot;%1&quot;</source>
<translation>Es konnte keine Factory für qmake gefunden werden: &quot;%1&quot;</translation>
@@ -25638,7 +25630,7 @@ Weder der Pfad zur Bibliothek noch der Pfad zu den Headerdateien wird zur .pro-D
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<name>QtSupport</name>
<message>
<source>The Qt version is invalid: %1</source>
<extracomment>%1: Reason for being invalid</extracomment>
@@ -28254,7 +28246,7 @@ Bitte installieren Sie ein Android-SDK der API-Version %1 oder neuer.</translati
</message>
</context>
<context>
<name>QtSupport::Internal::CodeGenSettingsPageWidget</name>
<name>QtSupport</name>
<message>
<source>Embedding of the UI Class</source>
<translation>Verwendung der UI-Klasse</translation>
@@ -48885,7 +48877,7 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
</message>
</context>
<context>
<name>QtSupport::BaseQtVersion</name>
<name>QtSupport</name>
<message>
<source>Device type is not supported by Qt version.</source>
<translation>Der Gerätetyp wird von der Qt-Version nicht unterstützt.</translation>
@@ -48904,7 +48896,7 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
</message>
</context>
<context>
<name>QtSupport::QtKitAspect</name>
<name>QtSupport</name>
<message>
<source>Qt version</source>
<translation>Qt-Version</translation>
@@ -49015,7 +49007,7 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
</message>
</context>
<context>
<name>QtSupport::QtQuickCompilerAspect</name>
<name>QtSupport</name>
<message>
<source>Qt Quick Compiler:</source>
<translation>Qt-Quick-Compiler:</translation>
@@ -49026,7 +49018,7 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
</message>
</context>
<context>
<name>QtSupport::Internal::TranslationWizardPage</name>
<name>QtSupport</name>
<message>
<source>&lt;none&gt;</source>
<translation>&lt;leer&gt;</translation>
@@ -50340,7 +50332,7 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
</message>
</context>
<context>
<name>QtSupport::QtVersion</name>
<name>QtSupport</name>
<message>
<source>Qt Version</source>
<translation>Qt-Version</translation>

View File

@@ -28826,7 +28826,7 @@ Nécessite &lt;b&gt;Qt 4.8&lt;/b&gt; ou plus récent.</translation>
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<name>QtSupport</name>
<message>
<source>The Qt version is invalid: %1</source>
<extracomment>%1: Reason for being invalid</extracomment>
@@ -28837,6 +28837,9 @@ Nécessite &lt;b&gt;Qt 4.8&lt;/b&gt; ou plus récent.</translation>
<extracomment>%1: Path to qmake executable</extracomment>
<translation>La commande qmake &quot;%1&quot; n&apos;a pas é trouvée ou n&apos;est pas exécutable.</translation>
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<message>
<source>Qmake does not support build directories below the source directory.</source>
<translation>Qmake ne permet pas d&apos;avoir des répertoires de compilation à un niveau en-dessous des répertoires sources.</translation>
@@ -28855,7 +28858,7 @@ Nécessite &lt;b&gt;Qt 4.8&lt;/b&gt; ou plus récent.</translation>
</message>
</context>
<context>
<name>QtVersion</name>
<name>QtSupport</name>
<message>
<source>No qmake path set</source>
<translation>Chemin de qmake non spécifié</translation>
@@ -38824,7 +38827,7 @@ Ils requièrent Qt 4.7.4 ou supérieur et l&apos;ensemble de composants install
</message>
</context>
<context>
<name>QtSupport::Internal::DebuggingHelper</name>
<name>QtSupport</name>
<message>
<source>Used to extract QML type information from library-based plugins.</source>
<translation>Utilisé pour extraire le type d&apos;information QML pour les bibliothèques basées sur des plug-ins.</translation>
@@ -38887,7 +38890,7 @@ Ils requièrent Qt 4.7.4 ou supérieur et l&apos;ensemble de composants install
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionInfo</name>
<name>QtSupport</name>
<message>
<source>Version name:</source>
<translation>Nom de version :</translation>
@@ -38902,7 +38905,7 @@ Ils requièrent Qt 4.7.4 ou supérieur et l&apos;ensemble de composants install
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>Name</source>
<translation>Nom</translation>
@@ -41407,54 +41410,7 @@ Les version de Qt précédentes ont des limitations lors de la compilation des f
</message>
</context>
<context>
<name>QtSupport::Internal::GettingStartedWelcomePage</name>
<message>
<source>Demos and Examples</source>
<translation type="obsolete">Démonstrations et exemples</translation>
</message>
<message>
<source>Copy Project to writable Location?</source>
<translation type="obsolete">Copier le projet à un emplacement accessible en écriture ?</translation>
</message>
<message>
<source>&lt;p&gt;The project you are about to open is located in the write-protected location:&lt;/p&gt;&lt;blockquote&gt;%1&lt;/blockquote&gt;&lt;p&gt;Please select a writable location below and click &quot;Copy Project and Open&quot; to open a modifiable copy of the project or click &quot;Keep Project and Open&quot; to open the project in location.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; You will not be able to alter or compile your project in the current location.&lt;/p&gt;</source>
<translation type="obsolete">&lt;p&gt;Le projet que vous vous apprêtez à ouvrir se trouve dans un emplacement accessible en lecture seule :&lt;/p&gt;&lt;blockquote&gt;%1&lt;/blockquote&gt;&lt;p&gt;Veuillez sélectionner un emplacement accessible en écriture et cliquez sur &quot;Copier projet et ouvrir&quot; pour ouvrir une copie modifiable. Cliquez sur &quot;Conserver l&apos;emplacement et ouvrir&quot; pour ouvrir le projet à l&apos;emplacement courant.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Note :&lt;/b&gt; vous ne pourrez pas modifier ou compiler votre projet à l&apos;emplacement courant.&lt;/p&gt;</translation>
</message>
<message>
<source>&amp;Location:</source>
<translation type="obsolete">&amp;Emplacement :</translation>
</message>
<message>
<source>&amp;Copy Project and Open</source>
<translation type="obsolete">&amp;Copier le projet et ouvrir</translation>
</message>
<message>
<source>&amp;Keep Project and Open</source>
<translation type="obsolete">&amp;Conserver l&apos;emplacement et ouvrir</translation>
</message>
<message>
<source>Cannot Use Location</source>
<translation type="obsolete">Impossible d&apos;utiliser l&apos;emplacement</translation>
</message>
<message>
<source>The specified location already exists. Please specify a valid location.</source>
<translation type="obsolete">L&apos;emplacement spécifié existe déjà. Veuillez spécifier un autre emplacement.</translation>
</message>
<message>
<source>Cannot Copy Project</source>
<translation type="obsolete">Impossible de copier le projet</translation>
</message>
<message>
<source>Failed to open project</source>
<translation type="obsolete">Échec d&apos;ouverture du projet</translation>
</message>
<message>
<source>Getting Started</source>
<translation>Commencer</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtOptionsPageWidget</name>
<name>QtSupport</name>
<message>
<source>&lt;specify a name&gt;</source>
<translation>&lt;spécifier un nom&gt;</translation>
@@ -41590,7 +41546,7 @@ Les version de Qt précédentes ont des limitations lors de la compilation des f
</message>
</context>
<context>
<name>QtSupport::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>MinGW from %1</source>
<translation type="obsolete">MinGW depuis %1</translation>
@@ -45333,7 +45289,7 @@ Ces chemines sont utilisés en complément au répertoire courant pour basculer
</message>
</context>
<context>
<name>QtSupport::Internal::ShowBuildLog</name>
<name>QtSupport</name>
<message>
<source>Debugging Helper Build Log</source>
<translation>Journal de compilation de l&apos;assistant de debogage</translation>
@@ -47736,7 +47692,7 @@ Les modèles de code C++ et QML ont besoin d&apos;une version de Qt et d&apos;un
</message>
</context>
<context>
<name>QtSupport::Internal::ExamplesWelcomePage</name>
<name>QtSupport</name>
<message>
<source>Examples</source>
<translation>Exemples</translation>
@@ -52855,7 +52811,7 @@ Voulez-vous que Qt Creator le génère pour votre projet ?</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::CustomExecutableConfigurationWidget</name>
<name>QtSupport</name>
<message>
<source>Command:</source>
<translation type="obsolete">Commande :</translation>
@@ -52884,18 +52840,6 @@ Voulez-vous que Qt Creator le génère pour votre projet ?</translation>
<source>Base environment for this run configuration:</source>
<translation type="obsolete">Environnement de base pour cette configuration d&apos;exécution : </translation>
</message>
<message>
<source>Clean Environment</source>
<translation type="obsolete">Environnement de nettoyage</translation>
</message>
<message>
<source>System Environment</source>
<translation type="obsolete">Environnement système</translation>
</message>
<message>
<source>Build Environment</source>
<translation type="obsolete">Environnement de compilation</translation>
</message>
</context>
<context>
<name>CustomExecutableDialog</name>
@@ -52905,7 +52849,7 @@ Voulez-vous que Qt Creator le génère pour votre projet ?</translation>
</message>
</context>
<context>
<name>QtSupport::CustomExecutableRunConfiguration</name>
<name>QtSupport</name>
<message>
<source>No executable.</source>
<translation>Pas d&apos;exécutable.</translation>
@@ -52940,14 +52884,7 @@ n&apos;a pas pu être trouvé dans le dossier.</translation>
</message>
</context>
<context>
<name>QtSupport::CustomExecutableRunConfigurationFactory</name>
<message>
<source>Custom Executable</source>
<translation>Exécutable personnalisé</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtKitConfigWidget</name>
<name>QtSupport</name>
<message>
<source>The Qt library to use for all projects using this kit.&lt;br&gt;A Qt version is required for qmake-based projects and optional when using other build systems.</source>
<translation>La bibliothèque Qt à utiliser pour tous les projets utilisant ce kit.&lt;br&gt;Une version de Qt est nécesaire pour les projets basés sur qmake et est optionnelle pour les autres systèmes de compilation.</translation>
@@ -52956,10 +52893,6 @@ n&apos;a pas pu être trouvé dans le dossier.</translation>
<source>Manage...</source>
<translation>Gérer...</translation>
</message>
<message>
<source>None</source>
<translation>Aucune</translation>
</message>
<message>
<source>Qt version:</source>
<translation>Version de Qt :</translation>
@@ -52970,7 +52903,7 @@ n&apos;a pas pu être trouvé dans le dossier.</translation>
</message>
</context>
<context>
<name>QtSupport::QtKitInformation</name>
<name>QtSupport</name>
<message>
<source>Qt version</source>
<translation>Version de Qt</translation>
@@ -57540,14 +57473,14 @@ Cet assistant vous guidera à travers les étapes essentielles pour déployez un
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionsModel</name>
<name>QtSupport</name>
<message>
<source>All Versions</source>
<translation>Toutes les versions</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtSupportPlugin</name>
<name>QtSupport</name>
<message>
<source>Full path to the host bin directory of the current project&apos;s Qt version.</source>
<translation>Chemin complet vers le répertoire bin d&apos;origine de la version Qt actuelle du projet.</translation>
@@ -57558,7 +57491,7 @@ Cet assistant vous guidera à travers les étapes essentielles pour déployez un
</message>
</context>
<context>
<name>QtSupport::QtVersionFactory</name>
<name>QtSupport</name>
<message>
<source>No factory found for qmake: &apos;%1&apos;</source>
<translation>Aucune fabrique trouvée pour qmake : &quot;%1&quot;</translation>

View File

@@ -7956,7 +7956,7 @@ Sigurno želiš nastaviti?</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::CodeGenSettingsPageWidget</name>
<name>QtSupport</name>
<message>
<source>Embedding of the UI Class</source>
<translation>Ugrađivanje klasa korisničkog sučelja</translation>
@@ -7991,7 +7991,7 @@ Sigurno želiš nastaviti?</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionInfo</name>
<name>QtSupport</name>
<message>
<source>Version name:</source>
<translation>Naziv verzije:</translation>
@@ -8006,7 +8006,7 @@ Sigurno želiš nastaviti?</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>Add...</source>
<translation>Dodaj </translation>
@@ -8021,7 +8021,7 @@ Sigurno želiš nastaviti?</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::ShowBuildLog</name>
<name>QtSupport</name>
<message>
<source>Debugging Helper Build Log</source>
<translation>Zapis gradnje pomoćnika za uklanjanje grešaka</translation>
@@ -33733,6 +33733,9 @@ Neither the path to the library nor the path to its includes is added to the .pr
<source>The build directory needs to be at the same level as the source directory.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QtSupport</name>
<message>
<source>The Qt version is invalid: %1</source>
<extracomment>%1: Reason for being invalid</extracomment>
@@ -37260,7 +37263,7 @@ Saving failed.</source>
</message>
</context>
<context>
<name>QtVersion</name>
<name>QtSupport</name>
<message>
<source>&lt;unknown&gt;</source>
<translation>&lt;nepoznato&gt;</translation>
@@ -37408,188 +37411,15 @@ Saving failed.</source>
</message>
</context>
<context>
<name>QtSupport::QtKitInformation</name>
<message>
<source>Qt version</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The version string of the current Qt version.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The type of the current Qt version.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The mkspec of the current Qt version.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The installation prefix of the current Qt version.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s data.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s header files.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s library files.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s documentation files.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s executable files.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s plugins.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s QML files.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s imports.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s translation files.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s examples.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s demos.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The current Qt version&apos;s default mkspecs (Qt 4).</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The current Qt version&apos;s default mkspec (Qt 5; host system).</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The current Qt version&apos;s default mkspec (Qt 5; target system).</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The current Qt&apos;s qmake version.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>None</source>
<translation>Bez</translation>
</message>
<message>
<source>Name of Qt Version</source>
<translation type="unfinished"></translation>
</message>
<name>QtSupport</name>
<message>
<source>unknown</source>
<translation>nepoznato</translation>
</message>
<message>
<source>Path to the qmake executable</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QtSupport::Internal::ExamplesWelcomePage</name>
<message>
<source>Examples</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Tutorials</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copy Project to writable Location?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;p&gt;The project you are about to open is located in the write-protected location:&lt;/p&gt;&lt;blockquote&gt;%1&lt;/blockquote&gt;&lt;p&gt;Please select a writable location below and click &quot;Copy Project and Open&quot; to open a modifiable copy of the project or click &quot;Keep Project and Open&quot; to open the project in location.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; You will not be able to alter or compile your project in the current location.&lt;/p&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Location:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Copy Project and Open</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Keep Project and Open</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cannot Use Location</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The specified location already exists. Please specify a valid location.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cannot Copy Project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Tags:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Search in Examples...</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Search in Tutorials...</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QtSupport::ProMessageHandler</name>
<message>
<source>[Inexact] </source>
<extracomment>Prefix used for output from the cumulative evaluation of project files.</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtKitConfigWidget</name>
<message>
<source>None</source>
<translation>Bez</translation>
</message>
<message>
<source>Qt version</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The Qt library to use for all projects using this kit.&lt;br&gt;A Qt version is required for qmake-based projects and optional when using other build systems.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>%1 (invalid)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtOptionsPageWidget</name>
<message>
<source>&lt;specify a name&gt;</source>
<translation>&lt;odredi naziv&gt;</translation>
@@ -37610,95 +37440,6 @@ Saving failed.</source>
<source>qmake Location</source>
<translation>qmake mjesto</translation>
</message>
<message>
<source>Remove Invalid Qt Versions</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Do you want to remove all invalid Qt Versions?&lt;br&gt;&lt;ul&gt;&lt;li&gt;%1&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;will be removed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Qt version %1 for %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Display Name is not unique.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No compiler can produce code for this Qt version. Please define one or more compilers for: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Not all possible target environments can be supported due to missing compilers.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The following ABIs are currently not supported: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Debugging Helper Build Log for &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Select a qmake Executable</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Qt Version Already Known</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>This Qt version was already registered as &quot;%1&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Qmake Not Executable</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The qmake executable %1 could not be added: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Incompatible Qt Versions</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The Qt version selected must match the device type.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QtSupport</name>
<message>
<source>Qt Versions</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Qt Class Generation</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtSupportPlugin</name>
<message>
<source>Full path to the host bin directory of the current project&apos;s Qt version.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Full path to the target bin directory of the current project&apos;s Qt version.&lt;br&gt;You probably want %1 instead.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QtSupport::QtVersionFactory</name>
<message>
<source>No factory found for qmake: &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>RemoteLinux</name>

View File

@@ -6065,7 +6065,7 @@ Add, modify, and remove document filters, which determine the documentation set
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionInfo</name>
<name>QtSupport</name>
<message>
<source>Version name:</source>
<translation>:</translation>
@@ -6080,7 +6080,7 @@ Add, modify, and remove document filters, which determine the documentation set
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>Add...</source>
<translation>...</translation>
@@ -6103,7 +6103,7 @@ Add, modify, and remove document filters, which determine the documentation set
</message>
</context>
<context>
<name>QtSupport::Internal::ShowBuildLog</name>
<name>QtSupport</name>
<message>
<source>Debugging Helper Build Log</source>
<translation></translation>
@@ -30909,7 +30909,7 @@ Do you want to save the data first?</source>
</message>
</context>
<context>
<name>QtVersion</name>
<name>QtSupport</name>
<message>
<source>&lt;unknown&gt;</source>
<translation>&lt;&gt;</translation>
@@ -31071,7 +31071,7 @@ Do you want to save the data first?</source>
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<name>QtSupport</name>
<message>
<source>The Qt version is invalid: %1</source>
<extracomment>%1: Reason for being invalid</extracomment>
@@ -31082,6 +31082,9 @@ Do you want to save the data first?</source>
<extracomment>%1: Path to qmake executable</extracomment>
<translation>qmake &quot;%1&quot; </translation>
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<message>
<source>The build directory needs to be at the same level as the source directory.</source>
<translation></translation>
@@ -31140,7 +31143,7 @@ cannot be found in the path.</source>
</message>
</context>
<context>
<name>QtSupport::Internal::ExamplesWelcomePage</name>
<name>QtSupport</name>
<message>
<source>Examples</source>
<translation></translation>
@@ -31191,121 +31194,18 @@ cannot be found in the path.</source>
</message>
</context>
<context>
<name>QtSupport::Internal::QtKitConfigWidget</name>
<message>
<source>None</source>
<translation></translation>
</message>
<name>QtSupport</name>
<message>
<source>Qt version:</source>
<translation>Qt :</translation>
</message>
<message>
<source>The Qt library to use for all projects using this kit.&lt;br&gt;A Qt version is required for qmake-based projects and optional when using other build systems.</source>
<translation>使 Qt &lt;br&gt;Qt qmake 使</translation>
</message>
<message>
<source>%1 (invalid)</source>
<translation>%1 ()</translation>
</message>
</context>
<context>
<name>QtSupport::QtKitInformation</name>
<message>
<source>Qt version</source>
<translation>Qt </translation>
</message>
<message>
<source>The version string of the current Qt version.</source>
<translation> Qt </translation>
</message>
<message>
<source>The type of the current Qt version.</source>
<translation> Qt </translation>
</message>
<message>
<source>The mkspec of the current Qt version.</source>
<translation> Qt mkspec </translation>
</message>
<message>
<source>The installation prefix of the current Qt version.</source>
<translation> Qt </translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s data.</source>
<translation> Qt </translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s header files.</source>
<translation> Qt </translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s library files.</source>
<translation> Qt </translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s documentation files.</source>
<translation> Qt </translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s executable files.</source>
<translation> Qt </translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s plugins.</source>
<translation> Qt </translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s imports.</source>
<translation> Qt QML </translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s translation files.</source>
<translation> Qt </translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s examples.</source>
<translation> Qt </translation>
</message>
<message>
<source>The installation location of the current Qt version&apos;s demos.</source>
<translation> Qt </translation>
</message>
<message>
<source>The current Qt version&apos;s default mkspecs (Qt 4).</source>
<translation> Qt mkspec (Qt 4) </translation>
</message>
<message>
<source>The current Qt version&apos;s default mkspec (Qt 5; host system)</source>
<translation> Qt mkspec (Qt 5) </translation>
</message>
<message>
<source>The current Qt version&apos;s default mkspec (Qt 5; target system).</source>
<translation> Qt mkspec (Qt 5) </translation>
</message>
<message>
<source>The current Qt&apos;s qmake version.</source>
<translation> Qt qmake </translation>
</message>
<message>
<source>None</source>
<translation></translation>
</message>
<message>
<source>Name of Qt Version</source>
<translation>Qt </translation>
</message>
<message>
<source>unknown</source>
<translation></translation>
</message>
<message>
<source>Path to the qmake executable</source>
<translation>qmake </translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtOptionsPageWidget</name>
<name>QtSupport</name>
<message>
<source>&lt;specify a name&gt;</source>
<translation>&lt;&gt;</translation>
@@ -31416,7 +31316,7 @@ cannot be found in the path.</source>
</message>
</context>
<context>
<name>QtSupport::Internal::QtSupportPlugin</name>
<name>QtSupport</name>
<message>
<source>Full path to the host bin directory of the current project&apos;s Qt version.</source>
<translation> Qt bin </translation>
@@ -31427,7 +31327,7 @@ cannot be found in the path.</source>
</message>
</context>
<context>
<name>QtSupport::QtVersionFactory</name>
<name>QtSupport</name>
<message>
<source>No factory found for qmake: &quot;%1&quot;</source>
<translation>qmake : &quot;%1&quot;</translation>
@@ -38022,7 +37922,7 @@ the program.</source>
</message>
</context>
<context>
<name>QtSupport::Internal::CodeGenSettingsPageWidget</name>
<name>QtSupport</name>
<message>
<source>Form</source>
<translation></translation>
@@ -45423,7 +45323,7 @@ Android パッケージソースディレクトリのファイルはビルドデ
</message>
</context>
<context>
<name>QtSupport::ProMessageHandler</name>
<name>QtSupport</name>
<message>
<source>[Inexact] </source>
<translation>[] </translation>
@@ -55820,7 +55720,7 @@ Stepping into the module or setting breakpoints by file and line is expected to
</message>
</context>
<context>
<name>QtSupport::BaseQtVersion</name>
<name>QtSupport</name>
<message>
<source>Device type is not supported by Qt version.</source>
<translation>Qt </translation>
@@ -55835,7 +55735,7 @@ Stepping into the module or setting breakpoints by file and line is expected to
</message>
</context>
<context>
<name>QtSupport::QtKitAspect</name>
<name>QtSupport</name>
<message>
<source>Qt version</source>
<translation>Qt </translation>
@@ -55934,21 +55834,11 @@ Stepping into the module or setting breakpoints by file and line is expected to
</message>
</context>
<context>
<name>QtSupport::QtQuickCompilerAspect</name>
<name>QtSupport</name>
<message>
<source>Disables QML debugging. QML profiling will still work.</source>
<translation>QML QML </translation>
</message>
</context>
<context>
<name>QtSupport::QtKitAspectWidget</name>
<message>
<source>%1 (invalid)</source>
<translation>%1 ()</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::TranslationWizardPage</name>
<message>
<source>Language:</source>
<translation>:</translation>

View File

@@ -12185,7 +12185,7 @@ Dla projektów CMake, upewnij się, że zmienna QML_IMPORT_PATH jest obecna w CM
</message>
</context>
<context>
<name>QtVersion</name>
<name>QtSupport</name>
<message>
<source>No qmake path set</source>
<translation>Nie ustawiono ścieżki do qmake</translation>
@@ -12595,7 +12595,7 @@ które można ustawić poniżej.</translation>
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<name>QtSupport</name>
<message>
<source>The Qt version is invalid: %1</source>
<extracomment>%1: Reason for being invalid</extracomment>
@@ -12606,6 +12606,9 @@ które można ustawić poniżej.</translation>
<extracomment>%1: Path to qmake executable</extracomment>
<translation>Komenda qmake &quot;%1&quot; nie została odnaleziona lub nie jest plikiem wykonywalnym.</translation>
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<message>
<source>The build directory needs to be at the same level as the source directory.</source>
<translation>Katalog przeznaczony do budowania musi być na tym samym poziomie co katalog ze źródłami.</translation>
@@ -16703,7 +16706,7 @@ if (a &amp;&amp;
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionInfo</name>
<name>QtSupport</name>
<message>
<source>Version name:</source>
<translation>Nazwa wersji:</translation>
@@ -16718,7 +16721,7 @@ if (a &amp;&amp;
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>Remove</source>
<translation>Usuń</translation>
@@ -17946,7 +17949,7 @@ Do you want to save the data first?</source>
</message>
</context>
<context>
<name>QtSupport::Internal::QtOptionsPageWidget</name>
<name>QtSupport</name>
<message>
<source>&lt;specify a name&gt;</source>
<translation>&lt;Podaj nazwę&gt;</translation>
@@ -20104,7 +20107,7 @@ Przedrostki te, w dodatku do nazwy bieżącego pliku, używane są do przełącz
</message>
</context>
<context>
<name>QtSupport::Internal::ShowBuildLog</name>
<name>QtSupport</name>
<message>
<source>Debugging Helper Build Log</source>
<translation>Log kompilacji programów pomocniczych debuggera</translation>
@@ -22820,7 +22823,7 @@ poinstruuje Qt Creatora o URI.</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::ExamplesWelcomePage</name>
<name>QtSupport</name>
<message>
<source>Examples</source>
<translation>Przykłady</translation>
@@ -24088,15 +24091,11 @@ You can choose another communication channel here, such as a serial line or cust
</message>
</context>
<context>
<name>QtSupport::Internal::QtKitConfigWidget</name>
<name>QtSupport</name>
<message>
<source>The Qt library to use for all projects using this kit.&lt;br&gt;A Qt version is required for qmake-based projects and optional when using other build systems.</source>
<translation>Biblioteka Qt, która zostanie użyta do budowania wszystkich projektów dla tego zestawu narzędzi.&lt;br&gt;Wersja Qt jest wymagana dla projektów bazujących na qmake i opcjonalna dla innych systemów budowania.</translation>
</message>
<message>
<source>None</source>
<translation>Brak</translation>
</message>
<message>
<source>Qt version:</source>
<translation>Wersja Qt:</translation>
@@ -24107,7 +24106,7 @@ You can choose another communication channel here, such as a serial line or cust
</message>
</context>
<context>
<name>QtSupport::QtKitInformation</name>
<name>QtSupport</name>
<message>
<source>Qt version</source>
<translation>Wersja Qt</translation>
@@ -26828,7 +26827,7 @@ Zdalny: %4</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtSupportPlugin</name>
<name>QtSupport</name>
<message>
<source>Full path to the host bin directory of the current project&apos;s Qt version.</source>
<translation>Pełna ścieżka do źródłowego podkatalogu &quot;bin&quot; w katalogu instalacji bieżącej wersji Qt.</translation>
@@ -26839,7 +26838,7 @@ Zdalny: %4</translation>
</message>
</context>
<context>
<name>QtSupport::QtVersionFactory</name>
<name>QtSupport</name>
<message>
<source>No factory found for qmake: &quot;%1&quot;</source>
<translation>Brak fabryki dla qmake: &quot;%1&quot;</translation>
@@ -30421,7 +30420,7 @@ Czy kontynuować instalację?</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::CodeGenSettingsPageWidget</name>
<name>QtSupport</name>
<message>
<source>Form</source>
<translation>Formularz</translation>
@@ -38863,7 +38862,7 @@ Czy nadpisać go?</translation>
</message>
</context>
<context>
<name>QtSupport::ProMessageHandler</name>
<name>QtSupport</name>
<message>
<source>[Inexact] </source>
<translation>[niedokładny] </translation>
@@ -43486,7 +43485,7 @@ Termin wygaśnięcia: %3</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::ExamplesPageWidget</name>
<name>QtSupport</name>
<message>
<source>Search in Examples...</source>
<translation>Szukaj w przykładach...</translation>

View File

@@ -38662,7 +38662,7 @@ Neither the path to the library nor the path to its includes is added to the .pr
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<name>QtSupport</name>
<message>
<source>The Qt version is invalid: %1</source>
<extracomment>%1: Reason for being invalid</extracomment>
@@ -44218,7 +44218,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::BaseQtVersion</name>
<name>QtSupport</name>
<message>
<source>Device type is not supported by Qt version.</source>
<translation>Устройства этого типа не поддерживается профилем Qt.</translation>
@@ -44237,7 +44237,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::CodeGenSettingsPageWidget</name>
<name>QtSupport</name>
<message>
<source>Embedding of the UI Class</source>
<translation>Встраивание класса UI</translation>
@@ -44272,7 +44272,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::ExamplesWelcomePage</name>
<name>QtSupport</name>
<message>
<source>Examples</source>
<translation>Примеры</translation>
@@ -44323,14 +44323,11 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::QtKitConfigWidget</name>
<name>QtSupport</name>
<message>
<source>%1 (invalid)</source>
<translation>%1 (неверный)</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtOptionsPageWidget</name>
<message>
<source>&lt;specify a name&gt;</source>
<translation>&lt;укажите имя&gt;</translation>
@@ -44359,10 +44356,6 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
<source>All</source>
<translation>Все</translation>
</message>
<message>
<source>None</source>
<translation>Ничего</translation>
</message>
<message>
<source>Do you want to remove all invalid Qt Versions?&lt;br&gt;&lt;ul&gt;&lt;li&gt;%1&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;will be removed.</source>
<translation>Обнаружены неверные профили Qt:&lt;br&gt;&lt;ul&gt;&lt;li&gt;%1&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;Удалить?</translation>
@@ -44473,15 +44466,11 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::QtSupportPlugin</name>
<name>QtSupport</name>
<message>
<source>Link with a Qt installation to automatically register Qt versions and kits? To do this later, select Options &gt; Kits &gt; Qt Versions &gt; Link with Qt.</source>
<translation>Связать с Qt для автоматической регистрации профилей Qt и комплектов? Это можно сделать позже в меню Параметры &gt; Комплекты &gt; Профили Qt &gt; Связать с Qt.</translation>
</message>
<message>
<source>Link with Qt</source>
<translation>Связать с Qt</translation>
</message>
<message>
<source>Full path to the host bin directory of the current project&apos;s Qt version.</source>
<translation>Полный путь на хосте к каталогу bin профиля Qt, используемого в текущем проекте.</translation>
@@ -44492,7 +44481,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionInfo</name>
<name>QtSupport</name>
<message>
<source>Version name:</source>
<translation>Название профиля:</translation>
@@ -44507,7 +44496,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>Remove</source>
<translation>Удалить</translation>
@@ -44524,20 +44513,16 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
<source>Register documentation:</source>
<translation>Регистрация документации:</translation>
</message>
<message>
<source>Link with Qt...</source>
<translation>Связать с Qt...</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::ShowBuildLog</name>
<name>QtSupport</name>
<message>
<source>Debugging Helper Build Log</source>
<translation>Журнал сборки помощника отладчика</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::TranslationWizardPage</name>
<name>QtSupport</name>
<message>
<source>If you plan to provide translations for your project&apos;s user interface via the Qt Linguist tool, please select a language here. A corresponding translation (.ts) file will be generated for you.</source>
<translation>Укажите здесь язык, если планируете обеспечить проект переводами интерфейса утилитой Qt Linguist. Будет создан соответствующий файл перевода (.ts).</translation>
@@ -44556,7 +44541,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::QmlDebuggingAspect</name>
<name>QtSupport</name>
<message>
<source>QML debugging and profiling:</source>
<translation>Отладка и профилирование QML:</translation>
@@ -44567,7 +44552,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::QtKitAspect</name>
<name>QtSupport</name>
<message>
<source>Qt version</source>
<translation>Профиль Qt</translation>
@@ -44670,14 +44655,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::QtKitAspectWidget</name>
<message>
<source>None</source>
<translation>Нет</translation>
</message>
</context>
<context>
<name>QtSupport::QtQuickCompilerAspect</name>
<name>QtSupport</name>
<message>
<source>Qt Quick Compiler:</source>
<translation>Компилятор Qt Quick:</translation>
@@ -44688,7 +44666,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::QtVersion</name>
<name>QtSupport</name>
<message>
<source>Qt Version</source>
<translation>Профиль Qt</translation>
@@ -44699,7 +44677,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::QtVersionFactory</name>
<name>QtSupport</name>
<message>
<source>No factory found for qmake: &quot;%1&quot;</source>
<translation>Не удалось найти фабрику для qmake: «%1»</translation>
@@ -44720,7 +44698,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtVersion</name>
<name>QtSupport</name>
<message>
<source>No qmake path set</source>
<translation>Путь к qmake не указан</translation>

View File

@@ -17998,7 +17998,7 @@ Projekte programov QML izvede pregledovalnik QML in jih ni potrebno zgraditi.</t
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<name>QtSupport</name>
<message>
<source>The Qt version is invalid: %1</source>
<extracomment>%1: Reason for being invalid
@@ -18011,6 +18011,9 @@ Projekte programov QML izvede pregledovalnik QML in jih ni potrebno zgraditi.</t
</extracomment>
<translation>Ukaza qmake »%1« ni bilo moč najti ali pa ni izvedljiv.</translation>
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<message>
<source>Qmake does not support build directories below the source directory.</source>
<translation>QMake ne podpira map za gradnjo v mapi z izvorno kodo.</translation>
@@ -18021,7 +18024,7 @@ Projekte programov QML izvede pregledovalnik QML in jih ni potrebno zgraditi.</t
</message>
</context>
<context>
<name>QtVersion</name>
<name>QtSupport</name>
<message>
<source>No qmake path set</source>
<translation>Nastavljene ni nobene poti do qmake</translation>
@@ -20525,7 +20528,7 @@ Potreben je Qt 4.7.4 ali novejši in nabor komponent za vašo različico Qt.</tr
</message>
</context>
<context>
<name>QtSupport::Internal::DebuggingHelper</name>
<name>QtSupport</name>
<message>
<source>Used to extract QML type information from library-based plugins.</source>
<translation>Uporabljeno za ugotovitev podatkov o vrsti QML iz vstavkov na osnovi knjižnic.</translation>
@@ -20587,7 +20590,7 @@ Potreben je Qt 4.7.4 ali novejši in nabor komponent za vašo različico Qt.</tr
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionInfo</name>
<name>QtSupport</name>
<message>
<source>Version name:</source>
<translation>Ime različice:</translation>
@@ -20604,7 +20607,7 @@ Potreben je Qt 4.7.4 ali novejši in nabor komponent za vašo različico Qt.</tr
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>Name</source>
<translation>Ime</translation>
@@ -27593,7 +27596,7 @@ Program lahko zgradite in ga razmestite na namizju ali na mobilnih platformah. N
</message>
</context>
<context>
<name>QtSupport::Internal::GettingStartedWelcomePage</name>
<name>QtSupport</name>
<message>
<source>Copy Project to writable Location?</source>
<translation>Ali želite skopirati projekt na zapisljivo mesto?</translation>
@@ -27728,7 +27731,7 @@ Razlog: %2</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtOptionsPageWidget</name>
<name>QtSupport</name>
<message>
<source>&lt;specify a name&gt;</source>
<translation>&lt;vnesite ime&gt;</translation>
@@ -27817,7 +27820,7 @@ Razlog: %2</translation>
</message>
</context>
<context>
<name>QtSupport::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>MinGW from %1</source>
<translation>MinGW iz %1</translation>

View File

@@ -20239,7 +20239,7 @@ Reason: %2</source>
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<name>QtSuppport</name>
<message>
<source>The Qt version is invalid: %1</source>
<extracomment>%1: Reason for being invalid</extracomment>
@@ -20250,6 +20250,9 @@ Reason: %2</source>
<extracomment>%1: Path to qmake executable</extracomment>
<translation>Команда qmake &quot;%1&quot; не знайдено або вона не є виконуваним модулем.</translation>
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<message>
<source>Qmake does not support build directories below the source directory.</source>
<translation>Qmake не підтримує тек збірки нижче теки з кодом.</translation>
@@ -20444,7 +20447,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::DebuggingHelper</name>
<name>QtSupport</name>
<message>
<source>Used to extract QML type information from library-based plugins.</source>
<translation type="vanished">Використовується для отримання інформації про типи QML з додатків-бібліотек.</translation>
@@ -20495,14 +20498,14 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::GettingStartedWelcomePage</name>
<name>QtSupport</name>
<message>
<source>Getting Started</source>
<translation type="vanished">Починаючи роботу</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtOptionsPageWidget</name>
<name>QtSupport</name>
<message>
<source>&lt;specify a name&gt;</source>
<translation>&lt;вкажіть назву&gt;</translation>
@@ -20563,14 +20566,6 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
<source>Remove Invalid Qt Versions</source>
<translation>Видалити неправильні версії Qt</translation>
</message>
<message>
<source>Name</source>
<translation>Назва</translation>
</message>
<message>
<source>qmake Location</source>
<translation>Розташування qmake</translation>
</message>
<message>
<source>Type</source>
<translation>Тип</translation>
@@ -20626,7 +20621,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionInfo</name>
<name>QtSupport</name>
<message>
<source>Version name:</source>
<translation>Назва версії:</translation>
@@ -20641,7 +20636,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>Name</source>
<translation type="vanished">Назва</translation>
@@ -20668,7 +20663,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
</message>
</context>
<context>
<name>QtVersion</name>
<name>QtSupport</name>
<message>
<source>&lt;unknown&gt;</source>
<translation>&lt;невідома&gt;</translation>
@@ -20808,30 +20803,6 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
<comment>Qt Version is used for embedded Linux development</comment>
<translation>Вбудований Linux</translation>
</message>
<message>
<source>Maemo</source>
<translation type="vanished">Maemo</translation>
</message>
<message>
<source>Qt Simulator</source>
<translation type="vanished">Симулятор Qt</translation>
</message>
<message>
<source>Qt for WinCE</source>
<translation type="vanished">Qt для WinCE</translation>
</message>
<message>
<source>Harmattan </source>
<translation type="vanished">Harmattan </translation>
</message>
<message>
<source>Embedded Linux</source>
<translation type="vanished">Вбудований Linux</translation>
</message>
<message>
<source>Desktop</source>
<translation type="vanished">Стаціонарний комп&apos;ютер</translation>
</message>
</context>
<context>
<name>RangeDetails</name>
@@ -26080,7 +26051,7 @@ These prefixes are used in addition to current file name on Switch Header/Source
</message>
</context>
<context>
<name>QtSupport::Internal::ShowBuildLog</name>
<name>QtSupport</name>
<message>
<source>Debugging Helper Build Log</source>
<translation>Журнал збирання помічника зневадження</translation>
@@ -28205,7 +28176,7 @@ Do you want to kill it?</source>
</message>
</context>
<context>
<name>QtSupport::Internal::ExamplesWelcomePage</name>
<name>QtSupport</name>
<message>
<source>Examples</source>
<translation>Приклади</translation>
@@ -33587,7 +33558,7 @@ Do you want to retry?</source>
</message>
</context>
<context>
<name>QtSupport::Internal::CustomExecutableConfigurationWidget</name>
<name>QtSupport</name>
<message>
<source>Executable:</source>
<translation>Виконуваний модуль:</translation>
@@ -33613,7 +33584,7 @@ Do you want to retry?</source>
</message>
</context>
<context>
<name>QtSupport::CustomExecutableRunConfiguration</name>
<name>QtSupport</name>
<message>
<source>No executable.</source>
<translation>Немає виконуваного модуля.</translation>
@@ -33626,24 +33597,20 @@ cannot be found in the path.</source>
%1
в стандартних шляхах.</translation>
</message>
<message>
<source>Custom Executable</source>
<translation>Користувацький виконуваний модуль</translation>
</message>
<message>
<source>Run %1</source>
<translation>Запустити %1</translation>
</message>
</context>
<context>
<name>QtSupport::CustomExecutableRunConfigurationFactory</name>
<name>QtSupport</name>
<message>
<source>Custom Executable</source>
<translation>Користувацький виконуваний модуль</translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtKitConfigWidget</name>
<name>QtSupport</name>
<message>
<source>The Qt library to use for all projects using this kit.&lt;br&gt;A Qt version is required for qmake-based projects and optional when using other build systems.</source>
<translation>Бібліотека Qt, що буде вживатись усіма проектами, що використовують цей комплект.&lt;br&gt;Версія Qt необхідна для проектів на базі qmake та опціональна для інших систем збірки.</translation>
@@ -33652,10 +33619,6 @@ cannot be found in the path.</source>
<source>Manage...</source>
<translation type="vanished">Управління...</translation>
</message>
<message>
<source>None</source>
<translation>Немає</translation>
</message>
<message>
<source>Qt version:</source>
<translation>Версія Qt:</translation>
@@ -33666,7 +33629,7 @@ cannot be found in the path.</source>
</message>
</context>
<context>
<name>QtSupport::QtKitInformation</name>
<name>QtSupport</name>
<message>
<source>The version string of the current Qt version.</source>
<translation>Рядок версії поточної Qt.</translation>
@@ -36326,7 +36289,7 @@ Remote: %4</source>
</message>
</context>
<context>
<name>QtSupport::Internal::QtSupportPlugin</name>
<name>QtSupport</name>
<message>
<source>Full path to the host bin directory of the current project&apos;s Qt version.</source>
<translation>Повний шлях до host-теки bin версії Qt поточного проекту.</translation>
@@ -36341,7 +36304,7 @@ Remote: %4</source>
</message>
</context>
<context>
<name>QtSupport::QtVersionFactory</name>
<name>QtSupport</name>
<message>
<source>No factory found for qmake: &apos;%1&apos;</source>
<translation type="vanished">Не знайдено фабрику для qmake: &apos;%1&apos;</translation>
@@ -45278,7 +45241,7 @@ Deploying local Qt libraries is incompatible with Android 5.</source>
</message>
</context>
<context>
<name>QtSupport::Internal::CodeGenSettingsPageWidget</name>
<name>QtSupport</name>
<message>
<source>Form</source>
<translation>Форма</translation>
@@ -54041,7 +54004,7 @@ references to elements in other files, loops, and so on.)</source>
</message>
</context>
<context>
<name>QtSupport::ProMessageHandler</name>
<name>QtSupport</name>
<message>
<source>[Inexact] </source>
<translation>[Неточно] </translation>

View File

@@ -25682,7 +25682,7 @@ Requires &lt;b&gt;Qt 4.7.4&lt;/b&gt; or newer.</source>
</message>
</context>
<context>
<name>QtVersion</name>
<name>QtSupport</name>
<message>
<source>No qmake path set</source>
<translation>qmake路径</translation>
@@ -26742,7 +26742,7 @@ with a password, which you can enter below.</source>
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<name>QtSupport</name>
<message>
<source>The Qt version is invalid: %1</source>
<extracomment>%1: Reason for being invalid</extracomment>
@@ -26753,6 +26753,9 @@ with a password, which you can enter below.</source>
<extracomment>%1: Path to qmake executable</extracomment>
<translation>qmake命令 &quot;%1&quot; </translation>
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<message>
<source>Qmake does not support build directories below the source directory.</source>
<translation>Qmake不支持源文件目录下的构建目录</translation>
@@ -36355,7 +36358,7 @@ Requires Qt 4.7.4 or newer, and the component set installed for your Qt version.
</message>
</context>
<context>
<name>QtSupport::Internal::DebuggingHelper</name>
<name>QtSupport</name>
<message>
<source>Used to extract QML type information from library-based plugins.</source>
<translation>QML的类型信息</translation>
@@ -36414,7 +36417,7 @@ Requires Qt 4.7.4 or newer, and the component set installed for your Qt version.
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionInfo</name>
<name>QtSupport</name>
<message>
<source>Version name:</source>
<translation>:</translation>
@@ -36429,7 +36432,7 @@ Requires Qt 4.7.4 or newer, and the component set installed for your Qt version.
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>Name</source>
<translation></translation>
@@ -38097,54 +38100,11 @@ Do you want to continue?</source>
</message>
</context>
<context>
<name>QtSupport::Internal::GettingStartedWelcomePage</name>
<message>
<source>Demos and Examples</source>
<translation type="obsolete"></translation>
</message>
<message>
<source>Copy Project to writable Location?</source>
<translation type="obsolete">?</translation>
</message>
<message>
<source>&lt;p&gt;The project you are about to open is located in the write-protected location:&lt;/p&gt;&lt;blockquote&gt;%1&lt;/blockquote&gt;&lt;p&gt;Please select a writable location below and click &quot;Copy Project and Open&quot; to open a modifiable copy of the project or click &quot;Keep Project and Open&quot; to open the project in location.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; You will not be able to alter or compile your project in the current location.&lt;/p&gt;</source>
<translation type="obsolete">&lt;p&gt;:&lt;/p&gt;&lt;blockquote&gt;%1&lt;/blockquote&gt;&lt;p&gt;&quot;&quot; &quot;&quot; .&lt;/p&gt;&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; .&lt;/p&gt;</translation>
</message>
<message>
<source>&amp;Location:</source>
<translation type="obsolete">(&amp;L):</translation>
</message>
<message>
<source>&amp;Copy Project and Open</source>
<translation type="obsolete">(&amp;C)</translation>
</message>
<message>
<source>&amp;Keep Project and Open</source>
<translation type="obsolete">(&amp;K)</translation>
</message>
<message>
<source>Cannot Use Location</source>
<translation type="obsolete"> </translation>
</message>
<message>
<source>The specified location already exists. Please specify a valid location.</source>
<translation type="obsolete"></translation>
</message>
<message>
<source>Cannot Copy Project</source>
<translation type="obsolete"></translation>
</message>
<message>
<source>Failed to open project</source>
<translation type="obsolete"></translation>
</message>
<name>QtSupport</name>
<message>
<source>Getting Started</source>
<translation></translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtOptionsPageWidget</name>
<message>
<source>&lt;specify a name&gt;</source>
<translation>&lt;&gt;</translation>
@@ -38260,7 +38220,7 @@ Do you want to continue?</source>
</message>
</context>
<context>
<name>QtSupport::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>MinGW from %1</source>
<translation type="obsolete">MinGW %1</translation>
@@ -43717,7 +43677,7 @@ p, li { white-space: pre-wrap; }
</message>
</context>
<context>
<name>QtSupport::Internal::ShowBuildLog</name>
<name>QtSupport</name>
<message>
<source>Debugging Helper Build Log</source>
<translation></translation>
@@ -49184,7 +49144,7 @@ references to elements in other files, loops, etc.)</source>
</message>
</context>
<context>
<name>QtSupport::Internal::CustomExecutableConfigurationWidget</name>
<name>QtSupport</name>
<message>
<source>Command:</source>
<translation>:</translation>
@@ -49213,14 +49173,6 @@ references to elements in other files, loops, etc.)</source>
<source>Clean Environment</source>
<translation></translation>
</message>
<message>
<source>System Environment</source>
<translation></translation>
</message>
<message>
<source>Build Environment</source>
<translation></translation>
</message>
</context>
<context>
<name>CustomExecutableDialog</name>
@@ -49230,7 +49182,7 @@ references to elements in other files, loops, etc.)</source>
</message>
</context>
<context>
<name>QtSupport::CustomExecutableRunConfiguration</name>
<name>QtSupport</name>
<message>
<source>No executable.</source>
<translation></translation>
@@ -49243,10 +49195,6 @@ cannot be found in the path.</source>
%1
</translation>
</message>
<message>
<source>Clean Environment</source>
<translation></translation>
</message>
<message>
<source>System Environment</source>
<translation></translation>
@@ -49255,24 +49203,14 @@ cannot be found in the path.</source>
<source>Build Environment</source>
<translation></translation>
</message>
<message>
<source>Custom Executable</source>
<translation></translation>
</message>
<message>
<source>Run %1</source>
<translation>%1 </translation>
</message>
</context>
<context>
<name>QtSupport::CustomExecutableRunConfigurationFactory</name>
<message>
<source>Custom Executable</source>
<translation></translation>
</message>
</context>
<context>
<name>QtSupport::Internal::ExamplesWelcomePage</name>
<message>
<source>Examples</source>
<translation></translation>
@@ -49319,7 +49257,7 @@ cannot be found in the path.</source>
</message>
</context>
<context>
<name>QtSupport::Internal::QtKitConfigWidget</name>
<name>QtSupport</name>
<message>
<source>The Qt library to use for all projects using this kit.&lt;br&gt;A Qt version is required for qmake-based projects and optional when using other build systems.</source>
<translation>使使Qt库&lt;br&gt; qmake的项目必需一个Qt版本使</translation>
@@ -49328,17 +49266,13 @@ cannot be found in the path.</source>
<source>Manage...</source>
<translation>...</translation>
</message>
<message>
<source>None</source>
<translation></translation>
</message>
<message>
<source>Qt version:</source>
<translation>Qt :</translation>
</message>
</context>
<context>
<name>QtSupport::QtKitInformation</name>
<name>QtSupport</name>
<message>
<source>Qt version</source>
<translation>Qt </translation>

View File

@@ -14721,7 +14721,7 @@ Requires &lt;b&gt;Qt 4.7.4&lt;/b&gt; or newer.</source>
</message>
</context>
<context>
<name>QtVersion</name>
<name>QtSupport</name>
<message>
<source>No qmake path set</source>
<translation> qmake </translation>
@@ -15173,7 +15173,7 @@ with a password, which you can enter below.</source>
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<name>QtSupport</name>
<message>
<source>The Qt version is invalid: %1</source>
<extracomment>%1: Reason for being invalid</extracomment>
@@ -15184,6 +15184,9 @@ with a password, which you can enter below.</source>
<extracomment>%1: Path to qmake executable</extracomment>
<translation> qmake &quot;%1&quot;</translation>
</message>
</context>
<context>
<name>QmakeProjectManager::QtVersion</name>
<message>
<source>Qmake does not support build directories below the source directory.</source>
<translation>Qmake 使</translation>
@@ -22427,7 +22430,7 @@ if (a &amp;&amp;
</message>
</context>
<context>
<name>QtSupport::Internal::DebuggingHelper</name>
<name>QtSupport</name>
<message>
<source>Used to extract QML type information from library-based plugins.</source>
<translation> QML </translation>
@@ -22482,7 +22485,7 @@ if (a &amp;&amp;
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionInfo</name>
<name>QtSupport</name>
<message>
<source>Version name:</source>
<translation></translation>
@@ -22497,7 +22500,7 @@ if (a &amp;&amp;
</message>
</context>
<context>
<name>QtSupport::Internal::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>Name</source>
<translation></translation>
@@ -23798,14 +23801,14 @@ Do you want to retry?</source>
</message>
</context>
<context>
<name>QtSupport::Internal::GettingStartedWelcomePage</name>
<name>QtSupport</name>
<message>
<source>Getting Started</source>
<translation></translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtOptionsPageWidget</name>
<name>QtSupport</name>
<message>
<source>&lt;specify a name&gt;</source>
<translation>&lt;&gt;</translation>
@@ -23921,7 +23924,7 @@ Do you want to retry?</source>
</message>
</context>
<context>
<name>QtSupport::QtVersionManager</name>
<name>QtSupport</name>
<message>
<source>MinGW from %1</source>
<translation type="obsolete">MinGW %1</translation>
@@ -27421,7 +27424,7 @@ p, li { white-space: pre-wrap; }
</message>
</context>
<context>
<name>QtSupport::Internal::ShowBuildLog</name>
<name>QtSupport</name>
<message>
<source>Debugging Helper Build Log</source>
<translation></translation>
@@ -29538,7 +29541,7 @@ references to elements in other files, loops, etc.)</source>
</message>
</context>
<context>
<name>QtSupport::Internal::ExamplesWelcomePage</name>
<name>QtSupport</name>
<message>
<source>Examples</source>
<translation></translation>
@@ -33653,7 +33656,7 @@ Do you want to retry?</source>
</message>
</context>
<context>
<name>QtSupport::Internal::CustomExecutableConfigurationWidget</name>
<name>QtSupport</name>
<message>
<source>Command:</source>
<translation type="unfinished"></translation>
@@ -33682,14 +33685,6 @@ Do you want to retry?</source>
<source>Clean Environment</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>System Environment</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Build Environment</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CustomExecutableDialog</name>
@@ -33699,21 +33694,7 @@ Do you want to retry?</source>
</message>
</context>
<context>
<name>QtSupport::CustomExecutableRunConfiguration</name>
<message>
<source>No executable.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The executable
%1
cannot be found in the path.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Clean Environment</source>
<translation type="unfinished"></translation>
</message>
<name>QtSupport</name>
<message>
<source>System Environment</source>
<translation type="unfinished"></translation>
@@ -33726,20 +33707,6 @@ cannot be found in the path.</source>
<source>Custom Executable</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Run %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QtSupport::CustomExecutableRunConfigurationFactory</name>
<message>
<source>Custom Executable</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QtSupport::Internal::QtKitConfigWidget</name>
<message>
<source>The Qt library to use for all projects using this kit.&lt;br&gt;A Qt version is required for qmake-based projects and optional when using other build systems.</source>
<translation type="unfinished"></translation>
@@ -33757,17 +33724,6 @@ cannot be found in the path.</source>
<translation type="unfinished">Qt </translation>
</message>
</context>
<context>
<name>QtSupport::QtKitInformation</name>
<message>
<source>Qt version</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>None</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResourceEditor::Internal::QrcEditor</name>
<message>

View File

@@ -24,27 +24,29 @@
****************************************************************************/
#include "baseqtversion.h"
#include "profilereader.h"
#include "qtconfigwidget.h"
#include "qtkitinformation.h"
#include "qtsupportconstants.h"
#include "qtsupporttr.h"
#include "qtversionfactory.h"
#include "qtversionmanager.h"
#include "profilereader.h"
#include <coreplugin/icore.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <proparser/qmakevfs.h>
#include <projectexplorer/deployablefile.h>
#include <projectexplorer/deploymentdata.h>
#include <projectexplorer/toolchainmanager.h>
#include <projectexplorer/toolchain.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/headerpath.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/session.h>
#include <projectexplorer/target.h>
#include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtsupportconstants.h>
#include <projectexplorer/toolchain.h>
#include <projectexplorer/toolchainmanager.h>
#include <utils/algorithm.h>
#include <utils/buildablehelperlibrary.h>
@@ -351,14 +353,14 @@ QString QtVersion::defaultUnexpandedDisplayName() const
{
QString location;
if (qmakeFilePath().isEmpty()) {
location = QCoreApplication::translate("QtVersion", "<unknown>");
location = Tr::tr("<unknown>");
} else {
// Deduce a description from '/foo/qt-folder/[qtbase]/bin/qmake' -> '/foo/qt-folder'.
// '/usr' indicates System Qt 4.X on Linux.
for (FilePath dir = qmakeFilePath().parentDir(); !dir.isEmpty(); dir = dir.parentDir()) {
const QString dirName = dir.fileName();
if (dirName == "usr") { // System-installed Qt.
location = QCoreApplication::translate("QtVersion", "System");
location = Tr::tr("System");
break;
}
location = dirName;
@@ -372,8 +374,8 @@ QString QtVersion::defaultUnexpandedDisplayName() const
}
return detectionSource() == "PATH" ?
QCoreApplication::translate("QtVersion", "Qt %{Qt:Version} in PATH (%2)").arg(location) :
QCoreApplication::translate("QtVersion", "Qt %{Qt:Version} (%2)").arg(location);
Tr::tr("Qt %{Qt:Version} in PATH (%2)").arg(location) :
Tr::tr("Qt %{Qt:Version} (%2)").arg(location);
}
QSet<Id> QtVersion::availableFeatures() const
@@ -522,7 +524,7 @@ Tasks QtVersion::validateKit(const Kit *k)
if (dt != "DockerDeviceType") {
const QSet<Id> tdt = targetDeviceTypes();
if (!tdt.isEmpty() && !tdt.contains(dt))
result << BuildSystemTask(Task::Warning, tr("Device type is not supported by Qt version."));
result << BuildSystemTask(Task::Warning, Tr::tr("Device type is not supported by Qt version."));
}
if (ToolChain *tc = ToolChainKitAspect::cxxToolChain(k)) {
@@ -552,15 +554,15 @@ Tasks QtVersion::validateKit(const Kit *k)
QString message;
if (!fullMatch) {
if (!fuzzyMatch)
message = tr("The compiler \"%1\" (%2) cannot produce code for the Qt version \"%3\" (%4).");
message = Tr::tr("The compiler \"%1\" (%2) cannot produce code for the Qt version \"%3\" (%4).");
else
message = tr("The compiler \"%1\" (%2) may not produce code compatible with the Qt version \"%3\" (%4).");
message = Tr::tr("The compiler \"%1\" (%2) may not produce code compatible with the Qt version \"%3\" (%4).");
message = message.arg(tc->displayName(), targetAbi.toString(),
version->displayName(), qtAbiString);
result << BuildSystemTask(fuzzyMatch ? Task::Warning : Task::Error, message);
}
} else if (ToolChainKitAspect::cToolChain(k)) {
const QString message = tr("The kit has a Qt version, but no C++ compiler.");
const QString message = Tr::tr("The kit has a Qt version, but no C++ compiler.");
result << BuildSystemTask(Task::Warning, message);
}
return result;
@@ -797,18 +799,18 @@ QtVersion::Predicate QtVersion::isValidPredicate(const QtVersion::Predicate &pre
QString QtVersion::invalidReason() const
{
if (displayName().isEmpty())
return QCoreApplication::translate("QtVersion", "Qt version has no name");
return Tr::tr("Qt version has no name");
if (qmakeFilePath().isEmpty())
return QCoreApplication::translate("QtVersion", "No qmake path set");
return Tr::tr("No qmake path set");
if (!d->m_qmakeIsExecutable)
return QCoreApplication::translate("QtVersion", "qmake does not exist or is not executable");
return Tr::tr("qmake does not exist or is not executable");
if (!d->m_data.installed)
return QCoreApplication::translate("QtVersion", "Qt version is not properly installed, please run make install");
return Tr::tr("Qt version is not properly installed, please run make install");
if (binPath().isEmpty())
return QCoreApplication::translate("QtVersion",
"Could not determine the path to the binaries of the Qt installation, maybe the qmake path is wrong?");
return Tr::tr("Could not determine the path to the binaries of the Qt installation, "
"maybe the qmake path is wrong?");
if (d->m_mkspecUpToDate && d->m_mkspecFullPath.isEmpty())
return QCoreApplication::translate("QtVersion", "The default mkspec symlink is broken.");
return Tr::tr("The default mkspec symlink is broken.");
return QString();
}
@@ -816,10 +818,10 @@ QStringList QtVersion::warningReason() const
{
QStringList ret;
if (qtAbis().isEmpty())
ret << QCoreApplication::translate("QtVersion", "ABI detection failed: Make sure to use a matching compiler when building.");
ret << Tr::tr("ABI detection failed: Make sure to use a matching compiler when building.");
if (d->m_versionInfo.value(ProKey("QT_INSTALL_PREFIX/get"))
!= d->m_versionInfo.value(ProKey("QT_INSTALL_PREFIX"))) {
ret << QCoreApplication::translate("QtVersion", "Non-installed -prefix build - for internal development only.");
ret << Tr::tr("Non-installed -prefix build - for internal development only.");
}
return ret;
}
@@ -918,14 +920,14 @@ QString QtVersion::toHtml(bool verbose) const
QString rc;
QTextStream str(&rc);
str << "<html><body><table>";
str << "<tr><td><b>" << QCoreApplication::translate("QtVersion", "Name:")
str << "<tr><td><b>" << Tr::tr("Name:")
<< "</b></td><td>" << displayName() << "</td></tr>";
if (!isValid()) {
str << "<tr><td colspan=2><b>"
<< QCoreApplication::translate("QtVersion", "Invalid Qt version")
<< Tr::tr("Invalid Qt version")
<< "</b></td></tr>";
} else {
str << "<tr><td><b>" << QCoreApplication::translate("QtVersion", "ABI:")
str << "<tr><td><b>" << Tr::tr("ABI:")
<< "</b></td>";
const Abis abis = qtAbis();
if (abis.isEmpty()) {
@@ -938,23 +940,23 @@ QString QtVersion::toHtml(bool verbose) const
}
}
const OsType osType = d->m_qmakeCommand.osType();
str << "<tr><td><b>" << QCoreApplication::translate("QtVersion", "Source:")
str << "<tr><td><b>" << Tr::tr("Source:")
<< "</b></td><td>" << sourcePath().toUserOutput() << "</td></tr>";
str << "<tr><td><b>" << QCoreApplication::translate("QtVersion", "mkspec:")
str << "<tr><td><b>" << Tr::tr("mkspec:")
<< "</b></td><td>" << QDir::toNativeSeparators(mkspec()) << "</td></tr>";
str << "<tr><td><b>" << QCoreApplication::translate("QtVersion", "qmake:")
str << "<tr><td><b>" << Tr::tr("qmake:")
<< "</b></td><td>" << d->m_qmakeCommand.toUserOutput() << "</td></tr>";
ensureMkSpecParsed();
if (!mkspecPath().isEmpty()) {
if (d->m_defaultConfigIsDebug || d->m_defaultConfigIsDebugAndRelease) {
str << "<tr><td><b>" << QCoreApplication::translate("QtVersion", "Default:") << "</b></td><td>"
str << "<tr><td><b>" << Tr::tr("Default:") << "</b></td><td>"
<< (d->m_defaultConfigIsDebug ? "debug" : "release");
if (d->m_defaultConfigIsDebugAndRelease)
str << " debug_and_release";
str << "</td></tr>";
} // default config.
}
str << "<tr><td><b>" << QCoreApplication::translate("QtVersion", "Version:")
str << "<tr><td><b>" << Tr::tr("Version:")
<< "</b></td><td>" << qtVersionString() << "</td></tr>";
if (verbose) {
const QHash<ProKey, ProString> vInfo = d->versionInfo();
@@ -1478,51 +1480,49 @@ QtVersion::createMacroExpander(const std::function<const QtVersion *()> &qtVersi
};
};
std::unique_ptr<MacroExpander> expander(new MacroExpander);
expander->setDisplayName(QtKitAspect::tr("Qt version"));
expander->setDisplayName(Tr::tr("Qt version"));
expander->registerVariable("Qt:Version",
QtKitAspect::tr("The version string of the current Qt version."),
Tr::tr("The version string of the current Qt version."),
versionProperty([](const QtVersion *version) {
return version->qtVersionString();
}));
expander->registerVariable(
"Qt:Type",
QtKitAspect::tr("The type of the current Qt version."),
Tr::tr("The type of the current Qt version."),
versionProperty([](const QtVersion *version) {
return version->type();
}));
expander->registerVariable(
"Qt:Mkspec",
QtKitAspect::tr("The mkspec of the current Qt version."),
Tr::tr("The mkspec of the current Qt version."),
versionProperty([](const QtVersion *version) {
return QDir::toNativeSeparators(version->mkspec());
}));
expander->registerVariable("Qt:QT_INSTALL_PREFIX",
QtKitAspect::tr(
"The installation prefix of the current Qt version."),
Tr::tr("The installation prefix of the current Qt version."),
versionProperty([](const QtVersion *version) {
return version->prefix().path();
}));
expander->registerVariable("Qt:QT_INSTALL_DATA",
QtKitAspect::tr(
Tr::tr(
"The installation location of the current Qt version's data."),
versionProperty([](const QtVersion *version) {
return version->dataPath().path();
}));
expander->registerVariable("Qt:QT_HOST_PREFIX",
QtKitAspect::tr(
"The host location of the current Qt version."),
Tr::tr("The host location of the current Qt version."),
versionProperty([](const QtVersion *version) {
return version->hostPrefixPath().path();
}));
expander->registerVariable("Qt:QT_HOST_LIBEXECS",
QtKitAspect::tr("The installation location of the current Qt "
Tr::tr("The installation location of the current Qt "
"version's internal host executable files."),
versionProperty([](const QtVersion *version) {
return version->hostLibexecPath().path();
@@ -1530,94 +1530,89 @@ QtVersion::createMacroExpander(const std::function<const QtVersion *()> &qtVersi
expander->registerVariable(
"Qt:QT_INSTALL_HEADERS",
QtKitAspect::tr("The installation location of the current Qt version's header files."),
Tr::tr("The installation location of the current Qt version's header files."),
versionProperty(
[](const QtVersion *version) { return version->headerPath().path(); }));
expander->registerVariable(
"Qt:QT_INSTALL_LIBS",
QtKitAspect::tr("The installation location of the current Qt version's library files."),
Tr::tr("The installation location of the current Qt version's library files."),
versionProperty(
[](const QtVersion *version) { return version->libraryPath().path(); }));
expander->registerVariable(
"Qt:QT_INSTALL_DOCS",
QtKitAspect::tr(
"The installation location of the current Qt version's documentation files."),
Tr::tr("The installation location of the current Qt version's documentation files."),
versionProperty(
[](const QtVersion *version) { return version->docsPath().path(); }));
expander->registerVariable(
"Qt:QT_INSTALL_BINS",
QtKitAspect::tr("The installation location of the current Qt version's executable files."),
Tr::tr("The installation location of the current Qt version's executable files."),
versionProperty([](const QtVersion *version) { return version->binPath().path(); }));
expander->registerVariable(
"Qt:QT_INSTALL_LIBEXECS",
QtKitAspect::tr(
"The installation location of the current Qt version's internal executable files."),
Tr::tr("The installation location of the current Qt version's internal executable files."),
versionProperty(
[](const QtVersion *version) { return version->libExecPath().path(); }));
expander
->registerVariable("Qt:QT_INSTALL_PLUGINS",
QtKitAspect::tr(
"The installation location of the current Qt version's plugins."),
Tr::tr("The installation location of the current Qt version's plugins."),
versionProperty([](const QtVersion *version) {
return version->pluginPath().path();
}));
expander
->registerVariable("Qt:QT_INSTALL_QML",
QtKitAspect::tr(
"The installation location of the current Qt version's QML files."),
Tr::tr("The installation location of the current Qt version's QML files."),
versionProperty([](const QtVersion *version) {
return version->qmlPath().path();
}));
expander
->registerVariable("Qt:QT_INSTALL_IMPORTS",
QtKitAspect::tr(
"The installation location of the current Qt version's imports."),
Tr::tr("The installation location of the current Qt version's imports."),
versionProperty([](const QtVersion *version) {
return version->importsPath().path();
}));
expander->registerVariable(
"Qt:QT_INSTALL_TRANSLATIONS",
QtKitAspect::tr("The installation location of the current Qt version's translation files."),
Tr::tr("The installation location of the current Qt version's translation files."),
versionProperty(
[](const QtVersion *version) { return version->translationsPath().path(); }));
expander->registerVariable(
"Qt:QT_INSTALL_CONFIGURATION",
QtKitAspect::tr("The installation location of the current Qt version's translation files."),
Tr::tr("The installation location of the current Qt version's translation files."),
versionProperty(
[](const QtVersion *version) { return version->configurationPath().path(); }));
expander
->registerVariable("Qt:QT_INSTALL_EXAMPLES",
QtKitAspect::tr(
Tr::tr(
"The installation location of the current Qt version's examples."),
versionProperty([](const QtVersion *version) {
return version->examplesPath().path();
}));
expander->registerVariable("Qt:QT_INSTALL_DEMOS",
QtKitAspect::tr(
Tr::tr(
"The installation location of the current Qt version's demos."),
versionProperty([](const QtVersion *version) {
return version->demosPath().path();
}));
expander->registerVariable("Qt:QMAKE_MKSPECS",
QtKitAspect::tr("The current Qt version's default mkspecs (Qt 4)."),
Tr::tr("The current Qt version's default mkspecs (Qt 4)."),
versionProperty([](const QtVersion *version) {
return version->d->qmakeProperty("QMAKE_MKSPECS");
}));
expander->registerVariable("Qt:QMAKE_SPEC",
QtKitAspect::tr(
Tr::tr(
"The current Qt version's default mkspec (Qt 5; host system)."),
versionProperty([](const QtVersion *version) {
return version->d->qmakeProperty("QMAKE_SPEC");
@@ -1625,21 +1620,20 @@ QtVersion::createMacroExpander(const std::function<const QtVersion *()> &qtVersi
expander
->registerVariable("Qt:QMAKE_XSPEC",
QtKitAspect::tr(
"The current Qt version's default mkspec (Qt 5; target system)."),
Tr::tr("The current Qt version's default mkspec (Qt 5; target system)."),
versionProperty([](const QtVersion *version) {
return version->d->qmakeProperty("QMAKE_XSPEC");
}));
expander->registerVariable("Qt:QMAKE_VERSION",
QtKitAspect::tr("The current Qt's qmake version."),
Tr::tr("The current Qt's qmake version."),
versionProperty([](const QtVersion *version) {
return version->d->qmakeProperty("QMAKE_VERSION");
}));
// FIXME: Re-enable once we can detect expansion loops.
// expander->registerVariable("Qt:Name",
// QtKitAspect::tr("The display name of the current Qt version."),
// Tr::tr("The display name of the current Qt version."),
// versionProperty([](QtVersion *version) {
// return version->displayName();
// }));
@@ -1757,14 +1751,14 @@ Tasks QtVersion::reportIssuesImpl(const QString &proFile, const QString &buildDi
if (!isValid()) {
//: %1: Reason for being invalid
const QString msg = QCoreApplication::translate("QmakeProjectManager::QtVersion", "The Qt version is invalid: %1").arg(invalidReason());
const QString msg = Tr::tr("The Qt version is invalid: %1").arg(invalidReason());
results.append(BuildSystemTask(Task::Error, msg));
}
FilePath qmake = qmakeFilePath();
if (!qmake.isExecutableFile()) {
//: %1: Path to qmake executable
const QString msg = QCoreApplication::translate("QmakeProjectManager::QtVersion",
const QString msg = Tr::tr(
"The qmake command \"%1\" was not found or is not executable.").arg(qmake.displayName());
results.append(BuildSystemTask(Task::Error, msg));
}
@@ -1802,19 +1796,17 @@ static QByteArray runQmakeQuery(const FilePath &binary, const Environment &env,
process.start();
if (!process.waitForFinished()) {
*error = QCoreApplication::translate("QtVersion", "Timeout running \"%1\".")
.arg(binary.displayName());
*error = Tr::tr("Timeout running \"%1\".").arg(binary.displayName());
return {};
}
if (process.exitStatus() != QProcess::NormalExit) {
*error = QCoreApplication::translate("QtVersion", "\"%1\" crashed.")
.arg(binary.displayName());
*error = Tr::tr("\"%1\" crashed.").arg(binary.displayName());
return {};
}
const QByteArray out = process.readAllStandardOutput();
if (out.isEmpty()) {
*error = QCoreApplication::translate("QtVersion", "\"%1\" produced no output: %2.")
*error = Tr::tr("\"%1\" produced no output: %2.")
.arg(binary.displayName(), process.cleanedStdErr());
return {};
}
@@ -1831,8 +1823,7 @@ bool QtVersionPrivate::queryQMakeVariables(const FilePath &binary, const Environ
error = &tmp;
if (!binary.isExecutableFile()) {
*error = QCoreApplication::translate("QtVersion", "qmake \"%1\" is not an executable.")
.arg(binary.displayName());
*error = Tr::tr("qmake \"%1\" is not an executable.").arg(binary.displayName());
return false;
}
@@ -2036,7 +2027,7 @@ bool QtVersion::isQmlDebuggingSupported(const Kit *k, QString *reason)
QtVersion *version = QtKitAspect::qtVersion(k);
if (!version) {
if (reason)
*reason = QCoreApplication::translate("QtVersion", "No Qt version.");
*reason = Tr::tr("No Qt version.");
return false;
}
return version->isQmlDebuggingSupported(reason);
@@ -2046,13 +2037,13 @@ bool QtVersion::isQmlDebuggingSupported(QString *reason) const
{
if (!isValid()) {
if (reason)
*reason = QCoreApplication::translate("QtVersion", "Invalid Qt version.");
*reason = Tr::tr("Invalid Qt version.");
return false;
}
if (qtVersion() < QtVersionNumber(5, 0, 0)) {
if (reason)
*reason = QCoreApplication::translate("QtVersion", "Requires Qt 5.0.0 or newer.");
*reason = Tr::tr("Requires Qt 5.0.0 or newer.");
return false;
}
@@ -2065,7 +2056,7 @@ bool QtVersion::isQtQuickCompilerSupported(const Kit *k, QString *reason)
QtVersion *version = QtKitAspect::qtVersion(k);
if (!version) {
if (reason)
*reason = QCoreApplication::translate("QtVersion", "No Qt version.");
*reason = Tr::tr("No Qt version.");
return false;
}
return version->isQtQuickCompilerSupported(reason);
@@ -2075,20 +2066,20 @@ bool QtVersion::isQtQuickCompilerSupported(QString *reason) const
{
if (!isValid()) {
if (reason)
*reason = QCoreApplication::translate("QtVersion", "Invalid Qt version.");
*reason = Tr::tr("Invalid Qt version.");
return false;
}
if (qtVersion() < QtVersionNumber(5, 3, 0)) {
if (reason)
*reason = QCoreApplication::translate("QtVersion", "Requires Qt 5.3.0 or newer.");
*reason = Tr::tr("Requires Qt 5.3.0 or newer.");
return false;
}
const QString qtQuickCompilerPrf = mkspecsPath().toString() + "/features/qtquickcompiler.prf";
if (!QFileInfo::exists(qtQuickCompilerPrf)) {
if (reason)
*reason = QCoreApplication::translate("QtVersion", "This Qt Version does not contain Qt Quick Compiler.");
*reason = Tr::tr("This Qt Version does not contain Qt Quick Compiler.");
return false;
}
@@ -2374,8 +2365,7 @@ QtVersion *QtVersionFactory::createQtVersionFromQMakePath
}
ProFileCacheManager::instance()->decRefCount();
if (error) {
*error = QCoreApplication::translate("QtSupport::QtVersionFactory",
"No factory found for qmake: \"%1\"").arg(qmakePath.displayName());
*error = Tr::tr("No factory found for qmake: \"%1\"").arg(qmakePath.displayName());
}
return nullptr;
}

View File

@@ -87,8 +87,6 @@ class QtVersionPrivate;
class QTSUPPORT_EXPORT QtVersion
{
Q_DECLARE_TR_FUNCTIONS(QtSupport::QtVersion)
public:
using Predicate = std::function<bool(const QtVersion *)>;

View File

@@ -30,29 +30,28 @@
#include <QSettings>
static const char CODE_GEN_GROUP[] = "FormClassWizardPage";
static const char TRANSLATION_KEY[] = "RetranslationSupport";
static const char EMBEDDING_KEY[] = "Embedding";
static const char INCLUDE_QT_MODULE_KEY[] = "IncludeQtModule";
static const char ADD_QT_VERSION_CHECK_KEY[] = "AddQtVersionCheck";
static const bool retranslationSupportDefault = false;
static const QtSupport::CodeGenSettings::UiClassEmbedding embeddingDefault
= QtSupport::CodeGenSettings::PointerAggregatedUiClass;
static const bool includeQtModuleDefault = false;
static const bool addQtVersionCheckDefault = false;
using namespace Utils;
namespace QtSupport {
const char CODE_GEN_GROUP[] = "FormClassWizardPage";
const char TRANSLATION_KEY[] = "RetranslationSupport";
const char EMBEDDING_KEY[] = "Embedding";
const char INCLUDE_QT_MODULE_KEY[] = "IncludeQtModule";
const char ADD_QT_VERSION_CHECK_KEY[] = "AddQtVersionCheck";
const bool retranslationSupportDefault = false;
const CodeGenSettings::UiClassEmbedding embeddingDefault
= CodeGenSettings::PointerAggregatedUiClass;
const bool includeQtModuleDefault = false;
const bool addQtVersionCheckDefault = false;
CodeGenSettings::CodeGenSettings()
: embedding(embeddingDefault)
, retranslationSupport(retranslationSupportDefault)
, includeQtModule(includeQtModuleDefault)
, addQtVersionCheck(addQtVersionCheckDefault)
{
}
bool CodeGenSettings::equals(const CodeGenSettings &rhs) const

View File

@@ -27,6 +27,7 @@
#include "codegensettings.h"
#include "qtsupportconstants.h"
#include "qtsupporttr.h"
#include <coreplugin/icore.h>
@@ -35,15 +36,12 @@
#include <utils/layoutbuilder.h>
#include <QCheckBox>
#include <QCoreApplication>
#include <QRadioButton>
namespace QtSupport::Internal {
class CodeGenSettingsPageWidget : public Core::IOptionsPageWidget
{
Q_DECLARE_TR_FUNCTIONS(QtSupport::Internal::CodeGenSettingsPage)
public:
CodeGenSettingsPageWidget();
@@ -69,31 +67,31 @@ CodeGenSettingsPageWidget::CodeGenSettingsPageWidget()
using namespace Utils::Layouting;
m_ptrAggregationRadioButton = new QRadioButton(tr("Aggregation as a pointer member"));
m_ptrAggregationRadioButton = new QRadioButton(Tr::tr("Aggregation as a pointer member"));
m_ptrAggregationRadioButton->setChecked
(parameters.embedding == CodeGenSettings::PointerAggregatedUiClass);
m_aggregationButton = new QRadioButton(tr("Aggregation"));
m_aggregationButton = new QRadioButton(Tr::tr("Aggregation"));
m_aggregationButton->setChecked
(parameters.embedding == CodeGenSettings::AggregatedUiClass);
m_multipleInheritanceButton = new QRadioButton(tr("Multiple inheritance"));
m_multipleInheritanceButton = new QRadioButton(Tr::tr("Multiple inheritance"));
m_multipleInheritanceButton->setChecked
(parameters.embedding == CodeGenSettings::InheritedUiClass);
m_retranslateCheckBox = new QCheckBox(tr("Support for changing languages at runtime"));
m_retranslateCheckBox = new QCheckBox(Tr::tr("Support for changing languages at runtime"));
m_retranslateCheckBox->setChecked(parameters.retranslationSupport);
m_includeQtModuleCheckBox = new QCheckBox(tr("Use Qt module name in #include-directive"));
m_includeQtModuleCheckBox = new QCheckBox(Tr::tr("Use Qt module name in #include-directive"));
m_includeQtModuleCheckBox->setChecked(parameters.includeQtModule);
m_addQtVersionCheckBox = new QCheckBox(tr("Add Qt version #ifdef for module names"));
m_addQtVersionCheckBox = new QCheckBox(Tr::tr("Add Qt version #ifdef for module names"));
m_addQtVersionCheckBox->setChecked(parameters.addQtVersionCheck);
m_addQtVersionCheckBox->setEnabled(false);
Column {
Group {
Title(tr("Embedding of the UI Class")),
Title(Tr::tr("Embedding of the UI Class")),
Column {
m_ptrAggregationRadioButton,
m_aggregationButton,
@@ -101,7 +99,7 @@ CodeGenSettingsPageWidget::CodeGenSettingsPageWidget()
}
},
Group {
Title(tr("Code Generation")),
Title(Tr::tr("Code Generation")),
Column {
m_retranslateCheckBox,
m_includeQtModuleCheckBox,
@@ -139,7 +137,7 @@ int CodeGenSettingsPageWidget::uiEmbedding() const
CodeGenSettingsPage::CodeGenSettingsPage()
{
setId(Constants::CODEGEN_SETTINGS_PAGE_ID);
setDisplayName(QCoreApplication::translate("QtSupport", "Qt Class Generation"));
setDisplayName(Tr::tr("Qt Class Generation"));
setCategory(CppEditor::Constants::CPP_SETTINGS_CATEGORY);
setDisplayCategory(
QCoreApplication::translate("CppEditor", CppEditor::Constants::CPP_SETTINGS_NAME));

View File

@@ -43,7 +43,6 @@
#include <utils/algorithm.h>
#include <utils/filepath.h>
#include <utils/fileutils.h>
#include <utils/qtcassert.h>
#include <utils/stringutils.h>
#include <utils/stylehelper.h>

View File

@@ -26,6 +26,7 @@
#include "gettingstartedwelcomepage.h"
#include "exampleslistmodel.h"
#include "qtsupporttr.h"
#include <utils/algorithm.h>
#include <utils/fileutils.h>
@@ -73,7 +74,7 @@ ExamplesWelcomePage::ExamplesWelcomePage(bool showExamples)
QString ExamplesWelcomePage::title() const
{
return m_showExamples ? tr("Examples") : tr("Tutorials");
return m_showExamples ? Tr::tr("Examples") : Tr::tr("Tutorials");
}
int ExamplesWelcomePage::priority() const
@@ -92,14 +93,14 @@ QString ExamplesWelcomePage::copyToAlternativeLocation(const QFileInfo& proFileI
QDialog d(ICore::dialogParent());
auto lay = new QGridLayout(&d);
auto descrLbl = new QLabel;
d.setWindowTitle(tr("Copy Project to writable Location?"));
d.setWindowTitle(Tr::tr("Copy Project to writable Location?"));
descrLbl->setTextFormat(Qt::RichText);
descrLbl->setWordWrap(false);
const QString nativeProjectDir = QDir::toNativeSeparators(projectDir);
descrLbl->setText(QString::fromLatin1("<blockquote>%1</blockquote>").arg(nativeProjectDir));
descrLbl->setMinimumWidth(descrLbl->sizeHint().width());
descrLbl->setWordWrap(true);
descrLbl->setText(tr("<p>The project you are about to open is located in the "
descrLbl->setText(Tr::tr("<p>The project you are about to open is located in the "
"write-protected location:</p><blockquote>%1</blockquote>"
"<p>Please select a writable location below and click \"Copy Project and Open\" "
"to open a modifiable copy of the project or click \"Keep Project and Open\" "
@@ -107,7 +108,7 @@ QString ExamplesWelcomePage::copyToAlternativeLocation(const QFileInfo& proFileI
"be able to alter or compile your project in the current location.</p>")
.arg(nativeProjectDir));
lay->addWidget(descrLbl, 0, 0, 1, 2);
auto txt = new QLabel(tr("&Location:"));
auto txt = new QLabel(Tr::tr("&Location:"));
auto chooser = new PathChooser;
txt->setBuddy(chooser);
chooser->setExpectedKind(PathChooser::ExistingDirectory);
@@ -119,10 +120,10 @@ QString ExamplesWelcomePage::copyToAlternativeLocation(const QFileInfo& proFileI
lay->addWidget(chooser, 1, 1);
enum { Copy = QDialog::Accepted + 1, Keep = QDialog::Accepted + 2 };
auto bb = new QDialogButtonBox;
QPushButton *copyBtn = bb->addButton(tr("&Copy Project and Open"), QDialogButtonBox::AcceptRole);
QPushButton *copyBtn = bb->addButton(Tr::tr("&Copy Project and Open"), QDialogButtonBox::AcceptRole);
connect(copyBtn, &QAbstractButton::released, &d, [&d] { d.done(Copy); });
copyBtn->setDefault(true);
QPushButton *keepBtn = bb->addButton(tr("&Keep Project and Open"), QDialogButtonBox::RejectRole);
QPushButton *keepBtn = bb->addButton(Tr::tr("&Keep Project and Open"), QDialogButtonBox::RejectRole);
connect(keepBtn, &QAbstractButton::released, &d, [&d] { d.done(Keep); });
lay->addWidget(bb, 2, 0, 1, 2);
connect(chooser, &PathChooser::validChanged, copyBtn, &QWidget::setEnabled);
@@ -135,8 +136,8 @@ QString ExamplesWelcomePage::copyToAlternativeLocation(const QFileInfo& proFileI
if (toDirWithExamplesDir.cd(exampleDirName)) {
toDirWithExamplesDir.cdUp(); // step out, just to not be in the way
QMessageBox::warning(ICore::dialogParent(),
tr("Cannot Use Location"),
tr("The specified location already exists. "
Tr::tr("Cannot Use Location"),
Tr::tr("The specified location already exists. "
"Please specify a valid location."),
QMessageBox::Ok,
QMessageBox::NoButton);
@@ -157,7 +158,7 @@ QString ExamplesWelcomePage::copyToAlternativeLocation(const QFileInfo& proFileI
if (!FileUtils::copyRecursively(FilePath::fromString(dependency), targetFile,
&error)) {
QMessageBox::warning(ICore::dialogParent(),
tr("Cannot Copy Project"),
Tr::tr("Cannot Copy Project"),
error);
// do not fail, just warn;
}
@@ -166,7 +167,7 @@ QString ExamplesWelcomePage::copyToAlternativeLocation(const QFileInfo& proFileI
return targetDir + QLatin1Char('/') + proFileInfo.fileName();
} else {
QMessageBox::warning(ICore::dialogParent(), tr("Cannot Copy Project"), error);
QMessageBox::warning(ICore::dialogParent(), Tr::tr("Cannot Copy Project"), error);
}
}
@@ -295,7 +296,7 @@ public:
auto hbox = new QHBoxLayout(searchBar);
hbox->setContentsMargins(0, 0, 0, 0);
if (m_isExamples) {
m_searcher->setPlaceholderText(ExamplesWelcomePage::tr("Search in Examples..."));
m_searcher->setPlaceholderText(Tr::tr("Search in Examples..."));
auto exampleSetSelector = new QComboBox(this);
QPalette pal = exampleSetSelector->palette();
@@ -315,7 +316,7 @@ public:
hbox->setSpacing(Core::WelcomePageHelpers::HSpacing);
hbox->addWidget(exampleSetSelector);
} else {
m_searcher->setPlaceholderText(ExamplesWelcomePage::tr("Search in Tutorials..."));
m_searcher->setPlaceholderText(Tr::tr("Search in Tutorials..."));
}
hbox->addWidget(searchBox);
grid->addWidget(WelcomePageHelpers::panelBar(this), 0, 0);

View File

@@ -26,6 +26,7 @@
#include "qtbuildaspects.h"
#include "baseqtversion.h"
#include "qtsupporttr.h"
#include <projectexplorer/buildconfiguration.h>
#include <projectexplorer/buildpropertiessettings.h>
@@ -47,7 +48,7 @@ QmlDebuggingAspect::QmlDebuggingAspect(BuildConfiguration *buildConfig)
: m_buildConfig(buildConfig)
{
setSettingsKey("EnableQmlDebugging");
setDisplayName(tr("QML debugging and profiling:"));
setDisplayName(Tr::tr("QML debugging and profiling:"));
setValue(ProjectExplorerPlugin::buildPropertiesSettings().qmlDebugging.value());
}
@@ -66,7 +67,7 @@ void QmlDebuggingAspect::addToLayout(LayoutBuilder &builder)
if (!supported) {
setValue(TriState::Default);
} else if (value() == TriState::Enabled) {
warningText = tr("Might make your application vulnerable.<br/>"
warningText = Tr::tr("Might make your application vulnerable.<br/>"
"Only use in a safe environment.");
}
warningLabel->setText(warningText);
@@ -84,7 +85,7 @@ QtQuickCompilerAspect::QtQuickCompilerAspect(BuildConfiguration *buildConfig)
: m_buildConfig(buildConfig)
{
setSettingsKey("QtQuickCompiler");
setDisplayName(tr("Qt Quick Compiler:"));
setDisplayName(Tr::tr("Qt Quick Compiler:"));
setValue(ProjectExplorerPlugin::buildPropertiesSettings().qtQuickCompiler.value());
}
@@ -106,7 +107,7 @@ void QtQuickCompilerAspect::addToLayout(LayoutBuilder &builder)
if (value() == TriState::Enabled) {
if (auto qmlDebuggingAspect = m_buildConfig->aspect<QmlDebuggingAspect>()) {
if (qmlDebuggingAspect->value() == TriState::Enabled)
warningText = tr("Disables QML debugging. QML profiling will still work.");
warningText = Tr::tr("Disables QML debugging. QML profiling will still work.");
}
}
warningLabel->setText(warningText);

View File

@@ -25,10 +25,11 @@
#include "qtkitinformation.h"
#include "qtsupportconstants.h"
#include "qtversionmanager.h"
#include "qtparser.h"
#include "qtsupportconstants.h"
#include "qtsupporttr.h"
#include "qttestparser.h"
#include "qtversionmanager.h"
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/task.h>
@@ -51,13 +52,12 @@ namespace Internal {
class QtKitAspectWidget final : public KitAspectWidget
{
Q_DECLARE_TR_FUNCTIONS(QtSupport::QtKitAspectWidget)
public:
QtKitAspectWidget(Kit *k, const KitAspect *ki) : KitAspectWidget(k, ki)
{
m_combo = createSubWidget<QComboBox>();
m_combo->setSizePolicy(QSizePolicy::Ignored, m_combo->sizePolicy().verticalPolicy());
m_combo->addItem(tr("None"), -1);
m_combo->addItem(Tr::tr("None"), -1);
QList<int> versionIds = Utils::transform(QtVersionManager::versions(), &QtVersion::uniqueId);
versionsChanged(versionIds, QList<int>(), QList<int>());
@@ -100,7 +100,7 @@ private:
QTC_ASSERT(v, return QString());
QString name = v->displayName();
if (!v->isValid())
name = tr("%1 (invalid)").arg(v->displayName());
name = Tr::tr("%1 (invalid)").arg(v->displayName());
return name;
}
@@ -148,8 +148,8 @@ QtKitAspect::QtKitAspect()
{
setObjectName(QLatin1String("QtKitAspect"));
setId(QtKitAspect::id());
setDisplayName(tr("Qt version"));
setDescription(tr("The Qt library to use for all projects using this kit.<br>"
setDisplayName(Tr::tr("Qt version"));
setDescription(Tr::tr("The Qt library to use for all projects using this kit.<br>"
"A Qt version is required for qmake-based projects "
"and optional when using other build systems."));
setPriority(26000);
@@ -275,7 +275,7 @@ QString QtKitAspect::displayNamePostfix(const Kit *k) const
KitAspect::ItemList QtKitAspect::toUserOutput(const Kit *k) const
{
QtVersion *version = qtVersion(k);
return {{tr("Qt version"), version ? version->displayName() : tr("None")}};
return {{Tr::tr("Qt version"), version ? version->displayName() : Tr::tr("None")}};
}
void QtKitAspect::addToBuildEnvironment(const Kit *k, Environment &env) const
@@ -313,12 +313,12 @@ void QtKitAspect::addToMacroExpander(Kit *kit, MacroExpander *expander) const
QTC_ASSERT(kit, return);
expander->registerSubProvider(QtMacroSubProvider(kit));
expander->registerVariable("Qt:Name", tr("Name of Qt Version"),
expander->registerVariable("Qt:Name", Tr::tr("Name of Qt Version"),
[kit]() -> QString {
QtVersion *version = qtVersion(kit);
return version ? version->displayName() : tr("unknown");
return version ? version->displayName() : Tr::tr("unknown");
});
expander->registerVariable("Qt:qmakeExecutable", tr("Path to the qmake executable"),
expander->registerVariable("Qt:qmakeExecutable", Tr::tr("Path to the qmake executable"),
[kit]() -> QString {
QtVersion *version = qtVersion(kit);
return version ? version->qmakeFilePath().path() : QString();

View File

@@ -27,6 +27,7 @@
#include "qtconfigwidget.h"
#include "qtsupportconstants.h"
#include "qtsupporttr.h"
#include "qtversionmanager.h"
#include "qtversionfactory.h"
@@ -76,13 +77,10 @@ using namespace Utils;
const char kInstallSettingsKey[] = "Settings/InstallSettings";
namespace QtSupport {
namespace Internal {
namespace QtSupport::Internal {
class QtVersionItem : public TreeItem
{
Q_DECLARE_TR_FUNCTIONS(QtSupport::QtVersion)
public:
explicit QtVersionItem(QtVersion *version)
: m_version(version)
@@ -134,8 +132,8 @@ public:
const QString row = "<dt style=\"font-weight:bold\">%1:</dt>"
"<dd>%2</dd>";
return QString("<dl style=\"white-space:pre\">"
+ row.arg(tr("Qt Version"), m_version->qtVersionString())
+ row.arg(tr("Location of qmake"), m_version->qmakeFilePath().toUserOutput())
+ row.arg(Tr::tr("Qt Version"), m_version->qtVersionString())
+ row.arg(Tr::tr("Location of qmake"), m_version->qmakeFilePath().toUserOutput())
+ "</dl>");
}
@@ -179,8 +177,6 @@ private:
class QtOptionsPageWidget : public Core::IOptionsPageWidget
{
Q_DECLARE_TR_FUNCTIONS(QtSupport::Internal::QtOptionsPageWidget)
public:
QtOptionsPageWidget();
~QtOptionsPageWidget();
@@ -253,7 +249,7 @@ private:
};
QtOptionsPageWidget::QtOptionsPageWidget()
: m_specifyNameString(tr("<specify a name>"))
: m_specifyNameString(Tr::tr("<specify a name>"))
, m_infoBrowser(new QTextBrowser)
, m_invalidVersionIcon(Utils::Icons::CRITICAL.icon())
, m_warningVersionIcon(Utils::Icons::WARNING.icon())
@@ -270,10 +266,10 @@ QtOptionsPageWidget::QtOptionsPageWidget()
m_documentationSetting = new QComboBox(this);
auto addButton = new QPushButton(tr("Add..."));
m_delButton = new QPushButton(tr("Remove"));
m_linkWithQtButton = new QPushButton(tr("Link with Qt..."));
m_cleanUpButton = new QPushButton(tr("Clean Up"));
auto addButton = new QPushButton(Tr::tr("Add..."));
m_delButton = new QPushButton(Tr::tr("Remove"));
m_linkWithQtButton = new QPushButton(Tr::tr("Link with Qt..."));
m_cleanUpButton = new QPushButton(Tr::tr("Clean Up"));
m_nameEdit = new QLineEdit;
@@ -281,7 +277,7 @@ QtOptionsPageWidget::QtOptionsPageWidget()
m_qmakePath->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
m_qmakePath->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse);
m_editPathPushButton = new QPushButton(tr("Edit"));
m_editPathPushButton = new QPushButton(Tr::tr("Edit"));
m_editPathPushButton->setText(PathChooser::browseButtonLabel());
m_errorLabel = new QLabel;
@@ -289,20 +285,23 @@ QtOptionsPageWidget::QtOptionsPageWidget()
using namespace Utils::Layouting;
auto versionInfoWidget = new QWidget;
// clang-format off
Form {
tr("Name:"), m_nameEdit, br,
tr("qmake path:"), Row { m_qmakePath, m_editPathPushButton }, br,
Tr::tr("Name:"), m_nameEdit, br,
Tr::tr("qmake path:"), Row { m_qmakePath, m_editPathPushButton }, br,
Span(2, m_errorLabel)
}.attachTo(versionInfoWidget, false);
// clang-format on
m_formLayout = qobject_cast<QFormLayout*>(versionInfoWidget->layout());
// clang-format off
Row {
Column {
m_qtdirList,
m_versionInfoWidget,
m_infoWidget,
Row { tr("Register documentation:"), m_documentationSetting, st }
Row { Tr::tr("Register documentation:"), m_documentationSetting, st }
},
Column {
@@ -314,6 +313,7 @@ QtOptionsPageWidget::QtOptionsPageWidget()
st,
}
}.attachTo(this);
// clang-format on
setupLinkWithQtButton();
@@ -333,7 +333,7 @@ QtOptionsPageWidget::QtOptionsPageWidget()
m_manualItem = new StaticTreeItem(ProjectExplorer::Constants::msgManual());
m_model = new TreeModel<TreeItem, TreeItem, QtVersionItem>();
m_model->setHeader({tr("Name"), tr("qmake Path")});
m_model->setHeader({Tr::tr("Name"), Tr::tr("qmake Path")});
m_model->rootItem()->appendChild(m_autoItem);
m_model->rootItem()->appendChild(m_manualItem);
@@ -353,10 +353,10 @@ QtOptionsPageWidget::QtOptionsPageWidget()
m_qtdirList->setTextElideMode(Qt::ElideMiddle);
m_qtdirList->sortByColumn(0, Qt::AscendingOrder);
m_documentationSetting->addItem(tr("Highest Version Only"),
m_documentationSetting->addItem(Tr::tr("Highest Version Only"),
int(QtVersionManager::DocumentationSetting::HighestOnly));
m_documentationSetting->addItem(tr("All"), int(QtVersionManager::DocumentationSetting::All));
m_documentationSetting->addItem(tr("None"),
m_documentationSetting->addItem(Tr::tr("All"), int(QtVersionManager::DocumentationSetting::All));
m_documentationSetting->addItem(Tr::tr("None"),
int(QtVersionManager::DocumentationSetting::None));
const int selectedIndex = m_documentationSetting->findData(
int(QtVersionManager::documentationSetting()));
@@ -436,8 +436,8 @@ void QtOptionsPageWidget::cleanUpQtVersions()
return;
if (QMessageBox::warning(nullptr, tr("Remove Invalid Qt Versions"),
tr("Do you want to remove all invalid Qt Versions?<br>"
if (QMessageBox::warning(nullptr, Tr::tr("Remove Invalid Qt Versions"),
Tr::tr("Do you want to remove all invalid Qt Versions?<br>"
"<ul><li>%1</li></ul><br>"
"will be removed.").arg(text),
QMessageBox::Yes, QMessageBox::No) == QMessageBox::No)
@@ -490,7 +490,7 @@ QtOptionsPageWidget::ValidityInfo QtOptionsPageWidget::validInformation(const Qt
if (!version)
return info;
info.description = tr("Qt version %1 for %2").arg(version->qtVersionString(), version->description());
info.description = Tr::tr("Qt version %1 for %2").arg(version->qtVersionString(), version->description());
if (!version->isValid()) {
info.icon = m_invalidVersionIcon;
info.message = version->invalidReason();
@@ -515,20 +515,20 @@ QtOptionsPageWidget::ValidityInfo QtOptionsPageWidget::validInformation(const Qt
bool useable = true;
QStringList warnings;
if (!isNameUnique(version))
warnings << tr("Display Name is not unique.");
warnings << Tr::tr("Display Name is not unique.");
if (!missingToolChains.isEmpty()) {
if (missingToolChains.count() == qtAbis.size()) {
// Yes, this Qt version can't be used at all!
info.message =
tr("No compiler can produce code for this Qt version."
Tr::tr("No compiler can produce code for this Qt version."
" Please define one or more compilers for: %1").arg(formatAbiHtmlList(qtAbis));
info.icon = m_invalidVersionIcon;
useable = false;
} else {
// Yes, some ABIs are unsupported
warnings << tr("Not all possible target environments can be supported due to missing compilers.");
info.toolTip = tr("The following ABIs are currently not supported: %1")
warnings << Tr::tr("Not all possible target environments can be supported due to missing compilers.");
info.toolTip = Tr::tr("The following ABIs are currently not supported: %1")
.arg(formatAbiHtmlList(missingToolChains));
info.icon = m_warningVersionIcon;
}
@@ -637,7 +637,7 @@ void QtOptionsPageWidget::addQtDir()
{
FilePath qtVersion
= FileUtils::getOpenFilePath(this,
tr("Select a qmake Executable"),
Tr::tr("Select a qmake Executable"),
{},
BuildableHelperLibrary::filterForQmakeFileDialog(),
nullptr,
@@ -669,8 +669,8 @@ void QtOptionsPageWidget::addQtDir()
if (alreadyExists) {
// Already exist
QMessageBox::warning(this, tr("Qt Version Already Known"),
tr("This Qt version was already registered as \"%1\".")
QMessageBox::warning(this, Tr::tr("Qt Version Already Known"),
Tr::tr("This Qt version was already registered as \"%1\".")
.arg(otherName));
return;
}
@@ -686,8 +686,8 @@ void QtOptionsPageWidget::addQtDir()
m_nameEdit->setFocus();
m_nameEdit->selectAll();
} else {
QMessageBox::warning(this, tr("Qmake Not Executable"),
tr("The qmake executable %1 could not be added: %2").arg(qtVersion.toUserOutput()).arg(error));
QMessageBox::warning(this, Tr::tr("Qmake Not Executable"),
Tr::tr("The qmake executable %1 could not be added: %2").arg(qtVersion.toUserOutput()).arg(error));
return;
}
updateCleanUpButton();
@@ -709,7 +709,7 @@ void QtOptionsPageWidget::editPath()
QtVersion *current = currentVersion();
FilePath qtVersion =
FileUtils::getOpenFilePath(this,
tr("Select a qmake Executable"),
Tr::tr("Select a qmake Executable"),
current->qmakeFilePath().absolutePath(),
BuildableHelperLibrary::filterForQmakeFileDialog(),
nullptr,
@@ -722,8 +722,8 @@ void QtOptionsPageWidget::editPath()
// Same type? then replace!
if (current->type() != version->type()) {
// not the same type, error out
QMessageBox::critical(this, tr("Incompatible Qt Versions"),
tr("The Qt version selected must match the device type."),
QMessageBox::critical(this, Tr::tr("Incompatible Qt Versions"),
Tr::tr("The Qt version selected must match the device type."),
QMessageBox::Ok);
delete version;
return;
@@ -853,7 +853,7 @@ static Utils::optional<FilePath> currentlyLinkedQtDir(bool *hasInstallSettings)
static QString linkingPurposeText()
{
return QtOptionsPageWidget::tr(
return Tr::tr(
"Linking with a Qt installation automatically registers Qt versions and kits, and other "
"tools that were installed with that Qt installer, in this Qt Creator installation. Other "
"Qt Creator installations are not affected.");
@@ -869,7 +869,7 @@ static bool canLinkWithQt(QString *toolTip)
tip << linkingPurposeText();
if (!Core::ICore::resourcePath().isWritableDir()) {
canLink = false;
tip << QtOptionsPageWidget::tr("%1's resource directory is not writable.")
tip << Tr::tr("%1's resource directory is not writable.")
.arg(Core::Constants::IDE_DISPLAY_NAME);
}
// guard against redirecting Qt Creator that is part of a Qt installations
@@ -877,12 +877,12 @@ static bool canLinkWithQt(QString *toolTip)
// TODO this will fail when make Qt Creator non-required in the Qt installers
if (installSettingsExist && !installSettingsValue) {
canLink = false;
tip << QtOptionsPageWidget::tr("%1 is part of a Qt installation.")
tip << Tr::tr("%1 is part of a Qt installation.")
.arg(Core::Constants::IDE_DISPLAY_NAME);
}
const FilePath link = installSettingsValue ? *installSettingsValue : FilePath();
if (!link.isEmpty())
tip << QtOptionsPageWidget::tr("%1 is currently linked to \"%2\".")
tip << Tr::tr("%1 is currently linked to \"%2\".")
.arg(QString(Core::Constants::IDE_DISPLAY_NAME), link.toUserOutput());
if (toolTip)
*toolTip = tip.join("\n\n");
@@ -970,7 +970,7 @@ static bool validateQtInstallDir(FancyLineEdit *input, QString *errorString)
if (!settingsDirForQtDir(qtDir)) {
if (errorString) {
const QStringList filesToCheck = settingsFilesToCheck() + qtversionFilesToCheck();
*errorString = "<html><body>" + QtOptionsPageWidget::tr(
*errorString = "<html><body>" + Tr::tr(
"Qt installation information was not found in \"%1\". "
"Choose a directory that contains one of the files %2")
.arg(qtDir, "<pre>" + filesToCheck.join('\n') + "</pre>");
@@ -989,8 +989,8 @@ static FilePath defaultQtInstallationPath()
void QtOptionsPageWidget::linkWithQt()
{
const QString title = tr("Choose Qt Installation");
const QString restartText = tr("The change will take effect after restart.");
const QString title = Tr::tr("Choose Qt Installation");
const QString restartText = Tr::tr("The change will take effect after restart.");
bool askForRestart = false;
QDialog dialog(Core::ICore::dialogParent());
dialog.setWindowTitle(title);
@@ -1001,9 +1001,9 @@ void QtOptionsPageWidget::linkWithQt()
layout->addWidget(tipLabel);
auto pathLayout = new QHBoxLayout;
layout->addLayout(pathLayout);
auto pathLabel = new QLabel(tr("Qt installation path:"));
auto pathLabel = new QLabel(Tr::tr("Qt installation path:"));
pathLabel->setToolTip(
tr("Choose the Qt installation directory, or a directory that contains \"%1\".")
Tr::tr("Choose the Qt installation directory, or a directory that contains \"%1\".")
.arg(settingsFile("")));
pathLayout->addWidget(pathLabel);
auto pathInput = new PathChooser;
@@ -1023,11 +1023,11 @@ void QtOptionsPageWidget::linkWithQt()
auto buttons = new QDialogButtonBox;
layout->addStretch(10);
layout->addWidget(buttons);
auto linkButton = buttons->addButton(tr("Link with Qt"), QDialogButtonBox::AcceptRole);
auto linkButton = buttons->addButton(Tr::tr("Link with Qt"), QDialogButtonBox::AcceptRole);
connect(linkButton, &QPushButton::clicked, &dialog, &QDialog::accept);
auto cancelButton = buttons->addButton(tr("Cancel"), QDialogButtonBox::RejectRole);
auto cancelButton = buttons->addButton(Tr::tr("Cancel"), QDialogButtonBox::RejectRole);
connect(cancelButton, &QPushButton::clicked, &dialog, &QDialog::reject);
auto unlinkButton = buttons->addButton(tr("Remove Link"), QDialogButtonBox::DestructiveRole);
auto unlinkButton = buttons->addButton(Tr::tr("Remove Link"), QDialogButtonBox::DestructiveRole);
unlinkButton->setEnabled(currentLink.has_value());
connect(unlinkButton, &QPushButton::clicked, &dialog, [&dialog, &askForRestart] {
bool removeSettingsFile = false;
@@ -1066,7 +1066,7 @@ void QtOptionsPageWidget::linkWithQt()
QtOptionsPage::QtOptionsPage()
{
setId(Constants::QTVERSION_SETTINGS_PAGE_ID);
setDisplayName(QCoreApplication::translate("QtSupport", "Qt Versions"));
setDisplayName(Tr::tr("Qt Versions"));
setCategory(ProjectExplorer::Constants::KITS_SETTINGS_CATEGORY);
setWidgetCreator([] { return new QtOptionsPageWidget; });
}
@@ -1086,5 +1086,4 @@ void QtOptionsPage::linkWithQt()
QtOptionsPageWidget::linkWithQt();
}
} // namespace Internal
} // namespace QtSupport
} // QtSupport::Internal

View File

@@ -27,8 +27,7 @@
#include <coreplugin/dialogs/ioptionspage.h>
namespace QtSupport {
namespace Internal {
namespace QtSupport::Internal {
class QtOptionsPage final : public Core::IOptionsPage
{
@@ -40,5 +39,4 @@ public:
static void linkWithQt();
};
} // Internal
} // QtSupport
} // QtSupport::Internal

View File

@@ -33,7 +33,7 @@
#include "qtkitinformation.h"
#include "qtoptionspage.h"
#include "qtoutputformatter.h"
#include "qtsupportconstants.h"
#include "qtsupporttr.h"
#include "qtversionmanager.h"
#include "qtversions.h"
#include "translationwizardpage.h"
@@ -117,11 +117,11 @@ static void askAboutQtInstallation()
Utils::InfoBarEntry info(
kLinkWithQtInstallationSetting,
QtSupportPlugin::tr(
Tr::tr(
"Link with a Qt installation to automatically register Qt versions and kits? To do "
"this later, select Edit > Preferences > Kits > Qt Versions > Link with Qt."),
Utils::InfoBarEntry::GlobalSuppression::Enabled);
info.addCustomButton(QtSupportPlugin::tr("Link with Qt"), [] {
info.addCustomButton(Tr::tr("Link with Qt"), [] {
ICore::infoBar()->removeInfo(kLinkWithQtInstallationSetting);
QTimer::singleShot(0, ICore::dialogParent(), &QtOptionsPage::linkWithQt);
});
@@ -141,7 +141,7 @@ void QtSupportPlugin::extensionsInitialized()
static const char kCurrentHostBins[] = "CurrentDocument:Project:QT_HOST_BINS";
expander->registerVariable(
kCurrentHostBins,
tr("Full path to the host bin directory of the Qt version in the active kit "
Tr::tr("Full path to the host bin directory of the Qt version in the active kit "
"of the project containing the current document."),
[]() {
const QtVersion * const qt = currentQtVersion();
@@ -150,7 +150,7 @@ void QtSupportPlugin::extensionsInitialized()
expander->registerVariable(
"CurrentDocument:Project:QT_INSTALL_BINS",
tr("Full path to the target bin directory of the Qt version in the active kit "
Tr::tr("Full path to the target bin directory of the Qt version in the active kit "
"of the project containing the current document.<br>You probably want %1 instead.")
.arg(QString::fromLatin1(kCurrentHostBins)),
[]() {
@@ -160,7 +160,7 @@ void QtSupportPlugin::extensionsInitialized()
expander->registerVariable(
"CurrentDocument:Project:QT_HOST_LIBEXECS",
tr("Full path to the host libexec directory of the Qt version in the active kit "
Tr::tr("Full path to the host libexec directory of the Qt version in the active kit "
"of the project containing the current document."),
[]() {
const QtVersion *const qt = currentQtVersion();
@@ -176,7 +176,7 @@ void QtSupportPlugin::extensionsInitialized()
static const char kActiveHostBins[] = "ActiveProject:QT_HOST_BINS";
expander->registerVariable(
kActiveHostBins,
tr("Full path to the host bin directory of the Qt version in the active kit "
Tr::tr("Full path to the host bin directory of the Qt version in the active kit "
"of the active project."),
[]() {
const QtVersion * const qt = activeQtVersion();
@@ -185,7 +185,7 @@ void QtSupportPlugin::extensionsInitialized()
expander->registerVariable(
"ActiveProject:QT_INSTALL_BINS",
tr("Full path to the target bin directory of the Qt version in the active kit "
Tr::tr("Full path to the target bin directory of the Qt version in the active kit "
"of the active project.<br>You probably want %1 instead.")
.arg(QString::fromLatin1(kActiveHostBins)),
[]() {
@@ -195,7 +195,7 @@ void QtSupportPlugin::extensionsInitialized()
expander->registerVariable(
"ActiveProject::QT_HOST_LIBEXECS",
tr("Full path to the libexec bin directory of the Qt version in the active kit "
Tr::tr("Full path to the libexec bin directory of the Qt version in the active kit "
"of the active project."),
[]() {
const QtVersion *const qt = activeQtVersion();

View File

@@ -27,6 +27,7 @@
#include "baseqtversion.h"
#include "qtsupportconstants.h"
#include "qtsupporttr.h"
#include <projectexplorer/abi.h>
#include <projectexplorer/projectexplorerconstants.h>
@@ -39,11 +40,7 @@
#include <utils/hostosinfo.h>
#include <utils/qtcassert.h>
#include <QCoreApplication>
#include <QFileInfo>
namespace QtSupport {
namespace Internal {
namespace QtSupport::Internal {
class DesktopQtVersion : public QtVersion
{
@@ -63,14 +60,14 @@ QStringList DesktopQtVersion::warningReason() const
QStringList ret = QtVersion::warningReason();
if (qtVersion() >= QtVersionNumber(5, 0, 0)) {
if (qmlRuntimeFilePath().isEmpty())
ret << QCoreApplication::translate("QtVersion", "No QML utility installed.");
ret << Tr::tr("No QML utility installed.");
}
return ret;
}
QString DesktopQtVersion::description() const
{
return QCoreApplication::translate("QtVersion", "Desktop", "Qt Version is meant for the desktop");
return Tr::tr("Desktop", "Qt Version is meant for the desktop");
}
QSet<Utils::Id> DesktopQtVersion::availableFeatures() const
@@ -111,8 +108,7 @@ public:
QString description() const override
{
return QCoreApplication::translate("QtVersion", "Embedded Linux",
"Qt Version is used for embedded Linux development");
return Tr::tr("Embedded Linux", "Qt Version is used for embedded Linux development");
}
QSet<Utils::Id> targetDeviceTypes() const override
@@ -130,5 +126,4 @@ EmbeddedLinuxQtVersionFactory::EmbeddedLinuxQtVersionFactory()
setRestrictionChecker([](const SetupData &) { return false; });
}
} // Internal
} // QtSupport
} // QtSupport::Internal

View File

@@ -27,8 +27,7 @@
#include "qtversionfactory.h"
namespace QtSupport {
namespace Internal {
namespace QtSupport::Internal {
class DesktopQtVersionFactory : public QtVersionFactory
{
@@ -42,5 +41,4 @@ public:
EmbeddedLinuxQtVersionFactory();
};
} // Internal
} // QtSupport
} // QtSupport::Internal

View File

@@ -25,9 +25,12 @@
#include "translationwizardpage.h"
#include "qtsupporttr.h"
#include <projectexplorer/jsonwizard/jsonwizard.h>
#include <utils/algorithm.h>
#include <utils/fileutils.h>
#include <utils/filepath.h>
#include <utils/macroexpander.h>
#include <utils/wizardpage.h>
@@ -88,14 +91,14 @@ TranslationWizardPage::TranslationWizardPage(const QString &enabledExpr)
{
const auto mainLayout = new QVBoxLayout(this);
const auto descriptionLabel = new QLabel(
tr("If you plan to provide translations for your project's "
Tr::tr("If you plan to provide translations for your project's "
"user interface via the Qt Linguist tool, please select a language here. "
"A corresponding translation (.ts) file will be generated for you."));
descriptionLabel->setWordWrap(true);
mainLayout->addWidget(descriptionLabel);
const auto formLayout = new QFormLayout;
mainLayout->addLayout(formLayout);
m_languageComboBox.addItem(tr("<none>"));
m_languageComboBox.addItem(Tr::tr("<none>"));
QList<QLocale> allLocales = QLocale::matchingLocales(
QLocale::AnyLanguage, QLocale::AnyScript, QLocale::AnyCountry);
allLocales.removeOne(QLocale::C);
@@ -113,12 +116,12 @@ TranslationWizardPage::TranslationWizardPage(const QString &enabledExpr)
localeStrings.end());
for (const LocalePair &lp : qAsConst(localeStrings))
m_languageComboBox.addItem(lp.first, lp.second);
formLayout->addRow(tr("Language:"), &m_languageComboBox);
formLayout->addRow(Tr::tr("Language:"), &m_languageComboBox);
const auto fileNameLayout = new QHBoxLayout;
m_fileNameLineEdit.setReadOnly(true);
fileNameLayout->addWidget(&m_fileNameLineEdit);
fileNameLayout->addStretch(1);
formLayout->addRow(tr("Translation file:"), fileNameLayout);
formLayout->addRow(Tr::tr("Translation file:"), fileNameLayout);
connect(&m_languageComboBox, &QComboBox::currentIndexChanged,
this, &TranslationWizardPage::updateLineEdit);
}
@@ -154,7 +157,7 @@ void TranslationWizardPage::updateLineEdit()
m_fileNameLineEdit.setText(projectName + '_' + m_languageComboBox.currentData().toString());
} else {
m_fileNameLineEdit.clear();
m_fileNameLineEdit.setPlaceholderText(tr("<none>"));
m_fileNameLineEdit.setPlaceholderText(Tr::tr("<none>"));
}
emit completeChanged();
}