Bug 1079430 - Land the new Loop strings for Firefox 35. r=Standard8

This commit is contained in:
Jared Wein
2014-10-09 11:45:04 -04:00
parent c734baa02b
commit 951441027e
11 changed files with 94 additions and 22 deletions

View File

@@ -168,7 +168,7 @@ loop.panel = (function(_, mozL10n) {
var terms_of_use_url = navigator.mozLoop.getLoopCharPref('legal.ToS_url');
var privacy_notice_url = navigator.mozLoop.getLoopCharPref('legal.privacy_url');
var tosHTML = __("legal_text_and_links3", {
"clientShortname": __("client_shortname_fallback"),
"clientShortname": __("clientShortname2"),
"terms_of_use": React.renderComponentToStaticMarkup(
React.DOM.a({href: terms_of_use_url, target: "_blank"},
__("legal_text_tos")
@@ -366,8 +366,11 @@ loop.panel = (function(_, mozL10n) {
handleEmailButtonClick: function(event) {
this.handleLinkExfiltration(event);
navigator.mozLoop.composeEmail(__("share_email_subject3"),
__("share_email_body3", { callUrl: this.state.callUrl }));
navigator.mozLoop.composeEmail(
__("share_email_subject4", { clientShortname: __("clientShortname2")}),
__("share_email_body4", { callUrl: this.state.callUrl,
clientShortname: __("clientShortname2"),
learnMoreUrl: navigator.mozLoop.getLoopCharPref("learnMoreUrl") }));
},
handleCopyButtonClick: function(event) {