From b4ef1a0d288565f744bf754af456c4f60da99ca7 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Mon, 21 Apr 2025 22:54:15 +0200 Subject: Refactor localization: remove i18n support and update layouts to use static text --- src/partials/Footer.astro | 4 +--- src/partials/Header.astro | 21 ++++++--------------- 2 files changed, 7 insertions(+), 18 deletions(-) (limited to 'src/partials') diff --git a/src/partials/Footer.astro b/src/partials/Footer.astro index 82e3bb0..c27035d 100644 --- a/src/partials/Footer.astro +++ b/src/partials/Footer.astro @@ -1,7 +1,5 @@ --- -import { useTranslations } from "../i18n"; - -const t = useTranslations(Astro.currentLocale); +import t from "../i18n/es.json"; ---