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' => 'Volver',
|
|
|
|
'beta' => 'Beta',
|
|
|
|
'confirm_modal' => [
|
|
'cannot_be_undone' => 'Esta acción no se puede deshacer.',
|
|
'type' => 'Escribe',
|
|
'to_confirm' => 'para confirmar.',
|
|
'copy_to_clipboard' => 'Copiar al portapapeles',
|
|
'delete_keyword' => 'eliminar',
|
|
],
|
|
|
|
'photo_upload' => [
|
|
'upload' => 'Subir',
|
|
'uploading' => 'Subiendo...',
|
|
'remove' => 'Eliminar foto',
|
|
'hint' => 'Recomendado: imagen cuadrada, máximo 2 MB.',
|
|
'crop_title' => 'Recortar imagen',
|
|
'crop_description' => 'Selecciona el área que quieres conservar.',
|
|
'crop_hint' => 'Arrastra para mover o una esquina para redimensionar.',
|
|
'crop_save' => 'Guardar',
|
|
'crop_cancel' => 'Cancelar',
|
|
'crop_error' => 'No se pudo cargar esta imagen. Prueba con otro archivo.',
|
|
],
|
|
|
|
'timezone' => [
|
|
'select' => 'Seleccionar zona horaria',
|
|
'search' => 'Buscar zona horaria...',
|
|
'empty' => 'No se encontró zona horaria',
|
|
],
|
|
|
|
'date_picker' => [
|
|
'select' => 'Seleccionar fecha',
|
|
],
|
|
|
|
'date_range_picker' => [
|
|
'placeholder' => 'Elige un período',
|
|
'today' => 'Hoy',
|
|
'yesterday' => 'Ayer',
|
|
'last_7_days' => 'Últimos 7 días',
|
|
'last_30_days' => 'Últimos 30 días',
|
|
'last_3_months' => 'Últimos 3 meses',
|
|
'last_6_months' => 'Últimos 6 meses',
|
|
'last_12_months' => 'Últimos 12 meses',
|
|
'this_month' => 'Este mes',
|
|
'last_month' => 'Mes pasado',
|
|
'year_to_date' => 'Desde inicio del año',
|
|
'last_year' => 'Año pasado',
|
|
],
|
|
|
|
'cancel' => 'Cancelar',
|
|
'clear' => 'Limpiar',
|
|
'close' => 'Cerrar',
|
|
'loading_more' => 'Cargando más...',
|
|
|
|
'actions' => [
|
|
'copy' => 'Copiar',
|
|
'copied' => 'Copiado',
|
|
'copy_failed' => 'No se pudo copiar al portapapeles',
|
|
],
|
|
];
|