From 9b9d4634dd48e0e35a2b2522db19221fc43728b7 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Tue, 21 Apr 2026 19:21:47 +0200 Subject: [PATCH] fix: rename AGB to AVB in navigation and components for consistency --- app/[locale]/agb/page.tsx | 2 +- components/Layout.tsx | 2 +- messages/de.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/[locale]/agb/page.tsx b/app/[locale]/agb/page.tsx index 596b96d..188d3c4 100644 --- a/app/[locale]/agb/page.tsx +++ b/app/[locale]/agb/page.tsx @@ -2,7 +2,7 @@ import { Download } from "lucide-react"; import fs from "fs"; import path from "path"; -export default function AGB() { +export default function AVB() { const filePath = path.join(process.cwd(), "context/avbs.md"); const fileContent = fs.readFileSync(filePath, "utf8"); diff --git a/components/Layout.tsx b/components/Layout.tsx index 81cf1a5..29c31f4 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -246,7 +246,7 @@ const Layout = ({ children }: { children: React.ReactNode }) => { href="/agb" className="hover:text-accent transition-colors" > - {t("footer.agb")} + {t("footer.avb")} diff --git a/messages/de.json b/messages/de.json index ecacfdf..5b87cb2 100644 --- a/messages/de.json +++ b/messages/de.json @@ -81,7 +81,7 @@ "legal": "Rechtliches", "impressum": "Impressum", "datenschutz": "Datenschutz", - "agb": "AVB", + "avb": "AVB", "rights": "Alle Rechte vorbehalten.", "madeWith": "Entwickelt mit", "precision": "Präzision",