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
1.9 KiB
PHP
67 lines
1.9 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
|
|
'back' => 'Indietro',
|
|
|
|
'beta' => 'Beta',
|
|
|
|
'confirm_modal' => [
|
|
'cannot_be_undone' => 'Questa azione non può essere annullata.',
|
|
'type' => 'Digita',
|
|
'to_confirm' => 'per confermare.',
|
|
'copy_to_clipboard' => 'Copia negli appunti',
|
|
'delete_keyword' => 'elimina',
|
|
],
|
|
|
|
'photo_upload' => [
|
|
'upload' => 'Carica',
|
|
'uploading' => 'Caricamento in corso...',
|
|
'remove' => 'Rimuovi foto',
|
|
'hint' => 'Consigliato: immagine quadrata, max 2 MB.',
|
|
'crop_title' => 'Ritaglia immagine',
|
|
'crop_description' => 'Seleziona l\'area da mantenere.',
|
|
'crop_hint' => 'Trascina per spostare o un angolo per ridimensionare.',
|
|
'crop_save' => 'Salva',
|
|
'crop_cancel' => 'Annulla',
|
|
'crop_error' => 'Impossibile caricare questa immagine. Prova un altro file.',
|
|
],
|
|
|
|
'timezone' => [
|
|
'select' => 'Seleziona fuso orario',
|
|
'search' => 'Cerca fuso orario...',
|
|
'empty' => 'Nessun fuso orario trovato',
|
|
],
|
|
|
|
'date_picker' => [
|
|
'select' => 'Seleziona data',
|
|
],
|
|
|
|
'date_range_picker' => [
|
|
'placeholder' => 'Scegli un intervallo di date',
|
|
'today' => 'Oggi',
|
|
'yesterday' => 'Ieri',
|
|
'last_7_days' => 'Ultimi 7 giorni',
|
|
'last_30_days' => 'Ultimi 30 giorni',
|
|
'last_3_months' => 'Ultimi 3 mesi',
|
|
'last_6_months' => 'Ultimi 6 mesi',
|
|
'last_12_months' => 'Ultimi 12 mesi',
|
|
'this_month' => 'Questo mese',
|
|
'last_month' => 'Mese scorso',
|
|
'year_to_date' => 'Da inizio anno',
|
|
'last_year' => 'Anno scorso',
|
|
],
|
|
|
|
'cancel' => 'Annulla',
|
|
'clear' => 'Cancella',
|
|
'close' => 'Chiudi',
|
|
'loading_more' => 'Caricamento in corso...',
|
|
|
|
'actions' => [
|
|
'copy' => 'Copia',
|
|
'copied' => 'Copiato',
|
|
'copy_failed' => 'Impossibile copiare negli appunti',
|
|
],
|
|
];
|