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
F15283751: D11813.diff
Tue, Mar 4, 8:26 AM
Unknown Object (File)
Sun, Feb 23, 10:21 PM
Unknown Object (File)
Mon, Feb 17, 8:06 PM
Unknown Object (File)
Mon, Feb 17, 8:06 PM
Unknown Object (File)
Sun, Feb 9, 6:04 PM
Unknown Object (File)
Feb 8 2025, 2:38 AM
Unknown Object (File)
Feb 8 2025, 2:38 AM
Unknown Object (File)
Feb 8 2025, 2:38 AM
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.