diff --git a/composer.json b/composer.json index 2c34210c0c..6923cf2b5c 100644 --- a/composer.json +++ b/composer.json @@ -75,7 +75,7 @@ "pint", "npm run prettier" ], - "pint": "pint", + "pint": "pint --config pint-strict-imports.json", "test:pest": "pest --parallel", "test:phpstan": "phpstan analyse", "test": [ diff --git a/composer.lock b/composer.lock index f36978d51a..42442888a9 100644 --- a/composer.lock +++ b/composer.lock @@ -12742,5 +12742,5 @@ "composer-runtime-api": "^2.1" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/packages/actions/resources/lang/ko/export.php b/packages/actions/resources/lang/ko/export.php new file mode 100644 index 0000000000..0636d1750f --- /dev/null +++ b/packages/actions/resources/lang/ko/export.php @@ -0,0 +1,77 @@ + '내보내기', + + 'modal' => [ + + 'heading' => ':label 내보내기', + + 'form' => [ + + 'columns' => [ + + 'label' => '열', + + 'form' => [ + + 'is_enabled' => [ + 'label' => ':column 활성화됨', + ], + + 'label' => [ + 'label' => ':column 라벨', + ], + + ], + + ], + + ], + + 'actions' => [ + + 'export' => [ + 'label' => '내보내기', + ], + + ], + + ], + + 'notifications' => [ + + 'completed' => [ + + 'title' => '내보내기 완료', + + 'actions' => [ + + 'download_csv' => [ + 'label' => '.csv 다운로드', + ], + + 'download_xlsx' => [ + 'label' => '.xlsx 다운로드', + ], + + ], + + ], + + 'max_rows' => [ + 'title' => '내보내기가 너무 큽니다', + 'body' => '한 번에 1개 이상의 행을 내보낼 수 없습니다.|한 번에 :count개 이상의 행을 내보낼 수 없습니다.', + ], + + 'started' => [ + 'title' => '내보내기 시작됨', + 'body' => '내보내기가 시작되었으며 1개의 행이 백그라운드에서 처리됩니다.|내보내기가 시작되었으며 :count개의 행이 백그라운드에서 처리됩니다.', + ], + + ], + + 'file_name' => '내보내기-:export_id-:model', + +]; diff --git a/packages/actions/resources/lang/ko/import.php b/packages/actions/resources/lang/ko/import.php new file mode 100644 index 0000000000..5c597dd22d --- /dev/null +++ b/packages/actions/resources/lang/ko/import.php @@ -0,0 +1,77 @@ + '가져오기', + + 'modal' => [ + + 'heading' => ':label 가져오기', + + 'form' => [ + + 'file' => [ + 'label' => '파일', + 'placeholder' => 'CSV 파일 업로드', + ], + + 'columns' => [ + 'label' => '열', + 'placeholder' => '열을 선택하세요', + ], + + ], + + 'actions' => [ + + 'download_example' => [ + 'label' => '예시 CSV 파일 다운로드', + ], + + 'import' => [ + 'label' => '가져오기', + ], + + ], + + ], + + 'notifications' => [ + + 'completed' => [ + + 'title' => '가져오기 완료', + + 'actions' => [ + + 'download_failed_rows_csv' => [ + 'label' => '실패한 행에 대한 정보 다운로드|실패한 행에 대한 정보 다운로드', + ], + + ], + + ], + + 'max_rows' => [ + 'title' => '업로드된 CSV 파일이 너무 큽니다.', + 'body' => '한 번에 1개 이상의 행을 가져올 수 없습니다.|한 번에 :count개 이상의 행을 가져올 수 없습니다.', + ], + + 'started' => [ + 'title' => '가져오기가 시작되었습니다.', + 'body' => '가져오기가 시작되었으며 1개의 행이 백그라운드에서 처리됩니다.|가져오기가 시작되었으며 :count개의 행이 백그라운드에서 처리됩니다.', + ], + + ], + + 'example_csv' => [ + 'file_name' => ':importer-example', + ], + + 'failure_csv' => [ + 'file_name' => 'import-:import_id-:csv_name-failed-rows', + 'error_header' => '오류', + 'system_error' => '시스템 오류입니다. 지원팀에 문의하세요.', + ], + +]; diff --git a/packages/forms/resources/js/components/markdown-editor/EasyMDE.js b/packages/forms/resources/js/components/markdown-editor/EasyMDE.js index e221b28040..6d40989459 100644 --- a/packages/forms/resources/js/components/markdown-editor/EasyMDE.js +++ b/packages/forms/resources/js/components/markdown-editor/EasyMDE.js @@ -124,7 +124,7 @@ function removeListStyleWhenCheckbox(htmlText) { listItemChild instanceof HTMLInputElement && listItemChild.type === 'checkbox' ) { - // From Github: margin: 0 .2em .25em -1.6em; + // From GitHub: margin: 0 .2em .25em -1.6em; listItem.style.marginLeft = '-1.5em' listItem.style.listStyleType = 'none' } diff --git a/packages/forms/resources/lang/ko/components.php b/packages/forms/resources/lang/ko/components.php index 11f6e0d78e..707571a5c5 100644 --- a/packages/forms/resources/lang/ko/components.php +++ b/packages/forms/resources/lang/ko/components.php @@ -185,6 +185,15 @@ return [ ], + 'svg' => [ + + 'messages' => [ + 'confirmation' => 'SVG 파일을 편집하는 것은 크기 조정 시 품질 손실이 발생할 수 있으므로 권장되지 않습니다.\n 계속하시겠습니까?', + 'disabled' => 'SVG 파일 편집은 크기 조정 시 품질 손실이 발생할 수 있으므로 비활성화되었습니다.', + ], + + ], + ], ], @@ -241,6 +250,15 @@ return [ ], + 'radio' => [ + + 'boolean' => [ + 'true' => '예', + 'false' => '아니오', + ], + + ], + 'repeater' => [ 'actions' => [ @@ -401,6 +419,31 @@ return [ 'placeholder' => '새 태그', ], + 'text_input' => [ + + 'actions' => [ + + 'hide_password' => [ + 'label' => '비밀번호 숨기기', + ], + + 'show_password' => [ + 'label' => '비밀번호 표시', + ], + + ], + + ], + + 'toggle_buttons' => [ + + 'boolean' => [ + 'true' => '예', + 'false' => '아니오', + ], + + ], + 'wizard' => [ 'actions' => [ diff --git a/packages/forms/resources/lang/ko/validation.php b/packages/forms/resources/lang/ko/validation.php new file mode 100644 index 0000000000..45c1ef95fe --- /dev/null +++ b/packages/forms/resources/lang/ko/validation.php @@ -0,0 +1,10 @@ + [ + 'must_be_selected' => ':attribute 필드 중 하나 이상을 선택해야 합니다.', + 'only_one_must_be_selected' => ':attribute 필드 중 하나만 선택해야 합니다.', + ], + +]; diff --git a/packages/infolists/resources/lang/ko/components.php b/packages/infolists/resources/lang/ko/components.php index e79a58ac3f..330e08f5fb 100644 --- a/packages/infolists/resources/lang/ko/components.php +++ b/packages/infolists/resources/lang/ko/components.php @@ -2,8 +2,37 @@ return [ - 'text_entry' => [ - 'more_list_items' => ':count 항목이 더 있습니다', + 'entries' => [ + + 'text' => [ + + 'actions' => [ + 'collapse_list' => ':count 개 더 접기', + 'expand_list' => ':count 개 더 펼치기', + ], + + 'more_list_items' => '그리고 :count 개 더', + + ], + + 'key_value' => [ + + 'columns' => [ + + 'key' => [ + 'label' => '키', + ], + + 'value' => [ + 'label' => '값', + ], + + ], + + 'placeholder' => '항목 없음', + + ], + ], ]; diff --git a/packages/notifications/resources/views/notification.blade.php b/packages/notifications/resources/views/notification.blade.php index dc6ddd3ef2..34b76f2f11 100644 --- a/packages/notifications/resources/views/notification.blade.php +++ b/packages/notifications/resources/views/notification.blade.php @@ -1,17 +1,25 @@ @php + use Filament\Notifications\Livewire\Notifications; use Filament\Support\Enums\Alignment; use Filament\Support\Enums\VerticalAlignment; + use Illuminate\Support\Arr; $color = $getColor() ?? 'gray'; $isInline = $isInline(); + $title = $getTitle(); + $hasTitle = filled($title); + $date = $getDate(); + $hasDate = filled($date); + $body = $getBody(); + $hasBody = filled($body); @endphp - @if (filled($title = $getTitle())) + @if ($hasTitle) {{ str($title)->sanitizeHtml()->toHtmlString() }} @endif - @if (filled($date = $getDate())) - + @if ($hasDate) + $hasTitle])> {{ $date }} @endif - @if (filled($body = $getBody())) - + @if ($hasBody) + $hasTitle || $hasDate]) + > {{ str($body)->sanitizeHtml()->toHtmlString() }} @endif @@ -94,7 +104,7 @@ @if ($actions = $getActions()) $hasTitle || $hasDate || $hasBody]) /> @endif diff --git a/packages/panels/resources/lang/ko/pages/dashboard.php b/packages/panels/resources/lang/ko/pages/dashboard.php index fb9e3339bb..29caec7f70 100644 --- a/packages/panels/resources/lang/ko/pages/dashboard.php +++ b/packages/panels/resources/lang/ko/pages/dashboard.php @@ -4,4 +4,30 @@ return [ 'title' => '대시보드', + 'actions' => [ + + 'filter' => [ + + 'label' => '필터', + + 'modal' => [ + + 'heading' => '필터', + + 'actions' => [ + + 'apply' => [ + + 'label' => '적용', + + ], + + ], + + ], + + ], + + ], + ]; diff --git a/packages/panels/resources/views/components/tenant-menu.blade.php b/packages/panels/resources/views/components/tenant-menu.blade.php index 8f550eab83..a0885680c9 100644 --- a/packages/panels/resources/views/components/tenant-menu.blade.php +++ b/packages/panels/resources/views/components/tenant-menu.blade.php @@ -30,8 +30,8 @@