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' => 'Terug',
|
|
|
|
'beta' => 'Bèta',
|
|
|
|
'confirm_modal' => [
|
|
'cannot_be_undone' => 'Dit kan niet ongedaan worden gemaakt.',
|
|
'type' => 'Typ',
|
|
'to_confirm' => 'om te bevestigen.',
|
|
'copy_to_clipboard' => 'Kopiëren naar klembord',
|
|
'delete_keyword' => 'verwijderen',
|
|
],
|
|
|
|
'photo_upload' => [
|
|
'upload' => 'Uploaden',
|
|
'uploading' => 'Uploaden...',
|
|
'remove' => 'Foto verwijderen',
|
|
'hint' => 'Aanbevolen: vierkante afbeelding, max. 2 MB.',
|
|
'crop_title' => 'Afbeelding bijsnijden',
|
|
'crop_description' => 'Selecteer het gebied dat je wilt behouden.',
|
|
'crop_hint' => 'Sleep om te verplaatsen of een hoek om te vergroten of verkleinen.',
|
|
'crop_save' => 'Opslaan',
|
|
'crop_cancel' => 'Annuleren',
|
|
'crop_error' => 'Kan deze afbeelding niet laden. Probeer een ander bestand.',
|
|
],
|
|
|
|
'timezone' => [
|
|
'select' => 'Tijdzone selecteren',
|
|
'search' => 'Tijdzone zoeken...',
|
|
'empty' => 'Geen tijdzone gevonden',
|
|
],
|
|
|
|
'date_picker' => [
|
|
'select' => 'Datum selecteren',
|
|
],
|
|
|
|
'date_range_picker' => [
|
|
'placeholder' => 'Kies een datumbereik',
|
|
'today' => 'Vandaag',
|
|
'yesterday' => 'Gisteren',
|
|
'last_7_days' => 'Laatste 7 dagen',
|
|
'last_30_days' => 'Laatste 30 dagen',
|
|
'last_3_months' => 'Laatste 3 maanden',
|
|
'last_6_months' => 'Laatste 6 maanden',
|
|
'last_12_months' => 'Laatste 12 maanden',
|
|
'this_month' => 'Deze maand',
|
|
'last_month' => 'Vorige maand',
|
|
'year_to_date' => 'Dit jaar tot nu toe',
|
|
'last_year' => 'Vorig jaar',
|
|
],
|
|
|
|
'cancel' => 'Annuleren',
|
|
'clear' => 'Wissen',
|
|
'close' => 'Sluiten',
|
|
'loading_more' => 'Meer laden...',
|
|
|
|
'actions' => [
|
|
'copy' => 'Kopiëren',
|
|
'copied' => 'Gekopieerd',
|
|
'copy_failed' => 'Kopiëren naar klembord mislukt',
|
|
],
|
|
];
|