mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-04 20:21:18 +08:00
Fix log folder
This commit is contained in:
parent
a112038864
commit
c8a987a2a3
@ -23,6 +23,9 @@ namespace constants::nonlocalizable
|
|||||||
|
|
||||||
// String key used by PowerToys
|
// String key used by PowerToys
|
||||||
constexpr WCHAR PowerToyKey[] = L"FileLocksmith";
|
constexpr WCHAR PowerToyKey[] = L"FileLocksmith";
|
||||||
|
|
||||||
|
// Nonlocalized name of this PowerToy, for logs, etc
|
||||||
|
constexpr WCHAR PowerToyName[] = L"File Locksmith";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Macros, non-localizable
|
// Macros, non-localizable
|
||||||
|
@ -16,7 +16,7 @@ public:
|
|||||||
FileLocksmithModule()
|
FileLocksmithModule()
|
||||||
{
|
{
|
||||||
m_enabled = true;
|
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_description(L"TODO: GET_RESOURCE_STRING(IDS_SETTINGS_DESCRIPTION");
|
||||||
settings.set_icon_key(L"TODO: pt-file-locksmith");
|
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)");
|
settings.set_overview_link(L"TODO: GET_RESOURCE_STRING(IDS_OVERVIEW_LINK)");
|
||||||
|
|
||||||
return settings.serialize_to_buffer(buffer, buffer_size);
|
return settings.serialize_to_buffer(buffer, buffer_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user