Jelajahi Sumber

web返回的多语言,侧边栏css更改

PigTech 2 tahun lalu
induk
melakukan
77ed9c2243

+ 8 - 8
src/layout/Sidebar/styles.js

@@ -138,8 +138,8 @@ const StyledAccordionDetails = styled(AccordionDetails)`
         display: flex;
         display: flex;
         align-items: center;
         align-items: center;
         justify-content: center;
         justify-content: center;
-        width: 20px;
-        height: 20px;
+        width: 1.5rem;
+        height: 1.5rem;
         fill: var(--text);
         fill: var(--text);
     }
     }
     &:hover, &:focus,
     &:hover, &:focus,
@@ -264,8 +264,8 @@ const SingleLink=styled.div`
         display: flex;
         display: flex;
         align-items: center;
         align-items: center;
         justify-content: center;
         justify-content: center;
-        width: 20px;
-        height: 20px;
+        width: 1.5rem;
+        height: 1.5rem;
         fill: var(--text);
         fill: var(--text);
     }
     }
   }
   }
@@ -339,8 +339,8 @@ const Link = styled.span`
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
-    width: 20px;
-    height: 20px;
+    width: 1.5rem;
+    height: 1.5rem;
     fill: var(--text);
     fill: var(--text);
   }
   }
   ${(props) => {
   ${(props) => {
@@ -533,8 +533,8 @@ const StyledAct=styled.div`
       & .icon-bonus{
       & .icon-bonus{
         margin-left: 0.5rem;
         margin-left: 0.5rem;
         margin-right: 0.5rem;
         margin-right: 0.5rem;
-        width: 20px;
-        height: 20px;
+        width: 1.8rem;
+        height: 1.8rem;
         fill:#b891ff;
         fill:#b891ff;
       }
       }
       & .img-bg{
       & .img-bg{

+ 61 - 0
src/locales/languages/en_US.json

@@ -2,6 +2,8 @@
   "links": {
   "links": {
     "home": "Home",
     "home": "Home",
     "menu_title": {
     "menu_title": {
+      "settings": "Settings",
+      "toppicks": "Top Picks",
       "agent": "Agent",
       "agent": "Agent",
       "cashwheel": "CashWheel",
       "cashwheel": "CashWheel",
       "rain": "MoneyRain"
       "rain": "MoneyRain"
@@ -529,5 +531,64 @@
       "status_0": "",
       "status_0": "",
       "status_1": "Received"
       "status_1": "Received"
     }
     }
+  },
+  "web": {
+    "activity": {
+      "redpack_not_available": "There is no RedPack",
+      "redpack_no_recharge": "You need deposit first!",
+      "invalid_act": "No act found",
+      "invalid_act_uid": "Invalid UserID",
+      "wrong_act": "Invalid act string."
+    },
+    "agent": {
+      "fail_wrong_id": "Incorrect records ID",
+      "fail_wrong_status": "Already received"
+    },
+    "turnplate": {
+      "toofast": "Requested too frequently",
+      "invalid": "Invalid state",
+      "expired": "Activity Expired",
+      "notimes": "No times",
+      "to_many_request": "Too many requests",
+      "already_help": "Already Help"
+    },
+    "user": {
+      "password_fail": "The original password is wrong, please enter it again.",
+      "paypass_fail": "The original password is wrong, please enter it again."
+    },
+    "reg": {
+      "password_notsame": "The passwords entered twice are inconsistent, please enter again!",
+      "paypass_notsame": "The passwords entered twice are inconsistent, please enter again!",
+      "account_empty": "Please enter the username!",
+      "fail_email_exist": "The email already exists, please change it and try to register again!",
+      "fail_phone_exist": "The phone number already exists, please change it and try to register again!",
+      "fail_suspend": "Registro suspenso",
+      "fail_stoplogin": "Pausa de login",
+      "fail_account_exist": "A conta já existe, altere outro nome de conta e tente se registrar novamente!",
+      "fail_ipmax": "Mesmo IP não pode registrar várias contas"
+    },
+    "login": {
+      "account_empty": "Please enter the username!",
+      "password_empty": "Please enter the password!",
+      "notfound": "Your account was not found, please register or try again!"
+    },
+    "mail": {
+      "wrong_id": "You need select mail to delete!",
+      "mail_has_money": "The mail still has money!",
+      "mail_not_existed": "The mail could not be found!",
+      "mail_gift_taken": "The attachment has been received"
+    },
+    "withdraw": {
+      "try_again_later": "Please try again later",
+      "score_fail": "Amount must be an integer value.",
+      "params_error": "params error",
+      "pix_type_missing": "The PIX type is missing",
+      "cpf_number_used": "The CPF number has been used multiple times and cannot be saved"
+    },
+    "payment": {
+      "paytype_error": "PayType ERROR",
+      "payment_error": "Payment Error"
+    }
   }
   }
 }
 }
