From ed6644f31757fa88ba0fa524fbcfb991535eb42f Mon Sep 17 00:00:00 2001 From: Pppery Date: Sat, 28 Dec 2024 21:58:54 -0500 Subject: [PATCH] Fix typos etc. Summary: Fixes T15980 Test Plan: Read the code Reviewers: O1 Blessed Committers, avivey Reviewed By: O1 Blessed Committers, avivey Subscribers: avivey, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Maniphest Tasks: T15980 Differential Revision: https://we.phorge.it/D25860 --- src/applications/config/check/PhabricatorFileinfoSetupCheck.php | 2 +- src/applications/config/check/PhabricatorGDSetupCheck.php | 2 +- src/applications/config/option/PhabricatorCoreConfigOptions.php | 2 +- .../config/option/PhabricatorMetaMTAConfigOptions.php | 2 +- .../option/PhabricatorSyntaxHighlightingConfigOptions.php | 2 +- .../conduit/HarbormasterSendMessageConduitAPIMethod.php | 2 +- .../xaction/build/HarbormasterBuildMessageTransaction.php | 2 +- .../phortune/provider/PhortunePayPalPaymentProvider.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/applications/config/check/PhabricatorFileinfoSetupCheck.php b/src/applications/config/check/PhabricatorFileinfoSetupCheck.php index 9896daac2c..f9389488a6 100644 --- a/src/applications/config/check/PhabricatorFileinfoSetupCheck.php +++ b/src/applications/config/check/PhabricatorFileinfoSetupCheck.php @@ -10,7 +10,7 @@ final class PhabricatorFileinfoSetupCheck extends PhabricatorSetupCheck { if (!extension_loaded('fileinfo')) { $message = pht( "The '%s' extension is not installed. Without '%s', ". - "support, this software may not be able to determine the MIME types ". + "this server may not be able to determine the MIME types ". "of uploaded files.", 'fileinfo', 'fileinfo'); diff --git a/src/applications/config/check/PhabricatorGDSetupCheck.php b/src/applications/config/check/PhabricatorGDSetupCheck.php index 0aa23035c7..5c20f337a7 100644 --- a/src/applications/config/check/PhabricatorGDSetupCheck.php +++ b/src/applications/config/check/PhabricatorGDSetupCheck.php @@ -9,7 +9,7 @@ final class PhabricatorGDSetupCheck extends PhabricatorSetupCheck { protected function executeChecks() { if (!extension_loaded('gd')) { $message = pht( - "The '%s' extension is not installed. Without '%s', support, ". + "The '%s' extension is not installed. Without '%s' support, ". "this server will not be able to process or resize images ". "(for example, to generate thumbnails). Install or enable '%s'.", 'gd', diff --git a/src/applications/config/option/PhabricatorCoreConfigOptions.php b/src/applications/config/option/PhabricatorCoreConfigOptions.php index 46001f2363..ad938aa401 100644 --- a/src/applications/config/option/PhabricatorCoreConfigOptions.php +++ b/src/applications/config/option/PhabricatorCoreConfigOptions.php @@ -100,7 +100,7 @@ EOREMARKUP ->setDescription( pht( "These alternative URIs will be able to access 'normal' pages ". - "on your this install. Other features such as OAuth ". + "on this install. Other features such as OAuth ". "won't work. The major use case for this is moving installs ". "across domains.")) ->addExample( diff --git a/src/applications/config/option/PhabricatorMetaMTAConfigOptions.php b/src/applications/config/option/PhabricatorMetaMTAConfigOptions.php index 7499c978d3..2a3da2890b 100644 --- a/src/applications/config/option/PhabricatorMetaMTAConfigOptions.php +++ b/src/applications/config/option/PhabricatorMetaMTAConfigOptions.php @@ -24,7 +24,7 @@ final class PhabricatorMetaMTAConfigOptions When a user takes an action which generates an email notification (like commenting on a Differential revision), the "From" address can either be set to the user's email address (like "alincoln@logcabin.com") or the -"metamta.defualt-address" address. +"metamta.default-address" address. The user experience is generally better if the user's real address is used as the "From" header value, since the messages are easier to organize when they diff --git a/src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php b/src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php index 05303e2b96..297569a726 100644 --- a/src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php +++ b/src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php @@ -44,7 +44,7 @@ final class PhabricatorSyntaxHighlightingConfigOptions )) ->setDescription( pht( - 'Syntax highlighting a supported for a few languages by '. + 'Syntax highlighting is supported for a few languages by '. 'default, but you can install Pygments (a third-party syntax '. 'highlighting tool) to provide support for many more languages.'. "\n\n". diff --git a/src/applications/harbormaster/conduit/HarbormasterSendMessageConduitAPIMethod.php b/src/applications/harbormaster/conduit/HarbormasterSendMessageConduitAPIMethod.php index a7ee75b2a1..e642933aa2 100644 --- a/src/applications/harbormaster/conduit/HarbormasterSendMessageConduitAPIMethod.php +++ b/src/applications/harbormaster/conduit/HarbormasterSendMessageConduitAPIMethod.php @@ -42,7 +42,7 @@ APIs (like `maniphest.edit`, `differential.revision.edit`, and so on). However, builds require long-running background processing and Habormaster objects have a more complex lifecycle than most other application objects and may spend significant periods of time locked by daemon processes during build -execition. A synchronous edit might need to wait an arbitrarily long amount of +execution. A synchronous edit might need to wait an arbitrarily long amount of time for this lock to become available so the edit could be applied. Additionally, some edits may also require an arbitrarily long amount of time to diff --git a/src/applications/harbormaster/xaction/build/HarbormasterBuildMessageTransaction.php b/src/applications/harbormaster/xaction/build/HarbormasterBuildMessageTransaction.php index 22fa25a1fd..0a09f11e7e 100644 --- a/src/applications/harbormaster/xaction/build/HarbormasterBuildMessageTransaction.php +++ b/src/applications/harbormaster/xaction/build/HarbormasterBuildMessageTransaction.php @@ -134,7 +134,7 @@ abstract class HarbormasterBuildMessageTransaction PhabricatorPolicyCapability::CAN_EDIT); } catch (PhabricatorPolicyException $ex) { throw new HarbormasterMessageException( - pht('Insufficent Build Plan Permission'), + pht('Insufficient Build Plan Permission'), pht( 'The build plan for this build is configured to prevent '. 'users who can not edit it from issuing commands to the '. diff --git a/src/applications/phortune/provider/PhortunePayPalPaymentProvider.php b/src/applications/phortune/provider/PhortunePayPalPaymentProvider.php index 262606ca62..7657c92bd5 100644 --- a/src/applications/phortune/provider/PhortunePayPalPaymentProvider.php +++ b/src/applications/phortune/provider/PhortunePayPalPaymentProvider.php @@ -42,7 +42,7 @@ final class PhortunePayPalPaymentProvider extends PhortunePaymentProvider { " into the fields above.\n\n". "You can select whether the provider operates in test mode or ". "accepts live payments using the **Mode** dropdown above.\n\n". - "You can either use `sandbox.paypal.com` to retrieve live credentials, ". + "You can either use `sandbox.paypal.com` to retrieve test credentials, ". "or `paypal.com` to retrieve live credentials."); }