Skip to content

Commit 4118fd2

Browse files
jeis2497052iSazonov
authored andcommitted
Propose fix some typos (PowerShell#8206)
1 parent 75fa6af commit 4118fd2

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

build.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ function New-PSOptions {
725725
# Get the Options of the last build
726726
function Get-PSOptions {
727727
param(
728-
[Parameter(HelpMessage='Defaults to New-PSOption if a build has not ocurred.')]
728+
[Parameter(HelpMessage='Defaults to New-PSOption if a build has not occurred.')]
729729
[switch]
730730
$DefaultToNew
731731
)

src/Microsoft.PowerShell.ScheduledJob/resources/ScheduledJobErrorStrings.resx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,10 +355,10 @@
355355
<value>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.</value>
356356
</data>
357357
<data name="ErrorRenamingScheduledJob" xml:space="preserve">
358-
<value>An error occured while attempting to rename scheduled job from {0} to {1}.</value>
358+
<value>An error occurred while attempting to rename scheduled job from {0} to {1}.</value>
359359
</data>
360360
<data name="ErrorRenamingScheduledJobWithMessage" xml:space="preserve">
361-
<value>An error occured while attempting to rename scheduled job from {0} to {1} with error message: {2}.</value>
361+
<value>An error occurred while attempting to rename scheduled job from {0} to {1} with error message: {2}.</value>
362362
</data>
363363
<data name="BrokenRenamingScheduledJob" xml:space="preserve">
364364
<value>An unrecoverable error occurred while renaming the scheduled job from {0} to {1}. The scheduled job will be removed.</value>

src/Schemas/PSMaml/ManagedDeveloper.xsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<annotation>
55
<documentation>
66
This schema describes MAML, the Microsoft Assistance Markup Language.
7-
MAML is intended for software documentation. In particular, it is
8-
intended to accomodate the needs of Microsoft documentation.
7+
MAML is intended for software documentation. In particular, it is
8+
intended to accommodate the needs of Microsoft documentation.
99
</documentation>
1010
<documentation>
1111
The schema is broken into three main areas: end user, developer and

src/Schemas/PSMaml/ManagedDeveloperStructure.xsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<annotation>
55
<documentation>
66
This schema describes MAML, the Microsoft Assistance Markup Language.
7-
MAML is intended for software documentation. In particular, it is
8-
intended to accomodate the needs of Microsoft documentation.
7+
MAML is intended for software documentation. In particular, it is
8+
intended to accommodate the needs of Microsoft documentation.
99
</documentation>
1010
<documentation>
1111
The schema is broken into three main areas: end user, developer and

tools/install-powershell.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ install(){
99
#bash <(curl -s https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/install-powershell.sh) <ARGUMENTS>
1010

1111

12-
#Usage - if you do not have the ability to run scripts directly from the web,
12+
#Usage - if you do not have the ability to run scripts directly from the web,
1313
# pull all files in this repo folder and execute, this script
1414
# automatically prefers local copies of sub-scripts
1515

@@ -132,7 +132,7 @@ install(){
132132
bash <(wget -qO- $gitreposcriptroot/appimage.sh) $@
133133
fi
134134
elif [ "$DistroBasedOn" == "redhat" ] || [ "$DistroBasedOn" == "debian" ] || [ "$DistroBasedOn" == "osx" ] || [ "$DistroBasedOn" == "suse" ] || [ "$DistroBasedOn" == "amazonlinux" ]; then
135-
echo "Configuring PowerShell Core Enviornment for: $DistroBasedOn $DIST $REV"
135+
echo "Configuring PowerShell Core Environment for: $DistroBasedOn $DIST $REV"
136136
if [ -f $SCRIPTFOLDER/installpsh-$DistroBasedOn.sh ]; then
137137
#Script files were copied local - use them
138138
. $SCRIPTFOLDER/installpsh-$DistroBasedOn.sh

0 commit comments

Comments
 (0)