Merge pull request #52 from vlourme/translations
i18n: added french translations & footer translation
This commit is contained in:
commit
6b5eae9a7e
@ -30,3 +30,9 @@
|
|||||||
|
|
||||||
[searchResultTitle]
|
[searchResultTitle]
|
||||||
other = "#PAGES_COUNT pages (#TIME_SECONDS seconds)"
|
other = "#PAGES_COUNT pages (#TIME_SECONDS seconds)"
|
||||||
|
|
||||||
|
[footerBuiltWith]
|
||||||
|
other = "Built with {{ .Generator }}"
|
||||||
|
|
||||||
|
[footerDesignedBy]
|
||||||
|
other = "Theme {{ .Theme }} designed by {{ .DesignedBy }}"
|
38
i18n/fr.toml
Normal file
38
i18n/fr.toml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
[toggleMenu]
|
||||||
|
other = "Afficher le menu"
|
||||||
|
|
||||||
|
[relatedContents]
|
||||||
|
other = "Contenus liés"
|
||||||
|
|
||||||
|
[lastUpdatedOn]
|
||||||
|
other = "Dernière mise à jour le"
|
||||||
|
|
||||||
|
[widgetArchivesTitle]
|
||||||
|
other = "Archives"
|
||||||
|
|
||||||
|
[widgetArchivesMore]
|
||||||
|
other = "Autres"
|
||||||
|
|
||||||
|
[widgetTagCloudTitle]
|
||||||
|
other = "Mots clés"
|
||||||
|
|
||||||
|
[notFoundTitle]
|
||||||
|
other = "Page non trouvée"
|
||||||
|
|
||||||
|
[notFoundSubtitle]
|
||||||
|
other = "Cette page n'existe pas."
|
||||||
|
|
||||||
|
[searchTitle]
|
||||||
|
other = "Rechercher"
|
||||||
|
|
||||||
|
[searchPlaceholder]
|
||||||
|
other = "Cherchez un article, une publication, etc."
|
||||||
|
|
||||||
|
[searchResultTitle]
|
||||||
|
other = "#PAGES_COUNT pages (#TIME_SECONDS secondes)"
|
||||||
|
|
||||||
|
[footerBuiltWith]
|
||||||
|
other = "Généré avec {{ .Generator }}"
|
||||||
|
|
||||||
|
[footerDesignedBy]
|
||||||
|
other = "Thème {{ .Theme }} conçu par {{ .DesignedBy }}"
|
@ -1,8 +1,12 @@
|
|||||||
|
{{- $ThemeVersion := "1.1.0" -}}
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<section class="copyright">© {{ now.Format "2006" }} {{ .Site.Title }}</section>
|
<section class="copyright">© {{ 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 />
|
{{- $Generator := `<a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a>` -}}
|
||||||
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 := printf `<b><a href="https://github.com/CaiJimmy/hugo-theme-stack" target="_blank" rel="noopener" data-version="%s">Stack</a></b>` $ThemeVersion -}}
|
||||||
<a href="https://jimmycai.com" target="_blank" rel="noopener">Jimmy</a>
|
{{- $DesignedBy := `<a href="https://jimmycai.com" target="_blank" rel="noopener">Jimmy</a>` -}}
|
||||||
|
|
||||||
|
{{ T "footerBuiltWith" (dict "Generator" $Generator) | safeHTML }} <br />
|
||||||
|
{{ T "footerDesignedBy" (dict "Theme" $Theme "DesignedBy" $DesignedBy) | safeHTML }}
|
||||||
</section>
|
</section>
|
||||||
</footer>
|
</footer>
|
Loading…
Reference in New Issue
Block a user