Browse Source

完成国际化翻译

xudm 2 months ago
parent
commit
e82fdf9533

+ 2 - 0
src/main/java/com/xs/core/XsTgGameApplication.java

@@ -3,9 +3,11 @@ package com.xs.core;
 import org.mybatis.spring.annotation.MapperScan;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.scheduling.annotation.EnableScheduling;
 
 @SpringBootApplication
 @MapperScan(basePackages = {"com.xs.core.mapper"})
+@EnableScheduling
 public class XsTgGameApplication {
 
     public static void main(String[] args) {

+ 1 - 1
src/main/java/com/xs/core/config/i18n/LocaleConfig.java

@@ -13,7 +13,7 @@ public class LocaleConfig {
     public LocaleResolver localeResolver() {
         SessionLocaleResolver slr = new SessionLocaleResolver();
 //        slr.setDefaultLocale(Locale.ENGLISH);
-        slr.setDefaultLocale(Locale.SIMPLIFIED_CHINESE); // 设置默认语言为简体中文
+        slr.setDefaultLocale(Locale.TRADITIONAL_CHINESE); // 设置默认语言为繁体中文
         return slr;
     }
 }

+ 3 - 3
src/main/resources/application-dev.yml

@@ -1,7 +1,7 @@
 spring:
   data:
     redis:
-      host: 192.168.241.132
+      host: 192.168.241.133
       port: 6379
       password: xudm5200
       database: 6
@@ -17,7 +17,7 @@ spring:
           min-idle: 2
   datasource:
     driver-class-name: com.mysql.cj.jdbc.Driver
-    url: jdbc:mysql://192.168.241.132:3306/continew?useUnicode=true&characterEncoding=utf-8&useSSL=false
+    url: jdbc:mysql://192.168.241.133:3306/continew?useUnicode=true&characterEncoding=utf-8&useSSL=false
     username: continew
     password: continew123456
     hikari:
@@ -38,7 +38,7 @@ spring:
       initialization-fail-timeout: 60000
   rabbitmq:
     virtual-host: /
-    host: 192.168.241.132
+    host: 192.168.241.133
     port: 5672
     username: admin
     password: admin

+ 36 - 0
src/main/resources/messages/messages_es.properties

@@ -0,0 +1,36 @@
+response.success=Operación exitosa
+response.server.error=Error del servidor
+response.not.found=Recurso no encontrado
+response.unsupported.media.type=Tipo de medio no soportado
+response.request.too.large=Cuerpo de la solicitud demasiado grande
+response.bad.request=Parámetros de solicitud inválidos
+response.forbidden=Sin permiso
+response.unauthorized=Usuario no conectado o información de usuario vacía
+response.failed=Operación fallida
+response.expected.file.missing=Falta el archivo esperado
+request.api.not.exists=La API solicitada no existe
+response.error.encrypt=Error de encriptación/desencriptación
+no.gold.claimed=No hay monedas de oro para reclamar
+response.user.disable=Esta cuenta ha sido deshabilitada. Por favor, contacte al administrador si tiene alguna pregunta
+error.gold.product.record.not.exists=La regla de actualización de la tasa de producción de monedas de oro no existe
+error.gold.product.not.start=El usuario no ha iniciado la producción de monedas de oro
+error.gold.product.end=La producción de monedas de oro ha terminado o no se ha iniciado, el impulso ya no es efectivo
+error.gold.product.coin.not.claimed=Monedas de oro no reclamadas, no se puede reiniciar la producción
+error.gold.product.exists=Producción de monedas de oro en progreso, no se puede iniciar de nuevo
+error.gold.boost.temporary.exists=Ya existe una tasa temporal para el lote de producción actual, no se permite la actualización
+error.gold.insufficient=Monedas de oro insuficientes
+error.not.exists=El registro {2} con {0} [{1}] ya no existe
+error.exists=El registro {2} con {0} [{1}] ya existe
+response.validation.failed=La validación de entrada falló
+validation.team.type=El tipo de equipo no puede estar vacío
+validation.team.claim.ruleId=El ID de la regla no puede estar vacío
+validation.login.tg.id.not.null=El ID de la cuenta TG no puede estar vacío
+error.team.share.reward.empty=No hay recompensas de equipo disponibles para reclamar
+error.team.invite.reward.empty=No hay recompensas de invitación disponibles para reclamar
+error.team.invite.reward.task.claim.done=Tarea de invitación completada
+error.team.invite.reward.task.claim.exists=La recompensa de invitación para este nivel ya ha sido reclamada
+error.team.invite.reward.task.claim.previous.not.claim=La recompensa de invitación del nivel anterior no ha sido reclamada
+error.team.invite.reward.task.claim.not.enough=Tarea de invitación actual no completada, número insuficiente de amigos invitados
+error.team.invite.reward.task.claim.not.found=Regla de recompensa de invitación no encontrada
+error.task.handle.id.is.null=El ID de la tarea no puede estar vacío
+error.task.handle.not.exist=La tarea no existe

+ 36 - 24
src/main/resources/messages/messages_fa.properties

@@ -1,24 +1,36 @@
-response.success=操作成功
-response.server.error=服务器错误
-response.not.found=找不到资源
-response.unsupported.media.type=不支持的媒体类型
-response.request.too.large=请求体过大
-response.bad.request=请求参数错误
-response.forbidden=没有权限
-response.unauthorized=用户未登录或用户信息为空
-response.failed=操作失败
-response.expected.file.missing=预期的文件缺失
-request.api.not.exists=请求的接口不存在
-response.error.encrypt=加解密错误
-no.gold.claimed=没有待领取的金币
-response.user.disable=此账号已被禁用,如有疑问,请联系管理员
-error.gold.product.record.not.exists=金币产出速率升级规则不存在
-error.gold.product.not.start=用户未开启金币产出
-error.gold.product.end=金币产出结束或未开启金币产出,加成已失效
-error.gold.product.coin.not.claimed=待领取的金币未领取,不能重复开启
-error.gold.product.exists=金币产出中,不能重复开启
-error.gold.boost.temporary.exists=当前生产批次已存在临时速率,暂不允许升级
-error.gold.insufficient=金币不足
-error.not.exists={0} 为 [{1}] 的 {2} 记录已不存在
-error.exists={0} 为 [{1}] 的 {2} 记录已存在
-validation.team.type=团队类型不能为空
+response.success=عملیات موفقیت‌آمیز بود
+response.server.error=خطای سرور
+response.not.found=منبع یافت نشد
+response.unsupported.media.type=نوع رسانه پشتیبانی نشده
+response.request.too.large=بدنه درخواست بیش از حد بزرگ است
+response.bad.request=پارامترهای درخواست نامعتبر
+response.forbidden=دسترسی ممنوع
+response.unauthorized=کاربر وارد نشده یا اطلاعات کاربر خالی است
+response.failed=عملیات ناموفق بود
+response.expected.file.missing=فایل مورد انتظار یافت نشد
+request.api.not.exists=API درخواستی وجود ندارد
+response.error.encrypt=خطا در رمزگذاری/رمزگشایی
+no.gold.claimed=سکه طلایی برای دریافت وجود ندارد
+response.user.disable=این حساب غیرفعال شده است. در صورت داشتن سوال، لطفا با مدیر تماس بگیرید
+error.gold.product.record.not.exists=قانون ارتقاء نرخ تولید سکه طلا وجود ندارد
+error.gold.product.not.start=کاربر تولید سکه طلا را شروع نکرده است
+error.gold.product.end=تولید سکه طلا به پایان رسیده یا شروع نشده است، افزایش دیگر موثر نیست
+error.gold.product.coin.not.claimed=سکه‌های طلای دریافت نشده، نمی‌توان تولید را مجدداً شروع کرد
+error.gold.product.exists=تولید سکه طلا در حال انجام است، نمی‌توان دوباره شروع کرد
+error.gold.boost.temporary.exists=نرخ موقت برای دسته تولید فعلی وجود دارد، ارتقاء مجاز نیست
+error.gold.insufficient=سکه طلای ناکافی
+error.not.exists=رکورد {2} با {0} [{1}] دیگر وجود ندارد
+error.exists=رکورد {2} با {0} [{1}] قبلاً وجود دارد
+response.validation.failed=اعتبارسنجی ورودی ناموفق بود
+validation.team.type=نوع تیم نمی‌تواند خالی باشد
+validation.team.claim.ruleId=شناسه قانون نمی‌تواند خالی باشد
+validation.login.tg.id.not.null=شناسه حساب TG نمی‌تواند خالی باشد
+error.team.share.reward.empty=پاداش تیمی برای دریافت وجود ندارد
+error.team.invite.reward.empty=پاداش دعوت برای دریافت وجود ندارد
+error.team.invite.reward.task.claim.done=وظیفه دعوت تکمیل شده است
+error.team.invite.reward.task.claim.exists=پاداش دعوت برای این سطح قبلاً دریافت شده است
+error.team.invite.reward.task.claim.previous.not.claim=پاداش دعوت سطح قبلی دریافت نشده است
+error.team.invite.reward.task.claim.not.enough=وظیفه دعوت فعلی تکمیل نشده است، تعداد دوستان دعوت شده ناکافی است
+error.team.invite.reward.task.claim.not.found=قانون پاداش دعوت یافت نشد
+error.task.handle.id.is.null=شناسه وظیفه نمی‌تواند خالی باشد
+error.task.handle.not.exist=وظیفه وجود ندارد

+ 36 - 24
src/main/resources/messages/messages_ja.properties

@@ -1,24 +1,36 @@
-response.success=cessfasfa
-response.server.error=服务器错误
-response.not.found=找不到资源
-response.unsupported.media.type=不支持的媒体类型
-response.request.too.large=请求体过大
-response.bad.request=请求参数错误
-response.forbidden=没有权限
-response.unauthorized=用户未登录或用户信息为空
-response.failed=操作失败
-response.expected.file.missing=预期的文件缺失
-request.api.not.exists=请求的接口不存在
-response.error.encrypt=加解密错误
-no.gold.claimed=没有待领取的金币
-response.user.disable=此账号已被禁用,如有疑问,请联系管理员
-error.gold.product.record.not.exists=金币产出速率升级规则不存在
-error.gold.product.not.start=用户未开启金币产出
-error.gold.product.end=金币产出结束或未开启金币产出,加成已失效
-error.gold.product.coin.not.claimed=待领取的金币未领取,不能重复开启
-error.gold.product.exists=金币产出中,不能重复开启
-error.gold.boost.temporary.exists=当前生产批次已存在临时速率,暂不允许升级
-error.gold.insufficient=金币不足
-error.not.exists={0} 为 [{1}] 的 {2} 记录已不存在
-error.exists={0} 为 [{1}] 的 {2} 记录已存在
-validation.team.type=团队类型不能为空
+response.success=操作が成功しました
+response.server.error=サーバーエラー
+response.not.found=リソースが見つかりません
+response.unsupported.media.type=サポートされていないメディアタイプ
+response.request.too.large=リクエストボディが大きすぎます
+response.bad.request=無効なリクエストパラメータ
+response.forbidden=権限がありません
+response.unauthorized=ユーザーがログインしていないか、ユーザー情報が空です
+response.failed=操作に失敗しました
+response.expected.file.missing=予期されたファイルが見つかりません
+request.api.not.exists=リクエストされたAPIが存在しません
+response.error.encrypt=暗号化/復号化エラー
+no.gold.claimed=請求可能なゴールドコインがありません
+response.user.disable=このアカウントは無効化されています。ご質問がある場合は管理者にお問い合わせください
+error.gold.product.record.not.exists=ゴールドコイン生産率アップグレードルールが存在しません
+error.gold.product.not.start=ユーザーがゴールドコイン生産を開始していません
+error.gold.product.end=ゴールドコイン生産が終了したか開始されていません。ブーストは無効になりました
+error.gold.product.coin.not.claimed=未請求のゴールドコインがあるため、生産を再開できません
+error.gold.product.exists=ゴールドコイン生産が進行中のため、再開できません
+error.gold.boost.temporary.exists=現在の生産バッチに一時的なレートが既に存在するため、アップグレードできません
+error.gold.insufficient=ゴールドコインが不足しています
+error.not.exists={0}が[{1}]の{2}レコードはもう存在しません
+error.exists={0}が[{1}]の{2}レコードは既に存在します
+response.validation.failed=入力検証に失敗しました
+validation.team.type=チームタイプを空にすることはできません
+validation.team.claim.ruleId=ルールIDを空にすることはできません
+validation.login.tg.id.not.null=TGアカウントIDを空にすることはできません
+error.team.share.reward.empty=請求可能なチーム報酬がありません
+error.team.invite.reward.empty=請求可能な招待報酬がありません
+error.team.invite.reward.task.claim.done=招待タスクが完了しました
+error.team.invite.reward.task.claim.exists=このレベルの招待報酬は既に請求されています
+error.team.invite.reward.task.claim.previous.not.claim=前のレベルの招待報酬がまだ請求されていません
+error.team.invite.reward.task.claim.not.enough=現在の招待タスクが完了していません。招待した友達の数が不足しています
+error.team.invite.reward.task.claim.not.found=招待報酬ルールが見つかりません
+error.task.handle.id.is.null=タスクIDを空にすることはできません
+error.task.handle.not.exist=タスクが存在しません

+ 36 - 24
src/main/resources/messages/messages_ko.properties

@@ -1,24 +1,36 @@
-response.success=操作成功
-response.server.error=服务器错误
-response.not.found=找不到资源
-response.unsupported.media.type=不支持的媒体类型
-response.request.too.large=请求体过大
-response.bad.request=请求参数错误
-response.forbidden=没有权限
-response.unauthorized=用户未登录或用户信息为空
-response.failed=操作失败
-response.expected.file.missing=预期的文件缺失
-request.api.not.exists=请求的接口不存在
-response.error.encrypt=加解密错误
-no.gold.claimed=没有待领取的金币
-response.user.disable=此账号已被禁用,如有疑问,请联系管理员
-error.gold.product.record.not.exists=金币产出速率升级规则不存在
-error.gold.product.not.start=用户未开启金币产出
-error.gold.product.end=金币产出结束或未开启金币产出,加成已失效
-error.gold.product.coin.not.claimed=待领取的金币未领取,不能重复开启
-error.gold.product.exists=金币产出中,不能重复开启
-error.gold.boost.temporary.exists=当前生产批次已存在临时速率,暂不允许升级
-error.gold.insufficient=金币不足
-error.not.exists={0} 为 [{1}] 的 {2} 记录已不存在
-error.exists={0} 为 [{1}] 的 {2} 记录已存在
-validation.team.type=团队类型不能为空
+response.success=작업이 성공했습니다
+response.server.error=서버 오류
+response.not.found=리소스를 찾을 수 없습니다
+response.unsupported.media.type=지원되지 않는 미디어 유형
+response.request.too.large=요청 본문이 너무 큽니다
+response.bad.request=잘못된 요청 매개변수
+response.forbidden=권한이 없습니다
+response.unauthorized=사용자가 로그인하지 않았거나 사용자 정보가 비어 있습니다
+response.failed=작업이 실패했습니다
+response.expected.file.missing=예상된 파일이 누락되었습니다
+request.api.not.exists=요청된 API가 존재하지 않습니다
+response.error.encrypt=암호화/복호화 오류
+no.gold.claimed=청구할 골드 코인이 없습니다
+response.user.disable=이 계정은 비활성화되었습니다. 문의 사항이 있으면 관리자에게 문의하세요
+error.gold.product.record.not.exists=골드 코인 생산율 업그레이드 규칙이 존재하지 않습니다
+error.gold.product.not.start=사용자가 골드 코인 생산을 시작하지 않았습니다
+error.gold.product.end=골드 코인 생산이 종료되었거나 시작되지 않았습니다. 부스트가 더 이상 유효하지 않습니다
+error.gold.product.coin.not.claimed=청구되지 않은 골드 코인이 있어 생산을 다시 시작할 수 없습니다
+error.gold.product.exists=골드 코인 생산이 진행 중이어서 다시 시작할 수 없습니다
+error.gold.boost.temporary.exists=현재 생산 배치에 이미 임시 요율이 존재하여 업그레이드가 허용되지 않습니다
+error.gold.insufficient=골드 코인이 부족합니다
+error.not.exists={0}이(가) [{1}]인 {2} 기록이 더 이상 존재하지 않습니다
+error.exists={0}이(가) [{1}]인 {2} 기록이 이미 존재합니다
+response.validation.failed=입력 유효성 검사에 실패했습니다
+validation.team.type=팀 유형은 비워둘 수 없습니다
+validation.team.claim.ruleId=규칙 ID는 비워둘 수 없습니다
+validation.login.tg.id.not.null=TG 계정 ID는 비워둘 수 없습니다
+error.team.share.reward.empty=청구할 수 있는 팀 보상이 없습니다
+error.team.invite.reward.empty=청구할 수 있는 초대 보상이 없습니다
+error.team.invite.reward.task.claim.done=초대 작업이 완료되었습니다
+error.team.invite.reward.task.claim.exists=이 레벨의 초대 보상이 이미 청구되었습니다
+error.team.invite.reward.task.claim.previous.not.claim=이전 레벨의 초대 보상이 청구되지 않았습니다
+error.team.invite.reward.task.claim.not.enough=현재 초대 작업이 완료되지 않았습니다. 초대한 친구 수가 부족합니다
+error.team.invite.reward.task.claim.not.found=초대 보상 규칙을 찾을 수 없습니다
+error.task.handle.id.is.null=작업 ID는 비워둘 수 없습니다
+error.task.handle.not.exist=작업이 존재하지 않습니다

+ 36 - 24
src/main/resources/messages/messages_pt.properties

@@ -1,24 +1,36 @@
-response.success=操作成功
-response.server.error=服务器错误
-response.not.found=找不到资源
-response.unsupported.media.type=不支持的媒体类型
-response.request.too.large=请求体过大
-response.bad.request=请求参数错误
-response.forbidden=没有权限
-response.unauthorized=用户未登录或用户信息为空
-response.failed=操作失败
-response.expected.file.missing=预期的文件缺失
-request.api.not.exists=请求的接口不存在
-response.error.encrypt=加解密错误
-no.gold.claimed=没有待领取的金币
-response.user.disable=此账号已被禁用,如有疑问,请联系管理员
-error.gold.product.record.not.exists=金币产出速率升级规则不存在
-error.gold.product.not.start=用户未开启金币产出
-error.gold.product.end=金币产出结束或未开启金币产出,加成已失效
-error.gold.product.coin.not.claimed=待领取的金币未领取,不能重复开启
-error.gold.product.exists=金币产出中,不能重复开启
-error.gold.boost.temporary.exists=当前生产批次已存在临时速率,暂不允许升级
-error.gold.insufficient=金币不足
-error.not.exists={0} 为 [{1}] 的 {2} 记录已不存在
-error.exists={0} 为 [{1}] 的 {2} 记录已存在
-validation.team.type=团队类型不能为空
+response.success=Operação bem-sucedida
+response.server.error=Erro do servidor
+response.not.found=Recurso não encontrado
+response.unsupported.media.type=Tipo de mídia não suportado
+response.request.too.large=Corpo da solicitação muito grande
+response.bad.request=Parâmetros de solicitação inválidos
+response.forbidden=Sem permissão
+response.unauthorized=Usuário não conectado ou informações do usuário vazias
+response.failed=Operação falhou
+response.expected.file.missing=Arquivo esperado está faltando
+request.api.not.exists=A API solicitada não existe
+response.error.encrypt=Erro de criptografia/descriptografia
+no.gold.claimed=Não há moedas de ouro para reivindicar
+response.user.disable=Esta conta foi desativada. Por favor, entre em contato com o administrador se tiver alguma dúvida
+error.gold.product.record.not.exists=A regra de atualização da taxa de produção de moedas de ouro não existe
+error.gold.product.not.start=O usuário não iniciou a produção de moedas de ouro
+error.gold.product.end=A produção de moedas de ouro terminou ou não foi iniciada, o impulso não é mais efetivo
+error.gold.product.coin.not.claimed=Moedas de ouro não reivindicadas, não é possível reiniciar a produção
+error.gold.product.exists=Produção de moedas de ouro em andamento, não é possível iniciar novamente
+error.gold.boost.temporary.exists=Já existe uma taxa temporária para o lote de produção atual, atualização não permitida
+error.gold.insufficient=Moedas de ouro insuficientes
+error.not.exists=O registro {2} com {0} [{1}] não existe mais
+error.exists=O registro {2} com {0} [{1}] já existe
+response.validation.failed=Falha na validação de entrada
+validation.team.type=O tipo de equipe não pode estar vazio
+validation.team.claim.ruleId=O ID da regra não pode estar vazio
+validation.login.tg.id.not.null=O ID da conta TG não pode estar vazio
+error.team.share.reward.empty=Não há recompensas de equipe disponíveis para reivindicar
+error.team.invite.reward.empty=Não há recompensas de convite disponíveis para reivindicar
+error.team.invite.reward.task.claim.done=Tarefa de convite concluída
+error.team.invite.reward.task.claim.exists=A recompensa de convite para este nível já foi reivindicada
+error.team.invite.reward.task.claim.previous.not.claim=A recompensa de convite do nível anterior não foi reivindicada
+error.team.invite.reward.task.claim.not.enough=Tarefa de convite atual não concluída, número insuficiente de amigos convidados
+error.team.invite.reward.task.claim.not.found=Regra de recompensa de convite não encontrada
+error.task.handle.id.is.null=O ID da tarefa não pode estar vazio
+error.task.handle.not.exist=A tarefa não existe

+ 36 - 23
src/main/resources/messages/messages_ru.properties

@@ -1,23 +1,36 @@
-response.success=操作成功
-response.server.error=服务器错误
-response.not.found=找不到资源
-response.unsupported.media.type=不支持的媒体类型
-response.request.too.large=请求体过大
-response.bad.request=请求参数错误
-response.forbidden=没有权限
-response.unauthorized=用户未登录或用户信息为空
-response.failed=操作失败
-response.expected.file.missing=预期的文件缺失
-request.api.not.exists=请求的接口不存在
-response.error.encrypt=加解密错误
-no.gold.claimed=没有待领取的金币
-error.gold.product.record.not.exists=金币产出速率升级规则不存在
-error.gold.product.not.start=用户未开启金币产出
-error.gold.product.end=金币产出结束或未开启金币产出,加成已失效
-error.gold.product.coin.not.claimed=待领取的金币未领取,不能重复开启
-error.gold.product.exists=金币产出中,不能重复开启
-error.gold.boost.temporary.exists=当前生产批次已存在临时速率,暂不允许升级
-error.gold.insufficient=金币不足
-error.not.exists={0} with {1} [{2}] does not exist
-error.exists={0} with {1} [{2}] already exists
-validation.team.type=团队类型不能为空
+response.success=Операция выполнена успешно
+response.server.error=Ошибка сервера
+response.not.found=Ресурс не найден
+response.unsupported.media.type=Неподдерживаемый тип медиа
+response.request.too.large=Тело запроса слишком большое
+response.bad.request=Неверные параметры запроса
+response.forbidden=Нет разрешения
+response.unauthorized=Пользователь не вошел в систему или информация о пользователе пуста
+response.failed=Операция не удалась
+response.expected.file.missing=Ожидаемый файл отсутствует
+request.api.not.exists=Запрошенный API не существует
+response.error.encrypt=Ошибка шифрования/дешифрования
+no.gold.claimed=Нет золотых монет для получения
+response.user.disable=Этот аккаунт был отключен. Пожалуйста, свяжитесь с администратором, если у вас есть вопросы
+error.gold.product.record.not.exists=Правило повышения скорости производства золотых монет не существует
+error.gold.product.not.start=Пользователь не начал производство золотых монет
+error.gold.product.end=Производство золотых монет закончилось или не начато, ускорение больше не действует
+error.gold.product.coin.not.claimed=Неполученные золотые монеты, невозможно перезапустить производство
+error.gold.product.exists=Производство золотых монет уже идет, невозможно начать снова
+error.gold.boost.temporary.exists=Для текущей партии производства уже существует временная ставка, повышение не разрешено
+error.gold.insufficient=Недостаточно золотых монет
+error.not.exists=Запись {2} с {0} [{1}] больше не существует
+error.exists=Запись {2} с {0} [{1}] уже существует
+response.validation.failed=Ошибка проверки ввода
+validation.team.type=Тип команды не может быть пустым
+validation.team.claim.ruleId=ID правила не может быть пустым
+validation.login.tg.id.not.null=ID аккаунта TG не может быть пустым
+error.team.share.reward.empty=Нет доступных командных наград для получения
+error.team.invite.reward.empty=Нет доступных наград за приглашения для получения
+error.team.invite.reward.task.claim.done=Задача приглашения выполнена
+error.team.invite.reward.task.claim.exists=Награда за приглашение для этого уровня уже получена
+error.team.invite.reward.task.claim.previous.not.claim=Награда за приглашение предыдущего уровня не получена
+error.team.invite.reward.task.claim.not.enough=Текущая задача приглашения не выполнена, недостаточное количество приглашенных друзей
+error.team.invite.reward.task.claim.not.found=Правило награды за приглашение не найдено
+error.task.handle.id.is.null=ID задачи не может быть пустым
+error.task.handle.not.exist=Задача не существует

+ 36 - 24
src/main/resources/messages/messages_th.properties

@@ -1,24 +1,36 @@
-response.success=操作成功
-response.server.error=服务器错误
-response.not.found=找不到资源
-response.unsupported.media.type=不支持的媒体类型
-response.request.too.large=请求体过大
-response.bad.request=请求参数错误
-response.forbidden=没有权限
-response.unauthorized=用户未登录或用户信息为空
-response.failed=操作失败
-response.expected.file.missing=预期的文件缺失
-request.api.not.exists=请求的接口不存在
-response.error.encrypt=加解密错误
-no.gold.claimed=没有待领取的金币
-response.user.disable=此账号已被禁用,如有疑问,请联系管理员
-error.gold.product.record.not.exists=金币产出速率升级规则不存在
-error.gold.product.not.start=用户未开启金币产出
-error.gold.product.end=金币产出结束或未开启金币产出,加成已失效
-error.gold.product.coin.not.claimed=待领取的金币未领取,不能重复开启
-error.gold.product.exists=金币产出中,不能重复开启
-error.gold.boost.temporary.exists=当前生产批次已存在临时速率,暂不允许升级
-error.gold.insufficient=金币不足
-error.not.exists={0} 为 [{1}] 的 {2} 记录已不存在
-error.exists={0} 为 [{1}] 的 {2} 记录已存在
-validation.team.type=团队类型不能为空
+response.success=การดำเนินการสำเร็จ
+response.server.error=ข้อผิดพลาดของเซิร์ฟเวอร์
+response.not.found=ไม่พบทรัพยากร
+response.unsupported.media.type=ประเภทสื่อไม่รองรับ
+response.request.too.large=เนื้อหาคำขอใหญ่เกินไป
+response.bad.request=พารามิเตอร์คำขอไม่ถูกต้อง
+response.forbidden=ไม่มีสิทธิ์
+response.unauthorized=ผู้ใช้ไม่ได้เข้าสู่ระบบหรือข้อมูลผู้ใช้ว่างเปล่า
+response.failed=การดำเนินการล้มเหลว
+response.expected.file.missing=ไฟล์ที่คาดหวังหายไป
+request.api.not.exists=API ที่ร้องขอไม่มีอยู่
+response.error.encrypt=ข้อผิดพลาดในการเข้ารหัส/ถอดรหัส
+no.gold.claimed=ไม่มีเหรียญทองที่จะเรียกร้อง
+response.user.disable=บัญชีนี้ถูกปิดใช้งาน โปรดติดต่อผู้ดูแลระบบหากมีคำถาม
+error.gold.product.record.not.exists=กฎการอัพเกรดอัตราการผลิตเหรียญทองไม่มีอยู่
+error.gold.product.not.start=ผู้ใช้ยังไม่ได้เริ่มการผลิตเหรียญทอง
+error.gold.product.end=การผลิตเหรียญทองสิ้นสุดหรือยังไม่ได้เริ่ม การเพิ่มประสิทธิภาพไม่มีผลแล้ว
+error.gold.product.coin.not.claimed=เหรียญทองที่ยังไม่ได้เรียกร้อง ไม่สามารถเริ่มการผลิตใหม่ได้
+error.gold.product.exists=กำลังผลิตเหรียญทองอยู่ ไม่สามารถเริ่มใหม่ได้
+error.gold.boost.temporary.exists=มีอัตราชั่วคราวสำหรับรอบการผลิตปัจจุบันแล้ว ไม่อนุญาตให้อัพเกรด
+error.gold.insufficient=เหรียญทองไม่เพียงพอ
+error.not.exists=บันทึก {2} ที่มี {0} [{1}] ไม่มีอยู่แล้ว
+error.exists=บันทึก {2} ที่มี {0} [{1}] มีอยู่แล้ว
+response.validation.failed=การตรวจสอบข้อมูลล้มเหลว
+validation.team.type=ประเภททีมต้องไม่ว่างเปล่า
+validation.team.claim.ruleId=ID กฎต้องไม่ว่างเปล่า
+validation.login.tg.id.not.null=ID บัญชี TG ต้องไม่ว่างเปล่า
+error.team.share.reward.empty=ไม่มีรางวัลทีมที่สามารถเรียกร้องได้
+error.team.invite.reward.empty=ไม่มีรางวัลการเชิญที่สามารถเรียกร้องได้
+error.team.invite.reward.task.claim.done=งานเชิญเสร็จสมบูรณ์แล้ว
+error.team.invite.reward.task.claim.exists=รางวัลการเชิญสำหรับระดับนี้ถูกเรียกร้องแล้ว
+error.team.invite.reward.task.claim.previous.not.claim=รางวัลการเชิญของระดับก่อนหน้ายังไม่ได้เรียกร้อง
+error.team.invite.reward.task.claim.not.enough=งานเชิญปัจจุบันยังไม่เสร็จสมบูรณ์ จำนวนเพื่อนที่เชิญไม่เพียงพอ
+error.team.invite.reward.task.claim.not.found=ไม่พบกฎรางวัลการเชิญ
+error.task.handle.id.is.null=ID งานต้องไม่ว่างเปล่า
+error.task.handle.not.exist=งานไม่มีอยู่

+ 36 - 25
src/main/resources/messages/messages_vi.properties

@@ -1,25 +1,36 @@
-response.success=操作成功
-response.server.error=服务器错误
-response.not.found=找不到资源
-response.unsupported.media.type=不支持的媒体类型
-response.request.too.large=请求体过大
-response.bad.request=请求参数错误
-response.forbidden=没有权限
-response.unauthorized=用户未登录或用户信息为空
-response.failed=操作失败
-response.expected.file.missing=预期的文件缺失
-request.api.not.exists=请求的接口不存在
-response.error.encrypt=加解密错误
-no.gold.claimed=没有待领取的金币
-response.user.disable=此账号已被禁用,如有疑问,请联系管理员
-error.gold.product.record.not.exists=金币产出速率升级规则不存在
-error.gold.product.not.start=用户未开启金币产出
-error.gold.product.end=金币产出结束或未开启金币产出,加成已失效
-error.gold.product.coin.not.claimed=待领取的金币未领取,不能重复开启
-error.gold.product.exists=金币产出中,不能重复开启
-error.gold.boost.temporary.exists=当前生产批次已存在临时速率,暂不允许升级
-error.gold.insufficient=金币不足
-error.not.exists={0} 为 [{1}] 的 {2} 记录已不存在
-error.exists={0} 为 [{1}] 的 {2} 记录已存在
-validation.team.type=团队类型不能为空
-error.team.share.reward.empty=没有可领取的团队奖励345
+response.success=Thao tác thành công
+response.server.error=Lỗi máy chủ
+response.not.found=Không tìm thấy tài nguyên
+response.unsupported.media.type=Loại phương tiện không được hỗ trợ
+response.request.too.large=Nội dung yêu cầu quá lớn
+response.bad.request=Tham số yêu cầu không hợp lệ
+response.forbidden=Không có quyền
+response.unauthorized=Người dùng chưa đăng nhập hoặc thông
+response.failed=Thao tác thất bại
+response.expected.file.missing=Thiếu tệp tin được mong đợi
+request.api.not.exists=API được yêu cầu không tồn tại
+response.error.encrypt=Lỗi mã hóa/giải mã
+no.gold.claimed=Không có vàng để nhận
+response.user.disable=Tài khoản này đã bị vô hiệu hóa. Vui lòng liên hệ quản trị viên nếu bạn có bất kỳ câu hỏi nào
+error.gold.product.record.not.exists=Quy tắc nâng cấp tỷ lệ sản xuất vàng không tồn tại
+error.gold.product.not.start=Người dùng chưa bắt đầu sản xuất vàng
+error.gold.product.end=Sản xuất vàng đã kết thúc hoặc chưa bắt đầu, tăng tốc không còn hiệu quả
+error.gold.product.coin.not.claimed=Vàng chưa được nhận, không thể khởi động lại sản xuất
+error.gold.product.exists=Đang sản xuất vàng, không thể bắt đầu lại
+error.gold.boost.temporary.exists=Đã tồn tại tỷ lệ tạm thời cho lô sản xuất hiện tại, không cho phép nâng cấp
+error.gold.insufficient=Không đủ vàng
+error.not.exists=Bản ghi {2} với {0} [{1}] không còn tồn tại
+error.exists=Bản ghi {2} với {0} [{1}] đã tồn tại
+response.validation.failed=Xác thực đầu vào thất bại
+validation.team.type=Loại đội không thể để trống
+validation.team.claim.ruleId=ID quy tắc không thể để trống
+validation.login.tg.id.not.null=ID tài khoản TG không thể để trống
+error.team.share.reward.empty=Không có phần thưởng đội để nhận
+error.team.invite.reward.empty=Không có phần thưởng mời để nhận
+error.team.invite.reward.task.claim.done=Nhiệm vụ mời đã hoàn thành
+error.team.invite.reward.task.claim.exists=Phần thưởng mời cho cấp độ này đã được nhận
+error.team.invite.reward.task.claim.previous.not.claim=Phần thưởng mời của cấp độ trước chưa được nhận
+error.team.invite.reward.task.claim.not.enough=Nhiệm vụ mời hiện tại chưa hoàn thành, số lượng bạn bè được mời không đủ
+error.team.invite.reward.task.claim.not.found=Không tìm thấy quy tắc phần thưởng mời
+error.task.handle.id.is.null=ID nhiệm vụ không thể để trống
+error.task.handle.not.exist=Nhiệm vụ không tồn tại

+ 1 - 2
src/main/resources/messages/messages_zh_CN.properties

@@ -33,5 +33,4 @@ error.team.invite.reward.task.claim.previous.not.claim=上一等级的邀请奖
 error.team.invite.reward.task.claim.not.enough=当前邀请任务未完成,邀请好友数不足
 error.team.invite.reward.task.claim.not.found=邀请奖励规则不存在
 error.task.handle.id.is.null=任务id不能为空
-error.task.handle.not.exist=任务不存在
-
+error.task.handle.not.exist=任务不存在

+ 36 - 24
src/main/resources/messages/messages_zh_TW.properties

@@ -1,24 +1,36 @@
-response.success=操作成功001
-response.server.error=服务器错误
-response.not.found=找不到资源
-response.unsupported.media.type=不支持的媒体类型
-response.request.too.large=请求体过大
-response.bad.request=请求参数错误
-response.forbidden=没有权限
-response.unauthorized=用户未登录或用户信息为空
-response.failed=操作失败
-response.expected.file.missing=预期的文件缺失
-request.api.not.exists=请求的接口不存在
-response.error.encrypt=加解密错误
-no.gold.claimed=没有待领取的金币
-response.user.disable=此账号已被禁用,如有疑问,请联系管理员
-error.gold.product.record.not.exists=金币产出速率升级规则不存在
-error.gold.product.not.start=用户未开启金币产出
-error.gold.product.end=金币产出结束或未开启金币产出,加成已失效
-error.gold.product.coin.not.claimed=待领取的金币未领取,不能重复开启
-error.gold.product.exists=金币产出中,不能重复开启
-error.gold.boost.temporary.exists=当前生产批次已存在临时速率,暂不允许升级
-error.gold.insufficient=金币不足
-error.not.exists={0} 为 [{1}] 的 {2} 记录已不存在
-error.exists={0} 为 [{1}] 的 {2} 记录已存在
-validation.team.type=团队类型不能为空
+response.success=操作成功
+response.server.error=伺服器錯誤
+response.not.found=找不到資源
+response.unsupported.media.type=不支援的媒體類型
+response.request.too.large=請求內容過大
+response.bad.request=請求參數錯誤
+response.forbidden=沒有權限
+response.unauthorized=使用者未登入或使用者資訊為空
+response.failed=操作失敗
+response.expected.file.missing=預期的檔案缺失
+request.api.not.exists=請求的介面不存在
+response.error.encrypt=加解密錯誤
+no.gold.claimed=沒有待領取的金幣
+response.user.disable=此帳號已被停用,如有疑問,請聯絡管理員
+error.gold.product.record.not.exists=金幣產出速率升級規則不存在
+error.gold.product.not.start=使用者未開啟金幣產出
+error.gold.product.end=金幣產出結束或未開啟金幣產出,加成已失效
+error.gold.product.coin.not.claimed=待領取的金幣未領取,不能重複開啟
+error.gold.product.exists=金幣產出中,不能重複開啟
+error.gold.boost.temporary.exists=當前生產批次已存在臨時速率,暫不允許升級
+error.gold.insufficient=金幣不足
+error.not.exists={0} 為 [{1}] 的 {2} 記錄已不存在
+error.exists={0} 為 [{1}] 的 {2} 記錄已存在
+response.validation.failed=輸入驗證失敗
+validation.team.type=團隊類型不能為空
+validation.team.claim.ruleId=規則 ID 不能為空
+validation.login.tg.id.not.null=TG 帳號 ID 不能為空
+error.team.share.reward.empty=沒有可領取的團隊獎勵
+error.team.invite.reward.empty=沒有可領取的邀請獎勵
+error.team.invite.reward.task.claim.done=邀請任務已完成
+error.team.invite.reward.task.claim.exists=該等級的邀請獎勵已領取
+error.team.invite.reward.task.claim.previous.not.claim=上一等級的邀請獎勵未領取
+error.team.invite.reward.task.claim.not.enough=當前邀請任務未完成,邀請好友數不足
+error.team.invite.reward.task.claim.not.found=邀請獎勵規則不存在
+error.task.handle.id.is.null=任務 ID 不能為空
+error.task.handle.not.exist=任務不存在