Skip to content

Commit 9bd6a37

Browse files
0epriestley
authored and
epriestley
committed
Fix spelling
Summary: Noticed a couple of typos in the docs, and then things got out of hand. Test Plan: - Stared at the words until my eyes watered and the letters began to swim on the screen. - Consulted a dictionary. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, yelirekim, PHID-OPKG-gm6ozazyms6q6i22gyam Differential Revision: https://secure.phabricator.com/D18693
1 parent 4fd9d2d commit 9bd6a37

File tree

157 files changed

+204
-204
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+204
-204
lines changed

scripts/setup/manage_garbage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
require_once $root.'/scripts/__init_script__.php';
66

77
$args = new PhutilArgumentParser($argv);
8-
$args->setTagline(pht('manage garbage colletors'));
8+
$args->setTagline(pht('manage garbage collectors'));
99
$args->setSynopsis(<<<EOSYNOPSIS
1010
**garbage** __command__ [__options__]
1111
Manage garbage collectors.

src/aphront/httpparametertype/AphrontHTTPParameterType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ final public function getExamples() {
160160
/**
161161
* Call another type's existence check.
162162
*
163-
* This method allows a type to reuse the exitence behavior of a different
163+
* This method allows a type to reuse the existence behavior of a different
164164
* type. For example, a "list of users" type may have the same basic
165165
* existence check that a simpler "list of strings" type has, and can just
166166
* call the simpler type to reuse its behavior.

src/applications/almanac/editor/AlmanacDeviceEditor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ protected function validateTransaction(
204204
$xaction);
205205
$errors[] = $error;
206206
} else {
207-
// TODO: Validate addresses, but IPv6 addresses are not trival
207+
// TODO: Validate addresses, but IPv6 addresses are not trivial
208208
// to validate.
209209
}
210210

src/applications/audit/view/PhabricatorAuditListView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private function getCommitDescription($phid) {
6363
return $summary;
6464
}
6565

66-
// No summary, so either this is still impoting or just has an empty
66+
// No summary, so either this is still importing or just has an empty
6767
// commit message.
6868

6969
if (!$commit->isImported()) {

src/applications/auth/controller/PhabricatorAuthController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ protected function loadAccountForRegistrationOrLinking($account_key) {
134134
// checks later on to make sure this account is valid for the intended
135135
// operation. This requires edit permission for completeness and consistency
136136
// but it won't actually be meaningfully checked because we're using the
137-
// ominpotent user.
137+
// omnipotent user.
138138

139139
$account = id(new PhabricatorExternalAccountQuery())
140140
->setViewer(PhabricatorUser::getOmnipotentUser())

src/applications/auth/controller/PhabricatorAuthRegisterController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function handleRequest(AphrontRequest $request) {
7979
}
8080

8181
if ($default_email !== null) {
82-
// We should bypass policy here becase e.g. limiting an application use
82+
// We should bypass policy here because e.g. limiting an application use
8383
// to a subset of users should not allow the others to overwrite
8484
// configured application emails.
8585
$application_email = id(new PhabricatorMetaMTAApplicationEmailQuery())

src/applications/auth/editor/PhabricatorAuthSSHKeyEditor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ protected function buildMailTemplate(PhabricatorLiskDAO $object) {
226226
->addHeader('Thread-Topic', $phid);
227227

228228
// The primary value of this mail is alerting users to account compromises,
229-
// so force delivery. In particular, this mail should still be delievered
229+
// so force delivery. In particular, this mail should still be delivered
230230
// even if "self mail" is disabled.
231231
$mail->setForceDelivery(true);
232232

src/applications/auth/factor/__tests__/PhabricatorAuthInviteTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function testDuplicateInvite() {
5151
$caught = $ex;
5252
}
5353

54-
// This first time should accept the invite and verify the addresss.
54+
// This first time should accept the invite and verify the address.
5555
$this->assertTrue(
5656
($caught instanceof PhabricatorAuthInviteRegisteredException));
5757

src/applications/auth/management/PhabricatorAuthManagementRevokeWorkflow.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function execute(PhutilArgumentParser $args) {
7474
if (!strlen($from) && !$is_everywhere) {
7575
throw new PhutilArgumentUsageException(
7676
pht(
77-
'Specify the target to revoke credentals from with "--from" or '.
77+
'Specify the target to revoke credentials from with "--from" or '.
7878
'specify "--everywhere".'));
7979
} else if (strlen($from) && $is_everywhere) {
8080
throw new PhutilArgumentUsageException(

src/applications/auth/provider/PhabricatorOAuth1AuthProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ private function getTemporaryTokenType($core_type) {
270270
}
271271

272272
private function getHandshakeTokenKeyFromClientCode($client_code) {
273-
// NOTE: This is very slightly coersive since the TemporaryToken table
273+
// NOTE: This is very slightly coercive since the TemporaryToken table
274274
// expects an "objectPHID" as an identifier, but nothing about the storage
275275
// is bound to PHIDs.
276276

src/applications/base/PhabricatorApplication.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function isUnlisted() {
108108
*
109109
* Launchable applications can be pinned to the home page, and show up in the
110110
* "Launcher" view of the Applications application. Making an application
111-
* unlauncahble prevents pinning and hides it from this view.
111+
* unlaunchable prevents pinning and hides it from this view.
112112
*
113113
* Usually, an application should be marked unlaunchable if:
114114
*

src/applications/base/controller/PhabricatorController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ protected function buildTransactionTimeline(
552552

553553

554554
public function buildApplicationCrumbsForEditEngine() {
555-
// TODO: This is kind of gross, I'm bascially just making this public so
555+
// TODO: This is kind of gross, I'm basically just making this public so
556556
// I can use it in EditEngine. We could do this without making it public
557557
// by using controller delegation, or make it properly public.
558558
return $this->buildApplicationCrumbs();

src/applications/calendar/editor/PhabricatorCalendarImportEditEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ protected function buildCustomEditFields($object) {
134134
$fields[] = id(new PhabricatorSelectEditField())
135135
->setKey('frequency')
136136
->setLabel(pht('Update Automatically'))
137-
->setDescription(pht('Configure an automatic update frequncy.'))
137+
->setDescription(pht('Configure an automatic update frequency.'))
138138
->setTransactionType(
139139
PhabricatorCalendarImportFrequencyTransaction::TRANSACTIONTYPE)
140140
->setConduitDescription(pht('Set the automatic update frequency.'))

src/applications/calendar/icon/PhabricatorCalendarIconSet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ protected function newIcons() {
1616
'fa-plane' => pht('Travel'),
1717
'fa-plus-square' => pht('Health / Appointment'),
1818

19-
'fa-rocket' => pht('Sabatical / Leave'),
19+
'fa-rocket' => pht('Sabbatical / Leave'),
2020
'fa-home' => pht('Working From Home'),
2121
'fa-tree' => pht('Holiday'),
2222
'fa-gamepad' => pht('Staycation'),

src/applications/calendar/util/CalendarTimeUtil.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* calendar views - one for the conpherence calendar widget and one for the
99
* user profile calendar view. These have slight differences such as
1010
* conpherence showing both a three day "today 'til 2 days from now" *and*
11-
* a Sunday -> Saturday list, whilest the profile view shows a more simple
11+
* a Sunday -> Saturday list, whilst the profile view shows a more simple
1212
* seven day rolling list of events.
1313
*/
1414
final class CalendarTimeUtil extends Phobject {

src/applications/calendar/xaction/PhabricatorCalendarEventFrequencyTransaction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function applyInternalEffects($object, $value) {
2323
// month, it means "the 30th of every month" as far as the RRULE is
2424
// concerned. Such an event will not occur on months with fewer days.
2525

26-
// This is surprising, and proably not what the user wants. Instead,
26+
// This is surprising, and probably not what the user wants. Instead,
2727
// schedule these events relative to the end of the month: on the "-1st",
2828
// "-2nd" or "-3rd" day of the month. For example, a monthly event on
2929
// the 31st of a 31-day month translates to "every month, on the last
@@ -66,7 +66,7 @@ public function validateTransactions($object, array $xactions) {
6666
if (!isset($valid[$value])) {
6767
$errors[] = $this->newInvalidError(
6868
pht(
69-
'Event frequency "%s" is not valid. Valid frequences are: %s.',
69+
'Event frequency "%s" is not valid. Valid frequencies are: %s.',
7070
$value,
7171
implode(', ', $valid)),
7272
$xaction);

src/applications/calendar/xaction/PhabricatorCalendarEventInviteTransaction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function getTitle() {
132132
$this->renderHandleList($rem));
133133
} else {
134134
return pht(
135-
'%s invited %s attendee(s): %s; uninvinted %s attendee(s): %s.',
135+
'%s invited %s attendee(s): %s; uninvited %s attendee(s): %s.',
136136
$this->renderAuthor(),
137137
phutil_count($add),
138138
$this->renderHandleList($add),
@@ -161,7 +161,7 @@ public function getTitleForFeed() {
161161
} else {
162162
return pht(
163163
'%s updated the invite list for %s, invited %s: %s; '.
164-
'uninvinted %s: %s.',
164+
'uninvited %s: %s.',
165165
$this->renderAuthor(),
166166
$this->renderObject(),
167167
phutil_count($add),

src/applications/calendar/xaction/PhabricatorCalendarImportFrequencyTransaction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function validateTransactions($object, array $xactions) {
3232
if (!isset($valid[$value])) {
3333
$errors[] = $this->newInvalidError(
3434
pht(
35-
'Import frequency "%s" is not valid. Valid frequences are: %s.',
35+
'Import frequency "%s" is not valid. Valid frequencies are: %s.',
3636
$value,
3737
implode(', ', $valid)),
3838
$xaction);

src/applications/config/check/PhabricatorStorageSetupCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ protected function executeChecks() {
8585
'be buffered into memory before being written to permanent '.
8686
'storage. Phabricator needs memory available to store these '.
8787
'chunks while they are uploaded, but PHP is currently configured '.
88-
'to severly limit the available memory.'.
88+
'to severely limit the available memory.'.
8989
"\n\n".
9090
'PHP processes currently have very little free memory available '.
9191
'(%s). To work well, processes should have at least %s.'.

src/applications/conpherence/query/ConpherenceThreadQuery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ private function loadTransactionsAndHandles(array $conpherences) {
290290
->withObjectPHIDs(array_keys($conpherences))
291291
->needHandles(true);
292292

293-
// We have to flip these for the underyling query class. The semantics of
293+
// We have to flip these for the underlying query class. The semantics of
294294
// paging are tricky business.
295295
if ($this->afterTransactionID) {
296296
$query->setBeforeID($this->afterTransactionID);

src/applications/dashboard/customfield/PhabricatorDashboardPanelTabsCustomField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function getApplicationTransactionTitle(
7878

7979
public function renderEditControl(array $handles) {
8080
// NOTE: This includes archived panels so we don't mutate the tabs
81-
// when saving a tab panel that includes archied panels. This whole UI is
81+
// when saving a tab panel that includes archived panels. This whole UI is
8282
// hopefully temporary anyway.
8383

8484
$value = $this->getFieldValue();

src/applications/differential/controller/DifferentialController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ protected function loadHarbormasterData(array $diffs) {
217217
// by default and let the user toggle the rest. With modern messages,
218218
// we can send the user to the Harbormaster detail page. Just show
219219
// "a lot" of messages in legacy cases to try to strike a balance
220-
// between implementation simplicitly and compatibility.
220+
// between implementation simplicity and compatibility.
221221
$legacy_messages = array_slice($legacy_messages, 0, 100);
222222

223223
$messages = array();

src/applications/differential/customfield/DifferentialHarbormasterField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function renderDiffPropertyViewValue(DifferentialDiff $diff) {
4545
// by default and let the user toggle the rest. With modern messages,
4646
// we can send the user to the Harbormaster detail page. Just show
4747
// "a lot" of messages in legacy cases to try to strike a balance
48-
// between implementation simplicitly and compatibility.
48+
// between implementation simplicity and compatibility.
4949
$legacy_messages = array_slice($legacy_messages, 0, 100);
5050

5151
foreach ($legacy_messages as $message) {

src/applications/differential/editor/DifferentialDiffEditor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ protected function applyFinalEffects(
106106
* We run Herald as part of transaction validation because Herald can
107107
* block diff creation for Differential diffs. Its important to do this
108108
* separately so no Herald logs are saved; these logs could expose
109-
* information the Herald rules are inteneded to block.
109+
* information the Herald rules are intended to block.
110110
*/
111111
protected function validateTransaction(
112112
PhabricatorLiskDAO $object,

src/applications/differential/parser/DifferentialChangesetParser.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ private function process() {
699699
$hunk_parser->parseHunksForLineData($changeset->getHunks());
700700

701701
// Depending on the whitespace mode, we may need to compute a different
702-
// set of changes than the set of changes in the hunk data (specificaly,
702+
// set of changes than the set of changes in the hunk data (specifically,
703703
// we might want to consider changed lines which have only whitespace
704704
// changes as unchanged).
705705
if ($ignore_all) {
@@ -1192,11 +1192,11 @@ public function render(
11921192
* Mask - compute the actual lines that need to be shown (because they
11931193
* are near changes lines, near inline comments, or the request has
11941194
* explicitly asked for them, i.e. resulting from the user clicking
1195-
* "show more"). The $mask returned is a sparesely populated dictionary
1195+
* "show more"). The $mask returned is a sparsely populated dictionary
11961196
* of $visible_line_number => true.
11971197
*
11981198
* Depths - compute how indented any given line is. The $depths returned
1199-
* is a sparesely populated dictionary of $visible_line_number => $depth.
1199+
* is a sparsely populated dictionary of $visible_line_number => $depth.
12001200
*
12011201
* This function also has the side effect of modifying member variable
12021202
* new such that tabs are normalized to spaces for each line of the diff.

src/applications/differential/storage/DifferentialModernHunk.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function saveAsFile() {
128128
$this->setData($file->getPHID());
129129

130130
// NOTE: Because hunks don't have a PHID and we just load hunk data with
131-
// the ominipotent viewer, we do not need to attach the file to anything.
131+
// the omnipotent viewer, we do not need to attach the file to anything.
132132

133133
$result = $this->save();
134134

src/applications/differential/storage/DifferentialRevision.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ private function newReviewerForceAcceptMap(PhabricatorUser $viewer) {
442442

443443
// For each path which the viewer owns a package for, find other packages
444444
// which that authority can be used to force-accept. Once we find a way to
445-
// force-accept a package, we don't need to keep loooking.
445+
// force-accept a package, we don't need to keep looking.
446446
$has_control = array();
447447
foreach ($force_map as $path => $spec) {
448448
$path_fragments = PhabricatorOwnersPackage::splitPath($path);
@@ -891,7 +891,7 @@ public function destroyObjectPermanently(
891891
self::TABLE_COMMIT,
892892
$this->getID());
893893

894-
// we have to do paths a little differentally as they do not have
894+
// we have to do paths a little differently as they do not have
895895
// an id or phid column for delete() to act on
896896
$dummy_path = new DifferentialAffectedPath();
897897
queryfx(

src/applications/differential/typeahead/DifferentialResponsibleViewerFunctionDatasource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function getDatasourceFunctions() {
2222
'summary' => pht('Use the current viewing user.'),
2323
'description' => pht(
2424
'Show revisions the current viewer is responsible for. This '.
25-
'function inclues revisions the viewer is responsible for through '.
25+
'function includes revisions the viewer is responsible for through '.
2626
'membership in projects and packages.'),
2727
),
2828
);

src/applications/diffusion/controller/DiffusionCommitController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ private function buildPropertyListView(
479479
// chains of events). This should be rare, but does not indicate a bug
480480
// or data issue.
481481

482-
// NOTE: We never query push logs in SVN because the commiter is always
482+
// NOTE: We never query push logs in SVN because the committer is always
483483
// the pusher and the commit time is always the push time; the push log
484484
// is redundant and we save a query by skipping it.
485485

src/applications/diffusion/editor/DiffusionRepositoryEditEngine.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ protected function buildCustomEditFields($object) {
338338
->setIsCopyable(true)
339339
->setDescription(pht('Track only these branches.'))
340340
->setConduitDescription(pht('Set the tracked branches.'))
341-
->setConduitTypeDescription(pht('New tracked branchs.'))
341+
->setConduitTypeDescription(pht('New tracked branches.'))
342342
->setValue($track_value),
343343
id(new PhabricatorTextAreaEditField())
344344
->setIsStringList(true)
@@ -349,7 +349,7 @@ protected function buildCustomEditFields($object) {
349349
->setIsCopyable(true)
350350
->setDescription(pht('Autoclose commits on only these branches.'))
351351
->setConduitDescription(pht('Set the autoclose branches.'))
352-
->setConduitTypeDescription(pht('New default tracked branchs.'))
352+
->setConduitTypeDescription(pht('New default tracked branches.'))
353353
->setValue($autoclose_value),
354354
id(new PhabricatorTextEditField())
355355
->setKey('importOnly')
@@ -396,7 +396,7 @@ protected function buildCustomEditFields($object) {
396396
->setConduitDescription(
397397
pht('Change symbol languages for this repository.'))
398398
->setConduitTypeDescription(
399-
pht('New symbol langauges.'))
399+
pht('New symbol languages.'))
400400
->setValue($object->getSymbolLanguages()),
401401
id(new PhabricatorDatasourceEditField())
402402
->setKey('symbolRepositoryPHIDs')

src/applications/diffusion/engine/DiffusionCommitHookEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,7 @@ private function isInitialImport(array $all_updates) {
12301230
// also look at author data (do the commits come from multiple different
12311231
// authors?) and commit date data (is the oldest commit more than 48 hours
12321232
// old), but we don't have immediate access to those and this simple
1233-
// heruistic might be good enough.
1233+
// heuristic might be good enough.
12341234

12351235
$commit_count = 0;
12361236
$type_commit = PhabricatorRepositoryPushLog::REFTYPE_COMMIT;

src/applications/diffusion/gitlfs/DiffusionGitLFSAuthenticateWorkflow.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected function executeRepositoryOperations() {
8080

8181
$lfs_uri = $repository->getGitLFSURI('info/lfs');
8282

83-
// Generate a temporary token to allow the user to acces LFS over HTTP.
83+
// Generate a temporary token to allow the user to access LFS over HTTP.
8484
// This works even if normal HTTP repository operations are not available
8585
// on this host, and does not require the user to have a VCS password.
8686

src/applications/diffusion/herald/HeraldCommitAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function getTriggerObjectPHIDs() {
112112
$phids[] = $repository_phid;
113113

114114
// NOTE: This is projects for the repository, not for the commit. When
115-
// Herald evalutes, commits normally can not have any project tags yet.
115+
// Herald evaluates, commits normally can not have any project tags yet.
116116
$repository_project_phids = PhabricatorEdgeQuery::loadDestinationPHIDs(
117117
$repository_phid,
118118
$project_type);

src/applications/diffusion/protocol/DiffusionCommandEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ private function newCommonEnvironment() {
178178
if (!$device) {
179179
throw new Exception(
180180
pht(
181-
'Attempting to build a reposiory command (for repository "%s") '.
181+
'Attempting to build a repository command (for repository "%s") '.
182182
'as device, but this host ("%s") is not configured as a cluster '.
183183
'device.',
184184
$repository->getDisplayName(),

src/applications/diffusion/protocol/DiffusionMercurialWireProtocol.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public static function isReadOnlyBatchCommand($cmds) {
101101

102102
/** If the server version is running 3.4+ it will respond
103103
* with 'bundle2' capability in the format of "bundle2=(url-encoding)".
104-
* Until we maange to properly package up bundles to send back we
104+
* Until we manage to properly package up bundles to send back we
105105
* disallow the client from knowing we speak bundle2 by removing it
106106
* from the capabilities listing.
107107
*

src/applications/diffusion/protocol/DiffusionRepositoryClusterEngine.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public function synchronizeWorkingCopyBeforeRead() {
231231
// no way to tell which one has the "right" data. If we pick wrong, we
232232
// might erase some or all of the data in the repository.
233233

234-
// Since this is dangeorus, we refuse to guess unless there is only one
234+
// Since this is dangerous, we refuse to guess unless there is only one
235235
// device. If we're the only device in the group, we obviously must be
236236
// a leader.
237237

@@ -252,7 +252,7 @@ public function synchronizeWorkingCopyBeforeRead() {
252252
'Repository "%s" exists on more than one device, but no device '.
253253
'has any repository version information. Phabricator can not '.
254254
'guess which copy of the existing data is authoritative. Promote '.
255-
'a device or see "Ambigous Leaders" in the documentation.',
255+
'a device or see "Ambiguous Leaders" in the documentation.',
256256
$repository->getDisplayName()));
257257
}
258258

0 commit comments

Comments
 (0)