mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
docs: Fix i18n documentation for translating blocks.
This commit is contained in:
@@ -205,12 +205,12 @@ registers two Handlebar [helpers][]. The syntax for simple strings is:
|
||||
The syntax for block strings or strings containing variables is:
|
||||
|
||||
```
|
||||
{{tr context}}
|
||||
{{#tr context}}
|
||||
Block of English text.
|
||||
{{/tr}}
|
||||
|
||||
var context = {'variable': 'variable value'};
|
||||
{{tr context}}
|
||||
{{#tr context}}
|
||||
Block of English text with a __variable__.
|
||||
{{/tr}}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user