+

+ 61 - 3
src/locales/languages/es_MX.json

@@ -3,8 +3,8 @@
     "home": "Inicio",
     "home": "Inicio",
     "menu_title": {
     "menu_title": {
       "agent": "Agente",
       "agent": "Agente",
-      "cashwheel": "Rueda de Dinero",
-      "rain": "Lluvia de Dinero"
+      "cashwheel": "DineroRueda",
+      "rain": "DineroLluvia"
     },
     },
     "route_title": {
     "route_title": {
       "activity": "Todas las actividades",
       "activity": "Todas las actividades",
@@ -521,5 +521,63 @@
       "status_0": "",
       "status_0": "",
       "status_1": "Received"
       "status_1": "Received"
     }
     }
+  },
+  "web": {
+    "activity": {
+      "redpack_not_available": "No hay RedPack",
+      "redpack_no_recharge": "¡Necesitas depositar primero!",
+      "invalid_act": "No se encontró ninguna acción",
+      "invalid_act_uid": "ID de usuario inválido",
+      "wrong_act": "Cadena de acción inválida."
+    },
+    "agent": {
+      "fail_wrong_id": "ID de registros incorrecto",
+      "fail_wrong_status": "Ya recibido"
+    },
+    "turnplate": {
+      "toofast": "Solicitado con demasiada frecuencia",
+      "invalid": "Estado inválido",
+      "expired": "Actividad expirada",
+      "notimes": "Sin veces",
+      "to_many_request": "Demasiadas solicitudes",
+      "already_help": "Ya ayudado"
+    },
+    "user": {
+      "password_fail": "La contraseña original es incorrecta, por favor ingrésala nuevamente.",
+      "paypass_fail": "La contraseña original es incorrecta, por favor ingrésala nuevamente."
+    },
+    "reg": {
+      "password_notsame": "¡Las contraseñas ingresadas dos veces son inconsistentes, por favor ingrésalas nuevamente!",
+      "paypass_notsame": "¡Las contraseñas ingresadas dos veces son inconsistentes, por favor ingrésalas nuevamente!",
+      "account_empty": "¡Por favor, ingresa el nombre de usuario!",
+      "fail_email_exist": "El correo electrónico ya existe, por favor cámbialo y trata de registrarte nuevamente!",
+      "fail_phone_exist": "El número de teléfono ya existe, por favor cámbialo y trata de registrarte nuevamente!",
+      "fail_suspend": "Registro suspendido",
+      "fail_stoplogin": "Inicio de sesión pausado",
+      "fail_account_exist": "La cuenta ya existe, cambia otro nombre de cuenta y trata de registrarte nuevamente!",
+      "fail_ipmax": "El mismo IP no puede registrar varias cuentas"
+    },
+    "login": {
+      "account_empty": "¡Por favor, ingresa el nombre de usuario!",
+      "password_empty": "¡Por favor, ingresa la contraseña!",
+      "notfound": "¡Tu cuenta no fue encontrada, por favor regístrate o intenta nuevamente!"
+    },
+    "mail": {
+      "wrong_id": "¡Necesitas seleccionar el correo para eliminar!",
+      "mail_has_money": "¡El correo todavía tiene dinero!",
+      "mail_not_existed": "¡No se pudo encontrar el correo!",
+      "mail_gift_taken": "El adjunto ha sido recibido"
+    },
+    "withdraw": {
+      "try_again_later": "Por favor, inténtalo nuevamente más tarde",
+      "score_fail": "La cantidad debe ser un valor entero.",
+      "params_error": "error de parámetros",
+      "pix_type_missing": "Falta el tipo de PIX",
+      "cpf_number_used": "El número de CPF ha sido utilizado varias veces y no se puede guardar"
+    },
+    "payment": {
+      "paytype_error": "Error de tipo de pago",
+      "payment_error": "Error de pago"
+    }
   }
   }
-}
+}

+ 61 - 3
src/locales/languages/pt_BR.json

