1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-21 22:32:41 +01:00

Correct spelling mistakes

Test Plan: Only changes to spelling.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25238
This commit is contained in:
Edward Betts 2023-05-27 22:18:34 +01:00
parent c5a365e1b2
commit 4862eada5c
20 changed files with 20 additions and 20 deletions

View file

@ -327,7 +327,7 @@ abstract class AphrontResponse extends Phobject {
}
if ($value instanceof PhutilSafeHTML) {
// TODO: Javelin supports implicity conversion of '__html' objects to
// TODO: Javelin supports implicit conversion of '__html' objects to
// JX.HTML, but only for Ajax responses, not behaviors. Just leave things
// as they are for now (where behaviors treat responses as HTML or plain
// text at their discretion).

View file

@ -37,7 +37,7 @@ final class PhabricatorConduitAPIController
// TODO: The relationship between ConduitAPIRequest and ConduitCall is a
// little odd here and could probably be improved. Specifically, the
// APIRequest is a sub-object of the Call, which does not parallel the
// role of AphrontRequest (which is an indepenent object).
// role of AphrontRequest (which is an independent object).
// In particular, the setUser() and getUser() existing independently on
// the Call and APIRequest is very awkward.

View file

@ -106,7 +106,7 @@ final class PhabricatorDatabaseSetupCheck extends PhabricatorSetupCheck {
'The "InnoDB" engine is not available in MySQL (on host "%s"). '.
'Enable InnoDB in your MySQL configuration.'.
"\n\n".
'(If you aleady created tables, MySQL incorrectly used some other '.
'(If you already created tables, MySQL incorrectly used some other '.
'engine to create them. You need to convert them or drop and '.
'reinitialize them.)',
$ref_key);

View file

@ -74,7 +74,7 @@ of each approach are:
- If you use mailing lists, recipients may sometimes get duplicate
mail.
- Getting threading to work properly is easier, and threading settings
can be customzied by each user.
can be customized by each user.
- "Reply All" will never send extra mail to other users involved in the
thread.
- Required if private reply-to addresses are configured.

View file

@ -99,7 +99,7 @@ final class HarbormasterBuildMessageResumeTransaction
throw new HarbormasterMessageException(
pht('Unable to Resume Build'),
pht(
'You can not resume this build beacuse it is already resuming.'));
'You can not resume this build because it is already resuming.'));
}
if ($build->isRestarting()) {

View file

@ -23,7 +23,7 @@ final class PhabricatorRepositoryManagementMaintenanceWorkflow
'name' => 'stop',
'help' => pht(
'Take repositories out of maintenance mode, returning them '.
'to normal serice.'),
'to normal service.'),
),
array(
'name' => 'repositories',

View file

@ -517,7 +517,7 @@ final class PhabricatorChangeParserTestCase
'/dir',
null,
null,
// TODO: This might reasonbly be considered a bug in the parser; it
// TODO: This might reasonably be considered a bug in the parser; it
// should probably be COPY_AWAY.
DifferentialChangeType::TYPE_CHILD,
DifferentialChangeType::FILE_DIRECTORY,

View file

@ -297,7 +297,7 @@ final class PhutilSearchQueryCompiler
$use_substring = true;
} else if (phutil_preg_match('/^_/', $value)) {
// See T13632. Assume users searching for any term that begins
// with an undescore intend to perform substring search if they
// with an underscore intend to perform substring search if they
// don't provide an explicit search function.
$use_substring = true;
}

View file

@ -21,7 +21,7 @@ basis for essentially all edits and comments. Reviewing the transaction
record allows you to see who edited an object, when, and how their edit changed
things.
One common reason to call this method is that you're implmenting a webhook and
One common reason to call this method is that you're implementing a webhook and
just received a notification that an object has changed. See the Webhooks
documentation for more detailed discussion of this use case.

View file

@ -391,7 +391,7 @@ abstract class PhabricatorApplicationTransactionEditor
$new = $this->getTransactionNewValue($object, $xaction);
$xaction->setNewValue($new);
// Apply an optional transformation to convert "external" tranaction
// Apply an optional transformation to convert "external" transaction
// values (provided by APIs) into "internal" values.
$old = $xaction->getOldValue();

