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

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

Issue 29741581: Fixes 6546 - Swap the contents of default.tmpl and empty.tmpl in the test suite (Closed)
Patch Set: Remove unnecessary template=default metadata and adjust the expected output for sitemap accordingly Created April 3, 2018, 4:34 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
OLDNEW
1 template = empty
2
3 <html> 1 <html>
4 <body> 2 <body>
5 Simple TS with default: {{ simple[desc] Translate }}. 3 Simple TS with default: {{ simple[desc] Translate }}.
6 4
7 Same TS with no default: {{ simple }}. 5 Same TS with no default: {{ simple }}.
8 6
9 TS with fixed text: {{fix-ts[fix] Fixed <fix>text</fix>}}. 7 TS with fixed text: {{fix-ts[fix] Fixed <fix>text</fix>}}.
10 8
11 Nested translation: {{nested-ts <a href="{{nested-link http://foo.com/}}">Foo</a > and <a href="{{nested-link2 http://baz.com/}}">Baz</a>}}. 9 Nested translation: {{nested-ts <a href="{{nested-link http://foo.com/}}">Foo</a > and <a href="{{nested-link2 http://baz.com/}}">Baz</a>}}.
12 10
13 Link resolving: {{linked-ts <a href="translate">This page</a>}}. 11 Link resolving: {{linked-ts <a href="translate">This page</a>}}.
14 12
15 Link to a non-translatable page: {{linked-ts2 <a href="sitemap">Site map</a>}}. 13 Link to a non-translatable page: {{linked-ts2 <a href="sitemap">Site map</a>}}.
16 14
17 Entity escaping: {{entity-ts Drag&drop}}. 15 Entity escaping: {{entity-ts Drag&drop}}.
18 16
19 Entity escaping in links: {{entity-lnk <a href="http://foo.com/?a&b">Foo</a>}}. 17 Entity escaping in links: {{entity-lnk <a href="http://foo.com/?a&b">Foo</a>}}.
20 </body> 18 </body>
21 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld