fix(priv): textes factuels — Forgejo couvert (comptes/sessions/tokens/dépôts section 4.1), durée de conservation et sécurité mises à jour, footer ne prétend plus 'aucun cookie' mais cookie de langue unique sans suivi, et nuance sur le tunnel Tailscale (TLS local, sans CDN).
This commit is contained in:
parent
537478d016
commit
a95a287327
6 changed files with 29 additions and 17 deletions
|
|
@ -551,7 +551,7 @@ function siteHeader(lang: "fr" | "en"): string {
|
|||
function siteFooter(lang: "fr" | "en"): string {
|
||||
const tos = lang === "fr" ? "Conditions d\u2019utilisation" : "Terms of Service"
|
||||
const priv = lang === "fr" ? "Confidentialit\u00e9" : "Privacy"
|
||||
const note = lang === "fr" ? "Ce site ne collecte rien. Aucun cookie, aucun tracker." : "This site collects nothing. No cookies, no trackers."
|
||||
const note = lang === "fr" ? "Le site ne pose qu'un cookie de pr\u00e9f\u00e9rence de langue, sans suivi." : "This site only sets a language-preference cookie, with no tracking."
|
||||
return `<footer class="site-footer">
|
||||
<p>Zektyc \u00b7 France</p>
|
||||
<p class="footer-note">${note}</p>
|
||||
|
|
@ -612,7 +612,7 @@ function errorPage(status: number, req?: Request): Response {
|
|||
.replace(/__EN_ACTIVE__/g, !isFr ? "active" : "")
|
||||
.replace(/__FR_LABEL__/g, isFr ? "<strong>FR</strong>" : "FR")
|
||||
.replace(/__EN_LABEL__/g, !isFr ? "<strong>EN</strong>" : "EN")
|
||||
.replace(/__NOTE__/g, isFr ? "Ce site ne collecte rien. Aucun cookie, aucun tracker." : "This site collects nothing. No cookies, no trackers.")
|
||||
.replace(/__NOTE__/g, isFr ? "Le site ne pose qu'un cookie de pr\u00e9f\u00e9rence de langue, sans suivi." : "This site only sets a language-preference cookie, with no tracking.")
|
||||
.replace(/__TOS_HREF__/g, isFr ? "/fr/tos" : "/en/tos")
|
||||
.replace(/__TOS__/g, isFr ? "Conditions d\u2019utilisation" : "Terms of Service")
|
||||
.replace(/__PRIV_HREF__/g, isFr ? "/fr/privacy-policy" : "/en/privacy-policy")
|
||||
|
|
|
|||
Loading…
Reference in a new issue