* 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>
70 lines
2.6 KiB
PHP
70 lines
2.6 KiB
PHP
<?php
|
||
|
||
declare(strict_types=1);
|
||
|
||
return [
|
||
|
||
'back' => 'Назад',
|
||
|
||
'beta' => 'Бета',
|
||
|
||
'confirm_modal' => [
|
||
'cannot_be_undone' => 'Это действие нельзя отменить.',
|
||
'type' => 'Введите',
|
||
'to_confirm' => 'для подтверждения.',
|
||
'copy_to_clipboard' => 'Копировать в буфер обмена',
|
||
'delete_keyword' => 'удалить',
|
||
],
|
||
|
||
'photo_upload' => [
|
||
'upload' => 'Загрузить',
|
||
'uploading' => 'Загрузка...',
|
||
'remove' => 'Удалить фото',
|
||
'hint' => 'Рекомендуется: квадратное изображение, до 2 МБ.',
|
||
'crop_title' => 'Обрезать изображение',
|
||
'crop_description' => 'Выберите область, которую нужно оставить.',
|
||
'crop_hint' => 'Перетащите, чтобы переместить, или угол — чтобы изменить размер.',
|
||
'crop_save' => 'Сохранить',
|
||
'crop_cancel' => 'Отмена',
|
||
'crop_error' => 'Не удалось загрузить это изображение. Попробуйте другой файл.',
|
||
],
|
||
|
||
'timezone' => [
|
||
'select' => 'Выберите часовой пояс',
|
||
'search' => 'Поиск часового пояса...',
|
||
'empty' => 'Часовой пояс не найден',
|
||
],
|
||
|
||
'just_now' => 'Только что',
|
||
|
||
'date_picker' => [
|
||
'label' => 'Выбор даты',
|
||
'select' => 'Выберите дату',
|
||
],
|
||
|
||
'date_range_picker' => [
|
||
'placeholder' => 'Выберите диапазон дат',
|
||
'today' => 'Сегодня',
|
||
'yesterday' => 'Вчера',
|
||
'last_7_days' => 'Последние 7 дней',
|
||
'last_30_days' => 'Последние 30 дней',
|
||
'last_3_months' => 'Последние 3 месяца',
|
||
'last_6_months' => 'Последние 6 месяцев',
|
||
'last_12_months' => 'Последние 12 месяцев',
|
||
'this_month' => 'Этот месяц',
|
||
'last_month' => 'Прошлый месяц',
|
||
'year_to_date' => 'С начала года',
|
||
'last_year' => 'Прошлый год',
|
||
],
|
||
|
||
'cancel' => 'Отмена',
|
||
'clear' => 'Очистить',
|
||
'close' => 'Закрыть',
|
||
'loading_more' => 'Загрузка...',
|
||
|
||
'actions' => [
|
||
'copy' => 'Копировать',
|
||
'copied' => 'Скопировано',
|
||
'copy_failed' => 'Не удалось скопировать в буфер обмена',
|
||
],
|
||
];
|