Fixing i18n_subsites tests

This commit is contained in:
Lucas Cimon 2019-09-05 10:05:47 +02:00
parent 2f80133a69
commit dc739069c5
17 changed files with 131 additions and 81 deletions

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>Welcome to our Testing site</title> <title>Testing site - An untranslated article</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testing site Full Atom Feed" /> <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testing site Full Atom Feed" />
@ -9,6 +9,8 @@
</head> </head>
<body id="index" class="home"> <body id="index" class="home">
@ -17,6 +19,7 @@
</header><!-- /#banner --> </header><!-- /#banner -->
<nav id="menu"><ul> <nav id="menu"><ul>
<li><a href="http://example.com/test/pages/untranslated-page.html">Untranslated page</a></li> <li><a href="http://example.com/test/pages/untranslated-page.html">Untranslated page</a></li>
<li class="active"><a href="http://example.com/test/category/misc.html">misc</a></li>
</ul></nav><!-- /#menu --> </ul></nav><!-- /#menu -->
<section id="content" class="body"> <section id="content" class="body">
<header> <header>
@ -32,6 +35,9 @@
<address class="vcard author"> <address class="vcard author">
By <a class="url fn" href="http://example.com/test/author/the-tester.html">The Tester</a> By <a class="url fn" href="http://example.com/test/author/the-tester.html">The Tester</a>
</address> </address>
<div class="category">
Category: <a href="http://example.com/test/category/misc.html">misc</a>
</div>
</footer><!-- /.post-info --> </footer><!-- /.post-info -->
<div class="entry-content"> <div class="entry-content">
<p>An article without a translation. <p>An article without a translation.

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="cz"> <html lang="en">
<head> <head>
<title>Welcome to our Testovací stránka</title> <title>Testovací stránka - An untranslated article</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testovací stránka Full Atom Feed" /> <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testovací stránka Full Atom Feed" />
@ -9,6 +9,8 @@
</head> </head>
<body id="index" class="home"> <body id="index" class="home">
@ -16,6 +18,7 @@
<h1><a href="http://example.com/test/cz/">Testovací stránka <strong></strong></a></h1> <h1><a href="http://example.com/test/cz/">Testovací stránka <strong></strong></a></h1>
</header><!-- /#banner --> </header><!-- /#banner -->
<nav id="menu"><ul> <nav id="menu"><ul>
<li class="active"><a href="http://example.com/test/cz/category/misc.html">misc</a></li>
</ul></nav><!-- /#menu --> </ul></nav><!-- /#menu -->
<section id="content" class="body"> <section id="content" class="body">
<header> <header>
@ -31,10 +34,13 @@
<address class="vcard author"> <address class="vcard author">
By <a class="url fn" href="http://example.com/test/cz/author/test-testovic.html">Test Testovič</a> By <a class="url fn" href="http://example.com/test/cz/author/test-testovic.html">Test Testovič</a>
</address> </address>
<div class="category">
Category: <a href="http://example.com/test/cz/category/misc.html">misc</a>
</div>
</footer><!-- /.post-info --> </footer><!-- /.post-info -->
<div class="entry-content"> <div class="entry-content">
<p>An article without a translation. <p>An article without a translation.
Here is a link to an <a class="reference external" href="http://example.com/test/cz/../pages/untranslated-page.html">untranslated page</a></p> Here is a link to an <a class="reference external" href="http://example.com/test/pages/untranslated-page.html">untranslated page</a></p>
</div><!-- /.entry-content --> </div><!-- /.entry-content -->
</section> </section>

View File

@ -1,18 +1,10 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Testovací stránka</title><link href="http://example.com/test/cz/" rel="alternate"></link><link href="http://example.com/test/feeds_all.atom.xml" rel="self"></link><id>http://example.com/test/cz/</id><updated>2014-09-15T00:00:00+00:00</updated><entry><title>Přeložený článek</title><link href="http://example.com/test/cz/translated-article.html" rel="alternate"></link><published>2014-09-15T00:00:00+00:00</published><updated>2014-09-15T00:00:00+00:00</updated><author><name>Test Testovič</name></author><id>tag:example.com,2014-09-15:/test/cz/translated-article.html</id><summary type="html">&lt;p&gt;Jednoduchý článek s překlady. <feed xmlns="http://www.w3.org/2005/Atom"><title>Testovací stránka</title><link href="http://example.com/test/cz/" rel="alternate"></link><link href="http://example.com/test/feeds_all.atom.xml" rel="self"></link><id>http://example.com/test/cz/</id><updated>2014-09-15T00:00:00+00:00</updated><entry><title>Přeložený článek</title><link href="http://example.com/test/cz/translated-article.html" rel="alternate"></link><published>2014-09-15T00:00:00+00:00</published><updated>2014-09-15T00:00:00+00:00</updated><author><name>Test Testovič</name></author><id>tag:example.com,2014-09-15:/test/cz/translated-article.html</id><content type="html">&lt;p&gt;Jednoduchý článek s překlady.
Zde je odkaz na &lt;a class="reference external" href="http://example.com/test/cz/../images/img.png"&gt;nějaký obrázek&lt;/a&gt;.&lt;/p&gt; Zde je odkaz na &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;nějaký obrázek&lt;/a&gt;.&lt;/p&gt;
</summary><content type="html">&lt;p&gt;Jednoduchý článek s překlady. </content></entry><entry><title>Ein übersetzter Artikel</title><link href="http://example.com/test/de/translated-article.html" rel="alternate"></link><published>2014-09-14T00:00:00+00:00</published><updated>2014-09-14T00:00:00+00:00</updated><author><name>Test Testovič</name></author><id>tag:example.com,2014-09-14:/test/de/translated-article.html</id><content type="html">&lt;p&gt;Ein einfacher Artikel mit einer Übersetzung.
Zde je odkaz na &lt;a class="reference external" href="http://example.com/test/cz/../images/img.png"&gt;nějaký obrázek&lt;/a&gt;.&lt;/p&gt; Hier ist ein Link zur &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;einigem Bild&lt;/a&gt;.&lt;/p&gt;
</content></entry><entry><title>Ein übersetzter Artikel</title><link href="http://example.com/test/cz/../de/translated-article.html" rel="alternate"></link><published>2014-09-14T00:00:00+00:00</published><updated>2014-09-14T00:00:00+00:00</updated><author><name>Test Testovič</name></author><id>tag:example.com,2014-09-14:/test/cz/../de/translated-article.html</id><summary type="html">&lt;p&gt;Ein einfacher Artikel mit einer Übersetzung. </content></entry><entry><title>A translated article</title><link href="http://example.com/test/translated-article.html" rel="alternate"></link><published>2014-09-13T00:00:00+00:00</published><updated>2014-09-13T00:00:00+00:00</updated><author><name>Test Testovič</name></author><id>tag:example.com,2014-09-13:/test/translated-article.html</id><content type="html">&lt;p&gt;A simple article with a translation.
Hier ist ein Link zur &lt;a class="reference external" href="http://example.com/test/cz/../images/img.png"&gt;einigem Bild&lt;/a&gt;.&lt;/p&gt; Here is a link to &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;some image&lt;/a&gt;.&lt;/p&gt;
</summary><content type="html">&lt;p&gt;Ein einfacher Artikel mit einer Übersetzung. </content></entry><entry><title>An untranslated article</title><link href="http://example.com/test/cz/an-untranslated-article-en.html" rel="alternate"></link><published>2014-07-14T00:00:00+00:00</published><updated>2014-07-14T00:00:00+00:00</updated><author><name>Test Testovič</name></author><id>tag:example.com,2014-07-14:/test/cz/an-untranslated-article-en.html</id><content type="html">&lt;p&gt;An article without a translation.
Hier ist ein Link zur &lt;a class="reference external" href="http://example.com/test/cz/../images/img.png"&gt;einigem Bild&lt;/a&gt;.&lt;/p&gt; Here is a link to an &lt;a class="reference external" href="http://example.com/test/pages/untranslated-page.html"&gt;untranslated page&lt;/a&gt;&lt;/p&gt;
</content></entry><entry><title>A translated article</title><link href="http://example.com/test/cz/../translated-article.html" rel="alternate"></link><published>2014-09-13T00:00:00+00:00</published><updated>2014-09-13T00:00:00+00:00</updated><author><name>Test Testovič</name></author><id>tag:example.com,2014-09-13:/test/cz/../translated-article.html</id><summary type="html">&lt;p&gt;A simple article with a translation.
Here is a link to &lt;a class="reference external" href="http://example.com/test/cz/../images/img.png"&gt;some image&lt;/a&gt;.&lt;/p&gt;
</summary><content type="html">&lt;p&gt;A simple article with a translation.
Here is a link to &lt;a class="reference external" href="http://example.com/test/cz/../images/img.png"&gt;some image&lt;/a&gt;.&lt;/p&gt;
</content></entry><entry><title>An untranslated article</title><link href="http://example.com/test/cz/an-untranslated-article-en.html" rel="alternate"></link><published>2014-07-14T00:00:00+00:00</published><updated>2014-07-14T00:00:00+00:00</updated><author><name>Test Testovič</name></author><id>tag:example.com,2014-07-14:/test/cz/an-untranslated-article-en.html</id><summary type="html">&lt;p&gt;An article without a translation.
Here is a link to an &lt;a class="reference external" href="http://example.com/test/cz/../pages/untranslated-page.html"&gt;untranslated page&lt;/a&gt;&lt;/p&gt;
</summary><content type="html">&lt;p&gt;An article without a translation.
Here is a link to an &lt;a class="reference external" href="http://example.com/test/cz/../pages/untranslated-page.html"&gt;untranslated page&lt;/a&gt;&lt;/p&gt;
</content></entry></feed> </content></entry></feed>

View File

