diff --git a/src/modules/FileLocksmith/FileLocksmithExt/Constants.h b/src/modules/FileLocksmith/FileLocksmithExt/Constants.h index c3c7925b2d..55c0b7c52e 100644 --- a/src/modules/FileLocksmith/FileLocksmithExt/Constants.h +++ b/src/modules/FileLocksmith/FileLocksmithExt/Constants.h @@ -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 diff --git a/src/modules/FileLocksmith/FileLocksmithExt/PowerToysModule.cpp b/src/modules/FileLocksmith/FileLocksmithExt/PowerToysModule.cpp index bf30ce6b63..12ccc0057e 100644 --- a/src/modules/FileLocksmith/FileLocksmithExt/PowerToysModule.cpp +++ b/src/modules/FileLocksmith/FileLocksmithExt/PowerToysModule.cpp @@ -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);