Skip to content

Commit

Permalink
Localize the product name per recommendation (microsoft#1498)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMcPMS authored Sep 23, 2021
1 parent 396d689 commit 87a0dca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/AppInstallerCLICore/Command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ namespace AppInstaller::CLI
void Command::OutputIntroHeader(Execution::Reporter& reporter) const
{
reporter.Info() <<
Resource::FixedString::ProductName << " v"_liv << Runtime::GetClientVersion() << std::endl <<
Resource::String::WindowsPackageManager << " v"_liv << Runtime::GetClientVersion() << std::endl <<
Resource::String::MainCopyrightNotice << std::endl;
}

Expand Down
1 change: 1 addition & 0 deletions src/AppInstallerCLICore/Resources.h
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ namespace AppInstaller::CLI::Resource
WINGET_DEFINE_RESOURCE_STRINGID(WindowsFeaturesDependencies);
WINGET_DEFINE_RESOURCE_STRINGID(WindowsLibrariesDependencies);
WINGET_DEFINE_RESOURCE_STRINGID(WindowsStoreTerms);
WINGET_DEFINE_RESOURCE_STRINGID(WindowsPackageManager);
WINGET_DEFINE_RESOURCE_STRINGID(WordArgumentDescription);
};

Expand Down
5 changes: 4 additions & 1 deletion src/AppInstallerCLIPackage/Shared/Strings/en-us/winget.resw
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,9 @@ Please specify one of them using the `--source` option to proceed.</value>
</data>
<data name="FeaturesMessageDisabledByBuild" xml:space="preserve">
<value>This is a stable release of the Windows Package Manager. If you would like to try experimental features, please install a pre-release build. Instructions are available on GitHub at https://github.com/microsoft/winget-cli.</value>
<comment>{Locked="Windows Package Manager","GitHub","https://github.com/microsoft/winget-cli"}</comment>
<comment>{Locked="https://github.com/microsoft/winget-cli"}</comment>
</data>
<data name="WindowsPackageManager" xml:space="preserve">
<value>Windows Package Manager</value>
</data>
</root>

0 comments on commit 87a0dca

Please sign in to comment.