From 272ce3d03bc607221f5545357cef54f452aaddf5 Mon Sep 17 00:00:00 2001 From: Eiinu Date: Tue, 14 Nov 2023 20:06:14 +0800 Subject: [PATCH] chore(locale): add use-locale (#2642) --- src/packages/__VUE/address/index.taro.vue | 16 ++++------ src/packages/__VUE/address/index.vue | 8 +++-- .../components/ItemContents.taro.vue | 6 +++- .../addresslist/components/ItemContents.vue | 6 +++- src/packages/__VUE/addresslist/index.taro.vue | 17 +++++------ src/packages/__VUE/addresslist/index.vue | 17 +++++------ src/packages/__VUE/audiooperate/index.vue | 6 +++- .../__VUE/calendaritem/index.taro.vue | 6 +++- src/packages/__VUE/calendaritem/index.vue | 6 +++- .../__VUE/cascader/cascader-item.taro.vue | 4 ++- src/packages/__VUE/cascader/cascader-item.vue | 4 ++- .../comment/components/CmtBottom.taro.vue | 8 +++-- .../__VUE/comment/components/CmtBottom.vue | 8 +++-- src/packages/__VUE/comment/index.taro.vue | 23 +++++++-------- src/packages/__VUE/comment/index.vue | 19 +++++------- src/packages/__VUE/countdown/index.taro.vue | 17 +++++------ src/packages/__VUE/countdown/index.vue | 17 +++++------ src/packages/__VUE/datepicker/index.vue | 14 ++++----- src/packages/__VUE/dialog/index.taro.vue | 19 +++++------- src/packages/__VUE/dialog/index.vue | 17 +++++------ src/packages/__VUE/ecard/index.taro.vue | 10 +++++-- src/packages/__VUE/ecard/index.vue | 7 ++++- src/packages/__VUE/empty/index.taro.vue | 16 +++++++--- src/packages/__VUE/empty/index.vue | 6 +++- src/packages/__VUE/fixednav/index.taro.vue | 9 ++++-- src/packages/__VUE/fixednav/index.vue | 9 ++++-- src/packages/__VUE/infiniteloading/index.vue | 29 +++++-------------- .../__VUE/numberkeyboard/index.taro.vue | 8 +++-- src/packages/__VUE/numberkeyboard/index.vue | 5 +++- src/packages/__VUE/pagination/index.taro.vue | 6 +++- src/packages/__VUE/pagination/index.vue | 6 +++- src/packages/__VUE/picker/common.ts | 7 +++-- src/packages/__VUE/picker/index.vue | 6 +++- src/packages/__VUE/pullrefresh/index.vue | 28 ++++++++---------- src/packages/__VUE/searchbar/index.taro.vue | 6 +++- src/packages/__VUE/searchbar/index.vue | 7 ++++- .../__VUE/shortpassword/index.taro.vue | 7 ++++- src/packages/__VUE/shortpassword/index.vue | 7 ++++- src/packages/__VUE/signature/index.taro.vue | 8 +++-- src/packages/__VUE/signature/index.vue | 8 +++-- .../__VUE/sku/components/SkuHeader.taro.vue | 19 +++++------- .../__VUE/sku/components/SkuHeader.vue | 7 +++-- src/packages/__VUE/sku/index.taro.vue | 7 ++++- src/packages/__VUE/sku/index.vue | 7 ++++- src/packages/__VUE/table/index.taro.vue | 8 ++++- src/packages/__VUE/table/index.vue | 8 ++++- src/packages/__VUE/textarea/index.taro.vue | 10 +++++-- src/packages/__VUE/textarea/index.vue | 9 ++++-- src/packages/__VUE/timeselect/index.taro.vue | 7 ++++- src/packages/__VUE/timeselect/index.vue | 7 ++++- src/packages/__VUE/uploader/index.taro.vue | 8 ++++- src/packages/__VUE/uploader/index.vue | 7 ++++- src/packages/__VUE/uploader/type.ts | 4 +-- src/packages/__VUE/video/index.vue | 6 +++- src/packages/utils/useLocale/index.ts | 15 ++++++++++ 55 files changed, 351 insertions(+), 211 deletions(-) create mode 100644 src/packages/utils/useLocale/index.ts diff --git a/src/packages/__VUE/address/index.taro.vue b/src/packages/__VUE/address/index.taro.vue index da069a776b..1e61ef0b22 100644 --- a/src/packages/__VUE/address/index.taro.vue +++ b/src/packages/__VUE/address/index.taro.vue @@ -131,14 +131,17 @@ diff --git a/src/packages/__VUE/comment/index.vue b/src/packages/__VUE/comment/index.vue index 20b1280f57..e97e8bd194 100644 --- a/src/packages/__VUE/comment/index.vue +++ b/src/packages/__VUE/comment/index.vue @@ -1,5 +1,5 @@