forked from qt-creator/qt-creator
Tr: Add missing full stops
Change-Id: I2debc56d0740eaa30c7d597eae18910f319c1d98 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"supportedProjectTypes": [ "PythonProject" ],
|
||||
"id": "F.QtForPythonApplicationWindowWidget",
|
||||
"category": "F.ApplicationPySide",
|
||||
"trDescription": "Creates a Qt for Python application that includes a Qt Designer-based widget (ui file) - Requires .ui to Python conversion",
|
||||
"trDescription": "Creates a Qt for Python application that includes a Qt Designer-based widget (ui file). Requires .ui to Python conversion.",
|
||||
"trDisplayName": "Window UI",
|
||||
"trDisplayCategory": "Application (Qt for Python)",
|
||||
"icon": "../icons/icon.png",
|
||||
|
||||
@@ -54,8 +54,8 @@
|
||||
[
|
||||
{
|
||||
"name": "QdsProjectStyle",
|
||||
"trDisplayName": "Create a project that you can open in Qt Design Studio",
|
||||
"trToolTip": "Create a project with a structure that is compatible both with Qt Design Studio (via .qmlproject) and with Qt Creator (via CMakeLists.txt). It contains a .ui.qml form that you can visually edit in Qt Design Studio.",
|
||||
"trDisplayName": "Creates a project that you can open in Qt Design Studio.",
|
||||
"trToolTip": "Creates a project with a structure that is compatible both with Qt Design Studio (via .qmlproject) and with Qt Creator (via CMakeLists.txt). It contains a .ui.qml form that you can visually edit in Qt Design Studio.",
|
||||
"type": "CheckBox",
|
||||
"span": true,
|
||||
"persistenceKey": "QtQuick.QdsProjectStyle",
|
||||
@@ -77,7 +77,7 @@
|
||||
},
|
||||
{
|
||||
"name": "MinimumSupportedQtVersion",
|
||||
"trDisplayName": "The minimum version of Qt you want to build the application for",
|
||||
"trDisplayName": "The minimum version of Qt you want to build the application for.",
|
||||
"type": "ComboBox",
|
||||
"data":
|
||||
{
|
||||
|
||||
@@ -7810,8 +7810,8 @@ Vil du dræbe den?</translation>
|
||||
<translation>Patch-kommandoen konfigureret i de generelle "Miljø"-indstillinger findes ikke.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Running in "%1": %2 %3</source>
|
||||
<translation>Kører om "%1": %2 %3</translation>
|
||||
<source>Running in "%1": %2 %3.</source>
|
||||
<translation>Kører om "%1": %2 %3.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unable to launch "%1": %2</source>
|
||||
@@ -38022,8 +38022,8 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o
|
||||
<translation>Kører: %1 %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Running in %1: %2 %3</source>
|
||||
<translation>Kører om %1: %2 %3</translation>
|
||||
<source>Running in %1: %2 %3.</source>
|
||||
<translation>Kører om %1: %2 %3.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
||||
@@ -13396,20 +13396,20 @@ Möchten Sie den Pfad zu den Quelldateien in die Zwischenablage kopieren?</trans
|
||||
<translation>CMake-Generator fehlgeschlagen: %1.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Kit does not have a cmake binary set</source>
|
||||
<translation>Das Kit hat keine ausführbare CMake-Datei gesetzt</translation>
|
||||
<source>Kit does not have a cmake binary set.</source>
|
||||
<translation>Das Kit hat keine ausführbare CMake-Datei gesetzt.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot create output directory "%1"</source>
|
||||
<translation>Das Ausgabeverzeichnis "%1" konnte nicht angelegt werden</translation>
|
||||
<source>Cannot create output directory "%1".</source>
|
||||
<translation>Das Ausgabeverzeichnis "%1" konnte nicht angelegt werden.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>No valid cmake executable</source>
|
||||
<translation>Keine gültige ausführbare CMake-Datei</translation>
|
||||
<source>No valid cmake executable.</source>
|
||||
<translation>Keine gültige ausführbare CMake-Datei.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Running in "%1": %2</source>
|
||||
<translation>Führe in "%1" aus: %2</translation>
|
||||
<source>Running in "%1": %2.</source>
|
||||
<translation>Führe in "%1" aus: %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><No CMake Tool available></source>
|
||||
@@ -16566,8 +16566,8 @@ Trotzdem fortfahren?</translation>
|
||||
<translation>Das in den allgemeinen Umgebungseinstellungen konfigurierte patch-Kommando existiert nicht.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Running in "%1": %2 %3</source>
|
||||
<translation>Führe in "%1" aus: %2 %3</translation>
|
||||
<source>Running in "%1": %2 %3.</source>
|
||||
<translation>Führe in "%1" aus: %2 %3.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unable to launch "%1": %2</source>
|
||||
@@ -19001,8 +19001,8 @@ Doppelklicken Sie einen Eintrag um ihn zu ändern.</translation>
|
||||
<translation>Ausgewählte Kategorien laden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to open preset file "%1" for reading</source>
|
||||
<translation>Datei "%1" konnte nicht zum Lesen der Voreinstellung geöffnet werden</translation>
|
||||
<source>Failed to open preset file "%1" for reading.</source>
|
||||
<translation>Datei "%1" konnte nicht zum Lesen der Voreinstellung geöffnet werden.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to read preset file "%1": %2</source>
|
||||
@@ -37953,7 +37953,7 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü
|
||||
<translation>Leeres Fenster</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Creates a Qt for Python application that includes a Qt Designer-based widget (ui file) - Requires .ui to Python conversion</source>
|
||||
<source>Creates a Qt for Python application that includes a Qt Designer-based widget (ui file). Requires .ui to Python conversion.</source>
|
||||
<translation>Erstellt eine Qt for Python-Anwendung, die ein Qt Designer-basiertes Widget (ui-Datei) enthält. Erfordert Umwandlung von .ui nach Python.</translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -38089,16 +38089,16 @@ Benutzen Sie dies nur für Prototypen. Sie können damit keine vollständige Anw
|
||||
<translation>Nimble-Anwendung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Create a project that you can open in Qt Design Studio</source>
|
||||
<translation>Erstellt ein Projekt, das in Qt Design Studio geöffnet werden kann</translation>
|
||||
<source>Creates a project that you can open in Qt Design Studio.</source>
|
||||
<translation>Erstellt ein Projekt, das in Qt Design Studio geöffnet werden kann.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Create a project with a structure that is compatible both with Qt Design Studio (via .qmlproject) and with Qt Creator (via CMakeLists.txt). It contains a .ui.qml form that you can visually edit in Qt Design Studio.</source>
|
||||
<source>Creates a project with a structure that is compatible both with Qt Design Studio (via .qmlproject) and with Qt Creator (via CMakeLists.txt). It contains a .ui.qml form that you can visually edit in Qt Design Studio.</source>
|
||||
<translation>Erstellt ein Projekt mit einer Struktur, die sowohl mit Qt Design Studio (via qmlproject) als auch mit Qt Creator (via CMakeLists.txt) kompatibel ist. Es enthält ein .ui.qml-Formular, das in Qt Design Studio visuell bearbeitet werden kann.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The minimum version of Qt you want to build the application for</source>
|
||||
<translation>Die niedrigste Qt-Version, die Sie zum Bauen der Anwendung benutzen wollen</translation>
|
||||
<source>The minimum version of Qt you want to build the application for.</source>
|
||||
<translation>Die niedrigste Qt-Version, die Sie zum Bauen der Anwendung benutzen wollen.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Creates a Qt Quick application that contains an empty window. Optionally, you can create a Qt Design Studio project.</source>
|
||||
@@ -41535,12 +41535,12 @@ Weder der Pfad zur Bibliothek noch der Pfad zu den Headerdateien wird zur .pro-D
|
||||
<translation>Kein qmake-Build-Schritt in der aktiven Build-Konfiguration</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot create output directory "%1"</source>
|
||||
<translation>Das Ausgabeverzeichnis "%1" konnte nicht angelegt werden</translation>
|
||||
<source>Cannot create output directory "%1".</source>
|
||||
<translation>Das Ausgabeverzeichnis "%1" konnte nicht angelegt werden.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Running in "%1": %2</source>
|
||||
<translation>Führe in "%1" aus: %2</translation>
|
||||
<source>Running in "%1": %2.</source>
|
||||
<translation>Führe in "%1" aus: %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Build</source>
|
||||
@@ -41993,8 +41993,8 @@ Für CMake-Projekte stellen Sie sicher, dass die Variable QML_IMPORT_PATH in CMa
|
||||
<translation>Package-Import erfordert eine Versionsnummer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Nested inline components are not supported</source>
|
||||
<translation>Verschachtelte Inline-Komponenten werden nicht unterstützt</translation>
|
||||
<source>Nested inline components are not supported.</source>
|
||||
<translation>Verschachtelte Inline-Komponenten werden nicht unterstützt.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Errors while loading qmltypes from %1:
|
||||
@@ -51134,8 +51134,8 @@ Die Trace-Daten sind verloren.</translation>
|
||||
<translation>Der Rückgabewert des Prozesses konnte nicht erhalten werden: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>copyFile is not implemented for "%1"</source>
|
||||
<translation>copyFile ist für "%1" nicht implementiert</translation>
|
||||
<source>copyFile is not implemented for "%1".</source>
|
||||
<translation>copyFile ist für "%1" nicht implementiert.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot copy from "%1", it is not a directory.</source>
|
||||
@@ -51154,16 +51154,16 @@ Die Trace-Daten sind verloren.</translation>
|
||||
<translation>Rekursives Kopieren von "%1" nach "%2" beim Auspacken des Tar-Archivs am Ziel fehlgeschlagen: %3</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>fileContents is not implemented for "%1"</source>
|
||||
<translation>fileContents ist für "%1" nicht implementiert</translation>
|
||||
<source>fileContents is not implemented for "%1".</source>
|
||||
<translation>fileContents ist für "%1" nicht implementiert.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>writeFileContents is not implemented for "%1"</source>
|
||||
<translation>writeFileContents ist für "%1" nicht implementiert</translation>
|
||||
<source>writeFileContents is not implemented for "%1".</source>
|
||||
<translation>writeFileContents ist für "%1" nicht implementiert.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>createTempFile is not implemented for "%1"</source>
|
||||
<translation>createTempFile ist für "%1" nicht implementiert</translation>
|
||||
<source>createTempFile is not implemented for "%1".</source>
|
||||
<translation>createTempFile ist für "%1" nicht implementiert.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Refusing to remove root directory.</source>
|
||||
@@ -51186,28 +51186,28 @@ Die Trace-Daten sind verloren.</translation>
|
||||
<translation>Kopieren der Datei "%1" nach "%2" ist fehlgeschlagen.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File "%1" does not exist</source>
|
||||
<translation>Datei "%1" existiert nicht</translation>
|
||||
<source>File "%1" does not exist.</source>
|
||||
<translation>Datei "%1" existiert nicht.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Could not open File "%1"</source>
|
||||
<translation>Die Datei "%1" konnte nicht geöffnet werden</translation>
|
||||
<source>Could not open File "%1".</source>
|
||||
<translation>Die Datei "%1" konnte nicht geöffnet werden.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot read "%1": %2</source>
|
||||
<translation>"%1" kann nicht gelesen werden: %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Could not open file "%1" for writing</source>
|
||||
<translation>Die Datei "%1" konnte nicht zum Schreiben geöffnet werden</translation>
|
||||
<source>Could not open file "%1" for writing.</source>
|
||||
<translation>Die Datei "%1" konnte nicht zum Schreiben geöffnet werden.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Could not write to file "%1" (only %2 of %3 bytes written)</source>
|
||||
<translation>Die Datei "%1" konnte nicht geschrieben werden (es wurden nur %2 von %3 Bytes geschrieben)</translation>
|
||||
<source>Could not write to file "%1" (only %2 of %3 bytes written).</source>
|
||||
<translation>Die Datei "%1" konnte nicht geschrieben werden (es wurden nur %2 von %3 Bytes geschrieben).</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Could not create temporary file in "%1" (%2)</source>
|
||||
<translation>Es konnte keine temporäre Datei in "%1" erstellt werden (%2)</translation>
|
||||
<source>Could not create temporary file in "%1" (%2).</source>
|
||||
<translation>Es konnte keine temporäre Datei in "%1" erstellt werden (%2).</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to copy file "%1" to "%2": %3</source>
|
||||
@@ -51226,8 +51226,8 @@ Die Trace-Daten sind verloren.</translation>
|
||||
<translation>Die temporäre Datei "%1" konnte nicht erstellt werden: %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed creating temporary file "%1" (too many tries)</source>
|
||||
<translation>Die temporäre Datei "%1" konnte nicht erstellt werden (zu viele Versuche)</translation>
|
||||
<source>Failed creating temporary file "%1" (too many tries).</source>
|
||||
<translation>Die temporäre Datei "%1" konnte nicht erstellt werden (zu viele Versuche).</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to create directory "%1".</source>
|
||||
@@ -53266,8 +53266,8 @@ Wird ein Problem gefunden, dann wird die Anwendung angehalten und kann untersuch
|
||||
<translation>Führe aus: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Running in "%1": %2</source>
|
||||
<translation>Führe in "%1" aus: %2</translation>
|
||||
<source>Running in "%1": %2.</source>
|
||||
<translation>Führe in "%1" aus: %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to retrieve data.</source>
|
||||
|
||||
@@ -18572,8 +18572,8 @@ Do you want to kill it?</source>
|
||||
<translation>U općim postavkama za „Okruženje” konfigurirana zakrpna naredba ne postoji.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Running in "%1": %2 %3</source>
|
||||
<translation>Pokrenuto u "%1": %2 %3</translation>
|
||||
<source>Running in "%1": %2 %3.</source>
|
||||
<translation>Pokrenuto u "%1": %2 %3.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unable to launch "%1": %2</source>
|
||||
@@ -35830,8 +35830,8 @@ What do you want to do?</source>
|
||||
<translation>Radi: %1 %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Running in "%1": %2 %3</source>
|
||||
<translation>Radi u "%1": %2 %3</translation>
|
||||
<source>Running in "%1": %2 %3.</source>
|
||||
<translation>Radi u "%1": %2 %3.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name of the version control system in use by the current project.</source>
|
||||
|
||||
@@ -9342,8 +9342,8 @@ will also disable the following plugins:
|
||||
<translation>パッケージをインポートするにはバージョン番号が含まれている必要があります</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Nested inline components are not supported</source>
|
||||
<translation>インラインコンポーネントのネストはサポートされていません</translation>
|
||||
<source>Nested inline components are not supported.</source>
|
||||
<translation>インラインコンポーネントのネストはサポートされていません。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>'int' or 'real'</source>
|
||||
|
||||
@@ -28622,8 +28622,8 @@ Do you want to check them out now?</source>
|
||||
<translation>Brak skonfigurowanej komendy "patch" w głównych ustawieniach środowiska.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Running in "%1": %2 %3</source>
|
||||
<translation>Uruchamianie w "%1": %2 %3</translation>
|
||||
<source>Running in "%1": %2 %3.</source>
|
||||
<translation>Uruchamianie w "%1": %2 %3.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unable to launch "%1": %2</source>
|
||||
@@ -31184,8 +31184,8 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan
|
||||
<translation>Uruchamianie: %1 %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Running in "%1": %2 %3</source>
|
||||
<translation>Uruchamianie w "%1": %2 %3</translation>
|
||||
<source>Running in "%1": %2 %3.</source>
|
||||
<translation>Uruchamianie w "%1": %2 %3.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
||||
@@ -10564,8 +10564,8 @@ Double-click to edit item.</source>
|
||||
<translation>Команда patch, настроенная в общих настройках «Среды», отсутствует.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Running in "%1": %2 %3</source>
|
||||
<translation>Выполняется в "%1": %2 %3</translation>
|
||||
<source>Running in "%1": %2 %3.</source>
|
||||
<translation>Выполняется в "%1": %2 %3.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unable to launch "%1": %2</source>
|
||||
@@ -47660,8 +47660,8 @@ What do you want to do?</source>
|
||||
<translation>Исполнение: %1 %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Running in "%1": %2 %3</source>
|
||||
<translation>Исполнение в "%1": %2 %3</translation>
|
||||
<source>Running in "%1": %2 %3.</source>
|
||||
<translation>Исполнение в "%1": %2 %3.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Undo</source>
|
||||
|
||||
@@ -326,7 +326,7 @@ bool Bind::visit(UiInlineComponent *ast)
|
||||
if (!_currentComponentName.isEmpty()) {
|
||||
_currentComponentName += ".";
|
||||
_diagnosticMessages->append(
|
||||
errorMessage(ast, Tr::tr("Nested inline components are not supported")));
|
||||
errorMessage(ast, Tr::tr("Nested inline components are not supported.")));
|
||||
}
|
||||
_currentComponentName += ast->name.toString();
|
||||
_rootObjectValue = nullptr;
|
||||
|
||||
@@ -161,7 +161,7 @@ expected_str<void> DeviceFileAccess::copyFile(const FilePath &filePath, const Fi
|
||||
Q_UNUSED(target)
|
||||
QTC_CHECK(false);
|
||||
return make_unexpected(
|
||||
Tr::tr("copyFile is not implemented for \"%1\"").arg(filePath.toUserOutput()));
|
||||
Tr::tr("copyFile is not implemented for \"%1\".").arg(filePath.toUserOutput()));
|
||||
}
|
||||
|
||||
expected_str<void> copyRecursively_fallback(const FilePath &src, const FilePath &target)
|
||||
@@ -305,7 +305,7 @@ expected_str<QByteArray> DeviceFileAccess::fileContents(const FilePath &filePath
|
||||
Q_UNUSED(offset)
|
||||
QTC_CHECK(false);
|
||||
return make_unexpected(
|
||||
Tr::tr("fileContents is not implemented for \"%1\"").arg(filePath.toUserOutput()));
|
||||
Tr::tr("fileContents is not implemented for \"%1\".").arg(filePath.toUserOutput()));
|
||||
}
|
||||
|
||||
expected_str<qint64> DeviceFileAccess::writeFileContents(const FilePath &filePath,
|
||||
@@ -317,7 +317,7 @@ expected_str<qint64> DeviceFileAccess::writeFileContents(const FilePath &filePat
|
||||
Q_UNUSED(offset)
|
||||
QTC_CHECK(false);
|
||||
return make_unexpected(
|
||||
Tr::tr("writeFileContents is not implemented for \"%1\"").arg(filePath.toUserOutput()));
|
||||
Tr::tr("writeFileContents is not implemented for \"%1\".").arg(filePath.toUserOutput()));
|
||||
}
|
||||
|
||||
FilePathInfo DeviceFileAccess::filePathInfo(const FilePath &filePath) const
|
||||
@@ -382,8 +382,8 @@ expected_str<FilePath> DeviceFileAccess::createTempFile(const FilePath &filePath
|
||||
{
|
||||
Q_UNUSED(filePath)
|
||||
QTC_CHECK(false);
|
||||
return make_unexpected(Tr::tr("createTempFile is not implemented for \"%1\"")
|
||||
.arg(filePath.toUserOutput()));
|
||||
return make_unexpected(
|
||||
Tr::tr("createTempFile is not implemented for \"%1\".").arg(filePath.toUserOutput()));
|
||||
}
|
||||
|
||||
|
||||
@@ -658,10 +658,10 @@ expected_str<QByteArray> DesktopDeviceFileAccess::fileContents(const FilePath &f
|
||||
const QString path = filePath.path();
|
||||
QFile f(path);
|
||||
if (!f.exists())
|
||||
return make_unexpected(Tr::tr("File \"%1\" does not exist").arg(path));
|
||||
return make_unexpected(Tr::tr("File \"%1\" does not exist.").arg(path));
|
||||
|
||||
if (!f.open(QFile::ReadOnly))
|
||||
return make_unexpected(Tr::tr("Could not open File \"%1\"").arg(path));
|
||||
return make_unexpected(Tr::tr("Could not open File \"%1\".").arg(path));
|
||||
|
||||
if (offset != 0)
|
||||
f.seek(offset);
|
||||
@@ -686,14 +686,14 @@ expected_str<qint64> DesktopDeviceFileAccess::writeFileContents(const FilePath &
|
||||
const bool isOpened = file.open(QFile::WriteOnly | QFile::Truncate);
|
||||
if (!isOpened)
|
||||
return make_unexpected(
|
||||
Tr::tr("Could not open file \"%1\" for writing").arg(filePath.toUserOutput()));
|
||||
Tr::tr("Could not open file \"%1\" for writing.").arg(filePath.toUserOutput()));
|
||||
|
||||
if (offset != 0)
|
||||
file.seek(offset);
|
||||
qint64 res = file.write(data);
|
||||
if (res != data.size())
|
||||
return make_unexpected(
|
||||
Tr::tr("Could not write to file \"%1\" (only %2 of %3 bytes written)")
|
||||
Tr::tr("Could not write to file \"%1\" (only %2 of %3 bytes written).")
|
||||
.arg(filePath.toUserOutput())
|
||||
.arg(res)
|
||||
.arg(data.size()));
|
||||
@@ -705,8 +705,9 @@ expected_str<FilePath> DesktopDeviceFileAccess::createTempFile(const FilePath &f
|
||||
QTemporaryFile file(filePath.path());
|
||||
file.setAutoRemove(false);
|
||||
if (!file.open()) {
|
||||
return make_unexpected(Tr::tr("Could not create temporary file in \"%1\" (%2)")
|
||||
.arg(filePath.toUserOutput()).arg(file.errorString()));
|
||||
return make_unexpected(Tr::tr("Could not create temporary file in \"%1\" (%2).")
|
||||
.arg(filePath.toUserOutput())
|
||||
.arg(file.errorString()));
|
||||
}
|
||||
return filePath.withNewPath(file.fileName());
|
||||
}
|
||||
@@ -1039,7 +1040,7 @@ expected_str<FilePath> UnixDeviceFileAccess::createTempFile(const FilePath &file
|
||||
}
|
||||
newPath = filePath.withNewPath(tmplate);
|
||||
if (--maxTries == 0) {
|
||||
return make_unexpected(Tr::tr("Failed creating temporary file \"%1\" (too many tries)")
|
||||
return make_unexpected(Tr::tr("Failed creating temporary file \"%1\" (too many tries).")
|
||||
.arg(filePath.toUserOutput()));
|
||||
}
|
||||
} while (newPath.exists());
|
||||
|
||||
@@ -1712,20 +1712,20 @@ void CMakeBuildSystem::runGenerator(Id id)
|
||||
const CMakeTool * const cmakeTool
|
||||
= CMakeKitAspect::cmakeTool(buildConfiguration()->target()->kit());
|
||||
if (!cmakeTool) {
|
||||
showError(Tr::tr("Kit does not have a cmake binary set"));
|
||||
showError(Tr::tr("Kit does not have a cmake binary set."));
|
||||
return;
|
||||
}
|
||||
const QString generator = id.toSetting().toString();
|
||||
const FilePath outDir = buildConfiguration()->buildDirectory()
|
||||
/ ("qtc_" + FileUtils::fileSystemFriendlyName(generator));
|
||||
if (!outDir.ensureWritableDir()) {
|
||||
showError(Tr::tr("Cannot create output directory \"%1\"").arg(outDir.toString()));
|
||||
showError(Tr::tr("Cannot create output directory \"%1\".").arg(outDir.toString()));
|
||||
return;
|
||||
}
|
||||
CommandLine cmdLine(cmakeTool->cmakeExecutable(), {"-S", buildConfiguration()->target()
|
||||
->project()->projectDirectory().toUserOutput(), "-G", generator});
|
||||
if (!cmdLine.executable().isExecutableFile()) {
|
||||
showError(Tr::tr("No valid cmake executable"));
|
||||
showError(Tr::tr("No valid cmake executable."));
|
||||
return;
|
||||
}
|
||||
const auto itemFilter = [](const CMakeConfigItem &item) {
|
||||
@@ -1762,8 +1762,8 @@ void CMakeBuildSystem::runGenerator(Id id)
|
||||
proc->setWorkingDirectory(outDir);
|
||||
proc->setEnvironment(buildConfiguration()->environment());
|
||||
proc->setCommand(cmdLine);
|
||||
Core::MessageManager::writeFlashing(Tr::tr("Running in %1: %2")
|
||||
.arg(outDir.toUserOutput(), cmdLine.toUserOutput()));
|
||||
Core::MessageManager::writeFlashing(
|
||||
Tr::tr("Running in %1: %2.").arg(outDir.toUserOutput(), cmdLine.toUserOutput()));
|
||||
proc->start();
|
||||
}
|
||||
|
||||
|
||||
@@ -656,7 +656,7 @@ void LoggingViewManagerWidget::loadAndUpdateFromPreset()
|
||||
if (!contents) {
|
||||
QMessageBox::critical(ICore::dialogParent(),
|
||||
Tr::tr("Error"),
|
||||
Tr::tr("Failed to open preset file \"%1\" for reading")
|
||||
Tr::tr("Failed to open preset file \"%1\" for reading.")
|
||||
.arg(fp.toUserOutput()));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ static bool runPatchHelper(const QByteArray &input, const FilePath &workingDirec
|
||||
args << "-R";
|
||||
args << "--binary";
|
||||
MessageManager::writeDisrupting(
|
||||
Tr::tr("Running in \"%1\": %2 %3")
|
||||
Tr::tr("Running in \"%1\": %2 %3.")
|
||||
.arg(workingDirectory.toUserOutput(), patch.toUserOutput(), args.join(' ')));
|
||||
patchProcess.setCommand({patch, args});
|
||||
patchProcess.setWriteData(input);
|
||||
|
||||
@@ -1590,7 +1590,7 @@ void QmakeBuildSystem::runGenerator(Utils::Id id)
|
||||
QTC_ASSERT(false, return);
|
||||
}
|
||||
if (!outDir.ensureWritableDir()) {
|
||||
showError(Tr::tr("Cannot create output directory \"%1\"").arg(outDir.toUserOutput()));
|
||||
showError(Tr::tr("Cannot create output directory \"%1\".").arg(outDir.toUserOutput()));
|
||||
return;
|
||||
}
|
||||
const auto proc = new Process(this);
|
||||
@@ -1605,7 +1605,7 @@ void QmakeBuildSystem::runGenerator(Utils::Id id)
|
||||
proc->setEnvironment(buildConfiguration()->environment());
|
||||
proc->setCommand(cmdLine);
|
||||
Core::MessageManager::writeFlashing(
|
||||
Tr::tr("Running in \"%1\": %2").arg(outDir.toUserOutput(), cmdLine.toUserOutput()));
|
||||
Tr::tr("Running in \"%1\": %2.").arg(outDir.toUserOutput(), cmdLine.toUserOutput()));
|
||||
proc->start();
|
||||
}
|
||||
|
||||
|
||||
@@ -444,7 +444,7 @@ QString VcsOutputWindow::msgExecutionLogEntry(const FilePath &workingDir, const
|
||||
+ ' ' + formatArguments(command.splitArguments());
|
||||
if (workingDir.isEmpty())
|
||||
return Tr::tr("Running: %1").arg(maskedCmdline) + '\n';
|
||||
return Tr::tr("Running in \"%1\": %2").arg(workingDir.toUserOutput(), maskedCmdline) + '\n';
|
||||
return Tr::tr("Running in \"%1\": %2.").arg(workingDir.toUserOutput(), maskedCmdline) + '\n';
|
||||
}
|
||||
|
||||
void VcsOutputWindow::appendShellCommandLine(const QString &text)
|
||||
|
||||
Reference in New Issue
Block a user