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

Unified Diff: tests/expected_output/en/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/en/translate-html
===================================================================
new file mode 100644
--- /dev/null
+++ b/tests/expected_output/en/translate-html
@@ -0,0 +1,19 @@
+<html>
+ <body>
+Simple TS with default: Translate.
+
+Same TS with no default: Translate.
+
+TS with fixed text: Fixed text.
+
+Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.com/">Baz</a>.
+
+Link resolving: <a href="/en/translate" hreflang="en">This page</a>.
+
+Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Site map</a>.
+
+Entity escaping: Drag&amp;drop.
+
+Entity escaping in links: <a href="http://foo.com/?a&amp;b">Foo</a>.
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld