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

Delta Between Two Patch Sets: tests/expected_output/en/translate-tmpl

Issue 29659605: Issue 6231 - Add tests for translation string substitution (Closed)
Left Patch Set: Add tests for different types of pages; also for includes and templates Created Jan. 12, 2018, 7:53 p.m.
Right Patch Set: Add tests for partial translation and for get_string Created Jan. 19, 2018, 3:26 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 <html> 1 <html>
2 <body> 2 <body>
3 Simple TS with default: Translate. 3 Simple TS with default: Translate.
4 4
5 Same TS with no default: doesn't work in templates. 5 Same TS with no default: Translate.
6 6
7 TS with fixed text: Fixed text. 7 TS with fixed text: Fixed text.
8 8
9 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co m/">Baz</a>. 9 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co m/">Baz</a>.
10 10
11 Link resolving: <a href="/en/translate" hreflang="en">This page</a>. 11 Link resolving: <a href="/en/translate" hreflang="en">This page</a>.
12 12
13 Entity escaping: Drag&amp;drop. 13 Entity escaping: Drag&amp;drop.
14 14
15 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Foo</a>. 15 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Foo</a>.
16 </body> 16 </body>
17 </html> 17 </html>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld