diff --git a/app/extensions/brave/locales/en-US/app.properties b/app/extensions/brave/locales/en-US/app.properties index e47b5b1d5b1..903177cac6f 100644 --- a/app/extensions/brave/locales/en-US/app.properties +++ b/app/extensions/brave/locales/en-US/app.properties @@ -150,3 +150,6 @@ flashRightClick=Right-click to run Adobe Flash flashSubtext=from {{source}} on {{site}}. flashExpirationText=Approvals reset 7 days after last visit. prefsRestart=Do you want to restart now ? +yes=Yes +no=No +neverForThisSite=Never for this site diff --git a/app/index.js b/app/index.js index c86683c7f36..67998a03967 100644 --- a/app/index.js +++ b/app/index.js @@ -387,7 +387,7 @@ app.on('ready', () => { var message = locale.translation('prefsRestart') appActions.showMessageBox({ - buttons: ['Yes', 'No'], + buttons: [locale.translation('yes'), locale.translation('no')], options: { persist: false }, @@ -619,7 +619,11 @@ app.on('ready', () => { if (!(message in passwordCallbacks)) { // Notification not shown already appActions.showMessageBox({ - buttons: ['Yes', 'No', 'Never for this site'], + buttons: [ + locale.translation('yes'), + locale.translation('no'), + locale.translation('neverForThisSite') + ], options: { persist: false, advancedText: '[Password settings]', diff --git a/app/locale.js b/app/locale.js index e1bf2170c49..24858601ebd 100644 --- a/app/locale.js +++ b/app/locale.js @@ -166,7 +166,10 @@ var rendererIdentifiers = function () { 'aboutPagesSuggestionTitle', 'searchSuggestionTitle', 'topSiteSuggestionTitle', - 'prefsRestart' + 'prefsRestart', + 'yes', + 'no', + 'neverForThisSite' ] }