Skip to content

Commit

Permalink
LocIndString
Browse files Browse the repository at this point in the history
  • Loading branch information
florelis committed Mar 11, 2024
1 parent e0fdcf7 commit 3d8f87a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/AppInstallerCLICore/Workflows/SettingsFlow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ namespace AppInstaller::CLI::Workflow
StringAdminSetting adminSetting = Settings::StringToStringAdminSetting(adminSettingName);
if (Settings::SetAdminSetting(adminSetting, adminSettingValue))
{
context.Reporter.Info() << Resource::String::SetAdminSettingSucceeded(adminSettingName, LocIndString{ adminSettingValue }) << std::endl;
context.Reporter.Info() << Resource::String::SetAdminSettingSucceeded(LocIndString{ adminSettingName }, LocIndString{ adminSettingValue }) << std::endl;
}
else
{
context.Reporter.Error() << Resource::String::SetAdminSettingFailed(adminSettingName) << std::endl;
context.Reporter.Error() << Resource::String::SetAdminSettingFailed(LocIndString{ adminSettingName }) << std::endl;
}
}

Expand All @@ -105,11 +105,11 @@ namespace AppInstaller::CLI::Workflow
if ((boolAdminSetting != Settings::BoolAdminSetting::Unknown && Settings::DisableAdminSetting(boolAdminSetting))
|| (stringAdminSetting != Settings::StringAdminSetting::Unknown && Settings::ResetAdminSetting(stringAdminSetting)))
{
context.Reporter.Info() << Resource::String::ResetAdminSettingSucceeded(adminSettingName) << std::endl;
context.Reporter.Info() << Resource::String::ResetAdminSettingSucceeded(LocIndString{ adminSettingName }) << std::endl;
}
else if (stringAdminSetting != Settings::StringAdminSetting::Unknown)
{
context.Reporter.Error() << Resource::String::ResetAdminSettingFailed(adminSettingName) << std::endl;
context.Reporter.Error() << Resource::String::ResetAdminSettingFailed(LocIndString{ adminSettingName }) << std::endl;
}
}

Expand Down

0 comments on commit 3d8f87a

Please sign in to comment.