Skip to content

Commit

Permalink
docs(changelog): optimize formatting and translation (#5003)
Browse files Browse the repository at this point in the history
  • Loading branch information
XieZongChen authored Jun 30, 2023
1 parent 3f4ccae commit 2141156
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# CHANGELOG

## NEXT_VERSION
Expand Down Expand Up @@ -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

Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 2141156

Please sign in to comment.