From 55a5a685171125455cbd32fac7529b19d5f796df Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Tue, 30 Jun 2026 10:28:36 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=BB=9F=E4=B8=80=E5=A4=9A?= =?UTF-8?q?=E8=AF=AD=E8=A8=80key=E7=9A=84=E7=BB=84=E4=BB=B6=E5=91=BD?= =?UTF-8?q?=E5=90=8D=E6=A0=BC=E5=BC=8F=E4=B8=BA=E7=9F=AD=E6=A8=AA=E7=BA=BF?= =?UTF-8?q?=E5=88=86=E9=9A=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根据i18n规范,将所有组件相关的多语言key从驼峰式改为短横线分隔格式,同步更新文档中的示例说明。 --- components-diy/diy-article.vue | 4 +- components-diy/diy-channel-video.vue | 6 +-- components-diy/diy-goods-recommend.vue | 26 +++++----- components-diy/diy-kefu.vue | 2 +- components-diy/diy-listmenu.vue | 2 +- components-diy/diy-live.vue | 22 ++++---- components-diy/diy-map.vue | 4 +- components-diy/diy-member-info.vue | 32 ++++++------ components-diy/diy-notes.vue | 16 +++--- components-diy/diy-search.vue | 6 +-- components-diy/diy-text.vue | 4 +- components/chat-message/chat-message.vue | 4 +- components/ns-chat/ns-chat-goods.vue | 4 +- components/ns-chat/ns-chat-receiveGoods.vue | 6 +-- components/ns-goods-sku/ns-goods-sku.vue | 2 +- .../ns-video-player-popup.vue | 2 +- components/pick-regions/pick-regions.vue | 4 +- docs/i18n-audit-report.md | 52 +++++++++---------- docs/i18n-guidelines.md | 2 +- 19 files changed, 100 insertions(+), 100 deletions(-) diff --git a/components-diy/diy-article.vue b/components-diy/diy-article.vue index e2594fa..e856fac 100644 --- a/components-diy/diy-article.vue +++ b/components-diy/diy-article.vue @@ -90,12 +90,12 @@ - {{ viewMore.text || $lang('components-diy.diyArticle.viewMore') }} + {{ viewMore.text || $lang('components-diy.diy-article.viewMore') }} - {{ $lang('components-diy.diyArticle.noArticles') }} + {{ $lang('components-diy.diy-article.noArticles') }} diff --git a/components-diy/diy-channel-video.vue b/components-diy/diy-channel-video.vue index fac5af7..81e0a10 100644 --- a/components-diy/diy-channel-video.vue +++ b/components-diy/diy-channel-video.vue @@ -17,7 +17,7 @@ {{ value.videoTitle }} - {{ $lang('components-diy.diyChannelVideo.viewCountSuffix', { count: value.viewCount }) }} + {{ $lang('components-diy.diy-channel-video.viewCountSuffix', { count: value.viewCount }) }} @@ -29,7 +29,7 @@ - {{ $lang('components-diy.diyChannelVideo.viewCountSuffix', { count: value.viewCount }) }} + {{ $lang('components-diy.diy-channel-video.viewCountSuffix', { count: value.viewCount }) }} @@ -37,7 +37,7 @@ {{ value.videoTitle }} - {{ $lang('components-diy.diyChannelVideo.viewCountSuffix', { count: value.viewCount }) }} + {{ $lang('components-diy.diy-channel-video.viewCountSuffix', { count: value.viewCount }) }} diff --git a/components-diy/diy-goods-recommend.vue b/components-diy/diy-goods-recommend.vue index c7441d4..e086e31 100644 --- a/components-diy/diy-goods-recommend.vue +++ b/components-diy/diy-goods-recommend.vue @@ -50,19 +50,19 @@ - ¥{{ showMarketPrice(dataItem) }} - - {{ $lang('components-diy.diyGoodsRecommend.soldPrefix') }}{{ dataItem.sale_num }}{{ dataItem.unit ? dataItem.unit : $lang('unit.piece') }} - - - - - - - - - + ¥{{ showMarketPrice(dataItem) }} + + {{ $lang('components-diy.diy-goods-recommend.soldPrefix') }}{{ dataItem.sale_num }}{{ dataItem.unit ? dataItem.unit : $lang('unit.piece') }} + + + + + + + + +