feat: complete CMS v2 with Docker, Fischerei, Meetings, Verband modules + UX audit fixes
Major changes: - Docker Compose: full Supabase stack (11 services) equivalent to supabase CLI - Fischerei module: 16 DB tables, waters/species/stocking/catch books/competitions - Sitzungsprotokolle module: meeting protocols, agenda items, task tracking - Verbandsverwaltung module: federation management, member clubs, contacts, fees - Per-account module activation via Modules page toggle - Site Builder: live CMS data in Puck blocks (courses, events, membership registration) - Public registration APIs: course signup, event registration, membership application - Document generation: PDF member cards, Excel reports, HTML labels - Landing page: real Com.BISS content (no filler text) - UX audit fixes: AccountNotFound component, shared status badges, confirm dialog, pagination, duplicate heading removal, emoji→badge replacement, a11y fixes - QA: healthcheck fix, API auth fix, enum mismatch fix, password required attribute
This commit is contained in:
102
packages/features/fischerei/src/lib/fischerei-constants.ts
Normal file
102
packages/features/fischerei/src/lib/fischerei-constants.ts
Normal file
@@ -0,0 +1,102 @@
|
||||
/**
|
||||
* German label mappings for all Fischerei enums and status colors.
|
||||
*/
|
||||
|
||||
// =====================================================
|
||||
// Water Type Labels
|
||||
// =====================================================
|
||||
|
||||
export const WATER_TYPE_LABELS: Record<string, string> = {
|
||||
fluss: 'Fluss',
|
||||
bach: 'Bach',
|
||||
see: 'See',
|
||||
teich: 'Teich',
|
||||
weiher: 'Weiher',
|
||||
kanal: 'Kanal',
|
||||
stausee: 'Stausee',
|
||||
baggersee: 'Baggersee',
|
||||
sonstige: 'Sonstige',
|
||||
};
|
||||
|
||||
// =====================================================
|
||||
// Fish Age Class Labels
|
||||
// =====================================================
|
||||
|
||||
export const AGE_CLASS_LABELS: Record<string, string> = {
|
||||
brut: 'Brut',
|
||||
soemmerlinge: 'Sömmerlinge',
|
||||
einsoemmerig: '1-sömmrig',
|
||||
zweisoemmerig: '2-sömmrig',
|
||||
dreisoemmerig: '3-sömmrig',
|
||||
vorgestreckt: 'Vorgestreckt',
|
||||
setzlinge: 'Setzlinge',
|
||||
laichfische: 'Laichfische',
|
||||
sonstige: 'Sonstige',
|
||||
};
|
||||
|
||||
// =====================================================
|
||||
// Catch Book Status Labels
|
||||
// =====================================================
|
||||
|
||||
export const CATCH_BOOK_STATUS_LABELS: Record<string, string> = {
|
||||
offen: 'Offen',
|
||||
eingereicht: 'Eingereicht',
|
||||
geprueft: 'Geprüft',
|
||||
akzeptiert: 'Akzeptiert',
|
||||
abgelehnt: 'Abgelehnt',
|
||||
};
|
||||
|
||||
// =====================================================
|
||||
// Catch Book Status Colors (Badge variants)
|
||||
// =====================================================
|
||||
|
||||
export const CATCH_BOOK_STATUS_COLORS: Record<string, string> = {
|
||||
offen: 'outline',
|
||||
eingereicht: 'secondary',
|
||||
geprueft: 'info',
|
||||
akzeptiert: 'default',
|
||||
abgelehnt: 'destructive',
|
||||
};
|
||||
|
||||
// =====================================================
|
||||
// Verification Labels
|
||||
// =====================================================
|
||||
|
||||
export const VERIFICATION_LABELS: Record<string, string> = {
|
||||
sehrgut: 'Sehr gut',
|
||||
gut: 'Gut',
|
||||
ok: 'OK',
|
||||
schlecht: 'Schlecht',
|
||||
falsch: 'Falsch',
|
||||
leer: 'Leer',
|
||||
};
|
||||
|
||||
// =====================================================
|
||||
// Lease Payment Method Labels
|
||||
// =====================================================
|
||||
|
||||
export const LEASE_PAYMENT_LABELS: Record<string, string> = {
|
||||
bar: 'Bar',
|
||||
lastschrift: 'Lastschrift',
|
||||
ueberweisung: 'Überweisung',
|
||||
};
|
||||
|
||||
// =====================================================
|
||||
// Fish Gender Labels
|
||||
// =====================================================
|
||||
|
||||
export const FISH_GENDER_LABELS: Record<string, string> = {
|
||||
maennlich: 'Männlich',
|
||||
weiblich: 'Weiblich',
|
||||
unbekannt: 'Unbekannt',
|
||||
};
|
||||
|
||||
// =====================================================
|
||||
// Fish Size Category Labels
|
||||
// =====================================================
|
||||
|
||||
export const SIZE_CATEGORY_LABELS: Record<string, string> = {
|
||||
gross: 'Groß',
|
||||
mittel: 'Mittel',
|
||||
klein: 'Klein',
|
||||
};
|
||||
Reference in New Issue
Block a user