OLD | NEW |
1 <html> | 1 template = head-test |
2 <body> | 2 <body> |
3 Simple TS with default: {{ simple[desc] Translate }}. | 3 Simple TS with default: {{ simple[desc] Translate }}. |
4 Same TS with no default: {{ simple }}. | 4 Same TS with no default: {{ simple }}. |
5 Nested translation: {{nested-ts <a href="{{nested-link http://foo.com/}}">Foo</a
> and <a href="{{nested-link2 http://baz.com/}}">Baz</a>}}. | 5 Nested translation: {{nested-ts <a href="{{nested-link http://foo.com/}}">Fo
o</a> and <a href="{{nested-link2 http://baz.com/}}">Baz</a>}}. |
6 Link resolving: {{linked-ts <a href="translate">This page</a>}}. | 6 Link resolving: {{linked-ts <a href="translate">This page</a>}}. |
7 Link to a non-translatable page: {{linked-ts2 <a href="sitemap">Site map</a>}}. | 7 Link to a non-translatable page: {{linked-ts2 <a href="sitemap">Site map</a>
}}. |
8 Entity escaping in links: {{entity-lnk <a href="http://foo.com/?a&b">Foo</a>}}. | 8 Entity escaping in links: {{entity-lnk <a href="http://foo.com/?a&b">Foo</a>
}}. |
9 Image link: <img src="img/icon"></img> | 9 Image link: <img src="img/icon"></img> |
10 Link to external source: <a href="http://bar.de/">Bar</a> | 10 Iframe link: <iframe src="/default.asp"></iframe> |
11 Link to self: <a href="rel_path"> | 11 Script link: <script src="myscripts.js"></script> |
12 Link to self with extension: <a href="rel_path.html"> | 12 Input link: <input type="image" src="/img/submit.gif" alt="Submit"> |
13 Relative link to local page: <a href="../en/sitemap"> | 13 Link to external source: <a href="http://bar.de/">Bar</a> |
14 Absolute link to local page: <a href="/en/sitemap"> | 14 Link to self: <a href="rel_path"> |
15 Relative link to different locale: <a href="../de/sitemap"> | 15 Link to self with extension: <a href="rel_path.html"> |
16 Absolute link to diferent locale: <a href="/de/sitemap"> | 16 Relative link to local page: <a href="../en/sitemap"> |
17 Relative link to page in subfolder: <a href="../foo/bar"> | 17 Absolute link to local page: <a href="/en/sitemap"> |
18 Absolute link to page in subfolder: <a href="/foo/bar"> | 18 Relative link to different locale: <a href="../de/sitemap"> |
| 19 Absolute link to diferent locale: <a href="/de/sitemap"> |
| 20 Relative link to page in subfolder: <a href="../foo/bar"> |
| 21 Absolute link to page in subfolder: <a href="/foo/bar"> |
| 22 Resource URL: <link rel="stylesheet" href="/dist/css/main.min.css"> |
19 </body> | 23 </body> |
20 </html> | |
OLD | NEW |