Modified PR to add translations, move the html file and change styles

This commit is contained in:
Eduardo 2019-09-07 12:38:01 +02:00
parent b10832d6a7
commit 2e63d0a81a
16 changed files with 87 additions and 72 deletions

View file

@ -0,0 +1,54 @@
<table id="jslicense-labels1">
<tr>
<th>Javascript file</th>
<th>License canonical URL</th>
<th>Original file</th>
</tr>
<tr>
<td><a href="/assets/js/manifest.js">manifest.js</a></td>
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
<td><a href="/assets/js/manifest.js">manifest.js</a></td>
</tr>
<tr>
<td><a href="/assets/js/polyfill.js">polyfill.js</a></td>
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
<td><a href="/assets/js/polyfill.js">polyfill.js</a></td>
</tr>
<tr>
<td><a href="/assets/js/app.js">app.js</a></td>
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
<td><a href="/assets/js/app.js">app.js</a></td>
</tr>
<tr>
<td><a href="/assets/js/vendor.js">vendor.js</a></td>
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
<td><a href="/assets/js/vendor.js">vendor.js</a></td>
</tr>
<tr>
<td><a href="/assets/js/home.js">home.js</a></td>
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
<td><a href="/assets/js/home.js">home.js</a></td>
</tr>
<tr>
<td><a href="/assets/js/page.js">page.js</a></td>
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
<td><a href="/assets/js/page.js">page.js</a></td>
</tr>
<tr>
<td><a href="/assets/js/post.js">post.js</a></td>
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
<td><a href="/assets/js/post.js">post.js</a></td>
</tr>
<tr>
<td><a href="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js">webfont.js</a></td>
<td><a href="http://www.apache.org/licenses/LICENSE-2.0">Apache-2.0</a></td>
<td><a href="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js">webfont.js</a></td>
</tr>
</table>

View file

@ -1,54 +0,0 @@
<table id="jslicense-labels1">
<tr>
<th>Javascript file</th>
<th>License canonical URL</th>
<th>Original file</th>
</tr>
<tr>
<td><a href="/assets/js/manifest.js">manifest.js</a></td>
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
<td><a href="/assets/js/manifest.js">manifest.js</a></td>
</tr>
<tr>
<td><a href="/assets/js/polyfill.js">polyfill.js</a></td>
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
<td><a href="/assets/js/polyfill.js">polyfill.js</a></td>
</tr>
<tr>
<td><a href="/assets/js/app.js">app.js</a></td>
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
<td><a href="/assets/js/app.js">app.js</a></td>
</tr>
<tr>
<td><a href="/assets/js/vendor.js">vendor.js</a></td>
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
<td><a href="/assets/js/vendor.js">vendor.js</a></td>
</tr>
<tr>
<td><a href="/assets/js/home.js">home.js</a></td>
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
<td><a href="/assets/js/home.js">home.js</a></td>
</tr>
<tr>
<td><a href="/assets/js/page.js">page.js</a></td>
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
<td><a href="/assets/js/page.js">page.js</a></td>
</tr>
<tr>
<td><a href="/assets/js/post.js">post.js</a></td>
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
<td><a href="/assets/js/post.js">post.js</a></td>
</tr>
<tr>
<td><a href="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js">webfont.js</a></td>
<td><a href="http://www.apache.org/licenses/LICENSE-2.0">Apache-2.0</a></td>
<td><a href="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js">webfont.js</a></td>
</tr>
</table>

View file

@ -23,13 +23,13 @@
{{!-- This variable is used to make the search form work --}}
<script>
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
const ghostHost = "{{@site.url}}"
// @license-end
const ghostHost = "{{@site.url}}"
// @license-end
</script>
{{!-- This script loads the Google fornt asynchronously --}}
<script>
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
WebFontConfig = {
google: { families: ['Source+Sans+Pro:400,600,700'] }
};
@ -40,7 +40,7 @@
wf.async = true;
s.parentNode.insertBefore(wf, s);
})(document);
// @license-end
// @license-end
</script>
</head>
<body class="{{body_class}}">

View file

@ -34,5 +34,6 @@
"Among with": "<br>Сред с ",
"Among with no break line": "Сред с ",
"Type to search": "Въведете за търсене",
"No results for your search, try something different.": "Няма резултати за твоето търсене, опитай с нещо различно."
"No results for your search, try something different.": "Няма резултати за твоето търсене, опитай с нещо различно.",
"JavaScript license information": "Информация за лиценз на JavaScript"
}

View file

@ -34,5 +34,6 @@
"Among with": "<br>zusammen mit ",
"Among with no break line": "zusammen mit ",
"Type to search": "Schreiben um zu suchen",
"No results for your search, try something different.": "Keine Ergebnisse für deine Suche gefunden, versuche es mit etwas anderem."
"No results for your search, try something different.": "Keine Ergebnisse für deine Suche gefunden, versuche es mit etwas anderem.",
"JavaScript license information": "JavaScript-Lizenzinformationen"
}

View file

@ -34,5 +34,6 @@
"Among with": "<br>zusammen mit ",
"Among with no break line": "zusammen mit ",
"Type to search": "Schreiben Sie um zu suchen",
"No results for your search, try something different.": "Keine Ergebnisse für Ihre Suche gefunden, versuchen Sie es mit etwas anderem."
"No results for your search, try something different.": "Keine Ergebnisse für Ihre Suche gefunden, versuchen Sie es mit etwas anderem.",
"JavaScript license information": "JavaScript-Lizenzinformationen"
}

View file

@ -34,5 +34,6 @@
"Among with": "<br>Among with ",
"Among with no break line": "Among with ",
"Type to search": "Type to search",
"No results for your search, try something different.": "No results for your search, try something different."
"No results for your search, try something different.": "No results for your search, try something different.",
"JavaScript license information": "JavaScript license information"
}

View file

@ -34,5 +34,6 @@
"Among with": "<br>Junto con ",
"Among with no break line": "Junto con ",
"Type to search": "Escribe para buscar",
"No results for your search, try something different.": "No hay resultados para tu búsqueda, prueba algo diferente."
"No results for your search, try something different.": "No hay resultados para tu búsqueda, prueba algo diferente.",
"JavaScript license information": "Información de licencia JavaScript"
}

View file

@ -34,5 +34,6 @@
"Among with": "<br>Avec ",
"Among with no break line": "Avec ",
"Type to search": "Écris pour rechercher",
"No results for your search, try something different.": "Pas de résultat pour ta recherche, essaie autre chose."
"No results for your search, try something different.": "Pas de résultat pour ta recherche, essaie autre chose.",
"JavaScript license information": "Informations sur la licence JavaScript"
}

View file

@ -34,5 +34,6 @@
"Among with": "<br>Avec ",
"Among with no break line": "Avec ",
"Type to search": "Écrivez pour rechercher",
"No results for your search, try something different.": "Pas de résultat pour votre recherche, essayez autre chose."
"No results for your search, try something different.": "Pas de résultat pour votre recherche, essayez autre chose.",
"JavaScript license information": "Informations sur la licence JavaScript"
}

View file

@ -34,5 +34,6 @@
"Among with": "<br>Insieme a ",
"Among with no break line": "Insieme a ",
"Type to search": "Cerca",
"No results for your search, try something different.": "Nessun risultato, prova con qualcos'altro."
"No results for your search, try something different.": "Nessun risultato, prova con qualcos'altro.",
"JavaScript license information": "Informazioni sulla licenza JavaScript"
}

View file

@ -34,5 +34,6 @@
"Among with": "<br>Junto com ",
"Among with no break line": "Junto com ",
"Type to search": "Escreve para pesquisar",
"No results for your search, try something different.": "Não há resultados para a tua pesquisa, tenta algo diferente."
"No results for your search, try something different.": "Não há resultados para a tua pesquisa, tenta algo diferente.",
"JavaScript license information": "Informações sobre a licença JavaScript"
}

View file

@ -34,5 +34,6 @@
"Among with": "<br>Cùng với ",
"Among with no break line": "Cùng với ",
"Type to search": "Nhập để tìm kiếm",
"No results for your search, try something different.": "Không tìm thấy kết quả, bạn hãy thử một từ khác nhé"
"No results for your search, try something different.": "Không tìm thấy kết quả, bạn hãy thử một từ khác nhé",
"JavaScript license information": "Thông tin giấy phép JavaScript"
}

View file

@ -54,5 +54,5 @@
"desktop": "assets/screenshot-desktop.jpg",
"mobile": "assets/screenshot-mobile.jpg"
},
"version": "0.3.0"
"version": "0.3.1"
}

View file

@ -22,8 +22,8 @@ This footer template is shared across all the pages.
</a>
{{/if}}
</nav>
<p style="margin-top: 1rem;" class="m-footer-copyright"><span>
<a href="/assets/javascript.html" rel="jslicense">JavaScript license information</a>
</span></p>
<p class="m-footer-copyright jslicense">
<a href="/assets/html/javascript.html" rel="jslicense">{{t "JavaScript license information"}}</a>
</p>
</div>
</footer>

View file

@ -36,12 +36,17 @@
}
}
}
&.jslicense {
margin-bottom: 0;
}
}
.m-footer-social {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
a {
display: inline-block;