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

Unified 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.
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-include
new file mode 100644
--- /dev/null
+++ b/tests/expected_output/en/translate-include
@@ -0,0 +1,16 @@
+<h1>Translations from an include fragment</h1>
+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>.

Powered by Google App Engine
This is Rietveld