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

Side by Side Diff: tests/expected_output/en/translate-include

Issue 29659605: Issue 6231 - Add tests for translation string substitution (Closed)
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:
View unified diff | Download patch
OLDNEW
(Empty)
1 <h1>Translations from an include fragment</h1>
2 Simple TS with default: Translate.
3
4 Same TS with no default: Translate.
5
6 TS with fixed text: Fixed text.
7
8 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co m/">Baz</a>.
9
10 Link resolving: <a href="/en/translate" hreflang="en">This page</a>.
11
12 Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Site map</a >.
13
14 Entity escaping: Drag&amp;drop.
15
16 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Foo</a>.
OLDNEW

Powered by Google App Engine
This is Rietveld