@@ -3,8 +3,8 @@
     "home": "Início",
     "home": "Início",
     "menu_title": {
     "menu_title": {
       "agent": "Agente",
       "agent": "Agente",
-      "cashwheel": "Roda de Dinheiro",
-      "rain": "Chuva de Dinheiro"
+      "cashwheel": "GrátisR$100",
+      "rain": "R$ Chuva"
     },
     },
     "route_title": {
     "route_title": {
       "activity": "Todas as atividades",
       "activity": "Todas as atividades",
@@ -522,5 +522,63 @@
       "status_0": "",
       "status_0": "",
       "status_1": "Received"
       "status_1": "Received"
     }
     }
+  },
+  "web": {
+    "activity": {
+      "redpack_not_available": "Não há RedPack",
+      "redpack_no_recharge": "Você precisa fazer um depósito primeiro!",
+      "invalid_act": "Nenhuma ação encontrada",
+      "invalid_act_uid": "ID de usuário inválido",
+      "wrong_act": "Ação inválida."
+    },
+    "agent": {
+      "fail_wrong_id": "ID de registros incorreto",
+      "fail_wrong_status": "Já recebido"
+    },
+    "turnplate": {
+      "toofast": "Solicitado com muita frequência",
+      "invalid": "Estado inválido",
+      "expired": "Atividade expirada",
+      "notimes": "Sem vezes",
+      "to_many_request": "Muitas solicitações",
+      "already_help": "Já ajudado"
+    },
+    "user": {
+      "password_fail": "A senha original está errada, por favor insira novamente.",
+      "paypass_fail": "A senha original está errada, por favor insira novamente."
+    },
+    "reg": {
+      "password_notsame": "As senhas inseridas duas vezes são inconsistentes, por favor insira novamente!",
+      "paypass_notsame": "As senhas inseridas duas vezes são inconsistentes, por favor insira novamente!",
+      "account_empty": "Por favor, insira o nome de usuário!",
+      "fail_email_exist": "O e-mail já existe, por favor altere e tente se registrar novamente!",
+      "fail_phone_exist": "O número de telefone já existe, por favor altere e tente se registrar novamente!",
+      "fail_suspend": "Registro suspenso",
+      "fail_stoplogin": "Pausa de login",
+      "fail_account_exist": "A conta já existe, altere outro nome de conta e tente se registrar novamente!",
+      "fail_ipmax": "Mesmo IP não pode registrar várias contas"
+    },
+    "login": {
+      "account_empty": "Por favor, insira o nome de usuário!",
+      "password_empty": "Por favor, insira a senha!",
+      "notfound": "Sua conta não foi encontrada, por favor registre-se ou tente novamente!"
+    },
+    "mail": {
+      "wrong_id": "Você precisa selecionar o e-mail para deletar!",
+      "mail_has_money": "O e-mail ainda tem dinheiro!",
+      "mail_not_existed": "O e-mail não pôde ser encontrado!",
+      "mail_gift_taken": "O anexo foi recebido"
+    },
+    "withdraw": {
+      "try_again_later": "Por favor, tente novamente mais tarde",
+      "score_fail": "O valor deve ser um valor inteiro.",
+      "params_error": "erro nos parâmetros",
+      "pix_type_missing": "O tipo de PIX está ausente",
+      "cpf_number_used": "O número do CPF foi usado várias vezes e não pode ser salvo"
+    },
+    "payment": {
+      "paytype_error": "Erro de tipo de pagamento",
+      "payment_error": "Erro de pagamento"
+    }
   }
   }
-}
+}

+ 58 - 0
src/locales/languages/ru_RU.json

@@ -521,5 +521,63 @@
       "status_0": "",
       "status_0": "",
       "status_1": "Received"
       "status_1": "Received"
     }
     }
