From 214115644c4beae83aa2cd00a1cf3f16c00e7e39 Mon Sep 17 00:00:00 2001 From: XieZongChen <46394163+amadeus711@users.noreply.github.com> Date: Fri, 30 Jun 2023 11:18:13 +0800 Subject: [PATCH] docs(changelog): optimize formatting and translation (#5003) --- CHANGELOG.en-US.md | 7 +++---- CHANGELOG.zh-CN.md | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 28eb263511e..7b5965f3e9a 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -1,4 +1,3 @@ - # CHANGELOG ## NEXT_VERSION @@ -31,7 +30,7 @@ - Fix `n-steps` may have line wrap issue if step is more than 9. - Fix `n-grid` v-show reports errors when switching multiple times, closes [#4422](https://github.com/tusen-ai/naive-ui/issues/4422). - Fix `n-tree`'s `TreeOption`'s `checkboxDisabled` prop doesn't work when `check-on-click` is `true`. -- Fixed rapid clicks on `n-date-input`'s buttons triggering a text select for the rest of the website. +- Fix rapid clicks on `n-date-input`'s buttons triggering a text select for the rest of the website. ### Features @@ -46,11 +45,11 @@ - `n-tree` adds `show-line` prop, closes [#3796](https://github.com/tusen-ai/naive-ui/issues/3796), [#4554](https://github.com/tusen-ai/naive-ui/pull/4554) - `n-tree` adds node information for `render-switcher-icon` props, closes [#4815](https://github.com/tusen-ai/naive-ui/issues/4815). - `n-input-number` export the `select` method. -- `n-data-table` adds `n-data-table-tr--expanded` class to expanded rows, and `n-data-table-tr n-data-table-tr--expand` class to the additional row. closes [#4420](https://github.com/tusen-ai/naive-ui/issues/4420). +- `n-data-table` adds `n-data-table-tr--expanded` class to expanded rows, and `n-data-table-tr n-data-table-tr--expand` class to the additional row, closes [#4420](https://github.com/tusen-ai/naive-ui/issues/4420). ### i18n -- Improve `zhTW` locale. +- Update `zhTW` locale. - Add `svSE` locale. ## 2.34.4 diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index a9c360f19aa..95d3527e736 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -30,7 +30,7 @@ - 修复 `n-steps` 在超过 9 个步数的时候换行可能存在问题 - 修复 `n-form-item-gi` v-show 多次切换报错,关闭 [#4422](https://github.com/tusen-ai/naive-ui/issues/4422) - 修复 `n-tree` `check-on-click` 为 `true` 时,`TreeOption` `checkboxDisabled` 不生效 -- Fixed rapid clicks on `n-date-input`'s buttons triggering a text select for the rest of the website. +- 修复 `n-date-input` 的按钮快速点击时网站其余文本会被选中 ### Features @@ -45,11 +45,11 @@ - `n-tree` 新增 `show-line` 属性,关闭 [#3796](https://github.com/tusen-ai/naive-ui/issues/3796), [#4554](https://github.com/tusen-ai/naive-ui/issues/4554) - `n-tree` 为 `render-switcher-icon` 属性添加节点信息,关闭 [#4815](https://github.com/tusen-ai/naive-ui/issues/4815) - `n-input-number` 导出 `select` 方法 -- `n-data-table` adds `n-data-table-tr--expanded` class to expanded rows, and `n-data-table-tr n-data-table-tr--expand` class to the additional row. closes [#4420](https://github.com/tusen-ai/naive-ui/issues/4420). +- `n-data-table` 新增 `n-data-table-tr--expanded` class 到展开行,新增 `n-data-table-tr n-data-table-tr--expand` class 到附加行,关闭 [#4420](https://github.com/tusen-ai/naive-ui/issues/4420). ### i18n -- 完善 zhTW locale +- 更新 zhTW locale - 新增 svSE locale ## 2.34.4