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

Unified Diff: tests/expected_output/de/translate-html

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.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/expected_output/de/translate-html
new file mode 100644
--- /dev/null
+++ b/tests/expected_output/de/translate-html
@@ -0,0 +1,19 @@
+ <body>
+Simple TS with default: √úbersetzen.
+Same TS with no default: √úbersetzen.
+TS with fixed text: Fester text.
+Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.de/">Baz</a>.
+Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>.
+Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Seitenverzeichnis</a>.
+Entity escaping: Draggen&amp;droppen.
+Entity escaping in links: <a href="http://foo.com/?a&amp;b">Bar</a>.
+ </body>

Powered by Google App Engine
This is Rietveld