Fixed an issue of not being able to change settings for ColorPicker (#5351)

This commit is contained in:
martinchrzan 2020-07-31 16:10:08 +02:00 committed by GitHub
parent 46ef13dd0f
commit 2fe84b7510
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -4,8 +4,8 @@
STRINGTABLE
BEGIN
IDS_LAUNCHER_NAME L"Color Picker"
IDS_LAUNCHER_SETTINGS_DESC L"This feature requires Windows 10 version 1903 or higher"
IDS_COLORPICKER_NAME L"ColorPicker"
IDS_COLORPICKER_SETTINGS_DESC L"This feature requires Windows 10 version 1903 or higher"
END
1 VERSIONINFO

View file

@ -45,7 +45,7 @@ private:
public:
ColorPicker()
{
app_name = GET_RESOURCE_STRING(IDS_LAUNCHER_NAME);
app_name = GET_RESOURCE_STRING(IDS_COLORPICKER_NAME);
}
~ColorPicker()
@ -74,7 +74,7 @@ public:
// Create a Settings object.
PowerToysSettings::Settings settings(hinstance, get_name());
settings.set_description(GET_RESOURCE_STRING(IDS_LAUNCHER_SETTINGS_DESC));
settings.set_description(GET_RESOURCE_STRING(IDS_COLORPICKER_SETTINGS_DESC));
settings.set_overview_link(L"https://aka.ms/PowerToysOverview_ColorPicker");

View file

@ -12,5 +12,5 @@
// Non-localizable
//////////////////////////////
#define IDS_LAUNCHER_NAME 601
#define IDS_LAUNCHER_SETTINGS_DESC 602
#define IDS_COLORPICKER_NAME 601
#define IDS_COLORPICKER_SETTINGS_DESC 602