Tr: Fix some plurals

Change-Id: I9d7a52a64536e6e1c0a9da4f3cb2f3a116afb6cd
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Eike Ziller
2023-10-16 10:08:48 +02:00
parent abeb2287ce
commit 1359e9c84f
3 changed files with 6 additions and 4 deletions

View File

@@ -721,7 +721,7 @@ expected_str<qint64> DesktopDeviceFileAccess::writeFileContents(const FilePath &
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 %n byte(s) written).")
.arg(filePath.toUserOutput())
.arg(res)
.arg(data.size()));