Bug 1050263: Remove incorrect name reference from email subject when emailing a loop url r=dhenein,arcadio

This commit is contained in:
Mark Banner 2014-08-07 22:36:23 -04:00
Родитель 12e0bdab98
Коммит c172d251ec
4 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -211,7 +211,7 @@ loop.panel = (function(_, mozL10n) {
_generateMailTo: function() {
return encodeURI([
"mailto:?subject=" + __("share_email_subject") + "&",
"mailto:?subject=" + __("share_email_subject2") + "&",
"body=" + __("share_email_body", {callUrl: this.state.callUrl})
].join(""));
},

Просмотреть файл

@ -211,7 +211,7 @@ loop.panel = (function(_, mozL10n) {
_generateMailTo: function() {
return encodeURI([
"mailto:?subject=" + __("share_email_subject") + "&",
"mailto:?subject=" + __("share_email_subject2") + "&",
"body=" + __("share_email_body", {callUrl: this.state.callUrl})
].join(""));
},

Просмотреть файл

@ -253,7 +253,7 @@ describe("loop.panel", function() {
getStrings: function(key) {
var text;
if (key === "share_email_subject")
if (key === "share_email_subject2")
text = "email-subject";
else if (key === "share_email_body")
text = "{{callUrl}}";

Просмотреть файл

@ -57,9 +57,9 @@ feedback_back_button=Back
## translate the part between {{..}}
feedback_window_will_close_in=This window will close in {{countdown}} seconds
share_email_subject2=Invitation to chat
## LOCALIZATION NOTE (share_email_body): In this item, don't translate the
## part between {{..}} and let the \r\n\r\n part
share_email_subject=Loop invitation to chat
share_email_body=Please click that link to call me back:\r\n\r\n{{callUrl}}
share_button=Email
copy_url_button=Copy