diff options
author | ache <ache@ache.one> | 2023-08-11 12:39:17 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2023-08-11 12:43:30 +0200 |
commit | 8c36bc61ccb003150fe8532a6509bdebafe49a8f (patch) | |
tree | 1753e9d125561a9aacc018d244031385cf4f9ad9 /src/build | |
parent | I forgot the torrent file 😱 (diff) |
i18n for likes
Diffstat (limited to 'src/build')
-rw-r--r-- | src/build/i18n.mjs | 4 | ||||
-rw-r--r-- | src/build/index.mjs | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/build/i18n.mjs b/src/build/i18n.mjs index dfc7c59..979dbe6 100644 --- a/src/build/i18n.mjs +++ b/src/build/i18n.mjs @@ -27,6 +27,8 @@ const i18n = { toc_keyword: "Sommaire", tag_desc: "Liste des articles ayant le tag", index_desc: "Blog personnel à propos de programmation, logiciel libre et autohébergement. Essayons de rendre le monde meilleur.", + like_title: "Si vous avez aimez cet article cliquez sur le cœur !", + like_text: "Vous pouvez même envoyez plusieurs cœurs ! <br><span class=\"likesNotes\">Le délais d'attente entre deux cœurs double à chaque fois.</span>", }, en: { intro: { @@ -52,6 +54,8 @@ const i18n = { toc_keyword: "Table of contents", tag_desc: "List of articles with the tag", index_desc: "Personal blog about programming, free software and self-hosting. Let's try to make the world a better place.", + like_title: "If you liked this article click on the heart!", + like_text: "You can even send multiple hearts! <br><span class=\"likesNotes\">The waiting time between two hearts doubles each time.</span>", } } diff --git a/src/build/index.mjs b/src/build/index.mjs index fa5f450..f22a818 100644 --- a/src/build/index.mjs +++ b/src/build/index.mjs @@ -52,6 +52,9 @@ for (const lang in i18n) { metaData: article.metaData, alt_lang: addDescription(article.metaData.alt_lang), description: i18n[lang].intro, + + like_title: i18n[lang].like_title, + like_text: i18n[lang].like_text, }; const output = mustache.render(articleTmpl, context, partials); |