style: remove gender-inclusive wording
This commit is contained in:
@@ -272,7 +272,7 @@ export const BookingRequests: CollectionConfig = {
|
||||
useAsTitle: "id",
|
||||
defaultColumns: ["offer", "user", "date", "startTime", "status"],
|
||||
group: "Buchungen",
|
||||
description: "Terminanfragen von Nutzer:innen — bestätigen, ablehnen oder einen alternativen Termin vorschlagen, indem du die Felder unten änderst und speicherst.",
|
||||
description: "Terminanfragen von Nutzern — bestätigen, ablehnen oder einen alternativen Termin vorschlagen, indem du die Felder unten änderst und speicherst.",
|
||||
},
|
||||
access: {
|
||||
// Customer-initiated writes always go through the vetted /api/booking/*
|
||||
@@ -298,7 +298,7 @@ export const BookingRequests: CollectionConfig = {
|
||||
name: "user",
|
||||
type: "relationship",
|
||||
relationTo: "customers",
|
||||
label: "Nutzer:in",
|
||||
label: "Nutzer",
|
||||
required: true,
|
||||
index: true,
|
||||
},
|
||||
|
||||
@@ -66,13 +66,13 @@ export const Customers: CollectionConfig = {
|
||||
slug: "customers",
|
||||
labels: {
|
||||
singular: "Kundin/Kunde",
|
||||
plural: "Kund:innen",
|
||||
plural: "Kunden",
|
||||
},
|
||||
admin: {
|
||||
useAsTitle: "name",
|
||||
defaultColumns: ["name", "email", "phone"],
|
||||
group: "Buchungen",
|
||||
description: "Konten der Website-Besucher:innen (nicht die Admin-Zugänge unter „Benutzer:innen“).",
|
||||
description: "Konten der Website-Besucher (nicht die Admin-Zugänge unter „Benutzer“).",
|
||||
},
|
||||
auth: {
|
||||
maxLoginAttempts: 8,
|
||||
|
||||
@@ -68,7 +68,7 @@ export const Posts: CollectionConfig = {
|
||||
{
|
||||
name: "author",
|
||||
type: "text",
|
||||
label: "Autor:in",
|
||||
label: "Autor",
|
||||
defaultValue: "Anouma",
|
||||
admin: { position: "sidebar" },
|
||||
},
|
||||
|
||||
@@ -4,8 +4,8 @@ import { isAdmin, isAdminFieldLevel } from "@/access";
|
||||
export const Users: CollectionConfig = {
|
||||
slug: "users",
|
||||
labels: {
|
||||
singular: "Benutzer:in",
|
||||
plural: "Benutzer:innen",
|
||||
singular: "Benutzer",
|
||||
plural: "Benutzer",
|
||||
},
|
||||
admin: {
|
||||
useAsTitle: "name",
|
||||
@@ -40,7 +40,7 @@ export const Users: CollectionConfig = {
|
||||
defaultValue: "admin",
|
||||
// Only "admin" exists today; add further roles here later and extend
|
||||
// the checks in access/index.ts to match.
|
||||
options: [{ label: "Administrator:in", value: "admin" }],
|
||||
options: [{ label: "Administrator", value: "admin" }],
|
||||
access: {
|
||||
update: isAdminFieldLevel,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user