docs: Fix i18n documentation for translating blocks.

This commit is contained in:
Umair Khan
2016-12-15 14:10:19 +05:00
committed by Tim Abbott
parent 6b39f3222c
commit 4155795a16

View File

@@ -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}}
```