weitere verbesserungen der Guest PWA (vor allem TaskPicker)

This commit is contained in:
Codex Agent
2025-11-12 13:19:28 +01:00
parent 1cec116933
commit d91108c883
20 changed files with 2306 additions and 653 deletions

View File

@@ -4,16 +4,16 @@ import type { EventPackageLimits } from '../../services/eventApi';
import { buildLimitSummaries } from '../limitSummaries';
const translations = new Map<string, string>([
['upload.status.cards.photos.title', 'Fotos'],
['upload.status.cards.photos.remaining', 'Noch {remaining} von {limit}'],
['upload.status.cards.photos.unlimited', 'Unbegrenzte Uploads'],
['upload.status.cards.guests.title', 'Gäste'],
['upload.status.cards.guests.remaining', '{remaining} Gäste frei (max. {limit})'],
['upload.status.cards.guests.unlimited', 'Unbegrenzte Gäste'],
['upload.status.badges.ok', 'OK'],
['upload.status.badges.warning', 'Warnung'],
['upload.status.badges.limit_reached', 'Limit erreicht'],
['upload.status.badges.unlimited', 'Unbegrenzt'],
['upload.limitSummary.cards.photos.title', 'Fotos'],
['upload.limitSummary.cards.photos.remaining', 'Noch {remaining} von {limit}'],
['upload.limitSummary.cards.photos.unlimited', 'Unbegrenzte Uploads'],
['upload.limitSummary.cards.guests.title', 'Gäste'],
['upload.limitSummary.cards.guests.remaining', '{remaining} Gäste frei (max. {limit})'],
['upload.limitSummary.cards.guests.unlimited', 'Unbegrenzte Gäste'],
['upload.limitSummary.badges.ok', 'OK'],
['upload.limitSummary.badges.warning', 'Warnung'],
['upload.limitSummary.badges.limit_reached', 'Limit erreicht'],
['upload.limitSummary.badges.unlimited', 'Unbegrenzt'],
]);
const t = (key: string) => translations.get(key) ?? key;