From 19e587950d6ed07c4a68edf90e54545f51644fe7 Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Sun, 14 Oct 2018 10:28:23 -0400 Subject: [PATCH] Localize Brave Rewards with Transifex Fix https://github.com/brave/brave-browser/issues/1570 --- lib/l10nUtil.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/l10nUtil.js b/lib/l10nUtil.js index 7c04310aab29..881db0ce3254 100644 --- a/lib/l10nUtil.js +++ b/lib/l10nUtil.js @@ -55,6 +55,7 @@ const braveVRStringsPartPath = path.resolve(path.join(srcDir, 'brave', 'app', 'v const braveSpecificGeneratedResourcesPath = path.resolve(path.join(srcDir, 'brave', 'app', 'brave_generated_resources.grd')) const braveComponentsResourcesPath = path.resolve(path.join(srcDir, 'brave', 'components', 'resources', 'brave_components_resources.grd')) const braveExtensionMessagesPath = path.resolve(path.join(srcDir, 'brave', 'vendor', 'brave-extension', 'app', '_locales', 'en_US', 'messages.json')) +const braveRewardsExtensionMessagesPath = path.resolve(path.join(srcDir, 'brave', 'components', 'brave_rewards', 'extension', 'brave_rewards', '_locales', 'en', 'messages.json')) // When adding new grd or grd files, never add a grdp part path without a parent grd path. // Group them with a leading and trailing newline to keep this file organized. @@ -81,7 +82,7 @@ module.exports.autoGeneratedBraveToChromiumMapping = Object.keys(chromiumToAutoG // All paths which are not generated module.exports.braveNonGeneratedPaths = [ - braveSpecificGeneratedResourcesPath, braveComponentsResourcesPath, braveExtensionMessagesPath + braveSpecificGeneratedResourcesPath, braveComponentsResourcesPath, braveExtensionMessagesPath, braveRewardsExtensionMessagesPath ] // All paths which are generated