여러 화면에서 조건부(FormRequest) 검증이 우회되거나 과도하게 제한되던 결함을 한 계열로 묶어 수정한다. - 검증 규칙 확장 필터 이름 10개를 나머지 92개와 동일 규칙으로 통일 - 설명 길이를 바이트가 아닌 글자 수로 계산(한글 오검출 해소) - 비활성 언어팩 번역 보존한 채 수정 허용 - 알림 템플릿 제목 nullable 존중, 미지원 발송 수단 저장 차단 - 일정/실행 이력 목록 조회 검증 정합 - 게시판 첨부 미사용 시 빈 확장자 통과, new_display_hours/최소 길이 0 허용, 일괄 적용 override_values 범위 검증(SSoT) - 이커머스 클레임 사유 조회 검증, 용어 정정 - 원문 i18n 키 노출 다수 해소, 저장/삭제 실패 시 사유 화면 노출 - 아이콘 크기/다크모드 대비 회귀 수정 번들 확장(모듈3·플러그인6·템플릿2·언어팩5) 버전 new-bump 및 CHANGELOG 반영, ja 언어팩 동기.
88 lines
3.2 KiB
PHP
88 lines
3.2 KiB
PHP
<?php
|
|
|
|
return [
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Ecommerce Module Messages (English)
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
'order' => [
|
|
// Order creation
|
|
'created' => 'Your order has been placed.',
|
|
'create_failed' => 'Failed to create order.',
|
|
|
|
// Order status
|
|
'status_changed' => 'Order status has been changed.',
|
|
'cancelled' => 'Order has been cancelled.',
|
|
'cancel_failed' => 'Failed to cancel order.',
|
|
|
|
// Auto cancel
|
|
'auto_cancel_expired_reason' => 'Automatically cancelled due to payment deadline expiration',
|
|
|
|
// Payment
|
|
'payment_cancelled' => 'Payment cancellation has been recorded.',
|
|
'payment_pending' => 'Awaiting payment.',
|
|
'payment_completed' => 'Payment completed.',
|
|
'payment_failed' => 'Payment failed.',
|
|
|
|
// Stock
|
|
'stock_insufficient' => 'Insufficient stock.',
|
|
'stock_restored' => 'Stock has been restored.',
|
|
|
|
// Validation
|
|
'not_found' => 'Order not found.',
|
|
'invalid_status' => 'Invalid order status.',
|
|
'amount_mismatch' => 'Payment amount does not match.',
|
|
],
|
|
|
|
'address' => [
|
|
'created' => 'Address has been added.',
|
|
'create_failed' => 'Failed to add address.',
|
|
'updated' => 'Address has been updated.',
|
|
'update_failed' => 'Failed to update address.',
|
|
'deleted' => 'Address has been deleted.',
|
|
'delete_failed' => 'Failed to delete address.',
|
|
'not_found' => 'Address not found.',
|
|
'fetched' => 'Address retrieved.',
|
|
'fetch_failed' => 'Failed to retrieve address.',
|
|
'list_fetched' => 'Address list retrieved.',
|
|
'list_fetch_failed' => 'Failed to retrieve address list.',
|
|
'set_default' => 'Set as default address.',
|
|
'default_set' => 'Set as default address.',
|
|
'set_default_failed' => 'Failed to set default address.',
|
|
'name_duplicate' => 'An address with the same name already exists.',
|
|
'auto_saved_label' => 'Auto-saved address',
|
|
],
|
|
|
|
'cart' => [
|
|
'added' => 'Added to cart.',
|
|
'updated' => 'Cart has been updated.',
|
|
'removed' => 'Removed from cart.',
|
|
'empty' => 'Your cart is empty.',
|
|
],
|
|
|
|
'product' => [
|
|
'not_found' => 'Product not found.',
|
|
'not_available' => 'This product is currently not available.',
|
|
'option_not_found' => 'Product option not found.',
|
|
],
|
|
|
|
'coupon' => [
|
|
'applied' => 'Coupon applied.',
|
|
'removed' => 'Coupon removed.',
|
|
'invalid' => 'Invalid coupon.',
|
|
'expired' => 'This coupon has expired.',
|
|
'already_used' => 'This coupon has already been used.',
|
|
'min_amount_not_met' => 'Minimum order amount not met.',
|
|
],
|
|
|
|
'payment' => [
|
|
'method_not_supported' => 'Payment method not supported.',
|
|
'dbank_account_required' => 'Please select a bank account for bank transfer.',
|
|
'depositor_name_required' => 'Please enter the depositor name.',
|
|
'provider_not_found' => 'Payment provider not found.',
|
|
'client_config_success' => 'Payment client configuration retrieved.',
|
|
],
|
|
];
|