Page MenuHomePhabricator

Projects - fix translation strings in watcher edge class
ClosedPublic

Authored by btrahan on Feb 18 2015, 11:38 PM.
Tags
None
Referenced Files
F14773024: D11813.id28478.diff
Fri, Jan 24, 12:11 AM
F14773023: D11813.id28477.diff
Fri, Jan 24, 12:11 AM
F14773021: D11813.id28474.diff
Fri, Jan 24, 12:11 AM
F14773018: D11813.id.diff
Fri, Jan 24, 12:11 AM
F14773017: D11813.diff
Fri, Jan 24, 12:10 AM
Unknown Object (File)
Thu, Jan 9, 10:00 PM
Unknown Object (File)
Thu, Jan 9, 12:24 PM
Unknown Object (File)
Wed, Jan 8, 9:41 PM
Subscribers

Details

Summary

Fixes T7319. These need a "%s" for the count where they had a "%d"

Test Plan

plan in D11812 is no longer a lie! (watcher added / removed strings render correctly)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

btrahan retitled this revision from to Projects - fix translation strings in edge class.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added a reviewer: epriestley.
btrahan retitled this revision from Projects - fix translation strings in edge class to Projects - fix translation strings in watcher edge class.Feb 18 2015, 11:38 PM

The %s is correct, so maybe the other ones should flip?

This is kind of unintuitive, but basically the rule is "%s" to render as "2,345,678" (i.e., with commas and periods) and "%d" to render as "2345678". So "You see %s things(s)", but "Task ID %d".

epriestley edited edge metadata.
This revision is now accepted and ready to land.Feb 18 2015, 11:44 PM
btrahan edited edge metadata.
This revision was automatically updated to reflect the committed changes.