diff --git a/src/lang/base.js b/src/lang/base.js index 2e9fd5e..07e04f9 100644 --- a/src/lang/base.js +++ b/src/lang/base.js @@ -9,6 +9,8 @@ const data = { "go_button": "MISSING STRING: go_button", "about_bibliogram_header": "MISSING STRING: about_bibliogram_header", "pug_about_bibliogram_content": locals => "MISSING TEMPLATE: pug_about_bibliogram_content", + "experiencing_problems_header": "MISSING STRING: experiencing_problems_header", + "t_read_more_here": "MISSING STRING: t_read_more_here", "about_this_instance_header": "MISSING STRING: about_this_instance_header", "onion_site_available": "MISSING STRING: onion_site_available", "t_settings": "MISSING STRING: t_settings", diff --git a/src/lang/en.js b/src/lang/en.js index b7f9a9b..b3d9ffa 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -19,6 +19,8 @@ const {pug} = require("./utils/functions") Bibliogram does #[em not] allow you to anonymously post, like, comment, follow, or view private profiles. It does not preserve deleted posts. `) + data.experiencing_problems_header = "Experiencing problems with Bibliogram?" + data.t_read_more_here = "Read more here." data.about_this_instance_header = "About this instance" data.onion_site_available = "Onion site available" data.t_settings = "Settings" diff --git a/src/lang/fr.js b/src/lang/fr.js index 5aa3a60..15915d5 100644 --- a/src/lang/fr.js +++ b/src/lang/fr.js @@ -26,6 +26,8 @@ if (!constants.language_dev) Object.assign(data, require("./en.js")) Bibliogram #[em ne] vous permet #[em pas] de poster anonymement, d'aimer les publications, de les commenter, de s'abonner ou voir des profils privés. Les posts supprimés ne sont pas conservés. `) + data.experiencing_problems_header = "Rencontrez-vous des problèmes avec Bibliogram\u202f?" + data.t_read_more_here = "En savoir plus ici." data.about_this_instance_header = "À propos de cette instance" data.onion_site_available = "Un site Onion est disponible" data.t_settings = "Paramètres" diff --git a/src/site/pug/home.pug b/src/site/pug/home.pug index 665c9b9..b0b9cf9 100644 --- a/src/site/pug/home.pug +++ b/src/site/pug/home.pug @@ -32,8 +32,8 @@ html .notice section.about - h2 Experiencing problems with Bibliogram? - p: a(href="https://lists.sr.ht/~cadence/bibliogram-announce/%3C20201218014302.855fa8a816be2f19da2f56e3%40disroot.org%3E") Read more here. + h2= ll.experiencing_problems_header + p: a(href="https://lists.sr.ht/~cadence/bibliogram-announce/%3C20201218014302.855fa8a816be2f19da2f56e3%40disroot.org%3E")= ll.t_read_more_here section.about h2= ll.about_this_instance_header