mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
This change was inspired by the problem of translators needing to translate "Subscribe" to languages that use different forms depending on the identity of the noun being subscribed. In most places in the app, a button with that as the entire label should be translated in the "subscribe myself" form; but in this one it should be "subscribe someone else". Thinking about this, the current label is a bit misleading in English for someone who ignores the error message text and just reads the button, so the best fix is to just change the string, which of course also makes things unambiguous for translators as well.
11 lines
653 B
Handlebars
11 lines
653 B
Handlebars
<div class="compose_invite_user" data-user-id="{{user_id}}" data-stream-id="{{stream_id}}">
|
|
{{#if can_subscribe_other_users}}
|
|
<p>{{#tr}}<strong>{name}</strong> is not subscribed to this stream. They will not be notified unless you subscribe them.{{/tr}}</p>
|
|
<div class="compose_invite_user_controls">
|
|
<button class="btn btn-warning compose_invite_link" >{{t "Subscribe them" }}</button><button type="button" class="compose_invite_close close">×</button>
|
|
</div>
|
|
{{else}}
|
|
<p>{{#tr}}<strong>{name}</strong> is not subscribed to this stream. They will not be notified if you mention them.{{/tr}}</p>
|
|
{{/if}}
|
|
</div>
|