OLD | NEW |
(Empty) | |
| 1 ### en/filter ### |
| 2 foo |
| 3 |
| 4 ### en/get_page_url ### |
| 5 |
| 6 global_canonical_url = http://localhost:5000/global |
| 7 |
| 8 # 'filter' is default page name for the test website, so we check that the |
| 9 # link would not include the page name itself. |
| 10 filter_canonical_url = http://localhost:5000/ |
| 11 ### en/global ### |
| 12 METHOD TEST PASSEDFalseTrueexists |
| 13 ### en/includer ### |
| 14 <h1>Foobar</h1> |
| 15 |
| 16 |
| 17 <p>This is an included example</p> |
| 18 |
| 19 Variable from included piece: bar |
| 20 ### en/sitemap ### |
| 21 |
| 22 |
| 23 |
| 24 <h1> Unfiltered </h1> |
| 25 <ul> |
| 26 <li>title : includer </li> |
| 27 <li>title : translate-template </li> |
| 28 <li>title : sitemap </li> |
| 29 </ul> |
| 30 |
| 31 <h1> Filtered </h1> |
| 32 <ul><li>title : sitemap </li> |
| 33 </ul> |
| 34 |
| 35 <h1> String Filter For Listy Option </h1> |
| 36 <ul><li>title : sitemap </li> |
| 37 </ul> |
| 38 ### en/translate-html ### |
| 39 <html> |
| 40 <body> |
| 41 Simple TS with default: Translate. |
| 42 |
| 43 Same TS with no default: Translate. |
| 44 |
| 45 TS with fixed text: Fixed text. |
| 46 |
| 47 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co
m/">Baz</a>. |
| 48 |
| 49 Link resolving: <a href="/en/translate" hreflang="en">This page</a>. |
| 50 |
| 51 Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Site map</a
>. |
| 52 |
| 53 Entity escaping: Drag&drop. |
| 54 |
| 55 Entity escaping in links: <a href="http://foo.com/?a&b">Foo</a>. |
| 56 </body> |
| 57 </html> |
| 58 |
| 59 ### en/translate-include ### |
| 60 <h1>Translations from an include fragment</h1> |
| 61 Simple TS with default: Translate. |
| 62 |
| 63 Same TS with no default: Translate. |
| 64 |
| 65 TS with fixed text: Fixed text. |
| 66 |
| 67 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co
m/">Baz</a>. |
| 68 |
| 69 Link resolving: <a href="/en/translate" hreflang="en">This page</a>. |
| 70 |
| 71 Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Site map</a
>. |
| 72 |
| 73 Entity escaping: Drag&drop. |
| 74 |
| 75 Entity escaping in links: <a href="http://foo.com/?a&b">Foo</a>. |
| 76 |
| 77 ### en/translate-not-enough ### |
| 78 <p>This page doesn't have enough translation in German so it shouldn't be genera
ted.</p> |
| 79 <ul> |
| 80 <li>TS1 - this one has translation to German, others don't.</li> |
| 81 <li>TS2.</li> |
| 82 <li>TS3.</li> |
| 83 <li>TS4.</li> |
| 84 </ul> |
| 85 ### en/translate-partial ### |
| 86 <p>This page only has half of translation in German, but enough to be generated.
</p> |
| 87 <ul> |
| 88 <li>TS1.</li> |
| 89 <li>TS2.</li> |
| 90 </ul> |
| 91 ### en/translate-template ### |
| 92 <h1>Translation strings are all in the template</h1> |
| 93 |
| 94 Simple TS with default: Translate. |
| 95 |
| 96 Same TS with no default: doesn't work in templates. |
| 97 |
| 98 TS with fixed text: Fixed text. |
| 99 |
| 100 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co
m/">Baz</a>. |
| 101 |
| 102 Link resolving: <a href="/en/translate" hreflang="en">This page</a>. |
| 103 |
| 104 Entity escaping: Drag&drop. |
| 105 |
| 106 Entity escaping in links: <a href="http://foo.com/?a&b">Foo</a>. |
| 107 ### en/translate-tmpl ### |
| 108 <html> |
| 109 <body> |
| 110 Simple TS with default: Translate. |
| 111 |
| 112 Same TS with no default: Translate. |
| 113 |
| 114 TS with fixed text: Fixed text. |
| 115 |
| 116 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co
m/">Baz</a>. |
| 117 |
| 118 Link resolving: <a href="/en/translate" hreflang="en">This page</a>. |
| 119 |
| 120 Entity escaping: Drag&drop. |
| 121 |
| 122 Entity escaping in links: <a href="http://foo.com/?a&b">Foo</a>. |
| 123 </body> |
| 124 </html> |
| 125 ### en/translate ### |
| 126 <p>Simple TS with default: Translate.</p> |
| 127 <p>Same TS with no default: Translate.</p> |
| 128 <p>TS with fixed text: Fixed text.</p> |
| 129 <p>Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz
.com/">Baz</a>.</p> |
| 130 <p>Link resolving: <a href="/en/translate" hreflang="en">This page</a>.</p> |
| 131 <p>Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Site map
</a>.</p> |
| 132 <p>Entity escaping: Drag&drop.</p> |
| 133 <p>Entity escaping in links: <a href="http://foo.com/?a&b">Foo</a>.</p> |
| 134 ### de/filter ### |
| 135 foo |
| 136 |
| 137 ### de/get_page_url ### |
| 138 |
| 139 global_canonical_url = http://localhost:5000/global |
| 140 |
| 141 # 'filter' is default page name for the test website, so we check that the |
| 142 # link would not include the page name itself. |
| 143 filter_canonical_url = http://localhost:5000/ |
| 144 ### de/global ### |
| 145 METHOD TEST PASSEDFalseTrueexists |
| 146 ### de/includer ### |
| 147 <h1>Foobar</h1> |
| 148 |
| 149 |
| 150 <p>This is an included example</p> |
| 151 |
| 152 Variable from included piece: bar |
| 153 ### de/sitemap ### |
| 154 |
| 155 |
| 156 |
| 157 <h1> Unfiltered </h1> |
| 158 <ul> |
| 159 <li>title : includer </li> |
| 160 <li>title : translate-template </li> |
| 161 <li>title : sitemap </li> |
| 162 </ul> |
| 163 |
| 164 <h1> Filtered </h1> |
| 165 <ul><li>title : sitemap </li> |
| 166 </ul> |
| 167 |
| 168 <h1> String Filter For Listy Option </h1> |
| 169 <ul><li>title : sitemap </li> |
| 170 </ul> |
| 171 ### de/translate-html ### |
| 172 <html> |
| 173 <body> |
| 174 Simple TS with default: Übersetzen. |
| 175 |
| 176 Same TS with no default: Übersetzen. |
| 177 |
| 178 TS with fixed text: Fester text. |
| 179 |
| 180 Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.de/
">Baz</a>. |
| 181 |
| 182 Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>. |
| 183 |
| 184 Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Seitenverze
ichnis</a>. |
| 185 |
| 186 Entity escaping: Draggen&droppen. |
| 187 |
| 188 Entity escaping in links: <a href="http://foo.com/?a&b">Bar</a>. |
| 189 </body> |
| 190 </html> |
| 191 |
| 192 ### de/translate-include ### |
| 193 <h1>Translations from an include fragment</h1> |
| 194 Simple TS with default: Übersetzen. |
| 195 |
| 196 Same TS with no default: Übersetzen. |
| 197 |
| 198 TS with fixed text: Fester text. |
| 199 |
| 200 Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.de/
">Baz</a>. |
| 201 |
| 202 Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>. |
| 203 |
| 204 Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Seitenverze
ichnis</a>. |
| 205 |
| 206 Entity escaping: Draggen&droppen. |
| 207 |
| 208 Entity escaping in links: <a href="http://foo.com/?a&b">Bar</a>. |
| 209 |
| 210 ### de/translate-not-enough ### |
| 211 <p>This page doesn't have enough translation in German so it shouldn't be genera
ted.</p> |
| 212 <ul> |
| 213 <li>Übersetzen - this one has translation to German, others don't.</li> |
| 214 <li>TS2.</li> |
| 215 <li>TS3.</li> |
| 216 <li>TS4.</li> |
| 217 </ul> |
| 218 ### de/translate-partial ### |
| 219 <p>This page only has half of translation in German, but enough to be generated.
</p> |
| 220 <ul> |
| 221 <li>Übersetzen.</li> |
| 222 <li>TS2.</li> |
| 223 </ul> |
| 224 ### de/translate-template ### |
| 225 <h1>Translation strings are all in the template</h1> |
| 226 |
| 227 Simple TS with default: Übersetzen. |
| 228 |
| 229 Same TS with no default: doesn't work in templates. |
| 230 |
| 231 TS with fixed text: Fester text. |
| 232 |
| 233 Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.de/
">Baz</a>. |
| 234 |
| 235 Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>. |
| 236 |
| 237 Entity escaping: Draggen&droppen. |
| 238 |
| 239 Entity escaping in links: <a href="http://foo.com/?a&b">Bar</a>. |
| 240 ### de/translate-tmpl ### |
| 241 <html> |
| 242 <body> |
| 243 Simple TS with default: Übersetzen. |
| 244 |
| 245 Same TS with no default: Übersetzen. |
| 246 |
| 247 TS with fixed text: Fester text. |
| 248 |
| 249 Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.de/
">Baz</a>. |
| 250 |
| 251 Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>. |
| 252 |
| 253 Entity escaping: Draggen&droppen. |
| 254 |
| 255 Entity escaping in links: <a href="http://foo.com/?a&b">Bar</a>. |
| 256 </body> |
| 257 </html> |
| 258 ### de/translate ### |
| 259 <p>Simple TS with default: Übersetzen.</p> |
| 260 <p>Same TS with no default: Übersetzen.</p> |
| 261 <p>TS with fixed text: Fester text.</p> |
| 262 <p>Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.
de/">Baz</a>.</p> |
| 263 <p>Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>.</p> |
| 264 <p>Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Seitenve
rzeichnis</a>.</p> |
| 265 <p>Entity escaping: Draggen&droppen.</p> |
| 266 <p>Entity escaping in links: <a href="http://foo.com/?a&b">Bar</a>.</p> |
OLD | NEW |