View file

@ -134,7 +134,7 @@ eventually, but there isn't a strong case for them at the present time.
PHIDs
=====
Each globally referencable object in Phorge has an associated PHID
Each globally referenceable object in Phorge has an associated PHID
("Phorge ID") which serves as a global identifier, similar to a GUID.
We use PHIDs for referencing data in different databases.

View file

@ -142,7 +142,7 @@ example.
= Documentation, Comments and Formatting =
- Prefer to remove code by deleting it over removing it by commenting it out.
It shall live forever in source control, and can be retrieved therefrom if
It shall live forever in source control, and can be retrieved there from if
it is ever again called upon.
- In source code, use only ASCII printable characters plus space and linefeed.
Do not use UTF-8 or other multibyte encodings.

View file

@ -60,7 +60,7 @@ as the "From" address when it sends mail. The exact address it uses can be
configured with `metamta.default-address`.
When a user takes an action that generates mail, Phorge sets the
"Reply-To" addresss for the mail to that user's name and address. This means
"Reply-To" address for the mail to that user's name and address. This means
that users can reply to email to discuss changes, but: the conversation won't
be recorded in Phorge; and users will not be able to use email commands
to take actions or make edits.

View file

@ -134,7 +134,7 @@ Providers may be in these states:
- **Active**: Users may add new factors. Users will be prompted to respond
to challenges from these providers when they take a sensitive action.
- **Deprecated**: Users may not add new factors, but they will still be
asked to respond to challenges from exising factors.
asked to respond to challenges from existing factors.
- **Disabled**: Users may not add new factors, and existing factors will
not be used. If MFA is required and a user only has disabled factors,
they will be forced to add a new factor.

View file

@ -178,7 +178,7 @@ Retries and Rate Limiting
Test requests are never retried: they execute exactly once.
Live requests are automatically retried. If your endpoint does not return a
HTTP 2XX response, the request will be retried regularly until it suceeds.
HTTP 2XX response, the request will be retried regularly until it succeeds.
Retries will continue until the request succeeds or is garbage collected. By
default, this is after 7 days.

View file

@ -1679,7 +1679,7 @@ abstract class PhabricatorCustomField extends Phobject {
foreach ($map as $field_key => $field) {
// For now, only support overriding standard custom fields. In the
// future there's no technical or product reason we couldn't let you
// override (some properites of) other fields like "Title", but they
// override (some properties of) other fields like "Title", but they
// don't usually support appropriate "setX()" methods today.
if (!($field instanceof PhabricatorStandardCustomField)) {
// For fields that are proxies on top of StandardCustomField, which

View file

@ -7,7 +7,7 @@ final class PhutilRemarkupLiteralBlockRule extends PhutilRemarkupBlockRule {
}
public function getMatchingLineCount(array $lines, $cursor) {
// NOTE: We're consuming all continguous blocks of %%% literals, so this:
// NOTE: We're consuming all contiguous blocks of %%% literals, so this:
//
// %%%a%%%
// %%%b%%%

View file

@ -32,7 +32,7 @@ final class PhutilXHPASTSyntaxHighlighterFuture extends FutureProxy {
// We perform two passes here: one using the AST to find symbols we care
// about -- particularly, class names and function names. These are used
// in the crossreference stuff to link into Diffusion. After we've done our
// in the cross-reference stuff to link into Diffusion. After we've done our
// AST pass, we do a followup pass on the token stream to catch all the
// simple stuff like strings and comments.

View file

@ -32,7 +32,7 @@ final class PhutilPygmentizeParser extends Phobject {
$c = $block[$ii];
switch ($mode) {
case 'text':
// We're in general text between tags, and just passing characers
// We're in general text between tags, and just passing characters
// through unmodified.
if ($c == '<') {
$mode = 'tag';

View file

@ -392,7 +392,7 @@ final class AphrontTableView extends AphrontView {
// white-space: pre to prevent wrapping. We need to append a character
// (&nbsp; -- nonbreaking space) afterward to give the bounds div height
// (alternatively, we could hard-code the line height). This is gross but
// it's not clear that there's a better appraoch.
// it's not clear that there's a better approach.
return phutil_tag(
'div',