Page MenuHomePhabricator

Add --plural parameter to checkLanguage.php
Closed, ResolvedPublic

Description

Author: le.korrigan

Description:
It could be useful to have a --plural parameter added to
/maintenance/language/checkLanguage.php, in order to detect messages which use
the {{PLURAL:$1}} function in English but not in the tested language (and maybe
should), on the same principle of the "variables" parameter for the same script.

As more and more messages use {{PLURAL}}, this test could be a way to know how a
message could be improved.


Version: 1.10.x
Severity: enhancement

Details

Reference
bz9176

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:37 PM
bzimport set Reference to bz9176.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

A number of languages, such as Chinese, don't use plurals in general, and so
would tend to fail this without reason.

le.korrigan wrote:

True. Maybe this check could be optional, then ?

rotemliss wrote:

Added in r20167 as an optional check, like "duplicate".