OLD | NEW |
1 template = empty | |
2 | |
3 <html> | 1 <html> |
4 <body> | 2 <body> |
5 Simple TS with default: {{ 'Translate' | translate('simple') }}. | 3 Simple TS with default: {{ 'Translate' | translate('simple') }}. |
6 | 4 |
7 Same TS with no default: {{ get_string('simple') }}. | 5 Same TS with no default: {{ get_string('simple') }}. |
8 | 6 |
9 TS with fixed text: {{ 'Fixed <fix>text</fix>' | translate('fix-ts') }}. | 7 TS with fixed text: {{ 'Fixed <fix>text</fix>' | translate('fix-ts') }}. |
10 | 8 |
11 Nested translation: {{ '<a href="{{nested-link http://foo.com/}}">Foo</a> and <a
href="{{nested-link2 http://baz.com/}}">Baz</a>' | translate('nested-ts') }}. | 9 Nested translation: {{ '<a href="{{nested-link http://foo.com/}}">Foo</a> and <a
href="{{nested-link2 http://baz.com/}}">Baz</a>' | translate('nested-ts') }}. |
12 | 10 |
13 Link resolving: {{ '<a href="translate">This page</a>' | translate('linked-ts')
}}. | 11 Link resolving: {{ '<a href="translate">This page</a>' | translate('linked-ts')
}}. |
14 | 12 |
15 Entity escaping: {{ 'Drag&drop' | translate('entity-ts') }}. | 13 Entity escaping: {{ 'Drag&drop' | translate('entity-ts') }}. |
16 | 14 |
17 Entity escaping in links: {{ '<a href="http://foo.com/?a&b">Foo</a>' | translate
('entity-lnk') }}. | 15 Entity escaping in links: {{ '<a href="http://foo.com/?a&b">Foo</a>' | translate
('entity-lnk') }}. |
18 </body> | 16 </body> |
19 </html> | 17 </html> |
OLD | NEW |