bookend: Add i18n tags for bookend notices.

This commit is contained in:
Tim Abbott 2017-06-05 16:54:56 -07:00
parent 11e68606b4
commit bbbd924bdf
1 changed files with 6 additions and 3 deletions

View File

@ -343,15 +343,18 @@ exports.MessageList.prototype = {
},
subscribed_bookend_content: function (stream_name) {
return "You subscribed to stream " + stream_name;
return i18n.t("You subscribed to stream __stream__",
{stream: stream_name});
},
unsubscribed_bookend_content: function (stream_name) {
return "You unsubscribed from stream " + stream_name;
return i18n.t("You unsubscribed from stream __stream__",
{stream: stream_name});
},
not_subscribed_bookend_content: function (stream_name) {
return "You are not subscribed to stream " + stream_name;
return i18n.t("You are not subscribed to stream __stream__",
{stream: stream_name});
},
// Maintains a trailing bookend element explaining any changes in