diff --git a/src/app/admin/inhalte/page.tsx b/src/app/admin/inhalte/page.tsx index c81257b..b4a946b 100644 --- a/src/app/admin/inhalte/page.tsx +++ b/src/app/admin/inhalte/page.tsx @@ -205,6 +205,7 @@ export default async function AdminInhaltePage(props: PageProps<"/admin/inhalte" const groups: { key: ContentFieldDef["group"]; heading: string }[] = [ { key: "company", heading: t.adminContentPage.groupCompany }, + { key: "shipping", heading: t.adminContentPage.groupShipping }, { key: "home", heading: t.adminContentPage.groupHome }, { key: "pages", heading: t.adminContentPage.groupPages }, { key: "social", heading: t.adminContentPage.groupSocial }, diff --git a/src/i18n/dictionaries/de.ts b/src/i18n/dictionaries/de.ts index f11ebf0..34912f9 100644 --- a/src/i18n/dictionaries/de.ts +++ b/src/i18n/dictionaries/de.ts @@ -1164,6 +1164,7 @@ export const de: Dictionary = { sectionText: "Texte", sectionTextIntro: "Alle Textinhalte, sortiert nach Bereich.", groupCompany: "Firmendaten", + groupShipping: "Versand", groupHome: "Homepage", groupPages: "Weitere Seiten", groupLegal: "Rechtstexte", diff --git a/src/i18n/dictionaries/en.ts b/src/i18n/dictionaries/en.ts index f4dbc27..ddca30f 100644 --- a/src/i18n/dictionaries/en.ts +++ b/src/i18n/dictionaries/en.ts @@ -1163,6 +1163,7 @@ export const en: Dictionary = { sectionText: "Text", sectionTextIntro: "Every text field, grouped by section.", groupCompany: "Company details", + groupShipping: "Shipping", groupHome: "Homepage", groupPages: "Other pages", groupLegal: "Legal pages", diff --git a/src/i18n/dictionary-type.ts b/src/i18n/dictionary-type.ts index 2b77f7f..cf7a0be 100644 --- a/src/i18n/dictionary-type.ts +++ b/src/i18n/dictionary-type.ts @@ -856,6 +856,7 @@ export interface Dictionary { sectionText: string; sectionTextIntro: string; groupCompany: string; + groupShipping: string; groupHome: string; groupPages: string; groupLegal: string; diff --git a/src/lib/content-registry.ts b/src/lib/content-registry.ts index 205bdbf..09fcd92 100644 --- a/src/lib/content-registry.ts +++ b/src/lib/content-registry.ts @@ -18,7 +18,7 @@ export type ContentFieldType = export interface ContentFieldDef { key: string; - group: "company" | "home" | "pages" | "legal" | "social"; + group: "company" | "shipping" | "home" | "pages" | "legal" | "social"; labelDe: string; labelEn: string; type: ContentFieldType; @@ -73,7 +73,7 @@ export const CONTENT_REGISTRY: ContentFieldDef[] = [ // Auswahl und kein Freitext — siehe "options" oben. { key: "shipping.region", - group: "company", + group: "shipping", labelDe: "Liefergebiet", labelEn: "Shipping region", type: "select",