From: Danilo M. Date: Mon, 20 Apr 2026 10:51:12 +0000 (+0200) Subject: refactor: localize footer copyright bar and about section labels/values X-Git-Tag: release_22042026-1342~77 X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=fc6a430acb80824501861f16dcfd3ebcd7ff92bd;p=danix.xyz-2.git refactor: localize footer copyright bar and about section labels/values Add i18n keys for all footer text: - Copyright bar: "Made with X lack of Y lots of Z by" - Screen-reader text: love, sleep, coffee - About section labels: role, cert, os, focus - About section values: Cybersecurity Specialist, Slackware, OS year range, open-source · privacy English and Italian translations provided. All footer text now responds to language selection with no hardcoded strings. Co-Authored-By: Claude Haiku 4.5 --- diff --git a/i18n/en.yaml b/i18n/en.yaml index 874c0e6..96e0a33 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -16,6 +16,21 @@ links: "Links" allRightsReserved: "All rights reserved." footer_built_with: "built with" footer_features: "features" +footer_made_with: "Made with" +footer_lack_of: "lack of" +footer_lots_of: "lots of" +footer_by: "by" +footer_love: "love" +footer_sleep: "sleep" +footer_coffee: "coffee" +footer_about_role: "role" +footer_about_cert: "cert" +footer_about_os: "os" +footer_about_focus: "focus" +footer_about_role_value: "Cybersecurity Specialist" +footer_about_os_value: "Slackware" +footer_about_os_year: "2005–present" +footer_about_focus_value: "open-source · privacy" # Articles readMore: "Read more" diff --git a/i18n/it.yaml b/i18n/it.yaml index 8c3eba1..f387978 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -16,6 +16,21 @@ links: "Link" allRightsReserved: "Tutti i diritti riservati." footer_built_with: "costruito con" footer_features: "caratteristiche" +footer_made_with: "Fatto con" +footer_lack_of: "mancanza di" +footer_lots_of: "molti" +footer_by: "da" +footer_love: "amore" +footer_sleep: "sonno" +footer_coffee: "caffè" +footer_about_role: "ruolo" +footer_about_cert: "cert" +footer_about_os: "os" +footer_about_focus: "focus" +footer_about_role_value: "Specialista in Cybersecurity" +footer_about_os_value: "Slackware" +footer_about_os_year: "2005–presente" +footer_about_focus_value: "open-source · privacy" # Articles readMore: "Continua a leggere" diff --git a/themes/danix-xyz-hacker/layouts/partials/footer.html b/themes/danix-xyz-hacker/layouts/partials/footer.html index 006714b..ffa9ad2 100644 --- a/themes/danix-xyz-hacker/layouts/partials/footer.html +++ b/themes/danix-xyz-hacker/layouts/partials/footer.html @@ -23,20 +23,20 @@
-
role:
-
Cybersecurity Specialist
+
{{ i18n "footer_about_role" }}:
+
{{ i18n "footer_about_role_value" }}
-
cert:
+
{{ i18n "footer_about_cert" }}:
eJPT
-
os:
-
Slackware (2005–present)
+
{{ i18n "footer_about_os" }}:
+
{{ i18n "footer_about_os_value" }} ({{ i18n "footer_about_os_year" }})
-
focus:
-
open-source · privacy
+
{{ i18n "footer_about_focus" }}:
+
{{ i18n "footer_about_focus_value" }}
@@ -66,10 +66,10 @@

- Made with love, - lack of sleep, - lots of coffee - by danix + {{ i18n "footer_made_with" }} {{ i18n "footer_love" }}, + {{ i18n "footer_lack_of" }} {{ i18n "footer_sleep" }}, + {{ i18n "footer_lots_of" }} {{ i18n "footer_coffee" }} + {{ i18n "footer_by" }} danix

© {{ now.Year }} {{ .Site.Params.author }}. {{ i18n "allRightsReserved" }}