trypost/lang/de/common.php
Paulo Castellano 2549a82e9b Address review: cropper mime/zoom/error fixes, harden browser test
- Output a canvas-encodable mime (jpeg/png/webp, else png) and keep the File's
  name/extension in sync, so non-encodable input (gif/svg/heic) no longer ships
  PNG bytes mislabeled as the original type.
- Clamp zoom to a maximum (8x cover) so scrolling in can't collapse the crop to
  a sub-pixel region.
- Handle undecodable/zero-dimension images (@error + naturalWidth guard) with a
  crop_error message instead of a permanently-disabled Save.
- Replace the str_contains(static::class) Vite heuristic with a dedicated
  BrowserTestCase ($fakesVite = false).
- The browser test now decodes the dispatched blob and asserts a 512x512 image,
  and uses route(..., absolute: false) instead of a hardcoded path.
- Remove tests/Browser/ProbeTest.php (committed debug scratch).
2026-07-03 22:07:23 -03:00

67 lines
2 KiB
PHP

<?php
declare(strict_types=1);
return [
'back' => 'Zurück',
'beta' => 'Beta',
'confirm_modal' => [
'cannot_be_undone' => 'Dies kann nicht rückgängig gemacht werden.',
'type' => 'Gib',
'to_confirm' => 'zur Bestätigung ein.',
'copy_to_clipboard' => 'In die Zwischenablage kopieren',
'delete_keyword' => 'löschen',
],
'photo_upload' => [
'upload' => 'Hochladen',
'uploading' => 'Wird hochgeladen...',
'remove' => 'Foto entfernen',
'hint' => 'Empfohlen: quadratisches Bild, max. 2 MB.',
'crop_title' => 'Bild zuschneiden',
'crop_description' => 'Ziehen und zoomen, um es auszurichten.',
'crop_hint' => 'Zum Verschieben ziehen',
'crop_save' => 'Speichern',
'crop_cancel' => 'Abbrechen',
'crop_error' => 'Dieses Bild konnte nicht geladen werden. Versuchen Sie eine andere Datei.',
],
'timezone' => [
'select' => 'Zeitzone auswählen',
'search' => 'Zeitzone suchen...',
'empty' => 'Keine Zeitzone gefunden',
],
'date_picker' => [
'select' => 'Datum auswählen',
],
'date_range_picker' => [
'placeholder' => 'Zeitraum wählen',
'today' => 'Heute',
'yesterday' => 'Gestern',
'last_7_days' => 'Letzte 7 Tage',
'last_30_days' => 'Letzte 30 Tage',
'last_3_months' => 'Letzte 3 Monate',
'last_6_months' => 'Letzte 6 Monate',
'last_12_months' => 'Letzte 12 Monate',
'this_month' => 'Dieser Monat',
'last_month' => 'Letzter Monat',
'year_to_date' => 'Seit Jahresbeginn',
'last_year' => 'Letztes Jahr',
],
'cancel' => 'Abbrechen',
'clear' => 'Zurücksetzen',
'close' => 'Schließen',
'loading_more' => 'Weitere werden geladen...',
'actions' => [
'copy' => 'Kopieren',
'copied' => 'Kopiert',
'copy_failed' => 'Kopieren in die Zwischenablage fehlgeschlagen',
],
];