Skip to content

Commit

Permalink
docs: Fix i18n documentation for translating blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
umairwaheed authored and timabbott committed Dec 15, 2016
1 parent 6b39f32 commit 4155795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/translating.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
```
Expand Down

0 comments on commit 4155795

Please sign in to comment.