@ -13,6 +13,7 @@
<h1><a href="http://example.com/test/cz/">Testovací stránka <strong></strong></a></h1> <h1><a href="http://example.com/test/cz/">Testovací stránka <strong></strong></a></h1>
</header><!-- /#banner --> </header><!-- /#banner -->
<nav id="menu"><ul> <nav id="menu"><ul>
<li><a href="http://example.com/test/cz/category/misc.html">misc</a></li>
</ul></nav><!-- /#menu --> </ul></nav><!-- /#menu -->
<section id="content"> <section id="content">
<h2>All articles</h2> <h2>All articles</h2>
@ -27,7 +28,7 @@
</address> </address>
</footer><!-- /.post-info --> </footer><!-- /.post-info -->
<div class="entry-content"> <p>Jednoduchý článek s překlady. <div class="entry-content"> <p>Jednoduchý článek s překlady.
Zde je odkaz na <a class="reference external" href="http://example.com/test/cz/../images/img.png">nějaký obrázek</a>.</p> Zde je odkaz na <a class="reference external" href="http://example.com/test/images/img.png">nějaký obrázek</a>.</p>
</div><!-- /.entry-content --> </div><!-- /.entry-content -->
</article></li> </article></li>
<li><article class="hentry"> <li><article class="hentry">
@ -39,7 +40,7 @@ Zde je odkaz na <a class="reference external" href="http://example.com/test/cz/.
</address> </address>
</footer><!-- /.post-info --> </footer><!-- /.post-info -->
<div class="entry-content"> <p>An article without a translation. <div class="entry-content"> <p>An article without a translation.
Here is a link to an <a class="reference external" href="http://example.com/test/cz/../pages/untranslated-page.html">untranslated page</a></p> Here is a link to an <a class="reference external" href="http://example.com/test/pages/untranslated-page.html">untranslated page</a></p>
</div><!-- /.entry-content --> </div><!-- /.entry-content -->
</article></li> </article></li>
</ol><!-- /#posts-list --> </ol><!-- /#posts-list -->

View File

@ -1,11 +1,16 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="cz"> <html lang="cz">
<head> <head>
<title>404 stránka</title> <title>Testovací stránka - 404 stránka</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testovací stránka Full Atom Feed" /> <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testovací stránka Full Atom Feed" />
<link rel="stylesheet" href="http://example.com/test/cz/../theme/style.css" /> <link rel="stylesheet" href="http://example.com/test/cz/../theme/style.css" />
<link rel="alternate" hreflang="de" href="http://example.com/test/cz/../de/pages/404.html">
<link rel="alternate" hreflang="en" href="http://example.com/test/cz/../pages/404.html">
</head> </head>
<body id="index" class="home"> <body id="index" class="home">
@ -13,11 +18,12 @@
<h1><a href="http://example.com/test/cz/">Testovací stránka <strong></strong></a></h1> <h1><a href="http://example.com/test/cz/">Testovací stránka <strong></strong></a></h1>
</header><!-- /#banner --> </header><!-- /#banner -->
<nav id="menu"><ul> <nav id="menu"><ul>
<li><a href="http://example.com/test/cz/category/misc.html">misc</a></li>
</ul></nav><!-- /#menu --> </ul></nav><!-- /#menu -->
<h1>404 stránka</h1> <h1>404 stránka</h1>
Translations: Translations:
<a href="http://example.com/test/cz/../de/pages/404.html">de</a> <a href="http://example.com/test/cz/../de/pages/404.html" hreflang="de">de</a>
<a href="http://example.com/test/cz/../pages/404.html">en</a> <a href="http://example.com/test/cz/../pages/404.html" hreflang="en">en</a>
<p>Jednoduchá 404 stránka.</p> <p>Jednoduchá 404 stránka.</p>

View File

