OLD | NEW |
1 <html> | 1 <html> |
2 <body> | 2 <body> |
3 Simple TS with default: {{ 'Translate' | translate('simple') }}. | 3 Simple TS with default: {{ 'Translate' | translate('simple') }}. |
4 | 4 |
5 Same TS with no default: {{ get_string('simple') }}. | 5 Same TS with no default: {{ get_string('simple') }}. |
6 | 6 |
7 TS with fixed text: {{ 'Fixed <fix>text</fix>' | translate('fix-ts') }}. | 7 TS with fixed text: {{ 'Fixed <fix>text</fix>' | translate('fix-ts') }}. |
8 | 8 |
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') }}. | 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') }}. |
10 | 10 |
11 Link resolving: {{ '<a href="translate">This page</a>' | translate('linked-ts')
}}. | 11 Link resolving: {{ '<a href="translate">This page</a>' | translate('linked-ts')
}}. |
12 | 12 |
13 Entity escaping: {{ 'Drag&drop' | translate('entity-ts') }}. | 13 Entity escaping: {{ 'Drag&drop' | translate('entity-ts') }}. |
14 | 14 |
15 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') }}. |
| 16 |
| 17 Translation string with href: {{ get_string('href_inside') }}. |
16 </body> | 18 </body> |
17 </html> | 19 </html> |
OLD | NEW |