trypost/lang/pl/common.php
Paulo Castellano 1af705f3fd
Localize calendar date pickers to the active UI locale (#234)
* Localize calendar date pickers to the active UI locale.

Pass the Inertia locale into Reka calendars, translate a11y labels, and use dayjs LL/LLL for DatePicker display text.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Localize remaining dayjs date displays across the UI.

Route list/calendar/preview timestamps through localized LL/LLL helpers so formats follow the active UI locale instead of English or Portuguese-locked patterns.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Use scheduled-or-now timestamps in platform previews.

Drive preview labels from the post schedule when set, localize Discord without dayjs calendar(), and expose a single formatPreviewPostedAt helper.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix preview schedule wiring and Discord/Facebook timestamp labels.

Restore hasPickedTime from any saved scheduled_at, keep time on non-today Discord labels, and use a localized just-now fallback for unschedled Facebook previews.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix API key expiry day shift and tighten calendar range titles.

Format date-only expiry in UTC calendar days, and use compact dayjs titles for calendar day/week headers.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Replace frontend date source greps with Inertia API key assertions.

Drop the Vue/TS file scanner and assert expiry calendar days through ApiKeyController props instead.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Localize calendar week titles with day-first dayjs formats.

Avoid English month-day order in week headers and chart axis labels so locales like pt-BR keep natural day-first dates.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Split preview timestamp formatting into named platform helpers.

Replace the style-switch formatPreviewPostedAt with clear per-platform helpers so call sites read as formatDiscordPreview / formatXPreview / etc.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 21:02:34 -03:00

70 lines
2 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' => 'Zaznacz obszar, który chcesz zachować.',
'crop_hint' => 'Przeciągnij, aby przesunąć, lub róg, aby zmienić rozmiar.',
'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',
],
'just_now' => 'Właśnie teraz',
'date_picker' => [
'label' => 'Wybór daty',
'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',
],
];