Files
zulip/web/templates/message_view_header.hbs
Lauryn Menard 4dcb0258a5 web-i18n: Update frontend translated strings for stream rename channel.
Updates translated strings in web/ that do not need updates to any
tests. The majority of these strings are also unique to the file/
template that they are in. A few have overlap with one other file.

Some changes here update placeholders/variables in these strings to
no longer use stream so that all the translation updates for this
rename happen at the same time.

The exception to this are cases of "<z-stream>" placeholders in
these translated strings.

Part of the stream to channel rename project.
2024-04-24 14:35:04 -07:00

31 lines
1011 B
Handlebars

{{#if stream_settings_link}}
<a class="message-header-stream-settings-button tippy-zulip-tooltip" data-tooltip-template-id="stream-details-tooltip-template" data-tippy-placement="bottom" href="{{stream_settings_link}}">
{{> navbar_icon_and_title }}
</a>
<template id="stream-details-tooltip-template">
<div>
<div>{{t "Go to channel settings" }}</div>
{{#unless is_spectator}}
<div class="tooltip-inner-content italic">
{{t "This channel has {sub_count, plural, =0 {no subscribers} one {# subscriber} other {# subscribers}}." }}
</div>
{{/unless}}
</div>
</template>
<span class="narrow_description rendered_markdown">
{{#if rendered_narrow_description}}
{{rendered_markdown rendered_narrow_description}}
{{else}}
{{#if is_admin}}
<a href="{{stream_settings_link}}">
{{t "Add a description"}}
</a>
{{/if}}
{{/if}}
</span>
{{else}}
<span class="navbar_title">
{{> navbar_icon_and_title }}
</span>
{{/if}}