Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: tests/test_site/pages/translate-tmpl.tmpl

Issue 29741581: Fixes 6546 - Swap the contents of default.tmpl and empty.tmpl in the test suite (Closed)
Patch Set: Created April 3, 2018, 2:19 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tests/test_site/pages/translate-partial.md ('k') | tests/test_site/templates/default.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 template = empty 1 template = default
2 2
3 <html> 3 <html>
4 <body> 4 <body>
5 Simple TS with default: {{ 'Translate' | translate('simple') }}. 5 Simple TS with default: {{ 'Translate' | translate('simple') }}.
6 6
7 Same TS with no default: {{ get_string('simple') }}. 7 Same TS with no default: {{ get_string('simple') }}.
8 8
9 TS with fixed text: {{ 'Fixed <fix>text</fix>' | translate('fix-ts') }}. 9 TS with fixed text: {{ 'Fixed <fix>text</fix>' | translate('fix-ts') }}.
10 10
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') }}. 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') }}.
12 12
13 Link resolving: {{ '<a href="translate">This page</a>' | translate('linked-ts') }}. 13 Link resolving: {{ '<a href="translate">This page</a>' | translate('linked-ts') }}.
14 14
15 Entity escaping: {{ 'Drag&drop' | translate('entity-ts') }}. 15 Entity escaping: {{ 'Drag&drop' | translate('entity-ts') }}.
16 16
17 Entity escaping in links: {{ '<a href="http://foo.com/?a&b">Foo</a>' | translate ('entity-lnk') }}. 17 Entity escaping in links: {{ '<a href="http://foo.com/?a&b">Foo</a>' | translate ('entity-lnk') }}.
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW
« no previous file with comments | « tests/test_site/pages/translate-partial.md ('k') | tests/test_site/templates/default.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld