From c8e6ff49c07c1da57a792fed591d2e69122584cc Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 27 Jun 2019 10:34:52 -0700 Subject: [PATCH] Use {{formatnum:}} for 99+ in default echo-badge-count message As it stands currently, every language that uses different numerals than English does has to override the echo-badge-count message to provide their own version of "99+". If a language doesn't do that, numbers up to 99 will display using the correct numerals, but "99+" will be displayed verbatim. Some affected languages have overridden this message, but most haven't. Instead, use "{{formatnum:99}}+" in the English message. This is a no-op in English and other languages that use the same numerals as English, but automatically converts the number 99 in languages that use different numerals. This way the only languages that need to override the message are ones that use a different symbol than "+" for expressing "or more". Change-Id: I247260ed9bbb40cff88e5ab873072269221b0ad4 --- i18n/en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/en.json b/i18n/en.json index c7105eee0..81823b4dd 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -224,5 +224,5 @@ "notification-header-foreign-all": "More notifications from {{PLURAL:$5|another wiki|$5 other wikis}}", "notification-body-foreign": "$1", "echo-foreign-wiki-lang": "$1 - $2", - "echo-badge-count": "{{PLURAL:$1|$1|100=99+}}" + "echo-badge-count": "{{PLURAL:$1|$1|100={{formatnum:99}}+}}" }