From 7b3bacf0b9b7d57fdee699c1c0297127f0fcfadc Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Fri, 26 Mar 2021 14:53:10 +0200 Subject: Lang: Replaced "bytes" with "num.bytes" A new string to include the numeric value. IssueID #192 --- src/ui/documentwidget.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/ui') 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) } iString *msg = collectNew_String(); if (isEmpty_String(&d->sourceHeader)) { - appendFormat_String(msg, "%s\n%zu ${bytes}\n", cstr_String(meta), size_Block(&d->sourceContent)); + appendFormat_String(msg, + "%s\n%s\n", + cstr_String(meta), + formatCStrs_Lang("num.bytes.n", size_Block(&d->sourceContent))); } else { appendFormat_String(msg, "%s\n", cstr_String(&d->sourceHeader)); if (size_Block(&d->sourceContent)) { - appendFormat_String(msg, "%zu ${bytes}\n", size_Block(&d->sourceContent)); + appendFormat_String( + msg, "%s\n", formatCStrs_Lang("num.bytes.n", size_Block(&d->sourceContent))); } } appendFormat_String( -- cgit v1.2.3