Fix log folder

This commit is contained in:
Ivan Stošić 2022-09-20 11:28:47 +02:00
parent a112038864
commit c8a987a2a3
2 changed files with 5 additions and 2 deletions

View File

@ -23,6 +23,9 @@ namespace constants::nonlocalizable
// String key used by PowerToys
constexpr WCHAR PowerToyKey[] = L"FileLocksmith";
// Nonlocalized name of this PowerToy, for logs, etc
constexpr WCHAR PowerToyName[] = L"File Locksmith";
}
// Macros, non-localizable

View File

@ -16,7 +16,7 @@ public:
FileLocksmithModule()
{
m_enabled = true;
LoggerHelpers::init_logger(constants::nonlocalizable::PowerToyKey, L"ModuleInterface", LogSettings::fileLocksmithLoggerName);
LoggerHelpers::init_logger(constants::nonlocalizable::PowerToyName, L"ModuleInterface", LogSettings::fileLocksmithLoggerName);
}
@ -41,7 +41,7 @@ public:
settings.set_description(L"TODO: GET_RESOURCE_STRING(IDS_SETTINGS_DESCRIPTION");
settings.set_icon_key(L"TODO: pt-file-locksmith");
// Link to the GitHub PowerRename sub-page
// Link to the GitHub FileLocksmith sub-page
settings.set_overview_link(L"TODO: GET_RESOURCE_STRING(IDS_OVERVIEW_LINK)");
return settings.serialize_to_buffer(buffer, buffer_size);