Bläddra i källkod

fix: 更新语言文本

Before 5 månader sedan
förälder
incheckning
1a9cf0e18a
2 ändrade filer med 32 tillägg och 32 borttagningar
  1. 30 30
      messages/br.json
  2. 2 2
      src/app/[locale]/providers.tsx

+ 30 - 30
messages/br.json

@@ -424,40 +424,40 @@
   },
 
   "form": {
-    "phone":"Phone Number",
-    "phoneReg": "The phone number cannot be empty",
-    "phoneMinReg": "Please enter the correct phone number",
-    "password": "Password",
-    "passwordReg": "The password cannot be empty",
-    "newPwd": "Please enter a new password",
+    "phone":"Número de Celular",
+    "phoneReg": "O número de telefone não pode estar vazio",
+    "phoneMinReg": "Digite o número de telefone correto",
+    "password": "Senha",
+    "passwordReg": "A senha não pode estar vazia",
+    "newPwd": "Por favor, digite uma nova senha",
     "checkPwd": "Please enter the new password again",
-    "checkPwdReg": "The password is inconsistent twice",
-    "passwordMinReg": "The password cannot be less than 6 digits and more than 20 digits",
-    "birthday": "Birthday",
-    "birthdayReg": "The birthday cannot be empty",
-    "birthdayIsNoStandard": "Minors cannot register",
+    "checkPwdReg": "Digite a nova senha novamente",
+    "passwordMinReg": "A senha não pode ter menos de 6 dígitos e mais de 20 dígitos",
+    "birthday": "Data de nascimento",
+    "birthdayReg": "O aniversário não pode estar vazio",
+    "birthdayIsNoStandard": "Menores não podem se registrar",
     "email": "E-mail",
     "emailReg": "The E-mail is malformed",
-    "username": "Name",
-    "usernameReg": "The Name cannot be empty",
-    "amount": "The Amount cannot be empty",
-    "amountMaxReg": "Maximum amount {amount}",
-    "amountMinReg": "Minimum amount {amount}",
-    "card": "CPF Number",
-    "cardReg": "The CPF is malformed",
-    "address": "Address",
-    "addressReg": "The address cannot be empty",
-    "agreement": "Read and accept the terms",
-    "agreementAnd": "and",
-    "readyAgreement": "Please read and agree to the Terms of Service",
-    "moneyAgreement": "Anti-Money Laundering Policy",
-    "serverAgreement": "Terms & Services",
-    "childrenAgreement": "Underage Gambling Policy",
-    "NotSuitableForChildren": "Not suitable for children",
-    "registerText": "Register",
+    "username": "Nome",
+    "usernameReg": "O Nome não pode estar vazio",
+    "amount": "O valor não pode estar vazio",
+    "amountMaxReg": "Valor máximo {amount}",
+    "amountMinReg": "Valor mínimo {amount}",
+    "card": "CPF",
+    "cardReg": "O CPF está malformado",
+    "address": "Endereço",
+    "addressReg": "O endereço não pode estar vazio",
+    "agreement": "Leia e aceite os termos",
+    "agreementAnd": "e",
+    "readyAgreement": "Por favor, leia e concorde com os Termos de Serviço",
+    "moneyAgreement": "Política AML",
+    "serverAgreement": "Termos e Condições",
+    "childrenAgreement": "Política de Proteção de Crianças e Adolescentes",
+    "NotSuitableForChildren": "Não é adequado para crianças",
+    "registerText": "Registro",
     "loginText": "Login",
-    "sexMan": "Man",
-    "sexWoman": "Woman"
+    "sexMan": "Homem",
+    "sexWoman": "Mulher"
   },
   "navBar": {
     "start": "Início",

+ 2 - 2
src/app/[locale]/providers.tsx

@@ -3,7 +3,7 @@ import Sidebar from "@/components/Layout/Sidebar";
 import Loading from "@/components/Loading";
 import { useSystemStore } from "@/stores/useSystemStore";
 import { ConfigProvider } from "antd-mobile";
-import enUS from "antd-mobile/es/locales/en-US";
+import ptBR from "antd-mobile/es/locales/pt-BR";
 import { ThemeProviderProps } from "next-themes/dist/types";
 import { ReactNode, useRef } from "react";
 import { Swiper, SwiperClass, SwiperSlide } from "swiper/react";
@@ -135,7 +135,7 @@ export const Providers = ({ children, themeProps }: ProvidersProps) => {
     }, []);
 
     return (
-        <ConfigProvider locale={enUS}>
+        <ConfigProvider locale={ptBR}>
             <Layout>{children}</Layout>
         </ConfigProvider>
     );