Replace the move-image-behind-a-fixed-frame model with a selection box over the fully visible (contain-fit) image: drag to move, corner handles to resize, locked to 1:1 for the square avatar/logo output. The default selection is inset so the crop outline is always visible, handles sit inside the frame so they are never clipped, and wheel/pinch zoom is swallowed. Reset drag state on open/close, guard pointer capture and multi-touch, and fail-safe the canvas encode. Update the crop copy in all 15 locales to match the selection model.
67 lines
2 KiB
PHP
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' => 'Wählen Sie den Bereich aus, den Sie behalten möchten.',
|
|
'crop_hint' => 'Zum Verschieben ziehen oder an einer Ecke die Größe ändern.',
|
|
'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',
|
|
],
|
|
];
|