@ -1,13 +1,18 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="cz"> <html lang="cz">
<head> <head>
<title>Welcome to our Testovací stránka</title> <title>Testovací stránka - Přeložený článek</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testovací stránka Full Atom Feed" /> <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testovací stránka Full Atom Feed" />
<link rel="stylesheet" href="http://example.com/test/cz/../theme/style.css" /> <link rel="stylesheet" href="http://example.com/test/cz/../theme/style.css" />
<link rel="alternate" hreflang="de" href="http://example.com/test/cz/../de/translated-article.html">
<link rel="alternate" hreflang="en" href="http://example.com/test/cz/../translated-article.html">
</head> </head>
@ -16,15 +21,16 @@
<h1><a href="http://example.com/test/cz/">Testovací stránka <strong></strong></a></h1> <h1><a href="http://example.com/test/cz/">Testovací stránka <strong></strong></a></h1>
</header><!-- /#banner --> </header><!-- /#banner -->
<nav id="menu"><ul> <nav id="menu"><ul>
<li class="active"><a href="http://example.com/test/cz/category/misc.html">misc</a></li>
</ul></nav><!-- /#menu --> </ul></nav><!-- /#menu -->
<section id="content" class="body"> <section id="content" class="body">
<header> <header>
<h2 class="entry-title"> <h2 class="entry-title">
<a href="http://example.com/test/cz/translated-article.html" rel="bookmark" <a href="http://example.com/test/cz/translated-article.html" rel="bookmark"
title="Permalink to Přeložený článek">Přeložený článek</a></h2> title="Permalink to Přeložený článek">Přeložený článek</a></h2>
Translations: Translations:
<a href="http://example.com/test/cz/../de/translated-article.html">de</a> <a href="http://example.com/test/cz/../de/translated-article.html" hreflang="de">de</a>
<a href="http://example.com/test/cz/../translated-article.html">en</a> <a href="http://example.com/test/cz/../translated-article.html" hreflang="en">en</a>
</header> </header>
<footer class="post-info"> <footer class="post-info">
@ -34,10 +40,13 @@
<address class="vcard author"> <address class="vcard author">
By <a class="url fn" href="http://example.com/test/cz/author/test-testovic.html">Test Testovič</a> By <a class="url fn" href="http://example.com/test/cz/author/test-testovic.html">Test Testovič</a>
</address> </address>
<div class="category">
Category: <a href="http://example.com/test/cz/category/misc.html">misc</a>
</div>
</footer><!-- /.post-info --> </footer><!-- /.post-info -->
<div class="entry-content"> <div class="entry-content">
<p>Jednoduchý článek s překlady. <p>Jednoduchý článek s překlady.
Zde je odkaz na <a class="reference external" href="http://example.com/test/cz/../images/img.png">nějaký obrázek</a>.</p> Zde je odkaz na <a class="reference external" href="http://example.com/test/images/img.png">nějaký obrázek</a>.</p>
</div><!-- /.entry-content --> </div><!-- /.entry-content -->
</section> </section>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de"> <html lang="en">
<head> <head>
<title>Willkommen Sie zur unserer Testseite</title> <title>Testseite - An untranslated article</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testseite Full Atom Feed" /> <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testseite Full Atom Feed" />
@ -9,6 +9,8 @@
</head> </head>
<body id="index" class="home"> <body id="index" class="home">
@ -16,6 +18,7 @@
<h1><a href="http://example.com/test/de/">Testseite <strong></strong></a></h1> <h1><a href="http://example.com/test/de/">Testseite <strong></strong></a></h1>
</header><!-- /#banner --> </header><!-- /#banner -->
<nav id="menu"><ul> <nav id="menu"><ul>
<li class="active"><a href="http://example.com/test/de/category/misc.html">misc</a></li>
</ul></nav><!-- /#menu --> </ul></nav><!-- /#menu -->
<section id="content" class="body"> <section id="content" class="body">
<header> <header>
@ -26,11 +29,14 @@
</header> </header>
<footer class="post-info"> <footer class="post-info">
<time class="published" datetime="2014-07-14T00:00:00+00:00"> <time class="published" datetime="2014-07-14T00:00:00+00:00">
Mon 14 July 2014 Mo 14 Juli 2014
</time> </time>
<address class="vcard author"> <address class="vcard author">
By <a class="url fn" href="http://example.com/test/de/author/der-tester.html">Der Tester</a> By <a class="url fn" href="http://example.com/test/de/author/der-tester.html">Der Tester</a>
</address> </address>
<div class="category">
Category: <a href="http://example.com/test/de/category/misc.html">misc</a>
</div>
</footer><!-- /.post-info --> </footer><!-- /.post-info -->
<div class="entry-content"> <div class="entry-content">
<p>An article without a translation. <p>An article without a translation.

View File

@ -1,14 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Testseite</title><link href="http://example.com/test/de/" rel="alternate"></link><link href="http://example.com/test/feeds_all.atom.xml" rel="self"></link><id>http://example.com/test/de/</id><updated>2014-09-15T00:00:00+00:00</updated><entry><title>Přeložený článek</title><link href="http://example.com/test/de/../cz/translated-article.html" rel="alternate"></link><published>2014-09-15T00:00:00+00:00</published><updated>2014-09-15T00:00:00+00:00</updated><author><name>Der Tester</name></author><id>tag:example.com,2014-09-15:/test/de/../cz/translated-article.html</id><summary type="html">&lt;p&gt;Jednoduchý článek s překlady. <feed xmlns="http://www.w3.org/2005/Atom"><title>Testseite</title><link href="http://example.com/test/de/" rel="alternate"></link><link href="http://example.com/test/feeds_all.atom.xml" rel="self"></link><id>http://example.com/test/de/</id><updated>2014-09-15T00:00:00+00:00</updated><entry><title>Přeložený článek</title><link href="http://example.com/test/cz/translated-article.html" rel="alternate"></link><published>2014-09-15T00:00:00+00:00</published><updated>2014-09-15T00:00:00+00:00</updated><author><name>Der Tester</name></author><id>tag:example.com,2014-09-15:/test/cz/translated-article.html</id><content type="html">&lt;p&gt;Jednoduchý článek s překlady.
Zde je odkaz na &lt;a class="reference external" href="http://example.com/test/de/../images/img.png"&gt;nějaký obrázek&lt;/a&gt;.&lt;/p&gt; Zde je odkaz na &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;nějaký obrázek&lt;/a&gt;.&lt;/p&gt;
</summary><content type="html">&lt;p&gt;Jednoduchý článek s překlady. </content></entry><entry><title>Ein übersetzter Artikel</title><link href="http://example.com/test/de/translated-article.html" rel="alternate"></link><published>2014-09-14T00:00:00+00:00</published><updated>2014-09-14T00:00:00+00:00</updated><author><name>Der Tester</name></author><id>tag:example.com,2014-09-14:/test/de/translated-article.html</id><content type="html">&lt;p&gt;Ein einfacher Artikel mit einer Übersetzung.
Zde je odkaz na &lt;a class="reference external" href="http://example.com/test/de/../images/img.png"&gt;nějaký obrázek&lt;/a&gt;.&lt;/p&gt; Hier ist ein Link zur &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;einigem Bild&lt;/a&gt;.&lt;/p&gt;
</content></entry><entry><title>Ein übersetzter Artikel</title><link href="http://example.com/test/de/translated-article.html" rel="alternate"></link><published>2014-09-14T00:00:00+00:00</published><updated>2014-09-14T00:00:00+00:00</updated><author><name>Der Tester</name></author><id>tag:example.com,2014-09-14:/test/de/translated-article.html</id><summary type="html">&lt;p&gt;Ein einfacher Artikel mit einer Übersetzung. </content></entry><entry><title>A translated article</title><link href="http://example.com/test/translated-article.html" rel="alternate"></link><published>2014-09-13T00:00:00+00:00</published><updated>2014-09-13T00:00:00+00:00</updated><author><name>Der Tester</name></author><id>tag:example.com,2014-09-13:/test/translated-article.html</id><content type="html">&lt;p&gt;A simple article with a translation.
Hier ist ein Link zur &lt;a class="reference external" href="http://example.com/test/de/../images/img.png"&gt;einigem Bild&lt;/a&gt;.&lt;/p&gt; Here is a link to &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;some image&lt;/a&gt;.&lt;/p&gt;
</summary><content type="html">&lt;p&gt;Ein einfacher Artikel mit einer Übersetzung.
Hier ist ein Link zur &lt;a class="reference external" href="http://example.com/test/de/../images/img.png"&gt;einigem Bild&lt;/a&gt;.&lt;/p&gt;
</content></entry><entry><title>A translated article</title><link href="http://example.com/test/de/../translated-article.html" rel="alternate"></link><published>2014-09-13T00:00:00+00:00</published><updated>2014-09-13T00:00:00+00:00</updated><author><name>Der Tester</name></author><id>tag:example.com,2014-09-13:/test/de/../translated-article.html</id><summary type="html">&lt;p&gt;A simple article with a translation.
Here is a link to &lt;a class="reference external" href="http://example.com/test/de/../images/img.png"&gt;some image&lt;/a&gt;.&lt;/p&gt;
</summary><content type="html">&lt;p&gt;A simple article with a translation.
Here is a link to &lt;a class="reference external" href="http://example.com/test/de/../images/img.png"&gt;some image&lt;/a&gt;.&lt;/p&gt;
</content></entry></feed> </content></entry></feed>

View File

@ -13,6 +13,7 @@
<h1><a href="http://example.com/test/de/">Testseite <strong></strong></a></h1> <h1><a href="http://example.com/test/de/">Testseite <strong></strong></a></h1>
</header><!-- /#banner --> </header><!-- /#banner -->
<nav id="menu"><ul> <nav id="menu"><ul>
<li><a href="http://example.com/test/de/category/misc.html">misc</a></li>
</ul></nav><!-- /#menu --> </ul></nav><!-- /#menu -->
<section id="content"> <section id="content">
<h2>All articles</h2> <h2>All articles</h2>
@ -21,13 +22,13 @@
<li><article class="hentry"> <li><article class="hentry">
<header> <h2 class="entry-title"><a href="http://example.com/test/de/translated-article.html" rel="bookmark" title="Permalink to Ein übersetzter Artikel">Ein übersetzter Artikel</a></h2> </header> <header> <h2 class="entry-title"><a href="http://example.com/test/de/translated-article.html" rel="bookmark" title="Permalink to Ein übersetzter Artikel">Ein übersetzter Artikel</a></h2> </header>
<footer class="post-info"> <footer class="post-info">
<time class="published" datetime="2014-09-14T00:00:00+00:00"> Sun 14 September 2014 </time> <time class="published" datetime="2014-09-14T00:00:00+00:00"> So 14 September 2014 </time>
<address class="vcard author">By <address class="vcard author">By
<a class="url fn" href="http://example.com/test/de/author/der-tester.html">Der Tester</a> <a class="url fn" href="http://example.com/test/de/author/der-tester.html">Der Tester</a>
</address> </address>
</footer><!-- /.post-info --> </footer><!-- /.post-info -->
<div class="entry-content"> <p>Ein einfacher Artikel mit einer Übersetzung. <div class="entry-content"> <p>Ein einfacher Artikel mit einer Übersetzung.
Hier ist ein Link zur <a class="reference external" href="http://example.com/test/de/../images/img.png">einigem Bild</a>.</p> Hier ist ein Link zur <a class="reference external" href="http://example.com/test/images/img.png">einigem Bild</a>.</p>
</div><!-- /.entry-content --> </div><!-- /.entry-content -->
</article></li> </article></li>
</ol><!-- /#posts-list --> </ol><!-- /#posts-list -->

View File

@ -1,11 +1,16 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de"> <html lang="de">
<head> <head>
<title>Eine 404 Seite</title> <title>Testseite - Eine 404 Seite</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testseite Full Atom Feed" /> <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testseite Full Atom Feed" />
<link rel="stylesheet" href="http://example.com/test/de/../theme/style.css" /> <link rel="stylesheet" href="http://example.com/test/de/../theme/style.css" />
<link rel="alternate" hreflang="cz" href="http://example.com/test/de/../cz/pages/404.html">
<link rel="alternate" hreflang="en" href="http://example.com/test/de/../pages/404.html">
</head> </head>
<body id="index" class="home"> <body id="index" class="home">
@ -13,11 +18,12 @@
<h1><a href="http://example.com/test/de/">Testseite <strong></strong></a></h1> <h1><a href="http://example.com/test/de/">Testseite <strong></strong></a></h1>
</header><!-- /#banner --> </header><!-- /#banner -->
<nav id="menu"><ul> <nav id="menu"><ul>
<li><a href="http://example.com/test/de/category/misc.html">misc</a></li>
</ul></nav><!-- /#menu --> </ul></nav><!-- /#menu -->
<h1>Eine 404 Seite</h1> <h1>Eine 404 Seite</h1>
Translations: Translations:
<a href="http://example.com/test/de/../cz/pages/404.html">cz</a> <a href="http://example.com/test/de/../cz/pages/404.html" hreflang="cz">cz</a>
<a href="http://example.com/test/de/../pages/404.html">en</a> <a href="http://example.com/test/de/../pages/404.html" hreflang="en">en</a>
<p>Eine einfache 404 Seite.</p> <p>Eine einfache 404 Seite.</p>

View File

@ -1,11 +1,13 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de"> <html lang="en">
<head> <head>
<title>Untranslated page</title> <title>Testseite - Untranslated page</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testseite Full Atom Feed" /> <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testseite Full Atom Feed" />
<link rel="stylesheet" href="http://example.com/test/de/../theme/style.css" /> <link rel="stylesheet" href="http://example.com/test/de/../theme/style.css" />
</head> </head>
<body id="index" class="home"> <body id="index" class="home">
@ -13,6 +15,7 @@
<h1><a href="http://example.com/test/de/">Testseite <strong></strong></a></h1> <h1><a href="http://example.com/test/de/">Testseite <strong></strong></a></h1>
</header><!-- /#banner --> </header><!-- /#banner -->
<nav id="menu"><ul> <nav id="menu"><ul>
<li><a href="http://example.com/test/de/category/misc.html">misc</a></li>
</ul></nav><!-- /#menu --> </ul></nav><!-- /#menu -->
<h1>Untranslated page</h1> <h1>Untranslated page</h1>

View File

@ -1,13 +1,18 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de"> <html lang="de">
<head> <head>
<title>Willkommen Sie zur unserer Testseite</title> <title>Testseite - Ein übersetzter Artikel</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testseite Full Atom Feed" /> <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testseite Full Atom Feed" />
<link rel="stylesheet" href="http://example.com/test/de/../theme/style.css" /> <link rel="stylesheet" href="http://example.com/test/de/../theme/style.css" />
<link rel="alternate" hreflang="cz" href="http://example.com/test/de/../cz/translated-article.html">
<link rel="alternate" hreflang="en" href="http://example.com/test/de/../translated-article.html">
</head> </head>
@ -16,28 +21,32 @@
<h1><a href="http://example.com/test/de/">Testseite <strong></strong></a></h1> <h1><a href="http://example.com/test/de/">Testseite <strong></strong></a></h1>
</header><!-- /#banner --> </header><!-- /#banner -->
<nav id="menu"><ul> <nav id="menu"><ul>
<li class="active"><a href="http://example.com/test/de/category/misc.html">misc</a></li>
</ul></nav><!-- /#menu --> </ul></nav><!-- /#menu -->
<section id="content" class="body"> <section id="content" class="body">
<header> <header>
<h2 class="entry-title"> <h2 class="entry-title">
<a href="http://example.com/test/de/translated-article.html" rel="bookmark" <a href="http://example.com/test/de/translated-article.html" rel="bookmark"
title="Permalink to Ein übersetzter Artikel">Ein übersetzter Artikel</a></h2> title="Permalink to Ein übersetzter Artikel">Ein übersetzter Artikel</a></h2>
Translations: Translations:
<a href="http://example.com/test/de/../cz/translated-article.html">cz</a> <a href="http://example.com/test/de/../cz/translated-article.html" hreflang="cz">cz</a>
<a href="http://example.com/test/de/../translated-article.html">en</a> <a href="http://example.com/test/de/../translated-article.html" hreflang="en">en</a>
</header> </header>
<footer class="post-info"> <footer class="post-info">
<time class="published" datetime="2014-09-14T00:00:00+00:00"> <time class="published" datetime="2014-09-14T00:00:00+00:00">
Sun 14 September 2014 So 14 September 2014
</time> </time>
<address class="vcard author"> <address class="vcard author">
By <a class="url fn" href="http://example.com/test/de/author/der-tester.html">Der Tester</a> By <a class="url fn" href="http://example.com/test/de/author/der-tester.html">Der Tester</a>
</address> </address>
<div class="category">
Category: <a href="http://example.com/test/de/category/misc.html">misc</a>
</div>
</footer><!-- /.post-info --> </footer><!-- /.post-info -->
<div class="entry-content"> <div class="entry-content">
<p>Ein einfacher Artikel mit einer Übersetzung. <p>Ein einfacher Artikel mit einer Übersetzung.
Hier ist ein Link zur <a class="reference external" href="http://example.com/test/de/../images/img.png">einigem Bild</a>.</p> Hier ist ein Link zur <a class="reference external" href="http://example.com/test/images/img.png">einigem Bild</a>.</p>
</div><!-- /.entry-content --> </div><!-- /.entry-content -->
</section> </section>

View File

@ -1,18 +1,10 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Testing site</title><link href="http://example.com/test/" rel="alternate"></link><link href="http://example.com/test/feeds_all.atom.xml" rel="self"></link><id>http://example.com/test/</id><updated>2014-09-15T00:00:00+00:00</updated><entry><title>Přeložený článek</title><link href="http://example.com/test/cz/translated-article.html" rel="alternate"></link><published>2014-09-15T00:00:00+00:00</published><updated>2014-09-15T00:00:00+00:00</updated><author><name>The Tester</name></author><id>tag:example.com,2014-09-15:/test/cz/translated-article.html</id><summary type="html">&lt;p&gt;Jednoduchý článek s překlady. <feed xmlns="http://www.w3.org/2005/Atom"><title>Testing site</title><link href="http://example.com/test/" rel="alternate"></link><link href="http://example.com/test/feeds_all.atom.xml" rel="self"></link><id>http://example.com/test/</id><updated>2014-09-15T00:00:00+00:00</updated><entry><title>Přeložený článek</title><link href="http://example.com/test/cz/translated-article.html" rel="alternate"></link><published>2014-09-15T00:00:00+00:00</published><updated>2014-09-15T00:00:00+00:00</updated><author><name>The Tester</name></author><id>tag:example.com,2014-09-15:/test/cz/translated-article.html</id><content type="html">&lt;p&gt;Jednoduchý článek s překlady.
Zde je odkaz na &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;nějaký obrázek&lt;/a&gt;.&lt;/p&gt; Zde je odkaz na &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;nějaký obrázek&lt;/a&gt;.&lt;/p&gt;
</summary><content type="html">&lt;p&gt;Jednoduchý článek s překlady. </content></entry><entry><title>Ein übersetzter Artikel</title><link href="http://example.com/test/de/translated-article.html" rel="alternate"></link><published>2014-09-14T00:00:00+00:00</published><updated>2014-09-14T00:00:00+00:00</updated><author><name>The Tester</name></author><id>tag:example.com,2014-09-14:/test/de/translated-article.html</id><content type="html">&lt;p&gt;Ein einfacher Artikel mit einer Übersetzung.
Zde je odkaz na &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;nějaký obrázek&lt;/a&gt;.&lt;/p&gt;
</content></entry><entry><title>Ein übersetzter Artikel</title><link href="http://example.com/test/de/translated-article.html" rel="alternate"></link><published>2014-09-14T00:00:00+00:00</published><updated>2014-09-14T00:00:00+00:00</updated><author><name>The Tester</name></author><id>tag:example.com,2014-09-14:/test/de/translated-article.html</id><summary type="html">&lt;p&gt;Ein einfacher Artikel mit einer Übersetzung.
Hier ist ein Link zur &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;einigem Bild&lt;/a&gt;.&lt;/p&gt; Hier ist ein Link zur &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;einigem Bild&lt;/a&gt;.&lt;/p&gt;
</summary><content type="html">&lt;p&gt;Ein einfacher Artikel mit einer Übersetzung. </content></entry><entry><title>A translated article</title><link href="http://example.com/test/translated-article.html" rel="alternate"></link><published>2014-09-13T00:00:00+00:00</published><updated>2014-09-13T00:00:00+00:00</updated><author><name>The Tester</name></author><id>tag:example.com,2014-09-13:/test/translated-article.html</id><content type="html">&lt;p&gt;A simple article with a translation.
Hier ist ein Link zur &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;einigem Bild&lt;/a&gt;.&lt;/p&gt;
</content></entry><entry><title>A translated article</title><link href="http://example.com/test/translated-article.html" rel="alternate"></link><published>2014-09-13T00:00:00+00:00</published><updated>2014-09-13T00:00:00+00:00</updated><author><name>The Tester</name></author><id>tag:example.com,2014-09-13:/test/translated-article.html</id><summary type="html">&lt;p&gt;A simple article with a translation.
Here is a link to &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;some image&lt;/a&gt;.&lt;/p&gt; Here is a link to &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;some image&lt;/a&gt;.&lt;/p&gt;
</summary><content type="html">&lt;p&gt;A simple article with a translation. </content></entry><entry><title>An untranslated article</title><link href="http://example.com/test/an-untranslated-article.html" rel="alternate"></link><published>2014-07-14T00:00:00+00:00</published><updated>2014-07-14T00:00:00+00:00</updated><author><name>The Tester</name></author><id>tag:example.com,2014-07-14:/test/an-untranslated-article.html</id><content type="html">&lt;p&gt;An article without a translation.
Here is a link to &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;some image&lt;/a&gt;.&lt;/p&gt;
</content></entry><entry><title>An untranslated article</title><link href="http://example.com/test/an-untranslated-article.html" rel="alternate"></link><published>2014-07-14T00:00:00+00:00</published><updated>2014-07-14T00:00:00+00:00</updated><author><name>The Tester</name></author><id>tag:example.com,2014-07-14:/test/an-untranslated-article.html</id><summary type="html">&lt;p&gt;An article without a translation.
Here is a link to an &lt;a class="reference external" href="http://example.com/test/pages/untranslated-page.html"&gt;untranslated page&lt;/a&gt;&lt;/p&gt;
</summary><content type="html">&lt;p&gt;An article without a translation.
Here is a link to an &lt;a class="reference external" href="http://example.com/test/pages/untranslated-page.html"&gt;untranslated page&lt;/a&gt;&lt;/p&gt; Here is a link to an &lt;a class="reference external" href="http://example.com/test/pages/untranslated-page.html"&gt;untranslated page&lt;/a&gt;&lt;/p&gt;
</content></entry></feed> </content></entry></feed>

View File

@ -14,6 +14,7 @@
</header><!-- /#banner --> </header><!-- /#banner -->
<nav id="menu"><ul> <nav id="menu"><ul>
<li><a href="http://example.com/test/pages/untranslated-page.html">Untranslated page</a></li> <li><a href="http://example.com/test/pages/untranslated-page.html">Untranslated page</a></li>
<li><a href="http://example.com/test/category/misc.html">misc</a></li>
</ul></nav><!-- /#menu --> </ul></nav><!-- /#menu -->
<section id="content"> <section id="content">
<h2>All articles</h2> <h2>All articles</h2>

View File

@ -1,11 +1,16 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>A 404 page</title> <title>Testing site - A 404 page</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testing site Full Atom Feed" /> <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testing site Full Atom Feed" />
<link rel="stylesheet" href="http://example.com/test/theme/style.css" /> <link rel="stylesheet" href="http://example.com/test/theme/style.css" />
<link rel="alternate" hreflang="cz" href="http://example.com/test/cz/pages/404.html">
<link rel="alternate" hreflang="de" href="http://example.com/test/de/pages/404.html">
</head> </head>
<body id="index" class="home"> <body id="index" class="home">
@ -14,11 +19,12 @@
</header><!-- /#banner --> </header><!-- /#banner -->
<nav id="menu"><ul> <nav id="menu"><ul>
<li><a href="http://example.com/test/pages/untranslated-page.html">Untranslated page</a></li> <li><a href="http://example.com/test/pages/untranslated-page.html">Untranslated page</a></li>
<li><a href="http://example.com/test/category/misc.html">misc</a></li>
</ul></nav><!-- /#menu --> </ul></nav><!-- /#menu -->
<h1>A 404 page</h1> <h1>A 404 page</h1>
Translations: Translations:
<a href="http://example.com/test/cz/pages/404.html">cz</a> <a href="http://example.com/test/cz/pages/404.html" hreflang="cz">cz</a>
<a href="http://example.com/test/de/pages/404.html">de</a> <a href="http://example.com/test/de/pages/404.html" hreflang="de">de</a>
<p>A simple 404 page.</p> <p>A simple 404 page.</p>

View File

@ -1,11 +1,13 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>Untranslated page</title> <title>Testing site - Untranslated page</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testing site Full Atom Feed" /> <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testing site Full Atom Feed" />
<link rel="stylesheet" href="http://example.com/test/theme/style.css" /> <link rel="stylesheet" href="http://example.com/test/theme/style.css" />
</head> </head>
<body id="index" class="home"> <body id="index" class="home">
@ -14,6 +16,7 @@
</header><!-- /#banner --> </header><!-- /#banner -->
<nav id="menu"><ul> <nav id="menu"><ul>
<li class="active"><a href="http://example.com/test/pages/untranslated-page.html">Untranslated page</a></li> <li class="active"><a href="http://example.com/test/pages/untranslated-page.html">Untranslated page</a></li>
<li><a href="http://example.com/test/category/misc.html">misc</a></li>
</ul></nav><!-- /#menu --> </ul></nav><!-- /#menu -->
<h1>Untranslated page</h1> <h1>Untranslated page</h1>

View File

@ -1,13 +1,18 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>Welcome to our Testing site</title> <title>Testing site - A translated article</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testing site Full Atom Feed" /> <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testing site Full Atom Feed" />
<link rel="stylesheet" href="http://example.com/test/theme/style.css" /> <link rel="stylesheet" href="http://example.com/test/theme/style.css" />
<link rel="alternate" hreflang="cz" href="http://example.com/test/cz/translated-article.html">
<link rel="alternate" hreflang="de" href="http://example.com/test/de/translated-article.html">
</head> </head>
@ -17,15 +22,16 @@
</header><!-- /#banner --> </header><!-- /#banner -->
<nav id="menu"><ul> <nav id="menu"><ul>
<li><a href="http://example.com/test/pages/untranslated-page.html">Untranslated page</a></li> <li><a href="http://example.com/test/pages/untranslated-page.html">Untranslated page</a></li>
<li class="active"><a href="http://example.com/test/category/misc.html">misc</a></li>
</ul></nav><!-- /#menu --> </ul></nav><!-- /#menu -->
<section id="content" class="body"> <section id="content" class="body">
<header> <header>
<h2 class="entry-title"> <h2 class="entry-title">
<a href="http://example.com/test/translated-article.html" rel="bookmark" <a href="http://example.com/test/translated-article.html" rel="bookmark"
title="Permalink to A translated article">A translated article</a></h2> title="Permalink to A translated article">A translated article</a></h2>
Translations: Translations:
<a href="http://example.com/test/cz/translated-article.html">cz</a> <a href="http://example.com/test/cz/translated-article.html" hreflang="cz">cz</a>
<a href="http://example.com/test/de/translated-article.html">de</a> <a href="http://example.com/test/de/translated-article.html" hreflang="de">de</a>
</header> </header>
<footer class="post-info"> <footer class="post-info">
@ -35,6 +41,9 @@
<address class="vcard author"> <address class="vcard author">
By <a class="url fn" href="http://example.com/test/author/the-tester.html">The Tester</a> By <a class="url fn" href="http://example.com/test/author/the-tester.html">The Tester</a>
</address> </address>
<div class="category">
Category: <a href="http://example.com/test/category/misc.html">misc</a>
</div>
</footer><!-- /.post-info --> </footer><!-- /.post-info -->
<div class="entry-content"> <div class="entry-content">
<p>A simple article with a translation. <p>A simple article with a translation.