forked from qt-creator/qt-creator
ADS: Fix punctuation in UI text
- Use full stops in end of messages - Use double quotes for emphasis (instead of single ones) Change-Id: Ie891dea536f267a12eae5e47c79421b820d0b5ea Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -839,7 +839,7 @@ expected_str<void> DockManager::reloadActiveWorkspace()
|
|||||||
|
|
||||||
if (!workspaces().contains(*wrk))
|
if (!workspaces().contains(*wrk))
|
||||||
return make_unexpected(
|
return make_unexpected(
|
||||||
Tr::tr("Cannot reload \"%1\", it is not contained in the list of workspaces")
|
Tr::tr("Cannot reload \"%1\". It is not in the list of workspaces.")
|
||||||
.arg(wrk->filePath().toUserOutput()));
|
.arg(wrk->filePath().toUserOutput()));
|
||||||
|
|
||||||
const expected_str<QByteArray> data = loadWorkspace(*wrk);
|
const expected_str<QByteArray> data = loadWorkspace(*wrk);
|
||||||
@@ -903,7 +903,7 @@ expected_str<QString> DockManager::cloneWorkspace(const QString &originalFileNam
|
|||||||
|
|
||||||
const expected_str<void> copyResult = originalPath.copyFile(clonePath);
|
const expected_str<void> copyResult = originalPath.copyFile(clonePath);
|
||||||
if (!copyResult)
|
if (!copyResult)
|
||||||
return make_unexpected(Tr::tr("Could not clone '%1' due to: %2")
|
return make_unexpected(Tr::tr("Could not clone \"%1\" due to: %2")
|
||||||
.arg(originalPath.toUserOutput(), copyResult.error()));
|
.arg(originalPath.toUserOutput(), copyResult.error()));
|
||||||
|
|
||||||
writeDisplayName(clonePath, cloneName);
|
writeDisplayName(clonePath, cloneName);
|
||||||
@@ -1023,7 +1023,7 @@ expected_str<QString> DockManager::exportWorkspace(const QString &targetFilePath
|
|||||||
const FilePath workspaceFile = userDirectory().pathAppended(sourceFileName);
|
const FilePath workspaceFile = userDirectory().pathAppended(sourceFileName);
|
||||||
if (!workspaceFile.exists())
|
if (!workspaceFile.exists())
|
||||||
return make_unexpected(
|
return make_unexpected(
|
||||||
Tr::tr("Workspace does not exist '%1'").arg(workspaceFile.toUserOutput()));
|
Tr::tr("Workspace does not exist \"%1\"").arg(workspaceFile.toUserOutput()));
|
||||||
|
|
||||||
// Finally copy the workspace to the target
|
// Finally copy the workspace to the target
|
||||||
const expected_str<void> copyResult = workspaceFile.copyFile(targetFile);
|
const expected_str<void> copyResult = workspaceFile.copyFile(targetFile);
|
||||||
|
Reference in New Issue
Block a user