From 0902cff09a82a48f4bdd39574e3a4736a66770c2 Mon Sep 17 00:00:00 2001 From: daxpay Date: Tue, 4 Aug 2026 12:02:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(i18n):=20=E4=B9=90=E5=88=B7=E8=A1=A5=20isvK?= =?UTF-8?q?eyNotConfigured/merchantDuplicate=202=20key(10=E8=AF=AD?= =?UTF-8?q?=E7=A7=8D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 代码中 LeshuaIsvKeyConfigService/LeshuaIsvChannelMerchantService 引用了这两个 key 但 i18n 文件中缺失, 会导致非默认语种控制台 Fall back 警告。 文案照 dougong.json 同 key 替换品牌名(斗拱→乐刷/樂刷/Leshua)。 --- .../src/main/resources/i18n/en-US/error/channel/leshua.json | 4 +++- .../src/main/resources/i18n/id-ID/error/channel/leshua.json | 4 +++- .../src/main/resources/i18n/ja-JP/error/channel/leshua.json | 4 +++- .../src/main/resources/i18n/ko-KR/error/channel/leshua.json | 4 +++- .../src/main/resources/i18n/ms-MY/error/channel/leshua.json | 4 +++- .../src/main/resources/i18n/th-TH/error/channel/leshua.json | 4 +++- .../src/main/resources/i18n/vi-VN/error/channel/leshua.json | 4 +++- .../src/main/resources/i18n/zh-CN/error/channel/leshua.json | 4 +++- .../src/main/resources/i18n/zh-HK/error/channel/leshua.json | 4 +++- .../src/main/resources/i18n/zh-TW/error/channel/leshua.json | 4 +++- 10 files changed, 30 insertions(+), 10 deletions(-) diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/error/channel/leshua.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/error/channel/leshua.json index 23fe0d326..ddd0f22ef 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/error/channel/leshua.json +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/error/channel/leshua.json @@ -2,5 +2,7 @@ "payFailed": "Leshua payment error: {0}", "refundFailed": "Leshua refund error: {0}", "closeFailed": "Leshua close order error: {0}", - "unsupportedPayMethod": "Unsupported payment method for Leshua: {0}" + "unsupportedPayMethod": "Unsupported payment method for Leshua: {0}", + "isvKeyNotConfigured": "Leshua service provider key not configured", + "merchantDuplicate": "A Leshua merchant number already exists under this merchant" } diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/id-ID/error/channel/leshua.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/id-ID/error/channel/leshua.json index 4ef34379d..bf90e8f26 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/id-ID/error/channel/leshua.json +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/id-ID/error/channel/leshua.json @@ -2,5 +2,7 @@ "payFailed": "Kesalahan pembayaran Leshua: {0}", "refundFailed": "Kesalahan pengembalian dana Leshua: {0}", "closeFailed": "Kesalahan menutup pesanan Leshua: {0}", - "unsupportedPayMethod": "Metode pembayaran tidak didukung untuk Leshua: {0}" + "unsupportedPayMethod": "Metode pembayaran tidak didukung untuk Leshua: {0}", + "isvKeyNotConfigured": "Kunci penyedia layanan Leshua tidak dikonfigurasi", + "merchantDuplicate": "Nomor merchant Leshua sudah ada di bawah merchant ini" } diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/ja-JP/error/channel/leshua.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/ja-JP/error/channel/leshua.json index 4a123184a..202d373ca 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/ja-JP/error/channel/leshua.json +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/ja-JP/error/channel/leshua.json @@ -2,5 +2,7 @@ "payFailed": "Leshua支払エラー: {0}", "refundFailed": "Leshua返金エラー: {0}", "closeFailed": "Leshua注文クローズエラー: {0}", - "unsupportedPayMethod": "Leshuaでサポートされていない支払方法: {0}" + "unsupportedPayMethod": "Leshuaでサポートされていない支払方法: {0}", + "isvKeyNotConfigured": "Leshuaサービスプロバイダキーが設定されていません", + "merchantDuplicate": "このマーチャントの下にLeshuaマーチャント番号がすでに存在します" } diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/ko-KR/error/channel/leshua.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/ko-KR/error/channel/leshua.json index be04fd5f7..e4e80e21c 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/ko-KR/error/channel/leshua.json +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/ko-KR/error/channel/leshua.json @@ -2,5 +2,7 @@ "payFailed": "Leshua 결제 오류: {0}", "refundFailed": "Leshua 환불 오류: {0}", "closeFailed": "Leshua 주문 종료 오류: {0}", - "unsupportedPayMethod": "Leshua에서 지원하지 않는 결제 방식: {0}" + "unsupportedPayMethod": "Leshua에서 지원하지 않는 결제 방식: {0}", + "isvKeyNotConfigured": "Leshua 서비스 제공자 키가 구성되지 않았습니다", + "merchantDuplicate": "이 가맹점에 이미 Leshua 가맹점 번호가 존재합니다" } diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/ms-MY/error/channel/leshua.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/ms-MY/error/channel/leshua.json index 886b32411..6d9523081 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/ms-MY/error/channel/leshua.json +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/ms-MY/error/channel/leshua.json @@ -2,5 +2,7 @@ "payFailed": "Ralat pembayaran Leshua: {0}", "refundFailed": "Ralat bayaran balik Leshua: {0}", "closeFailed": "Ralat tutup pesanan Leshua: {0}", - "unsupportedPayMethod": "Kaedah pembayaran tidak disokong untuk Leshua: {0}" + "unsupportedPayMethod": "Kaedah pembayaran tidak disokong untuk Leshua: {0}", + "isvKeyNotConfigured": "Kunci penyedia perkhidmatan Leshua tidak dikonfigurasi", + "merchantDuplicate": "Nombor merchant Leshua sudah wujud di bawah merchant ini" } diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/th-TH/error/channel/leshua.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/th-TH/error/channel/leshua.json index 1188d30dd..341496e27 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/th-TH/error/channel/leshua.json +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/th-TH/error/channel/leshua.json @@ -2,5 +2,7 @@ "payFailed": "ข้อผิดพลาดการชำระเงิน Leshua: {0}", "refundFailed": "ข้อผิดพลาดการคืนเงิน Leshua: {0}", "closeFailed": "ข้อผิดพลาดการปิดคำสั่ง Leshua: {0}", - "unsupportedPayMethod": "วิธีการชำระเงินไม่ได้รับการสนับสนุนสำหรับ Leshua: {0}" + "unsupportedPayMethod": "วิธีการชำระเงินไม่ได้รับการสนับสนุนสำหรับ Leshua: {0}", + "isvKeyNotConfigured": "ไม่ได้กำหนดค่าคีย์ผู้ให้บริการ Leshua", + "merchantDuplicate": "หมายเลขผู้ค้า Leshua มีอยู่แล้วภายใต้ผู้ค้ารายนี้" } diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/vi-VN/error/channel/leshua.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/vi-VN/error/channel/leshua.json index ae29eba91..3640d7923 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/vi-VN/error/channel/leshua.json +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/vi-VN/error/channel/leshua.json @@ -2,5 +2,7 @@ "payFailed": "Lỗi thanh toán Leshua: {0}", "refundFailed": "Lỗi hoàn tiền Leshua: {0}", "closeFailed": "Lỗi đóng đơn hàng Leshua: {0}", - "unsupportedPayMethod": "Phương thức thanh toán không được hỗ trợ cho Leshua: {0}" + "unsupportedPayMethod": "Phương thức thanh toán không được hỗ trợ cho Leshua: {0}", + "isvKeyNotConfigured": "Khóa nhà cung cấp dịch vụ Leshua chưa được cấu hình", + "merchantDuplicate": "Số merchant Leshua đã tồn tại dưới merchant này" } diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/error/channel/leshua.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/error/channel/leshua.json index 213e7471d..dc731bf2b 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/error/channel/leshua.json +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/error/channel/leshua.json @@ -2,5 +2,7 @@ "payFailed": "乐刷支付异常: {0}", "refundFailed": "乐刷退款异常: {0}", "closeFailed": "乐刷关闭订单异常: {0}", - "unsupportedPayMethod": "乐刷不支持的支付方式: {0}" + "unsupportedPayMethod": "乐刷不支持的支付方式: {0}", + "isvKeyNotConfigured": "乐刷服务商密钥未配置", + "merchantDuplicate": "该商户下已存在此乐刷商户号" } diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/leshua.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/leshua.json index ae2abc5d9..14ce0cb89 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/leshua.json +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/leshua.json @@ -2,5 +2,7 @@ "payFailed": "樂刷支付異常: {0}", "refundFailed": "樂刷退款異常: {0}", "closeFailed": "樂刷關閉訂單異常: {0}", - "unsupportedPayMethod": "樂刷不支援的支付方式: {0}" + "unsupportedPayMethod": "樂刷不支援的支付方式: {0}", + "isvKeyNotConfigured": "樂刷服務商金鑰未配置", + "merchantDuplicate": "該商戶下已存在此樂刷商戶號" } diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/leshua.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/leshua.json index ae2abc5d9..14ce0cb89 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/leshua.json +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/leshua.json @@ -2,5 +2,7 @@ "payFailed": "樂刷支付異常: {0}", "refundFailed": "樂刷退款異常: {0}", "closeFailed": "樂刷關閉訂單異常: {0}", - "unsupportedPayMethod": "樂刷不支援的支付方式: {0}" + "unsupportedPayMethod": "樂刷不支援的支付方式: {0}", + "isvKeyNotConfigured": "樂刷服務商金鑰未配置", + "merchantDuplicate": "該商戶下已存在此樂刷商戶號" }