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

Side by Side Diff: tests/test_site/pages/translate.md

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 Simple TS with default: {{ simple[desc] Translate }}. 1 Simple TS with default: {{ simple[desc] Translate }}.
4 2
5 Same TS with no default: {{ simple }}. 3 Same TS with no default: {{ simple }}.
6 4
7 TS with fixed text: {{fix-ts[fix] Fixed <fix>text</fix>}}. 5 TS with fixed text: {{fix-ts[fix] Fixed <fix>text</fix>}}.
8 6
9 Nested translation: {{nested-ts <a href="{{nested-link http://foo.com/}}">Foo</a > and <a href="{{nested-link2 http://baz.com/}}">Baz</a>}}. 7 Nested translation: {{nested-ts <a href="{{nested-link http://foo.com/}}">Foo</a > and <a href="{{nested-link2 http://baz.com/}}">Baz</a>}}.
10 8
11 Link resolving: {{linked-ts <a href="translate">This page</a>}}. 9 Link resolving: {{linked-ts <a href="translate">This page</a>}}.
12 10
13 Link to a non-translatable page: {{linked-ts2 <a href="sitemap">Site map</a>}}. 11 Link to a non-translatable page: {{linked-ts2 <a href="sitemap">Site map</a>}}.
14 12
15 Entity escaping: {{entity-ts Drag&drop}}. 13 Entity escaping: {{entity-ts Drag&drop}}.
16 14
17 Entity escaping in links: {{entity-lnk <a href="http://foo.com/?a&b">Foo</a>}}. 15 Entity escaping in links: {{entity-lnk <a href="http://foo.com/?a&b">Foo</a>}}.
OLDNEW

Powered by Google App Engine
This is Rietveld