From c6956f81d0ce1fc1cb3a5003f5d9ae9abe46a5c5 Mon Sep 17 00:00:00 2001 From: lilia Date: Fri, 25 Dec 2015 23:01:22 -0800 Subject: [PATCH] i18n DebugLogView // FREEBIE --- _locales/en/messages.json | 9 +++++++++ background.html | 9 +++++---- js/views/debug_log_view.js | 7 +++++++ 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 908737d9..25c110ef 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1,4 +1,13 @@ { + "debugLogExplanation": { + "message": "This log will be posted publicly online for contributors to view. You may examine and edit it before submitting." + }, + "gotIt": { + "message": "Got it!" + }, + "submit": { + "message": "Submit" + }, "verifyContact": { "message": "You may wish to verify this contact." }, diff --git a/background.html b/background.html index 0a5d6f99..446478ea 100644 --- a/background.html +++ b/background.html @@ -303,15 +303,16 @@ diff --git a/js/views/debug_log_view.js b/js/views/debug_log_view.js index 4fe1e7f0..7f3463dc 100644 --- a/js/views/debug_log_view.js +++ b/js/views/debug_log_view.js @@ -16,6 +16,13 @@ 'submit': 'submit', 'click .close': 'close' }, + render_attributes: { + title: i18n('submitDebugLog'), + cancel: i18n('cancel'), + submit: i18n('submit'), + close: i18n('gotIt'), + debugLogExplanation: i18n('debugLogExplanation') + }, close: function(e) { e.preventDefault(); this.remove();