+  },
+  "web": {
+    "activity": {
+      "redpack_not_available": "Нет RedPack",
+      "redpack_no_recharge": "Сначала нужно внести депозит!",
+      "invalid_act": "Действие не найдено",
+      "invalid_act_uid": "Неверный ID пользователя",
+      "wrong_act": "Неверная строка действия."
+    },
+    "agent": {
+      "fail_wrong_id": "Неправильный ID записей",
+      "fail_wrong_status": "Уже получено"
+    },
+    "turnplate": {
+      "toofast": "Запросы слишком часты",
+      "invalid": "Неверное состояние",
+      "expired": "Активность истекла",
+      "notimes": "Нет времени",
+      "to_many_request": "Слишком много запросов",
+      "already_help": "Уже помог"
+    },
+    "user": {
+      "password_fail": "Оригинальный пароль неверен, пожалуйста, введите его снова.",
+      "paypass_fail": "Оригинальный пароль неверен, пожалуйста, введите его снова."
+    },
+    "reg": {
+      "password_notsame": "Пароли, введенные дважды, не совпадают, пожалуйста, введите снова!",
+      "paypass_notsame": "Пароли, введенные дважды, не совпадают, пожалуйста, введите снова!",
+      "account_empty": "Пожалуйста, введите имя пользователя!",
+      "fail_email_exist": "Электронная почта уже существует, пожалуйста, измените её и попробуйте зарегистрироваться снова!",
+      "fail_phone_exist": "Номер телефона уже существует, пожалуйста, измените его и попробуйте зарегистрироваться снова!",
+      "fail_suspend": "Регистрация приостановлена",
+      "fail_stoplogin": "Вход приостановлен",
+      "fail_account_exist": "Аккаунт уже существует, измените имя аккаунта и попробуйте снова!",
+      "fail_ipmax": "На один IP нельзя регистрировать несколько аккаунтов"
+    },
+    "login": {
+      "account_empty": "Пожалуйста, введите имя пользователя!",
+      "password_empty": "Пожалуйста, введите пароль!",
+      "notfound": "Ваш аккаунт не найден, пожалуйста, зарегистрируйтесь или попробуйте снова!"
+    },
+    "mail": {
+      "wrong_id": "Вам нужно выбрать письмо для удаления!",
+      "mail_has_money": "В письме все еще есть деньги!",
+      "mail_not_existed": "Письмо не найдено!",
+      "mail_gift_taken": "Вложение получено"
+    },
+    "withdraw": {
+      "try_again_later": "Пожалуйста, попробуйте позже",
+      "score_fail": "Сумма должна быть целым числом.",
+      "params_error": "ошибка параметров",
+      "pix_type_missing": "Отсутствует тип PIX",
+      "cpf_number_used": "Номер CPF использовался несколько раз и не может быть сохранен"
+    },
+    "payment": {
+      "paytype_error": "Ошибка типа платежа",
+      "payment_error": "Ошибка платежа"
+    }
   }
   }
 }
 }

+ 59 - 0
src/locales/languages/zh_TW.json

@@ -521,5 +521,64 @@
       "status_0": "",
       "status_0": "",
       "status_1": "Received"
       "status_1": "Received"
     }
     }
+  },
+  "web": {
+    "activity": {
+      "redpack_not_available": "沒有紅包",
+      "redpack_no_recharge": "您需要先充值!",
+      "invalid_act": "未找到活動",
+      "invalid_act_uid": "無效的用戶ID",
+      "wrong_act": "無效的活動字符串。"
+    },
+    "agent": {
+      "fail_wrong_id": "記錄ID錯誤",
+      "fail_wrong_status": "已經收到"
+    },
+    "turnplate": {
+      "toofast": "請求過於頻繁",
+      "invalid": "無效的狀態",
+      "expired": "活動已過期",
+      "notimes": "沒有次數",
+      "to_many_request": "請求過多",
+      "already_help": "已經幫助"
+    },
+    "user": {
+      "password_fail": "原密碼錯誤,請重新輸入。",
+      "paypass_fail": "原密碼錯誤,請重新輸入。"
+    },
+    "reg": {
+      "password_notsame": "兩次輸入的密碼不一致,請重新輸入!",
+      "paypass_notsame": "兩次輸入的密碼不一致,請重新輸入!",
+      "account_empty": "請輸入用戶名!",
+      "fail_email_exist": "該電子郵件已存在,請更換並重新註冊!",
+      "fail_phone_exist": "該電話號碼已存在,請更換並重新註冊!",
+      "fail_suspend": "註冊已暫停",
+      "fail_stoplogin": "登錄暫停",
+      "fail_account_exist": "該帳戶已存在,請更換帳戶名稱並重新註冊!",
+      "fail_ipmax": "同一IP無法註冊多個帳戶"
+    },
+    "login": {
+      "account_empty": "請輸入用戶名!",
+      "password_empty": "請輸入密碼!",
+      "notfound": "未找到您的帳戶,請註冊或重試!"
+    },
+    "mail": {
+      "wrong_id": "您需要選擇要刪除的郵件!",
+      "mail_has_money": "郵件中還有錢!",
+      "mail_not_existed": "未找到郵件!",
+      "mail_gift_taken": "附件已被接收"
+    },
+    "withdraw": {
+      "try_again_later": "請稍後再試",
+      "score_fail": "金額必須是整數值。",
+      "params_error": "參數錯誤",
+      "pix_type_missing": "缺少PIX類型",
+      "cpf_number_used": "CPF號碼已多次使用,無法保存"
+    },
+    "payment": {
+      "paytype_error": "支付類型錯誤",
+      "payment_error": "支付錯誤"
+    }
   }
   }
 }
 }
+