meldungen in gäste-pwa ergänzt
This commit is contained in:
@@ -475,9 +475,16 @@ export const messages: Record<LocaleCode, NestedMessages> = {
|
|||||||
processing: 'Verarbeite Foto...',
|
processing: 'Verarbeite Foto...',
|
||||||
uploading: 'Foto wird hochgeladen...',
|
uploading: 'Foto wird hochgeladen...',
|
||||||
preparing: 'Foto wird vorbereitet...',
|
preparing: 'Foto wird vorbereitet...',
|
||||||
|
optimizing: 'Foto wird optimiert...',
|
||||||
completed: 'Upload abgeschlossen.',
|
completed: 'Upload abgeschlossen.',
|
||||||
failed: 'Upload fehlgeschlagen. Bitte versuche es erneut.',
|
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: {
|
controls: {
|
||||||
toggleGrid: 'Raster umschalten',
|
toggleGrid: 'Raster umschalten',
|
||||||
toggleCountdown: 'Countdown umschalten',
|
toggleCountdown: 'Countdown umschalten',
|
||||||
@@ -1112,9 +1119,16 @@ export const messages: Record<LocaleCode, NestedMessages> = {
|
|||||||
processing: 'Processing photo...',
|
processing: 'Processing photo...',
|
||||||
uploading: 'Uploading photo...',
|
uploading: 'Uploading photo...',
|
||||||
preparing: 'Preparing photo...',
|
preparing: 'Preparing photo...',
|
||||||
|
optimizing: 'Optimizing photo...',
|
||||||
completed: 'Upload complete.',
|
completed: 'Upload complete.',
|
||||||
failed: 'Upload failed. Please try again.',
|
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: {
|
controls: {
|
||||||
toggleGrid: 'Toggle grid',
|
toggleGrid: 'Toggle grid',
|
||||||
toggleCountdown: 'Toggle countdown',
|
toggleCountdown: 'Toggle countdown',
|
||||||
|
|||||||
@@ -204,7 +204,7 @@ const [canUpload, setCanUpload] = useState(true);
|
|||||||
async function loadTask() {
|
async function loadTask() {
|
||||||
if (taskId === null) return;
|
if (taskId === null) return;
|
||||||
|
|
||||||
const currentTaskId = taskId;
|
const currentTaskId = Number(taskId);
|
||||||
const fallbackTitle = t('upload.taskInfo.fallbackTitle').replace('{id}', `${currentTaskId}`);
|
const fallbackTitle = t('upload.taskInfo.fallbackTitle').replace('{id}', `${currentTaskId}`);
|
||||||
const fallbackDescription = t('upload.taskInfo.fallbackDescription');
|
const fallbackDescription = t('upload.taskInfo.fallbackDescription');
|
||||||
const fallbackInstructions = t('upload.taskInfo.fallbackInstructions');
|
const fallbackInstructions = t('upload.taskInfo.fallbackInstructions');
|
||||||
|
|||||||
Reference in New Issue
Block a user