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

Unified Diff: tests/expected_output/en/translate

Issue 29659605: Issue 6231 - Add tests for translation string substitution (Closed)
Patch Set: Add tests for different types of pages; also for includes and templates Created Jan. 12, 2018, 7:53 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
===================================================================
--- a/tests/expected_output/en/translate
+++ b/tests/expected_output/en/translate
@@ -1,1 +1,8 @@
-<p>Translate</p>
+<p>Simple TS with default: Translate.</p>
+<p>Same TS with no default: Translate.</p>
+<p>TS with fixed text: Fixed text.</p>
+<p>Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.com/">Baz</a>.</p>
+<p>Link resolving: <a href="/en/translate" hreflang="en">This page</a>.</p>
+<p>Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Site map</a>.</p>
+<p>Entity escaping: Drag&amp;drop.</p>
+<p>Entity escaping in links: <a href="http://foo.com/?a&amp;b">Foo</a>.</p>

Powered by Google App Engine
This is Rietveld