diff --git a/gpii/node_modules/spiSettingsHandler/src/GetHighContrastSchemeName.js b/gpii/node_modules/spiSettingsHandler/src/GetHighContrastSchemeName.js index 34a551074..3c0eae96f 100644 --- a/gpii/node_modules/spiSettingsHandler/src/GetHighContrastSchemeName.js +++ b/gpii/node_modules/spiSettingsHandler/src/GetHighContrastSchemeName.js @@ -17,11 +17,15 @@ */ "use strict"; -var gpii = fluid.registerNamespace("gpii"); +var fluid = require("gpii-universal"), + gpii = fluid.registerNamespace("gpii"); require("../../WindowsUtilities/WindowsUtilities.js"); -var stringId = process.stringId; +var stringId = process.env.stringId; var localizedName = gpii.windows.getIndirectString("@%SystemRoot%\\System32\\themeui.dll,-" + stringId); +if (localizedName === undefined) { + localizedName = "undefined"; +} process.send(localizedName);