How to reproduce:
Run a wiki search, so that some of the pages are less than 1 kio (example of search).
Current:
Size is displayed as « 200 octet ».
Expected:
Size should be displayed as « 200 octets ».
As a reminder, in French, zero is singular. So the « 0 octet » texts are correct.
The message is Search-result-size, and it should be accompanied with Size-bytes. The messages seems to be correct… so maybe the error is somewhere when determining if the value is plural.
Also note the issue happens only in French. There is no such issue when displaying in English or Spanish, for instance.
Code searches:
- The "search-result-size" message in called in FullSearchResultWidget.php#270.
- Search for "getByteSize"