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

Side by Side Diff: tests/expected_output/de/translate-template

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>Translation strings are all in the template</h1>
2
3 Simple TS with default: Übersetzen.
4
5 Same TS with no default: doesn't work in templates.
6
7 TS with fixed text: Fester text.
8
9 Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.de/ ">Baz</a>.
10
11 Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>.
12
13 Entity escaping: Draggen&amp;droppen.
14
15 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Bar</a>.
OLDNEW

Powered by Google App Engine
This is Rietveld