From 96374208616b76ed202bfb79769ecea9de74d6bb Mon Sep 17 00:00:00 2001 From: Christopher Speck Date: Sun, 27 Jun 2021 16:02:57 -0400 Subject: [PATCH] Update a few random typos Summary: Found a few typos which could be updated. Test Plan: I tested the Configuration page change by navigating to `/config` and verifying the page title set in the browser as well as the page title text on the page |Before|After| |---|---| |{F9013208}|{F9013210}| |{F9013300}|{F9013301}| I verified the Conduit error message by navigating to `/auth/start/?__conduit__=1` {F9013289} The CircleCI error message was not verified due to the involvement of testing with CircleCI however the change is very minor and has very little risk of impacting any functionality. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D21675 --- .../auth/controller/PhabricatorAuthStartController.php | 2 +- .../config/controller/PhabricatorConfigConsoleController.php | 4 ++-- .../repository/storage/PhabricatorRepositoryCommit.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/applications/auth/controller/PhabricatorAuthStartController.php b/src/applications/auth/controller/PhabricatorAuthStartController.php index 7e9b17feff..0c42f53556 100644 --- a/src/applications/auth/controller/PhabricatorAuthStartController.php +++ b/src/applications/auth/controller/PhabricatorAuthStartController.php @@ -252,7 +252,7 @@ final class PhabricatorAuthStartController $message = pht( 'ERROR: You are making a Conduit API request to "%s", but the correct '. - 'HTTP request path to use in order to access a COnduit method is "%s" '. + 'HTTP request path to use in order to access a Conduit method is "%s" '. '(for example, "%s"). Check your configuration.', $request_path, $conduit_path, diff --git a/src/applications/config/controller/PhabricatorConfigConsoleController.php b/src/applications/config/controller/PhabricatorConfigConsoleController.php index b8eae9c213..0528be347a 100644 --- a/src/applications/config/controller/PhabricatorConfigConsoleController.php +++ b/src/applications/config/controller/PhabricatorConfigConsoleController.php @@ -56,7 +56,7 @@ final class PhabricatorConfigConsoleController ->setBorder(true); $box = id(new PHUIObjectBoxView()) - ->setHeaderText(pht('Phabricator Configuation')) + ->setHeaderText(pht('Phabricator Configuration')) ->setBackground(PHUIObjectBoxView::WHITE_CONFIG) ->setObjectList($menu); @@ -72,7 +72,7 @@ final class PhabricatorConfigConsoleController ->setFooter($launcher_view); return $this->newPage() - ->setTitle(pht('Phabricator Configuation')) + ->setTitle(pht('Phabricator Configuration')) ->setCrumbs($crumbs) ->appendChild($view); } diff --git a/src/applications/repository/storage/PhabricatorRepositoryCommit.php b/src/applications/repository/storage/PhabricatorRepositoryCommit.php index 31413ea0c2..0303e36919 100644 --- a/src/applications/repository/storage/PhabricatorRepositoryCommit.php +++ b/src/applications/repository/storage/PhabricatorRepositoryCommit.php @@ -714,8 +714,8 @@ final class PhabricatorRepositoryCommit if (!$path) { throw new Exception( pht( - 'This commit ("%s") is associated with a repository ("%s") that '. - 'with a remote URI ("%s") that does not appear to be hosted on '. + 'This commit ("%s") is associated with a repository ("%s") which '. + 'has a remote URI ("%s") that does not appear to be hosted on '. 'GitHub. Repositories must be hosted on GitHub to be built with '. 'CircleCI.', $commit_phid,