1. 替换所有页面/组件中的硬编码中文提示文案为$lang调用,包括支付、帮助中心、公告等页面 2. 重构diy.js加载失败文案处理逻辑,支持参数化替换 3. 新增多语言混入逻辑,实现导航标题随语种动态切换 4. 重构支付组件初始化逻辑,优化平台适配代码 5. 添加多语言单元测试和硬编码扫描脚本 6. 更新语言包,新增缺失的翻译词条
184 lines
4.2 KiB
JSON
184 lines
4.2 KiB
JSON
{
|
|
"bundle_version": "1784767380",
|
|
"bundle_lang": "zh-cn",
|
|
"bundle_leaves": 2659,
|
|
"code_calls_total": 2693,
|
|
"code_unique_keys": 2097,
|
|
"found_in_bundle": 2086,
|
|
"missing_summary": {
|
|
"TRULY_MISSING": 12,
|
|
"SYNTAX_BUG": 1
|
|
},
|
|
"missing_classified": {
|
|
"TRULY_MISSING": [
|
|
{
|
|
"key": "common.buyNow",
|
|
"file": "components\\ns-goods-recommend\\ns-goods-recommend.vue",
|
|
"reason": "not in bundle, not local"
|
|
},
|
|
{
|
|
"key": "wechatChannel.wechatMpOnly",
|
|
"file": "components-diy\\diy-channel-list.vue",
|
|
"reason": "not in bundle, not local"
|
|
},
|
|
{
|
|
"key": "common.submitSuccess",
|
|
"file": "components-diy\\diy-form.vue",
|
|
"reason": "not in bundle, not local"
|
|
},
|
|
{
|
|
"key": "submitFail",
|
|
"file": "components-diy\\diy-form.vue",
|
|
"reason": "not in bundle, not local"
|
|
},
|
|
{
|
|
"key": "diy.networkError",
|
|
"file": "pages\\index\\index.vue",
|
|
"reason": "not in bundle, not local"
|
|
},
|
|
{
|
|
"key": "versionInfo",
|
|
"file": "pages\\index\\public\\js\\index.js",
|
|
"reason": "not in bundle, not local"
|
|
},
|
|
{
|
|
"key": "commitId",
|
|
"file": "pages\\index\\public\\js\\index.js",
|
|
"reason": "not in bundle, not local"
|
|
},
|
|
{
|
|
"key": "buildTime",
|
|
"file": "pages\\index\\public\\js\\index.js",
|
|
"reason": "not in bundle, not local"
|
|
},
|
|
{
|
|
"key": "diy.networkError",
|
|
"file": "pages_goods\\category.vue",
|
|
"reason": "not in bundle, not local"
|
|
},
|
|
{
|
|
"key": "goods.detail.formEmptyTip",
|
|
"file": "pages_goods\\detail.vue",
|
|
"reason": "not in bundle, not local"
|
|
},
|
|
{
|
|
"key": "common.buyNow",
|
|
"file": "pages_goods\\public\\js\\list.js",
|
|
"reason": "not in bundle, not local"
|
|
},
|
|
{
|
|
"key": "pay.index.payInfoNotFound",
|
|
"file": "pages_tool\\pay\\index.vue",
|
|
"reason": "not in bundle, not local"
|
|
}
|
|
],
|
|
"SYNTAX_BUG": [
|
|
{
|
|
"key": "order.list.status.",
|
|
"file": "pages_order\\list.vue",
|
|
"reason": "trailing dot in concatenated template"
|
|
}
|
|
]
|
|
},
|
|
"placeholder_issues": [],
|
|
"data_lang_issues": {
|
|
"pages_promotion\\fenxiao\\apply.vue": [
|
|
"fenxiao.apply.pleaseEnterName"
|
|
]
|
|
},
|
|
"hardcoded_navbar_titles": [
|
|
[
|
|
"pages_goods/category",
|
|
"商品分类"
|
|
],
|
|
[
|
|
"pages_goods/cart",
|
|
"购物车"
|
|
],
|
|
[
|
|
"pages_goods/detail",
|
|
"商品详情"
|
|
],
|
|
[
|
|
"pages_goods/list",
|
|
"商品列表"
|
|
],
|
|
[
|
|
"pages_promotion/merch/merchcategory",
|
|
"入驻商户"
|
|
],
|
|
[
|
|
"pages_promotion/merch/detail",
|
|
"商户首页"
|
|
],
|
|
[
|
|
"pages_promotion/fenxiao/ranking_list",
|
|
"排行榜"
|
|
],
|
|
[
|
|
"pages_promotion/fenxiao/child_fenxiao",
|
|
"分销商"
|
|
],
|
|
[
|
|
"pages_tool/ai-chat/index",
|
|
"AI智能客服"
|
|
],
|
|
[
|
|
"pages_tool/contact/contact",
|
|
"电子名片"
|
|
],
|
|
[
|
|
"pages_tool/member/info",
|
|
"个人资料"
|
|
],
|
|
[
|
|
"pages_tool/order/activist",
|
|
"退款"
|
|
],
|
|
[
|
|
"pages_tool/login/login",
|
|
"登录"
|
|
],
|
|
[
|
|
"pages_tool/weapp/order_shipping",
|
|
"小程序发货"
|
|
],
|
|
[
|
|
"pages_tool/seal/structure",
|
|
"结构选型"
|
|
],
|
|
[
|
|
"pages_tool/seal/medium/search",
|
|
"介质材料搜索"
|
|
],
|
|
[
|
|
"pages_tool/seal/medium/detail",
|
|
"搜索结果"
|
|
],
|
|
[
|
|
"pages_tool/cases/index",
|
|
"案例展示"
|
|
],
|
|
[
|
|
"pages_tool/files/list",
|
|
"查看文件"
|
|
],
|
|
[
|
|
"pages_tool/file-preview/file-preview",
|
|
"文件预览"
|
|
]
|
|
],
|
|
"tabbar_missing": [
|
|
"common.tabBar.home",
|
|
"common.tabBar.category",
|
|
"common.tabBar.cart",
|
|
"common.tabBar.member"
|
|
],
|
|
"local_only_keys": [
|
|
"buildTime",
|
|
"commitId",
|
|
"submitFail",
|
|
"versionInfo"
|
|
],
|
|
"bundle_only_keys_in_unique": []
|
|
} |