trypost/lang/ko/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' => '뒤로',
'beta' => '베타',
'confirm_modal' => [
'cannot_be_undone' => '이 작업은 되돌릴 수 없습니다.',
'type' => '입력',
'to_confirm' => '하여 확인하세요.',
'copy_to_clipboard' => '클립보드에 복사',
'delete_keyword' => '삭제',
],
'photo_upload' => [
'upload' => '업로드',
'uploading' => '업로드 중...',
'remove' => '사진 제거',
'hint' => '권장: 정사각형 이미지, 최대 2MB.',
'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' => '클립보드에 복사하지 못했습니다',
],
];