Page MenuHomePhabricator

Idempotent plurals added by Phabricator translations code should not include punctuation
Closed, ResolvedPublicBUG REPORT

Description

I think there is something wrong with Phabricator's handling of plural syntax conversion:
https://translatewiki.net/w/i.php?title=Phabricator:arcanist-core-b12ff992ed597dfc/en&action=edit has

<paths = {{PLURAL:$1|$1>}}

The source has

$desc .= ' '.pht('<paths = %s>', phutil_count($data['paths']));

I am pretty sure the > should be outside of the plural syntax.

Details

Event Timeline

Pppery renamed this task from Suspicious plurals in Phabricator messages to Dummy plurals added by Phabricator translations code should not include brackets.Jul 9 2026, 6:44 PM

Change #1309287 had a related patch set uploaded (by Pppery; author: Pppery):

[phabricator/translations@wmf/stable] Move most punctuation out of PLURAL

https://gerrit.wikimedia.org/r/1309287

Pppery renamed this task from Dummy plurals added by Phabricator translations code should not include brackets to Idempotent plurals added by Phabricator translations code should not include punctuation.Jul 9 2026, 7:28 PM

Change #1309287 merged by Aklapper:

[phabricator/translations@wmf/stable] Move most punctuation out of PLURAL

https://gerrit.wikimedia.org/r/1309287