Skip to content

Commit a862748

Browse files
authored
Merge pull request #119132 from Rageking8/resolve-occurred-typos
Resolve occurred typos
2 parents 8e5c390 + 004a071 commit a862748

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

articles/ai-services/immersive-reader/tutorial-ios-picture-immersive-reader.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ class PictureLaunchViewController: UIViewController, UINavigationControllerDeleg
342342
self.cameraButton.isEnabled = true
343343

344344
}, onFailure: { error in
345-
print("An error occured launching the Immersive Reader: \(error)")
345+
print("An error occurred launching the Immersive Reader: \(error)")
346346
self.spinner.stopAnimating()
347347
self.activityIndicatorBackground.alpha = 0
348348
self.photoButton.isEnabled = true
@@ -357,7 +357,7 @@ class PictureLaunchViewController: UIViewController, UINavigationControllerDeleg
357357
self.cameraButton.isEnabled = true
358358

359359
}
360-
print("An error occured retrieving the token: \(error)")
360+
print("An error occurred retrieving the token: \(error)")
361361
})
362362

363363
}, onFailure: { error in
@@ -375,7 +375,7 @@ class PictureLaunchViewController: UIViewController, UINavigationControllerDeleg
375375
/// -onSuccess: A closure that gets called when the token is successfully recieved using Azure Active Directory authentication.
376376
/// -theToken: The token for the Immersive Reader recieved using Azure Active Directory authentication.
377377
/// -onFailure: A closure that gets called when the token fails to be obtained from the Azure Active Directory Authentication.
378-
/// -theError: The error that occured when the token fails to be obtained from the Azure Active Directory Authentication.
378+
/// -theError: The error that occurred when the token fails to be obtained from the Azure Active Directory Authentication.
379379
func getToken(onSuccess: @escaping (_ theToken: String) -> Void, onFailure: @escaping ( _ theError: String) -> Void) {
380380

381381
let tokenForm = "grant_type=client_credentials&resource=https://cognitiveservices.azure.com/&client_id=" + Constants.clientId + "&client_secret=" + Constants.clientSecret

articles/ai-services/personalizer/concept-rewards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ By adding up reward scores, your final reward may be outside the expected score
9494

9595
## Reward wait time
9696

97-
Personalizer will correlate the information of a Rank call with the rewards sent in Reward calls to train the model, which may come at different times. Personalizer waits for the reward score for a defined limited time, starting when the corresponding Rank call occured. This is done even if the Rank call was made using deferred activation](concept-active-inactive-events.md).
97+
Personalizer will correlate the information of a Rank call with the rewards sent in Reward calls to train the model, which may come at different times. Personalizer waits for the reward score for a defined limited time, starting when the corresponding Rank call occurred. This is done even if the Rank call was made using deferred activation](concept-active-inactive-events.md).
9898

9999
If the **Reward Wait Time** expires and there has been no reward information, a default reward is applied to that event for training. You can select a reward wait time of 10 minutes, 4 hours, 12 hours, or 24 hours. If your scenario requires longer reward wait times (e.g., for marketing email campaigns) we are offering a private preview of longer wait times. Open a support ticket in the Azure portal to get in contact with team and see if you qualify and it can be offered to you.
100100

articles/ai-services/translator/includes/text-translation-sdk/javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ async function main() {
114114
}
115115
116116
main().catch((err) => {
117-
console.error("An error occured:", err);
117+
console.error("An error occurred:", err);
118118
process.exit(1);
119119
});
120120

articles/aks/scale-down-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ When an Azure VM is in the `Stopped` (deallocated) state, you will not be charge
1919

2020
> [!WARNING]
2121
> In order to preserve any deallocated VMs, you must set Scale-down Mode to Deallocate. That includes VMs that have been deallocated using IaaS APIs (Virtual Machine Scale Set APIs). Setting Scale-down Mode to Delete will remove any deallocate VMs.
22-
> Once applied the deallocated mode and scale down operation occured, those nodes keep registered in APIserver and appear as NotReady state.
22+
> Once applied the deallocated mode and scale down operation occurred, those nodes keep registered in APIserver and appear as NotReady state.
2323
2424
This article assumes that you have an existing AKS cluster. If you need an AKS cluster, see the AKS quickstart [using the Azure CLI][aks-quickstart-cli], [using Azure PowerShell][aks-quickstart-powershell], or [using the Azure portal][aks-quickstart-portal].
2525

articles/azure-netapp-files/azacsnap-troubleshoot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ For the `-c backup` command, AzAcSnap writes to a *\*.result* file. The purpose
115115
Dec 17 09:01:13 azacsnap-rhel azacsnap: Database # 1 (PR1) : completed ok
116116
```
117117
118-
1. Example output where a failure has occured and AzAcSnap captured the failure:
118+
1. Example output where a failure has occurred and AzAcSnap captured the failure:
119119
120120
1. Output to *\*.result* file:
121121

articles/communication-services/quickstarts/chat/includes/meeting-interop-windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ private const string connectionString_ = "";
116116
{
117117
await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
118118
{
119-
_ = new MessageDialog($"An error ocurred while fetching messages in PollingChatMessagesAsync(). The application will shutdown. Details : {e.Message}").ShowAsync();
119+
_ = new MessageDialog($"An error occurred while fetching messages in PollingChatMessagesAsync(). The application will shutdown. Details : {e.Message}").ShowAsync();
120120
throw e;
121121
});
122122
await SetInCallState(false);

articles/cosmos-db/partial-document-update-getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ Support for Partial Document Update (Patch API) in the [Azure Cosmos DB Python S
324324
try:
325325
container.patch_item(item='e379aea5-63f5-4623-9a9b-4cd9b33b91d5', partition_key='road-bikes', patch_operations=operations, filter_predicate=filter)
326326
except exceptions.CosmosHttpResponseError as e:
327-
print('\nError occured. {0}'.format(e.message))
327+
print('\nError occurred. {0}'.format(e.message))
328328

329329
```
330330

articles/site-recovery/unregister-vmm-server-script.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ try
627627
else
628628
{
629629
$transaction.Rollback()
630-
Write-Error "Error occured"
630+
Write-Error "Error occurred"
631631
$error[0]
632632
""
633633
Write-Error "FAILED"

includes/iot-central-connect-device-nodejs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ const sendCommandResponse = async (request, response, status, payload) => {
251251
await response.send(status, payload);
252252
console.log('Response to method: ' + request.methodName + ' sent successfully.' );
253253
} catch (err) {
254-
console.error('An error ocurred when sending a method response:\n' + err.toString());
254+
console.error('An error occurred when sending a method response:\n' + err.toString());
255255
}
256256
};
257257
```

0 commit comments

Comments
 (0)