meldungen in gäste-pwa ergänzt

This commit is contained in:
Codex Agent
2025-11-20 22:13:43 +01:00
parent e0127e7f39
commit b6f6cdeffe
2 changed files with 15 additions and 1 deletions

View File

@@ -475,9 +475,16 @@ export const messages: Record<LocaleCode, NestedMessages> = {
processing: 'Verarbeite Foto...',
uploading: 'Foto wird hochgeladen...',
preparing: 'Foto wird vorbereitet...',
optimizing: 'Foto wird optimiert...',
completed: 'Upload abgeschlossen.',
failed: 'Upload fehlgeschlagen. Bitte versuche es erneut.',
},
optimizedNotice: 'Wir haben dein Foto verkleinert, damit der Upload schneller klappt. Eingespart: {saved}',
optimizedFallback: 'Optimierung nicht möglich wir laden das Original hoch.',
retrying: 'Verbindung holperig neuer Versuch ({attempt}).',
errors: {
tooLargeHint: 'Das Foto war zu groß. Bitte erneut versuchen wir verkleinern es automatisch.',
},
controls: {
toggleGrid: 'Raster umschalten',
toggleCountdown: 'Countdown umschalten',
@@ -1112,9 +1119,16 @@ export const messages: Record<LocaleCode, NestedMessages> = {
processing: 'Processing photo...',
uploading: 'Uploading photo...',
preparing: 'Preparing photo...',
optimizing: 'Optimizing photo...',
completed: 'Upload complete.',
failed: 'Upload failed. Please try again.',
},
optimizedNotice: 'We optimized your photo to speed up the upload. Saved: {saved}',
optimizedFallback: 'Could not optimize uploading the original.',
retrying: 'Connection unstable retrying ({attempt}).',
errors: {
tooLargeHint: 'The photo was too large. Please try again — we compress it automatically.',
},
controls: {
toggleGrid: 'Toggle grid',
toggleCountdown: 'Toggle countdown',

View File

@@ -204,7 +204,7 @@ const [canUpload, setCanUpload] = useState(true);
async function loadTask() {
if (taskId === null) return;
const currentTaskId = taskId;
const currentTaskId = Number(taskId);
const fallbackTitle = t('upload.taskInfo.fallbackTitle').replace('{id}', `${currentTaskId}`);
const fallbackDescription = t('upload.taskInfo.fallbackDescription');
const fallbackInstructions = t('upload.taskInfo.fallbackInstructions');