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

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

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/de/translate-include
===================================================================
new file mode 100644
--- /dev/null
+++ b/tests/expected_output/de/translate-include
@@ -0,0 +1,16 @@
+<h1>Translations from an include fragment</h1>
+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>.
+
+Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Seitenverzeichnis</a>.
+
+Entity escaping: Draggen&amp;droppen.
+
+Entity escaping in links: <a href="http://foo.com/?a&amp;b">Bar</a>.

Powered by Google App Engine
This is Rietveld