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: Created Jan. 8, 2018, 5:31 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
« no previous file with comments | « tests/expected_output/de/translate ('k') | tests/test_site/locales/de/translate.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
Vasily Kuznetsov 2018/01/08 17:39:18 I don't think escaping HTML entities in URLs this
« no previous file with comments | « tests/expected_output/de/translate ('k') | tests/test_site/locales/de/translate.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld