trypost/lang/pl/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' => 'Wstecz',
'beta' => 'Beta',
'confirm_modal' => [
'cannot_be_undone' => 'Tej operacji nie można cofnąć.',
'type' => 'Wpisz',
'to_confirm' => 'aby potwierdzić.',
'copy_to_clipboard' => 'Kopiuj do schowka',
'delete_keyword' => 'usuń',
],
'photo_upload' => [
'upload' => 'Prześlij',
'uploading' => 'Przesyłanie...',
'remove' => 'Usuń zdjęcie',
'hint' => 'Zalecane: kwadratowe zdjęcie, maks. 2 MB.',
'crop_title' => 'Przytnij obraz',
'crop_description' => 'Przeciągnij i powiększ, aby wykadrować.',
'crop_hint' => 'Przeciągnij, aby zmienić położenie',
'crop_save' => 'Zapisz',
'crop_cancel' => 'Anuluj',
'crop_error' => 'Nie można załadować tego obrazu. Spróbuj innego pliku.',
],
'timezone' => [
'select' => 'Wybierz strefę czasową',
'search' => 'Szukaj strefy czasowej...',
'empty' => 'Nie znaleziono strefy czasowej',
],
'date_picker' => [
'select' => 'Wybierz datę',
],
'date_range_picker' => [
'placeholder' => 'Wybierz zakres dat',
'today' => 'Dziś',
'yesterday' => 'Wczoraj',
'last_7_days' => 'Ostatnie 7 dni',
'last_30_days' => 'Ostatnie 30 dni',
'last_3_months' => 'Ostatnie 3 miesiące',
'last_6_months' => 'Ostatnie 6 miesięcy',
'last_12_months' => 'Ostatnie 12 miesięcy',
'this_month' => 'Ten miesiąc',
'last_month' => 'Poprzedni miesiąc',
'year_to_date' => 'Od początku roku',
'last_year' => 'Poprzedni rok',
],
'cancel' => 'Anuluj',
'clear' => 'Wyczyść',
'close' => 'Zamknij',
'loading_more' => 'Wczytywanie kolejnych...',
'actions' => [
'copy' => 'Kopiuj',
'copied' => 'Skopiowano',
'copy_failed' => 'Nie udało się skopiować do schowka',
],
];