зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1050263: Remove incorrect name reference from email subject when emailing a loop url r=dhenein,arcadio
This commit is contained in:
Родитель
12e0bdab98
Коммит
c172d251ec
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче