trypost/lang/fr/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
2 KiB
PHP

<?php
declare(strict_types=1);
return [
'back' => 'Retour',
'beta' => 'Bêta',
'confirm_modal' => [
'cannot_be_undone' => 'Cette action est irréversible.',
'type' => 'Saisissez',
'to_confirm' => 'pour confirmer.',
'copy_to_clipboard' => 'Copier dans le presse-papiers',
'delete_keyword' => 'supprimer',
],
'photo_upload' => [
'upload' => 'Importer',
'uploading' => 'Import en cours...',
'remove' => 'Supprimer la photo',
'hint' => 'Recommandé : image carrée, 2 Mo maximum.',
'crop_title' => 'Recadrer l\'image',
'crop_description' => 'Faites glisser et zoomez pour cadrer.',
'crop_hint' => 'Faites glisser pour repositionner',
'crop_save' => 'Enregistrer',
'crop_cancel' => 'Annuler',
'crop_error' => 'Impossible de charger cette image. Essayez un autre fichier.',
],
'timezone' => [
'select' => 'Sélectionner un fuseau horaire',
'search' => 'Rechercher un fuseau horaire...',
'empty' => 'Aucun fuseau horaire trouvé',
],
'date_picker' => [
'select' => 'Sélectionner une date',
],
'date_range_picker' => [
'placeholder' => 'Choisir une plage de dates',
'today' => 'Aujourd\'hui',
'yesterday' => 'Hier',
'last_7_days' => '7 derniers jours',
'last_30_days' => '30 derniers jours',
'last_3_months' => '3 derniers mois',
'last_6_months' => '6 derniers mois',
'last_12_months' => '12 derniers mois',
'this_month' => 'Ce mois-ci',
'last_month' => 'Le mois dernier',
'year_to_date' => 'Depuis le début de l\'année',
'last_year' => 'L\'année dernière',
],
'cancel' => 'Annuler',
'clear' => 'Effacer',
'close' => 'Fermer',
'loading_more' => 'Chargement...',
'actions' => [
'copy' => 'Copier',
'copied' => 'Copié',
'copy_failed' => 'Échec de la copie dans le presse-papiers',
],
];