diff options
author | Amir E. Aharoni <amir.aharoni@mail.huji.ac.il> | 2024-11-26 22:13:50 -0500 |
---|---|---|
committer | Amir E. Aharoni <amir.aharoni@mail.huji.ac.il> | 2024-11-26 22:13:50 -0500 |
commit | 0ebc005512fd70482d61c262a8c3d664586b2872 (patch) | |
tree | 0bb81c6e9f98a90d3adb3ed5c0c13339f6402e65 /languages | |
parent | 6c1bd1173b46168288293b730bc168a77114b899 (diff) | |
download | mediawikicore-0ebc005512fd70482d61c262a8c3d664586b2872.tar.gz mediawikicore-0ebc005512fd70482d61c262a8c3d664586b2872.zip |
Improve PLURAL in two "showing results" messages
1. In showingresultsinrange, the number is always 1
in English, but not necessarily in other languages.
To prevent mistakes, use $1.
2. In search-showingresults, the first part of PLURAL
is specifically for number 1, so make it explicit using "1=".
In some languages, the "singular" form may also be used
for numbers other than 1.
Change-Id: I3e3c0f467d3496deb8bc21f201dd8e1694681011
Diffstat (limited to 'languages')
-rw-r--r-- | languages/i18n/en.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 540a88f3db86..2bad3295a213 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -1052,8 +1052,8 @@ "search-thumbnail-alt": "Thumbnail for $1", "searchrelated": "related", "searchall": "all", - "showingresultsinrange": "Showing below up to {{PLURAL:$1|<strong>1</strong> result|<strong>$1</strong> results}} in range #<strong>$2</strong> to #<strong>$3</strong>.", - "search-showingresults": "{{PLURAL:$4|Result <strong>$1</strong> of <strong>$3</strong>|Results <strong>$1 – $2</strong> of <strong>$3</strong>}}", + "showingresultsinrange": "Showing below up to <strong>$1</strong> {{PLURAL:$1|result|results}} in range #<strong>$2</strong> to #<strong>$3</strong>.", + "search-showingresults": "{{PLURAL:$4|1=Result <strong>$1</strong> of <strong>$3</strong>|Results <strong>$1 – $2</strong> of <strong>$3</strong>}}", "search-nonefound": "There were no results matching the query.", "search-nonefound-thiswiki": "There were no results matching the query in this site.", "powersearch-legend": "Advanced search", |