From 66ef2536df4f8e3675b93ce5044cccbd9bbcfb65 Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Mon, 14 Nov 2022 18:21:38 +0100 Subject: [PATCH] i18n: extract, translate strings to be translated - Extracts stings to be translated. - Translates these strings in English and French. - Improves some comments in the templates. - Update the auto-changelog configuration according to the new git repository URL. - Update the CHANGELOG. - Fixes #18. Co-Authored-by: iGor milhit --- .auto-changelog | 1 + CHANGELOG.md | 135 +++++++++++++++------------- README.md | 14 +++ i18n/en.toml | 25 ++++++ i18n/fr.toml | 39 +++++--- layouts/_default/list.html | 6 +- layouts/_default/section.html | 8 +- layouts/_default/single.html | 2 +- layouts/_default/terms.html | 9 +- layouts/partials/header.html | 9 +- layouts/partials/metadata.html | 2 +- layouts/partials/online.html | 2 +- layouts/partials/perso.html | 28 +++--- layouts/partials/post-info.html | 8 +- layouts/partials/pro.html | 24 +++-- layouts/shortcodes/audio-cover.html | 5 +- layouts/shortcodes/audio.html | 5 +- layouts/shortcodes/stream.html | 5 +- 18 files changed, 212 insertions(+), 115 deletions(-) create mode 100644 i18n/en.toml diff --git a/.auto-changelog b/.auto-changelog index 5da614f..b5faa79 100644 --- a/.auto-changelog +++ b/.auto-changelog @@ -1,4 +1,5 @@ { + "remote": "changelog", "output": "CHANGELOG.md", "template": "keepachangelog", "unreleased": true, diff --git a/CHANGELOG.md b/CHANGELOG.md index 35d8e6e..960e634 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,86 +7,97 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). -## [Unreleased](https://framagit.org/iGormilhit/portfoliGor/compare/v0.2.0...HEAD) - -### Commits - -- style: add a stylesheet for printing [`76161ef`](https://framagit.org/iGormilhit/portfoliGor/commit/76161ef3a77c57917f6680f94822c4a93f41afda) -- layout: fix medias integration [`a7c87c9`](https://framagit.org/iGormilhit/portfoliGor/commit/a7c87c947f1ca9ed56b38dd40091484ebae3c742) - -## [v0.2.0](https://framagit.org/iGormilhit/portfoliGor/compare/0.1.1...v0.2.0) - 2021-11-03 +## [Unreleased](https://git.milhit.ch/igor/portfoligor/compare/v0.2.0...HEAD) ### Fixed -- documentation: fill in the README [`#6`](https://framagit.org/iGormilhit/portfoliGor/issues/6) -- theme: simplify the main layout [`#8`](https://framagit.org/iGormilhit/portfoliGor/issues/8) -- layouts: use details for the post informations [`#17`](https://framagit.org/iGormilhit/portfoliGor/issues/17) -- data: sort terms in post information [`#13`](https://framagit.org/iGormilhit/portfoliGor/issues/13) -- style: Implements nord color scheme [`#7`](https://framagit.org/iGormilhit/portfoliGor/issues/7) +- i18n: extract, translate strings to be translated [`#18`](https://git.milhit.ch/igor/portfoligor/issues/18) +- style: add a stylesheet for printing [`#28`](https://git.milhit.ch/igor/portfoligor/issues/28) ### Commits -- release: v0.2.0 [`64c93b7`](https://framagit.org/iGormilhit/portfoliGor/commit/64c93b72d6522ab6ce1ebec42ee81e0809f8cb17) -- header: restore and adapt the avatar image [`ad3ee27`](https://framagit.org/iGormilhit/portfoliGor/commit/ad3ee27f0a2391cd0ae3893da238c86e9ed26feb) -- colors: move the visited property up the others [`07d9577`](https://framagit.org/iGormilhit/portfoliGor/commit/07d9577e8cbeaf7710833e6267148cabff837cc4) -- colors: colorizes the link on hover [`52a8e25`](https://framagit.org/iGormilhit/portfoliGor/commit/52a8e251f9bcee37de941010bd2715125116deaa) -- menu: improve the menu [`c0f6de2`](https://framagit.org/iGormilhit/portfoliGor/commit/c0f6de2ab1977de839ade035c4d60596e3cea331) -- post: display the postimage if it exists [`7bba092`](https://framagit.org/iGormilhit/portfoliGor/commit/7bba092f68488116a7b010ee4bdddd7c1cbee071) -- head: improve the metadata exposed [`e7de77b`](https://framagit.org/iGormilhit/portfoliGor/commit/e7de77b3ad3f67c1833bdc3030cad034e5d0d5c6) -- content: improve verses layout for small screens [`029a3ac`](https://framagit.org/iGormilhit/portfoliGor/commit/029a3ac1745580c999b75ae6fd9b68e520514a91) -- footer: add link to the last commit [`0190c23`](https://framagit.org/iGormilhit/portfoliGor/commit/0190c233e9eb54638ddddf9cccb87405391b3c7b) -- list: fix date variable on the lists and sections [`36a334c`](https://framagit.org/iGormilhit/portfoliGor/commit/36a334cab9d4e2bf746214571287d35a29bdf6eb) -- shortcodes: adds an audio player with album cover [`e1cf918`](https://framagit.org/iGormilhit/portfoliGor/commit/e1cf9185f3f7c3cba4e97c6b2371fb9a465017da) -- head: add a favicon [`e56fddc`](https://framagit.org/iGormilhit/portfoliGor/commit/e56fddc6e0c15bb6839c9cfc6277df5eb8f46d03) -- layout: improve post info in single or list pages [`8177560`](https://framagit.org/iGormilhit/portfoliGor/commit/817756034b5c3338ea47a2108780ba0b7f47e383) +- documentation: update the README to new git repo [`282b6bc`](https://git.milhit.ch/igor/portfoligor/commit/282b6bcd85b9843eab18190ac5cb808624358e8c) +- gitInfo: configuration of the git repository [`1aaa6b0`](https://git.milhit.ch/igor/portfoligor/commit/1aaa6b02b5cab985ffc3e66aaceeeb91fd8bf134) +- scss: improve the `verse` text layout [`989343e`](https://git.milhit.ch/igor/portfoligor/commit/989343ea597de5d892530e70b038dff1e6a69511) +- post image: get the image in the atom xml file [`0c21f00`](https://git.milhit.ch/igor/portfoligor/commit/0c21f00b671865f392a27a156b7d036fb7e3949e) +- text: set font style to em nested in blockquote [`e78fd96`](https://git.milhit.ch/igor/portfoligor/commit/e78fd961ae14a4b69e181f8c199ea002d2691404) +- text: style the new citation block [`40da59a`](https://git.milhit.ch/igor/portfoligor/commit/40da59a1eb073f231087ee133397e649ee2bf552) +- homepage: move the CV file to the personal data [`7a2aa2d`](https://git.milhit.ch/igor/portfoligor/commit/7a2aa2d1a9f5e1951cf7977e662888af4db33da9) +- layout: fix medias integration [`a7c87c9`](https://git.milhit.ch/igor/portfoligor/commit/a7c87c947f1ca9ed56b38dd40091484ebae3c742) -## [0.1.1](https://framagit.org/iGormilhit/portfoliGor/compare/0.1.0...0.1.1) - 2020-06-01 +## [v0.2.0](https://git.milhit.ch/igor/portfoligor/compare/0.1.1...v0.2.0) - 2021-11-03 ### Fixed -- RSS: Improves the RSS template [`#9`](https://framagit.org/iGormilhit/portfoliGor/issues/9) -- layout: improve list of post taxonomy terms [`#10`](https://framagit.org/iGormilhit/portfoliGor/issues/10) +- documentation: fill in the README [`#6`](https://git.milhit.ch/igor/portfoligor/issues/6) +- theme: simplify the main layout [`#8`](https://git.milhit.ch/igor/portfoligor/issues/8) +- layouts: use details for the post informations [`#17`](https://git.milhit.ch/igor/portfoligor/issues/17) +- data: sort terms in post information [`#13`](https://git.milhit.ch/igor/portfoligor/issues/13) +- style: Implements nord color scheme [`#7`](https://git.milhit.ch/igor/portfoligor/issues/7) ### Commits -- documentation: add a changelog and auto-changelog [`31b27df`](https://framagit.org/iGormilhit/portfoliGor/commit/31b27df95ffcab2b5857fa63346e6a8a6998b5d1) -- lists: sort list by reverse publication date [`920fe4d`](https://framagit.org/iGormilhit/portfoliGor/commit/920fe4d1566b9755b2551854a6042beec8f8905a) +- release: v0.2.0 [`64c93b7`](https://git.milhit.ch/igor/portfoligor/commit/64c93b72d6522ab6ce1ebec42ee81e0809f8cb17) +- header: restore and adapt the avatar image [`ad3ee27`](https://git.milhit.ch/igor/portfoligor/commit/ad3ee27f0a2391cd0ae3893da238c86e9ed26feb) +- colors: move the visited property up the others [`07d9577`](https://git.milhit.ch/igor/portfoligor/commit/07d9577e8cbeaf7710833e6267148cabff837cc4) +- colors: colorizes the link on hover [`52a8e25`](https://git.milhit.ch/igor/portfoligor/commit/52a8e251f9bcee37de941010bd2715125116deaa) +- menu: improve the menu [`c0f6de2`](https://git.milhit.ch/igor/portfoligor/commit/c0f6de2ab1977de839ade035c4d60596e3cea331) +- post: display the postimage if it exists [`7bba092`](https://git.milhit.ch/igor/portfoligor/commit/7bba092f68488116a7b010ee4bdddd7c1cbee071) +- head: improve the metadata exposed [`e7de77b`](https://git.milhit.ch/igor/portfoligor/commit/e7de77b3ad3f67c1833bdc3030cad034e5d0d5c6) +- content: improve verses layout for small screens [`029a3ac`](https://git.milhit.ch/igor/portfoligor/commit/029a3ac1745580c999b75ae6fd9b68e520514a91) +- footer: add link to the last commit [`0190c23`](https://git.milhit.ch/igor/portfoligor/commit/0190c233e9eb54638ddddf9cccb87405391b3c7b) +- list: fix date variable on the lists and sections [`36a334c`](https://git.milhit.ch/igor/portfoligor/commit/36a334cab9d4e2bf746214571287d35a29bdf6eb) +- shortcodes: adds an audio player with album cover [`e1cf918`](https://git.milhit.ch/igor/portfoligor/commit/e1cf9185f3f7c3cba4e97c6b2371fb9a465017da) +- head: add a favicon [`e56fddc`](https://git.milhit.ch/igor/portfoligor/commit/e56fddc6e0c15bb6839c9cfc6277df5eb8f46d03) +- layout: improve post info in single or list pages [`8177560`](https://git.milhit.ch/igor/portfoligor/commit/817756034b5c3338ea47a2108780ba0b7f47e383) + +## [0.1.1](https://git.milhit.ch/igor/portfoligor/compare/0.1.0...0.1.1) - 2020-06-01 + +### Fixed + +- RSS: Improves the RSS template [`#9`](https://git.milhit.ch/igor/portfoligor/issues/9) +- layout: improve list of post taxonomy terms [`#10`](https://git.milhit.ch/igor/portfoligor/issues/10) + +### Commits + +- documentation: add a changelog and auto-changelog [`31b27df`](https://git.milhit.ch/igor/portfoligor/commit/31b27df95ffcab2b5857fa63346e6a8a6998b5d1) +- lists: sort list by reverse publication date [`920fe4d`](https://git.milhit.ch/igor/portfoligor/commit/920fe4d1566b9755b2551854a6042beec8f8905a) ## 0.1.0 - 2020-05-23 ### Fixed -- template: add metadata to the html head [`#3`](https://framagit.org/iGormilhit/portfoliGor/issues/3) -- template: compare lastmod and publishdate [`#5`](https://framagit.org/iGormilhit/portfoliGor/issues/5) -- style: fix wrong flex property for the main nav [`#4`](https://framagit.org/iGormilhit/portfoliGor/issues/4) -- shorcodes: add a smallcaps shotcode [`#1`](https://framagit.org/iGormilhit/portfoliGor/issues/1) +- template: add metadata to the html head [`#3`](https://git.milhit.ch/igor/portfoligor/issues/3) +- template: compare lastmod and publishdate [`#5`](https://git.milhit.ch/igor/portfoligor/issues/5) +- style: fix wrong flex property for the main nav [`#4`](https://git.milhit.ch/igor/portfoligor/issues/4) +- shorcodes: add a smallcaps shotcode [`#1`](https://git.milhit.ch/igor/portfoligor/issues/1) ### Commits -- shortcodes: improve smallcaps shortcodes [`c6ea77b`](https://framagit.org/iGormilhit/portfoliGor/commit/c6ea77b4293986ac430d8ce35513207126478b2e) -- shortcodes: add audio shortcode for external src [`21d0ca2`](https://framagit.org/iGormilhit/portfoliGor/commit/21d0ca2e200bfd79c23f71b5476fcd21e7f090b6) -- shortcodes: add shortcodes for audio & streaming [`9f142a2`](https://framagit.org/iGormilhit/portfoliGor/commit/9f142a22b4ef12326d11f77a59e670bad85373e8) -- fonts: set the line height for content [`74abde3`](https://framagit.org/iGormilhit/portfoliGor/commit/74abde3ad20af531d26ebf544f60be9b6a3ce1d1) -- post info: improve punctuation and space usage [`9fb6836`](https://framagit.org/iGormilhit/portfoliGor/commit/9fb6836788489518b0a5bb39dd36e58e9fff94ff) -- navigation: add a RSS link [`84a2435`](https://framagit.org/iGormilhit/portfoliGor/commit/84a2435161b04ccf8fdf498591f0878ba8646edb) -- section: improve sections, lists and navigation [`c44eb75`](https://framagit.org/iGormilhit/portfoliGor/commit/c44eb759f0270e1c6938b8b50ec5ad10e1fa783f) -- style: start using SASS and assets [`a7a017b`](https://framagit.org/iGormilhit/portfoliGor/commit/a7a017b68a0719b2d21f6315729dc6f2e377b620) -- page: deactivate pagination [`cabdffa`](https://framagit.org/iGormilhit/portfoliGor/commit/cabdffa8ac38c9ad4c0aba8716e8bd4bdaa0b57b) -- RSS: update template with regular page variable [`8fb2022`](https://framagit.org/iGormilhit/portfoliGor/commit/8fb20228e9fd0e9902009ff9b2989a4d620367da) -- documentation: clean the theme.toml file [`0077387`](https://framagit.org/iGormilhit/portfoliGor/commit/00773873a2658638eb651916aed8300a2c84a6f9) -- layout: improve taxonomies pages [`b5dc649`](https://framagit.org/iGormilhit/portfoliGor/commit/b5dc64935a0fd69afdae9980feac1151e07e8b99) -- style: add rules for figure tag [`09fbaa0`](https://framagit.org/iGormilhit/portfoliGor/commit/09fbaa06f90ddbd0ec75424e7c0e7130dc32aefb) -- layout: improve dates logic [`74181ec`](https://framagit.org/iGormilhit/portfoliGor/commit/74181ecd54e27a892faf8ef0739ee175ad207ffd) -- style: set overflow to auto for pre tag [`f3189b4`](https://framagit.org/iGormilhit/portfoliGor/commit/f3189b44787d58fac71c286257ce34ed9df60301) -- layout: improve date displayed [`55dadc7`](https://framagit.org/iGormilhit/portfoliGor/commit/55dadc702cbe691c63ad12f48d03a489cd862169) -- layout: add a partial for blog post data [`02d6d2f`](https://framagit.org/iGormilhit/portfoliGor/commit/02d6d2f08623ed894085ee4f0594c383fba9c167) -- layout: remove the base href [`38566ba`](https://framagit.org/iGormilhit/portfoliGor/commit/38566ba1064dc94f9cc641ba8f5094015ed43d24) -- style: add rules for code and footnotes [`e27f8a9`](https://framagit.org/iGormilhit/portfoliGor/commit/e27f8a9d46843146a603c581766bd8fd13b6e4f6) -- rss: add the default rss template [`f0549ca`](https://framagit.org/iGormilhit/portfoliGor/commit/f0549ca0dd276be6a0d4a856944e063fb8b23373) -- layout: set the viewport meta tag [`2c7e6cf`](https://framagit.org/iGormilhit/portfoliGor/commit/2c7e6cf2d716edd0fda6881375ce76ff0b137f7e) -- style: add minimal stylesheet rules [`909c3ca`](https://framagit.org/iGormilhit/portfoliGor/commit/909c3caa9717faa009c85e815309d129228bcd71) -- layout: display basic taxonomies information [`4477b30`](https://framagit.org/iGormilhit/portfoliGor/commit/4477b3033ee9ada7eb3fb89f2ded351a2b16f1bb) -- layout: add default and partials [`498a724`](https://framagit.org/iGormilhit/portfoliGor/commit/498a724195695c837eb31d612df0d0365a9a6e1b) -- homepage: structure the homepage content [`9b7e39a`](https://framagit.org/iGormilhit/portfoliGor/commit/9b7e39acd22202b39c1988dd5db8e73e281796a0) -- homepage: personnal data [`788c7c6`](https://framagit.org/iGormilhit/portfoliGor/commit/788c7c621bba53a0bff03441518bc43259a09d3c) -- theme: initialize new hugo theme [`3b7347c`](https://framagit.org/iGormilhit/portfoliGor/commit/3b7347cdee8d2a7bf5fa1a412bdb15ea906dd0c3) +- shortcodes: improve smallcaps shortcodes [`c6ea77b`](https://git.milhit.ch/igor/portfoligor/commit/c6ea77b4293986ac430d8ce35513207126478b2e) +- shortcodes: add audio shortcode for external src [`21d0ca2`](https://git.milhit.ch/igor/portfoligor/commit/21d0ca2e200bfd79c23f71b5476fcd21e7f090b6) +- shortcodes: add shortcodes for audio & streaming [`9f142a2`](https://git.milhit.ch/igor/portfoligor/commit/9f142a22b4ef12326d11f77a59e670bad85373e8) +- fonts: set the line height for content [`74abde3`](https://git.milhit.ch/igor/portfoligor/commit/74abde3ad20af531d26ebf544f60be9b6a3ce1d1) +- post info: improve punctuation and space usage [`9fb6836`](https://git.milhit.ch/igor/portfoligor/commit/9fb6836788489518b0a5bb39dd36e58e9fff94ff) +- navigation: add a RSS link [`84a2435`](https://git.milhit.ch/igor/portfoligor/commit/84a2435161b04ccf8fdf498591f0878ba8646edb) +- section: improve sections, lists and navigation [`c44eb75`](https://git.milhit.ch/igor/portfoligor/commit/c44eb759f0270e1c6938b8b50ec5ad10e1fa783f) +- style: start using SASS and assets [`a7a017b`](https://git.milhit.ch/igor/portfoligor/commit/a7a017b68a0719b2d21f6315729dc6f2e377b620) +- page: deactivate pagination [`cabdffa`](https://git.milhit.ch/igor/portfoligor/commit/cabdffa8ac38c9ad4c0aba8716e8bd4bdaa0b57b) +- RSS: update template with regular page variable [`8fb2022`](https://git.milhit.ch/igor/portfoligor/commit/8fb20228e9fd0e9902009ff9b2989a4d620367da) +- documentation: clean the theme.toml file [`0077387`](https://git.milhit.ch/igor/portfoligor/commit/00773873a2658638eb651916aed8300a2c84a6f9) +- layout: improve taxonomies pages [`b5dc649`](https://git.milhit.ch/igor/portfoligor/commit/b5dc64935a0fd69afdae9980feac1151e07e8b99) +- style: add rules for figure tag [`09fbaa0`](https://git.milhit.ch/igor/portfoligor/commit/09fbaa06f90ddbd0ec75424e7c0e7130dc32aefb) +- layout: improve dates logic [`74181ec`](https://git.milhit.ch/igor/portfoligor/commit/74181ecd54e27a892faf8ef0739ee175ad207ffd) +- style: set overflow to auto for pre tag [`f3189b4`](https://git.milhit.ch/igor/portfoligor/commit/f3189b44787d58fac71c286257ce34ed9df60301) +- layout: improve date displayed [`55dadc7`](https://git.milhit.ch/igor/portfoligor/commit/55dadc702cbe691c63ad12f48d03a489cd862169) +- layout: add a partial for blog post data [`02d6d2f`](https://git.milhit.ch/igor/portfoligor/commit/02d6d2f08623ed894085ee4f0594c383fba9c167) +- layout: remove the base href [`38566ba`](https://git.milhit.ch/igor/portfoligor/commit/38566ba1064dc94f9cc641ba8f5094015ed43d24) +- style: add rules for code and footnotes [`e27f8a9`](https://git.milhit.ch/igor/portfoligor/commit/e27f8a9d46843146a603c581766bd8fd13b6e4f6) +- rss: add the default rss template [`f0549ca`](https://git.milhit.ch/igor/portfoligor/commit/f0549ca0dd276be6a0d4a856944e063fb8b23373) +- layout: set the viewport meta tag [`2c7e6cf`](https://git.milhit.ch/igor/portfoligor/commit/2c7e6cf2d716edd0fda6881375ce76ff0b137f7e) +- style: add minimal stylesheet rules [`909c3ca`](https://git.milhit.ch/igor/portfoligor/commit/909c3caa9717faa009c85e815309d129228bcd71) +- layout: display basic taxonomies information [`4477b30`](https://git.milhit.ch/igor/portfoligor/commit/4477b3033ee9ada7eb3fb89f2ded351a2b16f1bb) +- layout: add default and partials [`498a724`](https://git.milhit.ch/igor/portfoligor/commit/498a724195695c837eb31d612df0d0365a9a6e1b) +- homepage: structure the homepage content [`9b7e39a`](https://git.milhit.ch/igor/portfoligor/commit/9b7e39acd22202b39c1988dd5db8e73e281796a0) +- homepage: personnal data [`788c7c6`](https://git.milhit.ch/igor/portfoligor/commit/788c7c621bba53a0bff03441518bc43259a09d3c) +- theme: initialize new hugo theme [`3b7347c`](https://git.milhit.ch/igor/portfoligor/commit/3b7347cdee8d2a7bf5fa1a412bdb15ea906dd0c3) diff --git a/README.md b/README.md index 5008438..8294b1a 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,17 @@ postimage: "[file-name.extension]" postimagedescription: "[Alternate text]" ``` +## Changelog + +The Changelog is described in [`CHANGELOG.md`][8]. It's generated by +[`auto-changelog`][9]. The configuration is in [`.auto-changelog`][10]. + +To generate it, use the following command: + +```bash +yarn auto-changelo +``` + [1]: https://git.milhit.ch/igor/portfoligor [2]: https://git.milhit.ch/igor/portfoligor/issues [3]: https://gohugo.io/templates/homepage/#add-content-and-front-matter-to-the-homepage @@ -132,3 +143,6 @@ postimagedescription: "[Alternate text]" [5]: #social-media-metadata [6]: https://git.milhit.ch/igor/portfoligor/src/branch/dev/LICENSE [7]: screenshots/theme-example.png "Screenshot of my own site using this theme" +[8]: ./CHANGELOG.md +[9]: https://github.com/CookPete/auto-changelog +[10]: ./.auto-changelog diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..ad6651e --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,25 @@ +address = "Address" +audioDownload = "Your browser does not support the audio tag, you can access the file directly with" +categories = "Categories" +contactsPriv = "Personal contacts" +contactsPro = "Professional contacts" +cv = "cv" +defaultImageAlt = "Grayish sheep portrait" +e-mail = "e-mail" +fingerprint = "Fingerprint" +lastCommit = "Last commit modifying this page" +lastUpdate = "Last update" +mobile = "Mobile" +online = "Online" +permalink = "Permalink" +post-infos = "Post information" +pubkey = "Public key" +published = "Published on" +subscribe = "Subscribe" +subscribeToPublications = "Subscribe to posts" +tags = "Tags" +tel = "Phone" +thisLink = "this link" +toSection = "from this section" +toWebsite = "from the website" +xmpp = "xmpp" diff --git a/i18n/fr.toml b/i18n/fr.toml index d2500d4..d232c78 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -1,14 +1,25 @@ -[lastCommit] -other = "Dernier commit modifiant cette page" - -[post-infos] -other = "Informations sur le billet" - -[permalink] -other = "Permalien" - -[contactsPriv] -other = "Contacts personnels" - -[contactsPro] -other = "Contacts professionnels" +address = "Adresse" +audioDownload = "Ton navigateur ne supporte pas la balise audio, tu peux télécharger le fichier avec" +categories = "Catégories " +contactsPriv = "Contacts personnels" +contactsPro = "Contacts professionnels" +cv = "cv" +defaultImageAlt = "Portrait de mouton en nuances de gris" +e-mail = "e-mail" +fingerprint = "Empreinte" +lastCommit = "Dernier commit modifiant cette page" +lastUpdate = "Dernière mise à jour " +mobile = "Téléphone mobile" +online = "En ligne" +permalink = "Permalien" +post-infos = "Informations sur le billet" +pubkey = "Clé publique" +published = "Publié le " +subscribe = "S'abonner" +subscribeToPublications = "S'abonner aux publications" +tags = "Tags " +tel = "Téléphone" +thisLink = "ce lien" +toSection = "de cette section" +toWebsite = "du site" +xmpp = "xmpp" diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f27475e..775ad82 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,10 +3,12 @@

