Page MenuHomePhabricator

Says “1 Story Points”, needs proper singular
Open, LowestPublic

Description

I am in Phab, on the task T117662.

At the top, the page says: “1 Story Points”

This is incorrect.

This has to be corrected into: “1 Story Point”, in singular.

Thank you.

Event Timeline

Aklapper renamed this task from Say “Story Point” in singular to Says “1 Story Points”, needs proper singular.Aug 6 2016, 7:33 AM
Aklapper triaged this task as Lowest priority.
Aklapper edited projects, added Phabricator (Upstream), Upstream; removed Phabricator.

We use a custom name "Story Points" instead of "Points" but the thingy at the top comes from src/applications/maniphest/controller/ManiphestTaskDetailController.php in upstream:

$points_name = pht('%s %s',
  $task->getPoints(),
  ManiphestTaskPoints::getPointsLabel());

src/applications/maniphest/constants/ManiphestTaskPoints.php does return idx($config, 'label', pht('Points'));
So I don't see how to add an overwrite array in src/infrastructure/internationalization/translation/PhabricatorUSEnglishTranslation.php as that string is constructed and thus generic ('%s %s').

See https://secure.phabricator.com/T5267#199219 for more details.