Double escape %N (%%N) for pht in Releeph project editor
Summary: Oops, `pht()` interpolates percent escape sequences, but this is a literal "%N". Test Plan: Edit a Releeph project; notice no errors. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5897
This commit is contained in:
@@ -191,7 +191,7 @@ final class ReleephProjectEditController extends ReleephController {
|
|||||||
->setValue($release_counter)
|
->setValue($release_counter)
|
||||||
->setName('releaseCounter')
|
->setName('releaseCounter')
|
||||||
->setCaption(
|
->setCaption(
|
||||||
pht("Used by the command line branch cutter's %N field")))
|
pht("Used by the command line branch cutter's %%N field")))
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormTextAreaControl())
|
id(new AphrontFormTextAreaControl())
|
||||||
->setLabel(pht('Pick Instructions'))
|
->setLabel(pht('Pick Instructions'))
|
||||||
|
|||||||
Reference in New Issue
Block a user