Browse Source

修改缺少的国际化

master
longjieli 9 months ago
parent
commit
b7bb4dd2a9
9 changed files with 84 additions and 46 deletions
  1. +9
    -4
      components/virtualScroll/virtualScroll.vue
  2. +9
    -3
      locale/ar.js
  3. +9
    -3
      locale/en.js
  4. +9
    -3
      locale/es.js
  5. +9
    -3
      locale/fr.js
  6. +9
    -3
      locale/ru.js
  7. +0
    -2
      pages/center/center.vue
  8. +3
    -2
      pages/purse/purse.vue
  9. +27
    -23
      pages/runningWater/runningWater.vue

+ 9
- 4
components/virtualScroll/virtualScroll.vue View File

@ -23,8 +23,9 @@
data() {
return {
classOption: {
step: 1,
limitMoveNum: 1
step: .4,
limitMoveNum: 1,
hoverStop: false
}
}
},
@ -53,14 +54,18 @@
overflow: hidden;
.content {
display: flex;
height: 50rpx;
width: 100%;
background: rgba(255, 255, 255, .5);
box-sizing: border-box;
padding: 0rpx 10% 0rpx 30%;
padding: 0rpx 20%;
span{
margin-left: 15rpx;
width: 50%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}


+ 9
- 3
locale/ar.js View File

@ -100,7 +100,8 @@ export default {
"complete-top-up": "لقد أكملت عملية التعبئة",
"steps": "الخطوات",
"copySuccess": "نسخ نجاح",
"success": "إعادة الشحن بنجاح"
"success": "إعادة الشحن بنجاح",
"recharge-amount-placeholder": "الرجاء إدخال مبلغ الإعادة شحن"
},
"withdraw": {
"balance": "الرصيد",
@ -109,13 +110,18 @@ export default {
"min-withdrawal": "حد أدنى السحب 1",
"payment-password": "كلمة مرور الدفع",
"payment_password-placeholder": "الرجاء إدخال كلمة مرور الدفع",
"confirm": "تأكيد"
"confirm": "تأكيد",
"creditLimit": "يجب أن يكون الحد الأدنى للسحب أكبر من 0",
"insufficientBalance": "مبلغ السحب أكبر من رصيد الحساب"
},
"runningWater": {
"all": "الكل",
"income": "الدخل",
"expenditure": "النفقات",
"balance": "الرصيد"
"0": "إعادة شحن المستخدم",
"1": "سحب المستخدم",
"2": "إيرادات المستخدم",
"3": "غير قيد المراجعة"
},
"modifyUser": {
"network": "الشبكة",


+ 9
- 3
locale/en.js View File

@ -100,7 +100,8 @@ export default {
"complete-top-up": "I have completed the recharge",
"steps": "The steps",
"copySuccess" : "Copy success",
"success" : "Recharge successfully"
"success" : "Recharge successfully",
"recharge-amount-placeholder" : "Please enter recharge amout"
},
"withdraw": {
"balance": "Balance",
@ -109,13 +110,18 @@ export default {
"min-withdrawal": "Minimum withdrawal amount 1",
"payment-password": "Payment password",
"payment_passwrod-placeholder": "Please enter payment password",
"confirm": "Confirm"
"confirm": "Confirm",
"creditLimit" : "The minimum withdrawal should be greater than 0",
"insufficientBalance" : "The withdrawal amount is greater than the account balance"
},
"runningWater": {
"all": "All",
"income": "Income",
"expenditure": "Expenditure",
"balance": "Balance",
"0" : "User recharge",
"1" : "User withdrawal",
"2" : "User revenue",
"3" : "unreviewed"
},
"modifyUser": {
"network": "Network",


+ 9
- 3
locale/es.js View File

@ -100,7 +100,8 @@ export default {
"complete-top-up": "He completado la recarga",
"steps": "Los pasos",
"copySuccess": "Copia exitosa",
"success": "Recarga realizada exitosamente"
"success": "Recarga realizada exitosamente",
"recharge-amount-placeholder": "Por favor, ingrese el monto de recarga"
},
"withdraw": {
"balance": "Saldo",
@ -109,13 +110,18 @@ export default {
"min-withdrawal": "Cantidad mínima de retiro 1",
"payment-password": "Contraseña de pago",
"payment_password-placeholder": "Por favor, ingrese la contraseña de pago",
"confirm": "Confirmar"
"confirm": "Confirmar",
"creditLimit": "El mínimo retiro debe ser mayor que 0",
"insufficientBalance": "El monto de retiro es mayor que el saldo de la cuenta"
},
"runningWater": {
"all": "Todo",
"income": "Ingresos",
"expenditure": "Gastos",
"balance": "Saldo"
"0": "Recarga de usuario",
"1": "Retiro de usuario",
"2": "Ingresos de usuario",
"3": "sin revisar"
},
"modifyUser": {
"network": "Red",


+ 9
- 3
locale/fr.js View File

@ -100,7 +100,8 @@ export default {
"complete-top-up": "J'ai complété le recharge",
"steps": "Les étapes",
"copySuccess": "Copie réussie",
"success": "Recharge réussie"
"success": "Recharge réussie",
"recharge-amount-placeholder": "Veuillez entrer le montant de recharge"
},
"withdraw": {
"balance": "Solde",
@ -109,13 +110,18 @@ export default {
"min-withdrawal": "Montant minimum de retrait 1",
"payment-password": "Mot de passe de paiement",
"payment_password-placeholder": "Veuillez entrer votre mot de passe de paiement",
"confirm": "Confirmer"
"confirm": "Confirmer",
"creditLimit": "Le retrait minimum doit être supérieur à 0",
"insufficientBalance": "Le montant du retrait est supérieur au solde du compte"
},
"runningWater": {
"all": "Tout",
"income": "Revenus",
"expenditure": "Dépenses",
"balance": "Solde"
"0": "Recharge utilisateur",
"1": "Retrait utilisateur",
"2": "Revenus utilisateur",
"4": "non revu"
},
"modifyUser": {
"network": "Réseau",


+ 9
- 3
locale/ru.js View File

@ -100,7 +100,8 @@ export default {
"complete-top-up": "Я завершил пополнение",
"steps": "Шаги",
"copySuccess": "Копирование успешно",
"success": "Пополнение успешно"
"success": "Пополнение успешно",
"recharge-amount-placeholder": "Пожалуйста, введите сумма пополнения"
},
"withdraw": {
"balance": "Баланс",
@ -109,13 +110,18 @@ export default {
"min-withdrawal": "Минимальная сумма вывода 1",
"payment-password": "Пароль платежа",
"payment_password-placeholder": "Пожалуйста, введите пароль платежа",
"confirm": "Подтвердить"
"confirm": "Подтвердить",
"creditLimit": "Минимальный сумма вывода должна быть больше 0",
"insufficientBalance": "Сумма вывода больше баланса на счете"
},
"runningWater": {
"all": "Все",
"income": "Доход",
"expenditure": "Расход",
"balance": "Баланс"
"0": "Пополнение баланса пользователя",
"1": "Снятие средств пользователем",
"2": "Доходы пользователя",
"3": "непроверенный"
},
"modifyUser": {
"network": "Сеть",


+ 0
- 2
pages/center/center.vue View File

@ -426,8 +426,6 @@
//
toPath(item){
console.log(item);
if('logout' == item.title){
return this.logout()
}


+ 3
- 2
pages/purse/purse.vue View File

@ -20,7 +20,7 @@
<view class="purse-input content">
<view class="title">{{ $t('page.purse.recharge-amount') }}</view>
<input type="text" placeholder="Please enter recharge amout" />
<input v-model="form.money" type="number" :placeholder="$t('page.purse.recharge-amount-placeholder')" />
</view>
<view class="purse-input content">
@ -74,7 +74,8 @@
money : '',
form : {
id : '',
image : ''
image : '',
money : ''
},
serverList : [],
showService : false,


+ 27
- 23
pages/runningWater/runningWater.vue View File

@ -16,12 +16,12 @@
<!-- 流水列表 -->
<view class="running-water-list content">
<view v-for="item in runningWaterList" :key="item.id" class="running-water-item">
<image src="@/static/runningWater/money.png" mode="aspectFit"></image>
<view class="descript">[{{ $t('page.runningWater.balance') }}]</view>
<view class="time">{{ item.createTime }}</view>
<view class="left">
<view class="time">{{ item.createTime }}</view>
<div :class="{ red : item.type == 1 }" class="tag">{{ $t(`page.runningWater.${item.state == 0 ? 3 : item.type }`) }}</div>
</view>
<view class="money-detail">
<text>{{ item.type == '0' ? '+' : '-' }}</text>
{{ item.money }}
${{ item.money }}
</view>
</view>
</view>
@ -115,6 +115,7 @@ import navbar from '@/components/base/m-navbar.vue'
align-items: center;
color: #989898;
font-size: 28rpx;
z-index: 999;
&>view{
flex: 1;
display: flex;
@ -143,32 +144,35 @@ import navbar from '@/components/base/m-navbar.vue'
.running-water-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding: 15rpx;
width: calc(50% - 15rpx);
border: 1px solid #00000080;
width: 100%;
margin-bottom: 25rpx;
image {
width: 100rpx;
height: 100rpx;
}
.descript {
// color: #AEC43C;
font-size: 36rpx;
}
.time {
color: #989898;
margin: 15rpx 0rpx;
background: white;
.left{
.time {
margin: 15rpx 0rpx;
}
.tag{
display: inline-block;
background: #61ABFF;
font-size: 24rpx;
border-radius: 50rpx;
padding: 0rpx 15rpx;
}
.red{
color: red;
}
}
.money-detail {
// color: #3AA56B;
font-size: 36rpx;
color: #3FCE9D;
}
}
}


Loading…
Cancel
Save