1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 00:04:06 +00:00

Swapped plural and singular positions (#3996)

This commit is contained in:
Yaron Shahrabani 2022-10-19 21:05:36 +03:00 committed by GitHub
parent 450f1dcadc
commit e97a98f10b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -223,12 +223,12 @@ int tr_main(int argc, char* argv[])
} }
fmt::print( fmt::print(
ngettext("{file_count:L} files, {total_size}\n", "{file_count:L} file, {total_size}\n", builder.fileCount()), ngettext("{file_count:L} file, {total_size}\n", "{file_count:L} files, {total_size}\n", builder.fileCount()),
fmt::arg("file_count", builder.fileCount()), fmt::arg("file_count", builder.fileCount()),
fmt::arg("total_size", tr_formatter_size_B(builder.totalSize()))); fmt::arg("total_size", tr_formatter_size_B(builder.totalSize())));
fmt::print( fmt::print(
ngettext("{piece_count:L} pieces, {piece_size} each\n", "{piece_count:L} piece, {piece_size}\n", builder.pieceCount()), ngettext("{piece_count:L} piece, {piece_size}\n", "{piece_count:L} pieces, {piece_size} each\n", builder.pieceCount()),
fmt::arg("piece_count", builder.pieceCount()), fmt::arg("piece_count", builder.pieceCount()),
fmt::arg("piece_size", tr_formatter_size_B(builder.pieceSize()))); fmt::arg("piece_size", tr_formatter_size_B(builder.pieceSize())));