Browse Source

多语言补充

PigTech 2 years ago
parent
commit
35cea651e7

BIN
src/assets/sound/list_item_click.mp3


+ 12 - 12
src/db/routes.js

@@ -183,7 +183,7 @@ export const routes=[
         type: 3,
         type: 3,
         side: 0,
         side: 0,
         block:1,//块排序
         block:1,//块排序
-        title: "Game",
+        title: "links.route_title.game",
         icon:"",
         icon:"",
         fill:";;",//icon 颜色 默认 选中 本身颜色
         fill:";;",//icon 颜色 默认 选中 本身颜色
         component:"game",
         component:"game",
@@ -196,7 +196,7 @@ export const routes=[
         type: 1,
         type: 1,
         side: 0,
         side: 0,
         block:1,//块排序
         block:1,//块排序
-        title: "Payment order",
+        title: "links.route_title.payorder",
         icon:"",
         icon:"",
         fill:";;",//icon 颜色 默认 选中 本身颜色
         fill:";;",//icon 颜色 默认 选中 本身颜色
         component:"paymentOrder",
         component:"paymentOrder",
@@ -222,7 +222,7 @@ export const routes=[
         type: 1,
         type: 1,
         side: 0,
         side: 0,
         block:1,//块排序
         block:1,//块排序
-        title: "Account Information",
+        title: "links.route_title.account_info",
         icon:"",
         icon:"",
         fill:";;",//icon 颜色 默认 选中 本身颜色
         fill:";;",//icon 颜色 默认 选中 本身颜色
         component:"accountInfo",
         component:"accountInfo",
@@ -235,7 +235,7 @@ export const routes=[
         type: 1,
         type: 1,
         side: 0,
         side: 0,
         block:1,//块排序
         block:1,//块排序
-        title: "Withdraw Password",
+        title: "links.route_title.withdraw_pass",
         icon:"",
         icon:"",
         fill:";;",//icon 颜色 默认 选中 本身颜色
         fill:";;",//icon 颜色 默认 选中 本身颜色
         component:"wdPassEdit",
         component:"wdPassEdit",
@@ -248,7 +248,7 @@ export const routes=[
         type: 1,
         type: 1,
         side: 0,
         side: 0,
         block:1,//块排序
         block:1,//块排序
-        title: "Withdrawal Record",
+        title: "links.route_title.withdraw_record",
         icon:"",
         icon:"",
         fill:";;",//icon 颜色 默认 选中 本身颜色
         fill:";;",//icon 颜色 默认 选中 本身颜色
         component:"withdrawRecord",
         component:"withdrawRecord",
@@ -261,7 +261,7 @@ export const routes=[
         type: 1,
         type: 1,
         side: 0,
         side: 0,
         block:1,//块排序
         block:1,//块排序
-        title: "Customer service",
+        title: "links.route_title.cs",
         icon:"",
         icon:"",
         fill:";;",//icon 颜色 默认 选中 本身颜色
         fill:";;",//icon 颜色 默认 选中 本身颜色
         component:"customer",
         component:"customer",
@@ -274,7 +274,7 @@ export const routes=[
         type: 1,
         type: 1,
         side: 0,
         side: 0,
         block:1,//块排序
         block:1,//块排序
-        title: "All activities",
+        title: "links.route_title.activity",
         icon:"",
         icon:"",
         fill:";;",//icon 颜色 默认 选中 本身颜色
         fill:";;",//icon 颜色 默认 选中 本身颜色
         component:"promotion",
         component:"promotion",
@@ -287,7 +287,7 @@ export const routes=[
         type: 1,
         type: 1,
         side: 0,
         side: 0,
         block:1,//块排序
         block:1,//块排序
-        title: "Receive R$100 for free",
+        title: "links.route_title.cashwheel",
         icon:"",
         icon:"",
         fill:";;",//icon 颜色 默认 选中 本身颜色
         fill:";;",//icon 颜色 默认 选中 本身颜色
         component:"cashwheel",
         component:"cashwheel",
@@ -300,7 +300,7 @@ export const routes=[
         type: 1,
         type: 1,
         side: 0,
         side: 0,
         block:1,//块排序
         block:1,//块排序
-        title: "Message",
+        title: "links.route_title.msg",
         icon:"",
         icon:"",
         fill:";;",//icon 颜色 默认 选中 本身颜色
         fill:";;",//icon 颜色 默认 选中 本身颜色
         component:"mail",
         component:"mail",
@@ -313,7 +313,7 @@ export const routes=[
         type: 1,
         type: 1,
         side: 0,
         side: 0,
         block:1,//块排序
         block:1,//块排序
-        title: "Message Detail",
+        title: "links.route_title.message_detail",
         icon:"",
         icon:"",
         fill:";;",//icon 颜色 默认 选中 本身颜色
         fill:";;",//icon 颜色 默认 选中 本身颜色
         component:"mailDetail",
         component:"mailDetail",
@@ -326,7 +326,7 @@ export const routes=[
         type: 1,
         type: 1,
         side: 0,
         side: 0,
         block:1,//块排序
         block:1,//块排序
-        title: "Security",
+        title: "links.route_title.security",
         icon:"",
         icon:"",
         fill:";;",//icon 颜色 默认 选中 本身颜色
         fill:";;",//icon 颜色 默认 选中 本身颜色
         component:"security",
         component:"security",
@@ -352,7 +352,7 @@ export const routes=[
         type: 1,
         type: 1,
         side: 0,
         side: 0,
         block:1,//块排序
         block:1,//块排序
-        title: "Agent Policy",
+        title: "links.route_title.agent_policy",
         icon:"",
         icon:"",
         fill:";;",//icon 颜色 默认 选中 本身颜色
         fill:";;",//icon 颜色 默认 选中 本身颜色
         component:"agentPolicy",
         component:"agentPolicy",

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

@@ -1,6 +1,20 @@
 {
 {
   "links": {
   "links": {
     "home": "Home",
     "home": "Home",
+    "route_title": {
+      "activity": "All activities",
+      "cs": "Customer service",
+      "withdraw_record": "Withdrawal Record",
+      "withdraw_pass": "Withdraw Password",
+      "account_info": "Account Information",
+      "message_detail": "Message Detail",
+      "security": "Security",
+      "game": "Game",
+      "payorder": "Payment order",
+      "msg": "Message",
+      "agent_policy": "Agent Policy",
+      "cashwheel": "Receive R$100 for free"
+    },
     "casino": "Casino",
     "casino": "Casino",
     "slots": "Slots",
     "slots": "Slots",
     "hot_games": "Hot Games",
     "hot_games": "Hot Games",

+ 15 - 0
src/locales/languages/es_MX.json

@@ -1,6 +1,21 @@
 {
 {
   "links": {
   "links": {
     "home": "Inicio",
     "home": "Inicio",
+
+    "route_title": {
+      "activity": "Todas las actividades",
+      "cs": "Servicio al Cliente",
+      "withdraw_record": "Registro de Retiro",
+      "withdraw_pass": "Contraseña de Retiro",
+      "account_info": "Información de la Cuenta",
+      "message_detail": "Detalle del Mensaje",
+      "security": "Seguridad",
+      "game": "Juego",
+      "payorder": "Orden de Pago",
+      "msg": "Mensaje",
+      "agent_policy": "Política de Agente",
+      "cashwheel": "Recibe R$100 gratis"
+    },
     "casino": "Casino",
     "casino": "Casino",
     "slots": "Tragamonedas",
     "slots": "Tragamonedas",
     "hot_games": "Juegos Populares",
     "hot_games": "Juegos Populares",

+ 15 - 0
src/locales/languages/pt_BR.json

@@ -1,6 +1,21 @@
 {
 {
   "links": {
   "links": {
     "home": "Início",
     "home": "Início",
+    "route_title": {
+      "activity": "Todas as atividades",
+      "cs": "Atendimento ao Cliente",
+      "withdraw_record": "Registro de Retirada",
+      "withdraw_pass": "Senha de Retirada",
+      "account_info": "Informações da Conta",
+      "message_detail": "Detalhes da Mensagem",
+      "security": "Segurança",
+      "game": "Jogo",
+      "payorder": "Ordem de Pagamento",
+      "msg": "Mensagem",
+      "agent_policy": "Política de Agente",
+      "cashwheel": "Receba R$100 grátis"
+    },
+
     "casino": "Cassino",
     "casino": "Cassino",
     "slots": "Caça-níqueis",
     "slots": "Caça-níqueis",
     "hot_games": "Jogos Populares",
     "hot_games": "Jogos Populares",

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

@@ -1,6 +1,21 @@
 {
 {
   "links": {
   "links": {
     "home": "Главная",
     "home": "Главная",
+
+    "route_title": {
+      "activity": "Все мероприятия",
+      "cs": "Обслуживание клиентов",
+      "withdraw_record": "Запись вывода",
+      "withdraw_pass": "Пароль для вывода",
+      "account_info": "Информация об аккаунте",
+      "message_detail": "Детали сообщения",
+      "security": "Безопасность",
+      "game": "Игра",
+      "payorder": "Платежное поручение",
+      "msg": "Сообщение",
+      "agent_policy": "Агентская политика",
+      "cashwheel": "Получите 100 R$ бесплатно"
+    },
     "casino": "Казино",
     "casino": "Казино",
     "slots": "Слоты",
     "slots": "Слоты",
     "hot_games": "Горячие игры",
     "hot_games": "Горячие игры",

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

@@ -1,6 +1,20 @@
 {
 {
   "links": {
   "links": {
     "home": "首頁",
     "home": "首頁",
+    "route_title": {
+      "activity": "所有活動",
+      "cs": "客戶服務",
+      "withdraw_record": "提現記錄",
+      "withdraw_pass": "提現密碼",
+      "account_info": "帳戶信息",
+      "message_detail": "消息詳情",
+      "security": "安全",
+      "game": "遊戲",
+      "payorder": "支付訂單",
+      "msg": "消息",
+      "agent_policy": "代理政策",
+      "cashwheel": "免費獲得R$100"
+    },
     "casino": "賭場",
     "casino": "賭場",
     "slots": "老虎機",
     "slots": "老虎機",
     "hot_games": "熱門遊戲",
     "hot_games": "熱門遊戲",

+ 1 - 1
src/styles/_global.scss

@@ -18,7 +18,7 @@ body {
     color: var(--text);
     color: var(--text);
     font-family: var(--body-font);
     font-family: var(--body-font);
     font-size: 0.875rem;
     font-size: 0.875rem;
-    line-height: 20px;
+    line-height: 24px;
 }
 }
 
 
 .app {
 .app {

+ 1 - 1
src/utils/SoundManger.js

@@ -1,4 +1,4 @@
-import button_click from "@assets/sound/normal_click.mp3";
+import button_click from "@assets/sound/list_item_click.mp3";
 const defaultAudio={
 const defaultAudio={
     "button_click":button_click
     "button_click":button_click
 }
 }