From 4118fd2829cb1a0a64005bd5b84e08ca7ea354e2 Mon Sep 17 00:00:00 2001 From: John Eismeier <32205350+jeis2497052@users.noreply.github.com> Date: Thu, 8 Nov 2018 22:33:24 -0500 Subject: [PATCH] Propose fix some typos (#8206) --- build.psm1 | 2 +- .../resources/ScheduledJobErrorStrings.resx | 4 ++-- src/Schemas/PSMaml/ManagedDeveloper.xsd | 4 ++-- src/Schemas/PSMaml/ManagedDeveloperStructure.xsd | 4 ++-- tools/install-powershell.sh | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/build.psm1 b/build.psm1 index 01120cfa6b..263ac1232a 100644 --- a/build.psm1 +++ b/build.psm1 @@ -725,7 +725,7 @@ function New-PSOptions { # Get the Options of the last build function Get-PSOptions { param( - [Parameter(HelpMessage='Defaults to New-PSOption if a build has not ocurred.')] + [Parameter(HelpMessage='Defaults to New-PSOption if a build has not occurred.')] [switch] $DefaultToNew ) diff --git a/src/Microsoft.PowerShell.ScheduledJob/resources/ScheduledJobErrorStrings.resx b/src/Microsoft.PowerShell.ScheduledJob/resources/ScheduledJobErrorStrings.resx index 56ea788818..047abfee82 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/resources/ScheduledJobErrorStrings.resx +++ b/src/Microsoft.PowerShell.ScheduledJob/resources/ScheduledJobErrorStrings.resx @@ -355,10 +355,10 @@ The RepetitionInterval parameter cannot have a value of zero unless the RepetitionDuration parameter also has a zero value. A zero value removes repetition behavior from the Job trigger. - An error occured while attempting to rename scheduled job from {0} to {1}. + An error occurred while attempting to rename scheduled job from {0} to {1}. - An error occured while attempting to rename scheduled job from {0} to {1} with error message: {2}. + An error occurred while attempting to rename scheduled job from {0} to {1} with error message: {2}. An unrecoverable error occurred while renaming the scheduled job from {0} to {1}. The scheduled job will be removed. diff --git a/src/Schemas/PSMaml/ManagedDeveloper.xsd b/src/Schemas/PSMaml/ManagedDeveloper.xsd index 53c9383efd..92a2ca6ba3 100644 --- a/src/Schemas/PSMaml/ManagedDeveloper.xsd +++ b/src/Schemas/PSMaml/ManagedDeveloper.xsd @@ -4,8 +4,8 @@ This schema describes MAML, the Microsoft Assistance Markup Language. - MAML is intended for software documentation. In particular, it is - intended to accomodate the needs of Microsoft documentation. + MAML is intended for software documentation. In particular, it is + intended to accommodate the needs of Microsoft documentation. The schema is broken into three main areas: end user, developer and diff --git a/src/Schemas/PSMaml/ManagedDeveloperStructure.xsd b/src/Schemas/PSMaml/ManagedDeveloperStructure.xsd index 7580fd6b83..2f9d8dd5a2 100644 --- a/src/Schemas/PSMaml/ManagedDeveloperStructure.xsd +++ b/src/Schemas/PSMaml/ManagedDeveloperStructure.xsd @@ -4,8 +4,8 @@ This schema describes MAML, the Microsoft Assistance Markup Language. - MAML is intended for software documentation. In particular, it is - intended to accomodate the needs of Microsoft documentation. + MAML is intended for software documentation. In particular, it is + intended to accommodate the needs of Microsoft documentation. The schema is broken into three main areas: end user, developer and diff --git a/tools/install-powershell.sh b/tools/install-powershell.sh index 2e6991417c..673a861dc8 100755 --- a/tools/install-powershell.sh +++ b/tools/install-powershell.sh @@ -9,7 +9,7 @@ install(){ #bash <(curl -s https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/install-powershell.sh) - #Usage - if you do not have the ability to run scripts directly from the web, + #Usage - if you do not have the ability to run scripts directly from the web, # pull all files in this repo folder and execute, this script # automatically prefers local copies of sub-scripts @@ -132,7 +132,7 @@ install(){ bash <(wget -qO- $gitreposcriptroot/appimage.sh) $@ fi elif [ "$DistroBasedOn" == "redhat" ] || [ "$DistroBasedOn" == "debian" ] || [ "$DistroBasedOn" == "osx" ] || [ "$DistroBasedOn" == "suse" ] || [ "$DistroBasedOn" == "amazonlinux" ]; then - echo "Configuring PowerShell Core Enviornment for: $DistroBasedOn $DIST $REV" + echo "Configuring PowerShell Core Environment for: $DistroBasedOn $DIST $REV" if [ -f $SCRIPTFOLDER/installpsh-$DistroBasedOn.sh ]; then #Script files were copied local - use them . $SCRIPTFOLDER/installpsh-$DistroBasedOn.sh