diff --git a/.typos.toml b/.typos.toml index 224a0de64e..23e7f8cce6 100644 --- a/.typos.toml +++ b/.typos.toml @@ -16,6 +16,7 @@ yoy = "yoy" YOY = "YOY" Leafs = "Leafs" leafs = "leafs" +hiden = "hiden" [files] extend-exclude = [ diff --git a/core/mobile/src/components/uni-popup/i18n/en.json b/core/mobile/src/components/uni-popup/i18n/en.json index 7f1bd06a03..7c2989ed08 100644 --- a/core/mobile/src/components/uni-popup/i18n/en.json +++ b/core/mobile/src/components/uni-popup/i18n/en.json @@ -1,7 +1,7 @@ { "uni-popup.cancel": "cancel", "uni-popup.ok": "ok", - "uni-popup.placeholder": "pleace enter", + "uni-popup.placeholder": "please enter", "uni-popup.title": "Hint", "uni-popup.shareTitle": "Share to" } diff --git a/core/mobile/src/locale/en.json b/core/mobile/src/locale/en.json index 6171c79f40..5901cf6a66 100644 --- a/core/mobile/src/locale/en.json +++ b/core/mobile/src/locale/en.json @@ -47,7 +47,11 @@ "clearConfirm": "Are You Sure To Clean All History ?", "noHistory": "There Are No Any History", "contentPrefix": "The Content Is ", - "contentSuffix": "Will Be Marked As History When You Confirm" + "contentSuffix": "Will Be Marked As History When You Confirm", + "create-time-desc": "Sort by time desc", + "create-time-asc": "Sort by time asc", + "create-name-desc": "Sort by name desc", + "create-name-asc": "Sort by name asc" }, "me": { "moreInfo": "More", diff --git a/core/mobile/src/locale/zh-Hans.json b/core/mobile/src/locale/zh-Hans.json index 177c6e8dc1..194ad49959 100644 --- a/core/mobile/src/locale/zh-Hans.json +++ b/core/mobile/src/locale/zh-Hans.json @@ -48,7 +48,11 @@ "clearConfirm": "确定清除全部历史记录?", "noHistory": "您还没有历史记录", "contentPrefix": "您输入的内容为 ", - "contentSuffix": " 如果点击确定,将记录到历史搜索,并返回.如果取消不做操作" + "contentSuffix": " 如果点击确定,将记录到历史搜索,并返回.如果取消不做操作", + "create-time-desc": "按创建时间降序", + "create-time-asc": "按创建时间升序", + "create-name-desc": "按照名称降序", + "create-name-asc": "按照名称升序" }, "me": { "moreInfo": "更多信息", diff --git a/core/mobile/src/locale/zh-Hant.json b/core/mobile/src/locale/zh-Hant.json index ac211a215d..ab4392dc20 100644 --- a/core/mobile/src/locale/zh-Hant.json +++ b/core/mobile/src/locale/zh-Hant.json @@ -49,7 +49,11 @@ "clearConfirm": "確定清除全部歷史記錄?", "noHistory": "您還沒有歷史記錄", "contentPrefix": "您輸入的內容為 ", - "contentSuffix": " 如果點擊確定,將紀錄到歷史紀錄" + "contentSuffix": " 如果點擊確定,將紀錄到歷史紀錄", + "create-time-desc": "按創建時間降序", + "create-time-asc": "按創建時間升序", + "create-name-desc": "按照名稱降序", + "create-name-asc": "按照名稱升序" }, "me": { "moreInfo": "更多信息", diff --git a/core/mobile/src/pages/tabBar/dir/index.vue b/core/mobile/src/pages/tabBar/dir/index.vue index a6c25049d7..606e0c07cc 100644 --- a/core/mobile/src/pages/tabBar/dir/index.vue +++ b/core/mobile/src/pages/tabBar/dir/index.vue @@ -54,19 +54,19 @@ export default { ], nodes: [], pickerValueArray: [{ - label: '按创建时间升序', + label: this.$t('dir.create-time-asc'), value: 'time_asc' }, { - label: '按创建时间降序', + label: this.$t('dir.create-time-desc'), value: 'time_desc' }, { - label: '按名称升序', + label: this.$t('dir.create-name-asc'), value: 'name_asc' }, { - label: '按名称降序', + label: this.$t('dir.create-name-desc'), value: 'name_desc' } ], @@ -139,7 +139,7 @@ export default { onNavigationBarButtonTap(e) { let that = this; if (e.index === 0) { - this.$refs.popup.open('buttom') + this.$refs.popup.open('bottom') uni.hideTabBar() } },