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" }}
{{else if subscribed }}
{{#tr}}
You subscribed to stream <z-stream-icon></z-stream-icon> {{stream_name}}
{{#*inline "z-stream-icon"}}{{> stream_privacy }}{{/inline}}
You subscribed to stream <z-stream-name></z-stream-name>
{{#*inline "z-stream-name"}}{{> stream_privacy }} {{stream_name}}{{/inline}}
{{/tr}}
{{else if just_unsubscribed }}
{{#tr}}
You unsubscribed from stream <z-stream-icon></z-stream-icon> {{stream_name}}
{{#*inline "z-stream-icon"}}{{> stream_privacy }}{{/inline}}
You unsubscribed from stream <z-stream-name></z-stream-name>
{{#*inline "z-stream-name"}}{{> stream_privacy }} {{stream_name}}{{/inline}}
{{/tr}}
{{else}}
{{#tr}}
You are not subscribed to stream <z-stream-icon></z-stream-icon> {{stream_name}}
{{#*inline "z-stream-icon"}}{{> stream_privacy }}{{/inline}}
You are not subscribed to stream <z-stream-name></z-stream-name>
{{#*inline "z-stream-name"}}{{> stream_privacy }} {{stream_name}}{{/inline}}
{{/tr}}
{{/if}}
</span>