Skip to content

Commit d1bd5ce

Browse files
authored
Spelling (microsoft#327)
1 parent 2e1c86d commit d1bd5ce

20 files changed

Lines changed: 31 additions & 31 deletions

File tree

doc/ManifestSpecv0.1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Name: MSIX SDK
4242
AppMoniker: msixsdk
4343

4444
# Version is a required field. It is the specific version of this copy of the application.
45-
# Versions should be separated by a period, but we will support other deliminators.
45+
# Versions should be separated by a period, but we will support other delimiters.
4646
# Versions should be limited to four fields: Major.Minor.Build.Update.
4747
# Versions will be sorted as integers following the following pattern: Major.Minor.Build.Patch.
4848
# Restrictions: 4 sections with max value of 65535. For example:65535.65535.65535.65535
@@ -258,7 +258,7 @@ Installers:
258258
## Best Practices
259259
The Id must be unique. You cannot have multiple submissions with the same Id.
260260
261-
Avoid creating multiple publisher folders. For example, do not create "Contoso Ltd." if there is already a "Contonso" folder.
261+
Avoid creating multiple publisher folders. For example, do not create "Contoso Ltd." if there is already a "Contoso" folder.
262262
263263
All tools must support a silent install. If you have an executable that does not support a silent install, then we cannot provide that tool at this time. Provide feedback to the repo. If this is a restriction that you would like to see removed add an issue or up vote it.
264264
My installer supports a silent install, but is not one of the supported InstallerTypes. How can I get it added to your repo. Ping us on the repo.

src/AppInstallerCLICore/Argument.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ namespace AppInstaller::CLI
4747
case Args::Type::Language:
4848
return Argument{ "lang", 'a', Args::Type::Language, Resource::String::LanguageArgumentDescription, ArgumentType::Standard, Visibility::Hidden };
4949
case Args::Type::Log:
50-
return Argument{ "log", 'o', Args::Type::Log, Resource::String::LogArgumentDesciption, ArgumentType::Standard };
50+
return Argument{ "log", 'o', Args::Type::Log, Resource::String::LogArgumentDescription, ArgumentType::Standard };
5151
case Args::Type::Override:
5252
return Argument{ "override", None, Args::Type::Override, Resource::String::OverrideArgumentDescription, ArgumentType::Standard, Visibility::Help };
5353
case Args::Type::InstallLocation:
@@ -69,7 +69,7 @@ namespace AppInstaller::CLI
6969
case Args::Type::ValidateManifest:
7070
return Argument{ "manifest", None, Args::Type::ValidateManifest, Resource::String::ValidateManifestArgumentDescription, ArgumentType::Positional, true };
7171
case Args::Type::NoVT:
72-
return Argument{ "no-vt", None, Args::Type::NoVT, Resource::String::NoVTArguementDescription, ArgumentType::Flag, Visibility::Hidden };
72+
return Argument{ "no-vt", None, Args::Type::NoVT, Resource::String::NoVTArgumentDescription, ArgumentType::Flag, Visibility::Hidden };
7373
case Args::Type::RainbowStyle:
7474
return Argument{ "rainbow", None, Args::Type::RainbowStyle, Resource::String::RainbowArgumentDescription, ArgumentType::Flag, Visibility::Hidden };
7575
case Args::Type::PlainStyle:

src/AppInstallerCLICore/Command.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ namespace AppInstaller::CLI
199199

200200
if (hasArguments)
201201
{
202-
infoOut << Resource::String::AvailableArguements << std::endl;
202+
infoOut << Resource::String::AvailableArguments << std::endl;
203203

204204
size_t i = 0;
205205
for (const auto& arg : GetArguments())

src/AppInstallerCLICore/ExecutionArgs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace AppInstaller::CLI::Execution
2323
Tag,
2424
Command,
2525
Source, // Index source to be queried against
26-
Count, // Maximun query results
26+
Count, // Maximum query results
2727
Exact, // Exact match required
2828

2929
// Manifest selection behavior after an app is found

src/AppInstallerCLICore/ExecutionContext.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ namespace AppInstaller::CLI::Execution
159159
void Terminate(HRESULT hr);
160160

161161
// Adds a value to the context data, or overwrites an existing entry.
162-
// This must be used to create the intial data entry, but Get can be used to modify.
162+
// This must be used to create the initial data entry, but Get can be used to modify.
163163
template <Data D>
164164
void Add(typename details::DataMapping<D>::value_t&& v)
165165
{

src/AppInstallerCLICore/Resources.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace AppInstaller::CLI::Resource
2929
{
3030
WINGET_DEFINE_RESOURCE_STRINGID(AdjoinedNotFlagError);
3131
WINGET_DEFINE_RESOURCE_STRINGID(AdjoinedNotFoundError);
32-
WINGET_DEFINE_RESOURCE_STRINGID(AvailableArguements);
32+
WINGET_DEFINE_RESOURCE_STRINGID(AvailableArguments);
3333
WINGET_DEFINE_RESOURCE_STRINGID(AvailableCommands);
3434
WINGET_DEFINE_RESOURCE_STRINGID(AvailableOptions);
3535
WINGET_DEFINE_RESOURCE_STRINGID(AvailableSubcommands);
@@ -61,7 +61,7 @@ namespace AppInstaller::CLI::Resource
6161
WINGET_DEFINE_RESOURCE_STRINGID(LicenseAgreement);
6262
WINGET_DEFINE_RESOURCE_STRINGID(Links);
6363
WINGET_DEFINE_RESOURCE_STRINGID(LocationArgumentDescription);
64-
WINGET_DEFINE_RESOURCE_STRINGID(LogArgumentDesciption);
64+
WINGET_DEFINE_RESOURCE_STRINGID(LogArgumentDescription);
6565
WINGET_DEFINE_RESOURCE_STRINGID(MainCopyrightNotice);
6666
WINGET_DEFINE_RESOURCE_STRINGID(MainHomepage);
6767
WINGET_DEFINE_RESOURCE_STRINGID(ManifestArgumentDescription);
@@ -74,7 +74,7 @@ namespace AppInstaller::CLI::Resource
7474
WINGET_DEFINE_RESOURCE_STRINGID(MsixSignatureHashFailed);
7575
WINGET_DEFINE_RESOURCE_STRINGID(NameArgumentDescription);
7676
WINGET_DEFINE_RESOURCE_STRINGID(NoApplicableInstallers);
77-
WINGET_DEFINE_RESOURCE_STRINGID(NoVTArguementDescription);
77+
WINGET_DEFINE_RESOURCE_STRINGID(NoVTArgumentDescription);
7878
WINGET_DEFINE_RESOURCE_STRINGID(Options);
7979
WINGET_DEFINE_RESOURCE_STRINGID(OverrideArgumentDescription);
8080
WINGET_DEFINE_RESOURCE_STRINGID(Package);

src/AppInstallerCLICore/TableOutput.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ namespace AppInstaller::CLI::Execution
5353
}
5454
else
5555
{
56-
EvaulateAndFlushBuffer();
56+
EvaluateAndFlushBuffer();
5757
OutputLineToStream(line);
5858
}
5959
}
6060

6161
void Complete()
6262
{
63-
EvaulateAndFlushBuffer();
63+
EvaluateAndFlushBuffer();
6464
}
6565

6666
private:
@@ -79,7 +79,7 @@ namespace AppInstaller::CLI::Execution
7979
std::vector<line_t> m_buffer;
8080
bool m_bufferEvaluated = false;
8181

82-
void EvaulateAndFlushBuffer()
82+
void EvaluateAndFlushBuffer()
8383
{
8484
if (m_bufferEvaluated)
8585
{

src/AppInstallerCLICore/Workflows/SourceFlow.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,15 @@ namespace AppInstaller::CLI::Workflow
199199

200200
for (const auto& source : sources)
201201
{
202-
context.Reporter.Info() << "Reseting source: " << source.Name << " ...";
202+
context.Reporter.Info() << "Resetting source: " << source.Name << " ...";
203203
Repository::DropSource(source.Name);
204204
context.Reporter.Info() << " Done." << std::endl;
205205
}
206206
}
207207

208208
void ResetAllSources(Execution::Context& context)
209209
{
210-
context.Reporter.Info() << "Reseting all sources ...";
210+
context.Reporter.Info() << "Resetting all sources ...";
211211
Repository::DropSource({});
212212
context.Reporter.Info() << " Done." << std::endl;
213213
}

src/AppInstallerCLIPackage/Shared/Strings/en-us/winget.resw

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
<data name="AdjoinedNotFoundError" xml:space="preserve">
124124
<value>Adjoined flag alias not found</value>
125125
</data>
126-
<data name="AvailableArguements" xml:space="preserve">
126+
<data name="AvailableArguments" xml:space="preserve">
127127
<value>The following arguments are available:</value>
128128
</data>
129129
<data name="AvailableCommands" xml:space="preserve">
@@ -223,7 +223,7 @@
223223
<data name="LocationArgumentDescription" xml:space="preserve">
224224
<value>Location to install to (if supported)</value>
225225
</data>
226-
<data name="LogArgumentDesciption" xml:space="preserve">
226+
<data name="LogArgumentDescription" xml:space="preserve">
227227
<value>Log location (if supported)</value>
228228
</data>
229229
<data name="MainCopyrightNotice" xml:space="preserve">
@@ -263,7 +263,7 @@
263263
<data name="NoApplicableInstallers" xml:space="preserve">
264264
<value>No installers are applicable to the current system.</value>
265265
</data>
266-
<data name="NoVTArguementDescription" xml:space="preserve">
266+
<data name="NoVTArgumentDescription" xml:space="preserve">
267267
<value>Disables VirtualTerminal display</value>
268268
<comment>{Locked="VirtualTerminal"}</comment>
269269
</data>

src/AppInstallerCLITests/TestData/Manifest-Bad-NameMissing.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Bad maniest. No Name
1+
# Bad manifest. No Name
22
Id: microsoft.msixsdk
33
Version: 1.7.32
44
Publisher: Microsoft

0 commit comments

Comments
 (0)