* 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
1.8 KiB
PHP
70 lines
1.8 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
|
|
'back' => 'Back',
|
|
|
|
'beta' => 'Beta',
|
|
|
|
'confirm_modal' => [
|
|
'cannot_be_undone' => 'This cannot be undone.',
|
|
'type' => 'Type',
|
|
'to_confirm' => 'to confirm.',
|
|
'copy_to_clipboard' => 'Copy to clipboard',
|
|
'delete_keyword' => 'delete',
|
|
],
|
|
|
|
'photo_upload' => [
|
|
'upload' => 'Upload',
|
|
'uploading' => 'Uploading...',
|
|
'remove' => 'Remove photo',
|
|
'hint' => 'Recommended: square image, max 2 MB.',
|
|
'crop_title' => 'Crop image',
|
|
'crop_description' => 'Select the area you want to keep.',
|
|
'crop_hint' => 'Drag to move, or a corner to resize.',
|
|
'crop_save' => 'Save',
|
|
'crop_cancel' => 'Cancel',
|
|
'crop_error' => 'Couldn\'t load this image. Try another file.',
|
|
],
|
|
|
|
'timezone' => [
|
|
'select' => 'Select timezone',
|
|
'search' => 'Search timezone...',
|
|
'empty' => 'No timezone found',
|
|
],
|
|
|
|
'just_now' => 'Just now',
|
|
|
|
'date_picker' => [
|
|
'label' => 'Date picker',
|
|
'select' => 'Select date',
|
|
],
|
|
|
|
'date_range_picker' => [
|
|
'placeholder' => 'Pick a date range',
|
|
'today' => 'Today',
|
|
'yesterday' => 'Yesterday',
|
|
'last_7_days' => 'Last 7 days',
|
|
'last_30_days' => 'Last 30 days',
|
|
'last_3_months' => 'Last 3 months',
|
|
'last_6_months' => 'Last 6 months',
|
|
'last_12_months' => 'Last 12 months',
|
|
'this_month' => 'This month',
|
|
'last_month' => 'Last month',
|
|
'year_to_date' => 'Year to date',
|
|
'last_year' => 'Last year',
|
|
],
|
|
|
|
'cancel' => 'Cancel',
|
|
'clear' => 'Clear',
|
|
'close' => 'Close',
|
|
'loading_more' => 'Loading more...',
|
|
|
|
'actions' => [
|
|
'copy' => 'Copy',
|
|
'copied' => 'Copied',
|
|
'copy_failed' => 'Failed to copy to clipboard',
|
|
],
|
|
];
|