i18n: Fix encoding of stream bookends.

Fix an issue with how 3e6f34780a
passed the stream name to the template around translation tags.
This commit is contained in:
Tim Abbott 2023-04-24 12:19:04 -07:00
parent fd84651a16
commit 5e8e7af066
1 changed files with 6 additions and 6 deletions

View File

@ -10,18 +10,18 @@
{{t "This stream has been deactivated" }} {{t "This stream has been deactivated" }}
{{else if subscribed }} {{else if subscribed }}
{{#tr}} {{#tr}}
You subscribed to stream <z-stream-icon></z-stream-icon> {{stream_name}} You subscribed to stream <z-stream-name></z-stream-name>
{{#*inline "z-stream-icon"}}{{> stream_privacy }}{{/inline}} {{#*inline "z-stream-name"}}{{> stream_privacy }} {{stream_name}}{{/inline}}
{{/tr}} {{/tr}}
{{else if just_unsubscribed }} {{else if just_unsubscribed }}
{{#tr}} {{#tr}}
You unsubscribed from stream <z-stream-icon></z-stream-icon> {{stream_name}} You unsubscribed from stream <z-stream-name></z-stream-name>
{{#*inline "z-stream-icon"}}{{> stream_privacy }}{{/inline}} {{#*inline "z-stream-name"}}{{> stream_privacy }} {{stream_name}}{{/inline}}
{{/tr}} {{/tr}}
{{else}} {{else}}
{{#tr}} {{#tr}}
You are not subscribed to stream <z-stream-icon></z-stream-icon> {{stream_name}} You are not subscribed to stream <z-stream-name></z-stream-name>
{{#*inline "z-stream-icon"}}{{> stream_privacy }}{{/inline}} {{#*inline "z-stream-name"}}{{> stream_privacy }} {{stream_name}}{{/inline}}
{{/tr}} {{/tr}}
{{/if}} {{/if}}
</span> </span>