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

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

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-tmpl
===================================================================
new file mode 100644
--- /dev/null
+++ b/tests/expected_output/de/translate-tmpl
@@ -0,0 +1,17 @@
+<html>
+ <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>.
+
+Entity escaping: Draggen&amp;droppen.
+
+Entity escaping in links: <a href="http://foo.com/?a&amp;b">Bar</a>.
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld