From 40fa36b2cc72bf3858d45b2e2dbc1eb0b5371213 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 6 Nov 2021 06:29:10 +0200 Subject: Lang: Number formatting cleanup Replaced the %zu format with plain %u because Weblate doesn't know about the former. --- po/compile.py | 3 +-- po/en.po | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/po/compile.py b/po/compile.py index 16097ddc..af0e422b 100755 --- a/po/compile.py +++ b/po/compile.py @@ -4,8 +4,7 @@ import os, sys -BUILD_LANGS = [ - 'en', # base strings +BUILD_LANGS = [ 'en', # base strings 'cs', 'de', 'eo', diff --git a/po/en.po b/po/en.po index 53548605..343852a6 100644 --- a/po/en.po +++ b/po/en.po @@ -64,14 +64,14 @@ msgstr "Feed entries" #, c-format msgid "feeds.list.counts" msgid_plural "feeds.list.counts.n" -msgstr[0] "You are subscribed to %zu feed that contains %%s.\n" -msgstr[1] "You are subscribed to %zu feeds that contain %%s.\n" +msgstr[0] "You are subscribed to %u feed that contains %%s.\n" +msgstr[1] "You are subscribed to %u feeds that contain %%s.\n" #, c-format msgid "feeds.list.entrycount" msgid_plural "feeds.list.entrycount.n" -msgstr[0] "a total of %zu entry" -msgstr[1] "a total of %zu entries" +msgstr[0] "a total of %u entry" +msgstr[1] "a total of %u entries" msgid "feeds.list.refreshtime.now" msgstr "The latest refresh occurred just a moment ago." @@ -451,18 +451,18 @@ msgstr "KB" msgid "num.bytes" msgid_plural "num.bytes.n" -msgstr[0] "%zu byte" -msgstr[1] "%zu bytes" +msgstr[0] "%u byte" +msgstr[1] "%u bytes" msgid "num.files" msgid_plural "num.files.n" -msgstr[0] "%zu file" -msgstr[1] "%zu files" +msgstr[0] "%u file" +msgstr[1] "%u files" msgid "num.fonts" msgid_plural "num.fonts.n" -msgstr[0] "%zu font" -msgstr[1] "%zu fonts" +msgstr[0] "%u font" +msgstr[1] "%u fonts" # strftime() formatted, split on two lines #, c-format @@ -599,8 +599,8 @@ msgstr "Not used" #, c-format msgid "ident.usedonurls" msgid_plural "ident.usedonurls.n" -msgstr[0] "Used on %zu URL" -msgstr[1] "Used on %zu URLs" +msgstr[0] "Used on %u URL" +msgstr[1] "Used on %u URLs" msgid "ident.temporary" msgstr "Temporary" @@ -1599,8 +1599,8 @@ msgstr "Exit the archive" #, c-format msgid "archive.summary" msgid_plural "archive.summary.n" -msgstr[0] "This archive contains %zu item and its compressed size is %.1f MB." -msgstr[1] "This archive contains %zu items and its compressed size is %.1f MB." +msgstr[0] "This archive contains %u item and its compressed size is %.1f MB." +msgstr[1] "This archive contains %u items and its compressed size is %.1f MB." msgid "dir.empty" msgstr "This directory is empty." @@ -1608,8 +1608,8 @@ msgstr "This directory is empty." #, c-format msgid "dir.summary" msgid_plural "dir.summary.n" -msgstr[0] "This directory contains %zu item." -msgstr[1] "This directory contains %zu items." +msgstr[0] "This directory contains %u item." +msgstr[1] "This directory contains %u items." msgid "keys.top" msgstr "Jump to top" -- cgit v1.2.3