feat: 新增多语言国际化页面配置,修复部分页面硬编码文案
1. 新增了zh-cn和en-us两套语言下的大量页面国际化配置文件,覆盖商品、订单、会员、营销活动等多个业务模块 2. 修复了分销页面、VR页面、支付页面、商品不存在页面的硬编码提示文案,替换为国际化调用 3. 删除了原有的i18n检查脚本文件
This commit is contained in:
@@ -14,10 +14,10 @@
|
||||
@click="toDetail(orderItem.fenxiao_order_id)">
|
||||
<view class="order-header">
|
||||
<text class="site-name font-size-base">{{ orderItem.order_no }}</text>
|
||||
<text class="status-name color-base-text" v-if="orderItem.is_refund == 1">{{ $lang("fenxiao.order.l17") }}</text>
|
||||
<text class="status-name color-base-text" v-if="orderItem.is_refund == 1">已退款</text>
|
||||
<text class="status-name color-text-green"
|
||||
v-else-if="orderItem.is_settlement == 1">{{ $lang("fenxiao.order.l19") }}</text>
|
||||
<text class="status-name color-text-orange" v-else>{{ $lang("fenxiao.order.l20") }}</text>
|
||||
v-else-if="orderItem.is_settlement == 1">已结算</text>
|
||||
<text class="status-name color-text-orange" v-else>待结算</text>
|
||||
</view>
|
||||
|
||||
<view class="order-body">
|
||||
@@ -30,9 +30,9 @@
|
||||
<view class="top-wrap">
|
||||
<view class="goods-name font-size-base">{{ orderItem.sku_name }}</view>
|
||||
<view>
|
||||
<text class="color-tip">{ $lang("diy.diy-pinfan.l52.t0") } fenxiaoWords.account }}</text>
|
||||
<text class="color-tip">返{{ fenxiaoWords.account }}</text>
|
||||
<text class="price-color price-style small">{{
|
||||
$lang('common.currency_symbol') }}</text>
|
||||
$lang('common.currencySymbol') }}</text>
|
||||
<text class="price-color price-style large">{{
|
||||
parseFloat(orderItem.commission).toFixed(2).split(".")[0] }}</text>
|
||||
<text class="price-color price-style small">.{{
|
||||
@@ -41,7 +41,7 @@
|
||||
</view>
|
||||
<view class="goods-sub-section">
|
||||
<view class="goods-price">
|
||||
<text class="unit price-style small">{{ $lang('common.currency_symbol')
|
||||
<text class="unit price-style small">{{ $lang('common.currencySymbol')
|
||||
}}</text>
|
||||
<text class="price-color price-style large">{{
|
||||
parseFloat(orderItem.price).toFixed(2).split(".")[0] }}</text>
|
||||
@@ -62,12 +62,12 @@
|
||||
<view class="order-base-info active">
|
||||
<view class="order-type ">
|
||||
<text class="color-tip">{{ $util.timeStampTurnTime(orderItem.create_time) }}</text>
|
||||
<!-- <text>{ $lang("diy.diy-pinfan.l52.t0") } fenxiaoWords.account }}金额:</text>
|
||||
<text class="color-base-text">{{ $lang('common.currency_symbol') }}{{ orderItem.commission }}</text> -->
|
||||
<!-- <text>返{{ fenxiaoWords.account }}金额:</text>
|
||||
<text class="color-base-text">{{ $lang('common.currencySymbol') }}{{ orderItem.commission }}</text> -->
|
||||
</view>
|
||||
<view class="total">
|
||||
<text>{{ $lang("order._components.common-payment.l408.t0") }}</text>
|
||||
<text class="price-color">{{ $lang('common.currency_symbol') }}</text>
|
||||
<text>合计:</text>
|
||||
<text class="price-color">{{ $lang('common.currencySymbol') }}</text>
|
||||
<text class="price-color font-size-toolbar">{{
|
||||
parseFloat(orderItem.real_goods_money).toFixed(2).split(".")[0] }}</text>
|
||||
<text class="price-color">.{{
|
||||
@@ -108,22 +108,22 @@ export default {
|
||||
category: [
|
||||
{
|
||||
id: 0,
|
||||
name: $lang('diy.diy-category-item.l47.t0'),
|
||||
name: '全部',
|
||||
number: 2
|
||||
},
|
||||
{
|
||||
id: 1,
|
||||
name: $lang('fenxiao.order.l20'),
|
||||
name: '待结算',
|
||||
number: 0
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: $lang('fenxiao.order.l19'),
|
||||
name: '已结算',
|
||||
number: 0
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: $lang('fenxiao.order.l17'),
|
||||
name: '已退款',
|
||||
number: 0
|
||||
}
|
||||
],
|
||||
@@ -142,7 +142,7 @@ export default {
|
||||
setTimeout(() => {
|
||||
if (!this.addonIsExist.fenxiao) {
|
||||
this.$util.showToast({
|
||||
title: $lang('fenxiao.apply.l194'),
|
||||
title: '商家未开启分销',
|
||||
mask: true,
|
||||
duration: 2000
|
||||
});
|
||||
@@ -152,7 +152,7 @@ export default {
|
||||
}
|
||||
}, 1000);
|
||||
|
||||
if (this.fenxiaoWords && this.fenxiaoWords.concept) this.$langConfig.title(this.fenxiaoWords.concept + $lang('fenxiao.index.l114'));
|
||||
if (this.fenxiaoWords && this.fenxiaoWords.concept) this.$langConfig.title(this.fenxiaoWords.concept + '订单');
|
||||
|
||||
if (!this.storeToken) {
|
||||
this.$nextTick(() => {
|
||||
|
||||
Reference in New Issue
Block a user