{{.Title}}

- + {{.Content}}
- + {{ range .Pages.ByPublishDate.Reverse }}
{{.Title}} diff --git a/layouts/_default/section.html b/layouts/_default/section.html index 7b99c18..e1bc813 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -2,12 +2,18 @@

{{.Title}}

- +
{{.Content }}
+ {{ range .Pages.ByPublishDate.Reverse }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 3483a52..0b53320 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,7 +2,7 @@

{{ .Title }}

diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index b817b74..eb55187 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -2,12 +2,17 @@

{{.Title}}

- + {{.Content}}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index dc45039..a5e663d 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -16,17 +16,20 @@ {{ if .IsPage -}} S'abonner + title="{{ i18n "subscribeToPublications" }} {{ i18n "toWebsite" }}"> + {{ i18n "subscribe" }} {{ else if .IsHome -}} S'abonner + title="{{ i18n "subscribeToPublications" }} {{ i18n "toWebsite" }}"> + {{ i18n "subscribe" }} {{ else if .IsNode -}} S'abonner + title="{{ i18n "subscribeToPublications" }} {{ i18n "toSection" }}"> + {{ i18n "subscribe" }} {{ end -}} diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html index 5990b3a..5d5ca53 100644 --- a/layouts/partials/metadata.html +++ b/layouts/partials/metadata.html @@ -14,7 +14,7 @@ {{- else if .Site.Params.ImageDescription -}} {{- else -}} - + {{ end }} {{- if .IsNode }} diff --git a/layouts/partials/online.html b/layouts/partials/online.html index f93e1cb..f60555f 100644 --- a/layouts/partials/online.html +++ b/layouts/partials/online.html @@ -1,4 +1,4 @@ -

Online

+

{{ i18n "online" }}

{{ with .Site.Params.online.git }}
Git
diff --git a/layouts/partials/perso.html b/layouts/partials/perso.html index 10c8765..f4d227f 100644 --- a/layouts/partials/perso.html +++ b/layouts/partials/perso.html @@ -1,35 +1,43 @@

{{ i18n "contactsPriv" }}

{{ with .Site.Params.contactsPriv.email }} -
e-mail
+
{{ i18n "e-mail" }}
{{ . }}
{{ end }} {{ with .Site.Params.contactsPriv.address }} -
Adresse
+
{{ i18n "address" }}
{{ . }}
{{ end }} {{ with .Site.Params.contactsPriv.phone }} -
Tél.
-
{{ . }}
+
{{ i18n "tel" }}
+
+ + {{ . }} + +
{{end}} {{ with .Site.Params.contactsPriv.mobile }} -
Tél. mobile
-
{{ . }}
+
{{ i18n "mobile" }}
+
+ + {{ . }} + +
{{end}} {{ with .Site.Params.contactsPriv.publickey }} -
Clé publique
+
{{ i18n "pubkey" }}
{{ . }}
{{ end }} {{ with .Site.Params.contactsPriv.fingerprint }} -
Empreinte
+
{{ i18n "fingerprint" }}
{{ . }}
{{ end }} {{ with .Site.Params.contactsPriv.xmpp }} -
XMPP/jabber
+
{{ i18n "xmpp" }}
{{ . }}
{{ end }} {{ with .Site.Params.contactsPriv.cv}} -
CV
+
{{ i18n "cv" }}
{{ . }}
{{end}}
diff --git a/layouts/partials/post-info.html b/layouts/partials/post-info.html index 243cdf6..ff514f2 100644 --- a/layouts/partials/post-info.html +++ b/layouts/partials/post-info.html @@ -1,12 +1,12 @@