summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--po/en.po6
-rw-r--r--res/lang/en.binbin15751 -> 15782 bytes
-rw-r--r--src/ui/documentwidget.c8
3 files changed, 10 insertions, 4 deletions
diff --git a/po/en.po b/po/en.po
index b4385d34..64621034 100644
--- a/po/en.po
+++ b/po/en.po
@@ -270,8 +270,10 @@ msgstr "MB"
270msgid "kb" 270msgid "kb"
271msgstr "KB" 271msgstr "KB"
272 272
273msgid "bytes" 273msgid "num.bytes"
274msgstr "bytes" 274msgid_plural "num.bytes.n"
275msgstr[0] "%zu byte"
276msgstr[1] "%zu bytes"
275 277
276# strftime() formatted, split on two lines 278# strftime() formatted, split on two lines
277#, c-format 279#, c-format
diff --git a/res/lang/en.bin b/res/lang/en.bin
index 67ee046e..f408cef4 100644
--- a/res/lang/en.bin
+++ b/res/lang/en.bin
Binary files differ
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 88016b1c..f6b68034 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -1624,12 +1624,16 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd)
1624 } 1624 }
1625 iString *msg = collectNew_String(); 1625 iString *msg = collectNew_String();
1626 if (isEmpty_String(&d->sourceHeader)) { 1626 if (isEmpty_String(&d->sourceHeader)) {
1627 appendFormat_String(msg, "%s\n%zu ${bytes}\n", cstr_String(meta), size_Block(&d->sourceContent)); 1627 appendFormat_String(msg,
1628 "%s\n%s\n",
1629 cstr_String(meta),
1630 formatCStrs_Lang("num.bytes.n", size_Block(&d->sourceContent)));
1628 } 1631 }
1629 else { 1632 else {
1630 appendFormat_String(msg, "%s\n", cstr_String(&d->sourceHeader)); 1633 appendFormat_String(msg, "%s\n", cstr_String(&d->sourceHeader));
1631 if (size_Block(&d->sourceContent)) { 1634 if (size_Block(&d->sourceContent)) {
1632 appendFormat_String(msg, "%zu ${bytes}\n", size_Block(&d->sourceContent)); 1635 appendFormat_String(
1636 msg, "%s\n", formatCStrs_Lang("num.bytes.n", size_Block(&d->sourceContent)));
1633 } 1637 }
1634 } 1638 }
1635 appendFormat_String( 1639 appendFormat_String(