mirror of https://github.com/zulip/zulip.git
bookend: Add i18n tags for bookend notices.
This commit is contained in:
parent
11e68606b4
commit
bbbd924bdf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue