i18n: added footer translations

This commit is contained in:
Victor Lourme 2020-11-23 10:11:28 +01:00
parent 819c8ea0b4
commit 2b4f529404
3 changed files with 16 additions and 4 deletions

View File

@ -29,4 +29,10 @@
other = "Type something..." other = "Type something..."
[searchResultTitle] [searchResultTitle]
other = "#PAGES_COUNT pages (#TIME_SECONDS seconds)" other = "#PAGES_COUNT pages (#TIME_SECONDS seconds)"
[footerBuiltWith]
other = "Built with"
[footerDesignedBy]
other = "designed by"

View File

@ -29,4 +29,10 @@
other = "Cherchez un article, une publication, etc." other = "Cherchez un article, une publication, etc."
[searchResultTitle] [searchResultTitle]
other = "#PAGES_COUNT pages (#TIME_SECONDS secondes)" other = "#PAGES_COUNT pages (#TIME_SECONDS secondes)"
[footerBuiltWith]
other = "Généré avec"
[footerDesignedBy]
other = "conçu par"

View File

@ -1,8 +1,8 @@
<footer class="site-footer"> <footer class="site-footer">
<section class="copyright">&copy; {{ now.Format "2006" }} {{ .Site.Title }}</section> <section class="copyright">&copy; {{ now.Format "2006" }} {{ .Site.Title }}</section>
<section class="powerby"> <section class="powerby">
Built with <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a> <br /> {{ T "footerBuiltWith" }} <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a> <br />
Theme <b><a href="https://github.com/CaiJimmy/hugo-theme-stack" target="_blank" rel="noopener" data-version="1.1.0">Stack</a></b> designed by Theme <b><a href="https://github.com/CaiJimmy/hugo-theme-stack" target="_blank" rel="noopener" data-version="1.1.0">Stack</a></b> {{ T "footerDesignedBy" }}
<a href="https://jimmycai.com" target="_blank" rel="noopener">Jimmy</a> <a href="https://jimmycai.com" target="_blank" rel="noopener">Jimmy</a>
</section> </section>
</footer> </footer>