Amir E. Aharoni wrote:
Hi,
Messages such as these:
* MediaWiki:Pfunc-convert-unit-length-metre
* MediaWiki:Pfunc-convert-unit-length-angstrom
* MediaWiki:Pfunc-convert-unit-length-mile
all have a problem: they only take the plural of the word itself, but
the number is left out. For example,
MediaWiki:Pfunc-convert-unit-length-mile is {{PLURAL:$1|mile|miles}}.
Usually in such messages the number itself is not only an argument,
but also a part of the return value and for a good reason: in some
languages one is treated differently from plural. For example, in
Hebrew the number 1 comes after the noun and all the other numbers
come before it.
These messages must be re-written as {{PLURAL:$1|$1 mile|$1 miles}}.
In Hebrew it would be something like {{PLURAL:$1|mile $1|$1 miles}}.
Thanks.
Hello Amir,
I have tried to address your problem in r96025.
Now those messages have a leading $1 whichis the text (note that the
other positional parameters were incremented)
Best regards