From 51bf2687f0c023f9bd91d05fb532878043cc5e2b Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Sun, 14 Jun 2015 14:12:38 +1000 Subject: [PATCH] Tidy up some text formatting in PhabricatorFeedConfigOptions Summary: Self-explanatory. Test Plan: Eyeball it. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D13268 --- .../config/PhabricatorFeedConfigOptions.php | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/applications/feed/config/PhabricatorFeedConfigOptions.php b/src/applications/feed/config/PhabricatorFeedConfigOptions.php index 2ee6a7bcaf..a3f7bf522f 100644 --- a/src/applications/feed/config/PhabricatorFeedConfigOptions.php +++ b/src/applications/feed/config/PhabricatorFeedConfigOptions.php @@ -36,22 +36,24 @@ final class PhabricatorFeedConfigOptions "public, and a login is not required to view them! This is ". "intended for things like open source projects that want to ". "expose an activity feed on the project homepage.\n\n". - "NOTE: You must also set `policy.allow-public` to true for this ". - "setting to work properly.")), + "NOTE: You must also set `%s` to true for this ". + "setting to work properly.", + 'policy.allow-public')), $this->newOption('feed.http-hooks', 'list', array()) ->setLocked(true) ->setSummary(pht('POST notifications of feed events.')) ->setDescription( pht( - "If you set this to a list of http URIs, when a feed story is ". - "published a task will be created for each uri that posts the ". - "story data to the uri. Daemons automagically retry failures 100 ". - "times, waiting \$fail_count * 60s between each subsequent ". - "failure. Be sure to keep the daemon console (/daemon/) open ". + "If you set this to a list of HTTP URIs, when a feed story is ". + "published a task will be created for each URI that posts the ". + "story data to the URI. Daemons automagically retry failures 100 ". + "times, waiting `\$fail_count * 60s` between each subsequent ". + "failure. Be sure to keep the daemon console (`%s`) open ". "while developing and testing your end points. You may need to". - "restart your daemons to start sending http requests.\n\n". - "NOTE: URIs are not validated, the URI must return http status ". - "200 within 30 seconds, and no permission checks are performed.")), + "restart your daemons to start sending HTTP requests.\n\n". + "NOTE: URIs are not validated, the URI must return HTTP status ". + "200 within 30 seconds, and no permission checks are performed.", + '/daemon/')), ); }