From 00cc6b1ba5abe5dbe5131b6b55191657d8e2f058 Mon Sep 17 00:00:00 2001 From: Edward Speyer Date: Fri, 10 May 2013 19:38:35 +0100 Subject: [PATCH] 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 --- .../releeph/controller/project/ReleephProjectEditController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/releeph/controller/project/ReleephProjectEditController.php b/src/applications/releeph/controller/project/ReleephProjectEditController.php index 0cdeae35d6..06486e219f 100644 --- a/src/applications/releeph/controller/project/ReleephProjectEditController.php +++ b/src/applications/releeph/controller/project/ReleephProjectEditController.php @@ -191,7 +191,7 @@ final class ReleephProjectEditController extends ReleephController { ->setValue($release_counter) ->setName('releaseCounter') ->setCaption( - pht("Used by the command line branch cutter's %N field"))) + pht("Used by the command line branch cutter's %%N field"))) ->appendChild( id(new AphrontFormTextAreaControl()) ->setLabel(pht('Pick Instructions'))