trypost/lang/es/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
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' => 'Arrastra y haz zoom para encuadrarla.',
'crop_hint' => 'Arrastra para reposicionar',
'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',
],
];