- 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).
67 lines
2 KiB
PHP
67 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' => '시간대를 찾을 수 없습니다',
|
|
],
|
|
|
|
'date_picker' => [
|
|
'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' => '클립보드에 복사하지 못했습니다',
|
|
],
|
|
];
|