Skip to content

Commit

Permalink
Modifies l10nUitl.js to globally replace 'Chrome Web Store' with just
Browse files Browse the repository at this point in the history
'Web Store' in order to avoid ending up with 'Brave Web Store' when
'Chrome' is globally replaced with 'Brave'.

Fixes brave/brave-browser#2983
  • Loading branch information
mkarolin committed Jan 16, 2019
1 parent 8975c64 commit 07e225d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/lib/l10nUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ module.exports.rebaseBraveStringFilesOnChromiumL10nFiles = async function (path)
const defaultReplacements = [
[/Automatically send usage statistics and crash reports to Google/g, 'Automatically send crash reports to Google'],
[/Automatically sends usage statistics and crash reports to Google/g, 'Automatically sends crash reports to Google'],
[/Chrome Web Store/g, 'Web Store'],
[/The Chromium Authors/g, 'Brave Software Inc'],
[/Google Chrome/g, 'Brave'],
[/Chromium/g, 'Brave'],
Expand Down

0 comments on commit 07e225d

Please sign in to comment.