Skip to content

Commit 7949ec6

Browse files
committed
docs: update readme
1 parent f3e7528 commit 7949ec6

File tree

2 files changed

+54
-16
lines changed

2 files changed

+54
-16
lines changed

README.md

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -972,14 +972,33 @@ Enum.install(antdPlugin, {
972972

973973
The following plugins are available. You can choose to install them based on your needs:
974974

975-
- [@enum-plus/plugin-antd](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-antd) - Ant Design oriented features, including `enum.toSelect`, `enum.toMenu`, `enum.toFilter`, and `enum.toValueMap`. With these methods, you can directly bind enums to the corresponding Ant Design components, greatly simplifying your code.
976-
- [@enum-plus/plugin-i18next](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-i18next) - Integrates [i18next](https://www.i18next.com) to enable internationalization of enum labels.
977-
- [@enum-plus/plugin-react-i18next](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-react-i18next) - Integrates [react-i18next](https://react.i18next.com) to enable internationalization of enum labels.
978-
- [@enum-plus/plugin-react](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-react) - React integration, including support for `Enum.localize` to return React components, and listening for language changes to auto update components.
979-
- [@enum-plus/plugin-i18next-vue](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-i18next-vue) - Integrates [i18next-vue](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-i18next-vue) to enable internationalization of enum labels and listen for language changes to auto update components.
980-
- [@enum-plus/plugin-vue-i18n](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-vue-i18n) - Integrates [vue-i18n](https://vue-i18n.intlify.dev) to enable internationalization of enum labels and listen for language changes to auto update components.
981-
- We are working on the following plugins:
982-
- [@enum-plus/plugin-angular](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-angular): Angular integration, including support for `Enum.localize` to return Angular components, and listening for language changes to auto update components. _We need your help to develop this plugin!_
975+
- [@enum-plus/plugin-antd](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-antd)
976+
977+
Ant Design oriented features, including `enum.toSelect`, `enum.toMenu`, `enum.toFilter`, and `enum.toValueMap`. With these methods, you can directly bind enums to the corresponding Ant Design components, greatly simplifying your code.
978+
979+
- [@enum-plus/plugin-i18next](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-i18next)
980+
981+
Integrates [i18next](https://www.i18next.com) to enable internationalization of enum labels.
982+
983+
- [@enum-plus/plugin-react-i18next](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-react-i18next)
984+
985+
Integrates [react-i18next](https://react.i18next.com) to enable internationalization of enum labels.
986+
987+
- [@enum-plus/plugin-react](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-react)
988+
989+
React integration, including support for `Enum.localize` to return React components, and listening for language changes to auto update components.
990+
991+
- [@enum-plus/plugin-i18next-vue](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-i18next-vue)
992+
993+
Integrates [i18next-vue](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-i18next-vue) to enable internationalization of enum labels and listen for language changes to auto update components.
994+
995+
- [@enum-plus/plugin-vue-i18n](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-vue-i18n)
996+
997+
Integrates [vue-i18n](https://vue-i18n.intlify.dev) to enable internationalization of enum labels and listen for language changes to auto update components.
998+
999+
We are working on the following plugins:
1000+
1001+
- [@enum-plus/plugin-angular](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-angular): Angular integration, including support for `Enum.localize` to return Angular components, and listening for language changes to auto update components. _We need your help to develop this plugin!_
9831002

9841003
> If the plugin you are searching for is not available, or if you want to develop your own plugin, please refer to the [Plugin Development Guide](./docs/plugin-development.md). You can develop new plugins in the official enum-plus repository or publish your developed plugins to npm and share your plugin links here. We sincerely need your help to enrich the plugin ecosystem!
9851004

README.zh-CN.md

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -964,14 +964,33 @@ Enum.install(antdPlugin, {
964964

965965
目前我们已经开发并发布了以下插件,你可以根据需要选择安装:
966966

967-
- [@enum-plus/plugin-antd](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-antd) - Ant Design 相关功能,包括 `enum.toSelect``enum.toMenu``enum.toFilter``enum.toValueMap`。通过这些方法,可以直接将枚举绑定到对应的 Ant Design 组件上,极大地简化了代码。
968-
- [@enum-plus/plugin-i18next](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-i18next) - 集成 [i18next](https://www.i18next.com) 并实现枚举标签的国际化。
969-
- [@enum-plus/plugin-react-i18next](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-react-i18next) - 自动适配 [react-i18next](https://react.i18next.com) 以让枚举支持国际化。
970-
- [@enum-plus/plugin-react](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-react) - React 集成,包括支持 `Enum.localize` 返回 React 组件,以及监听语言变化以自动重新渲染组件。
971-
- [@enum-plus/plugin-i18next-vue](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-i18next-vue) - 集成 [i18next-vue](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-i18next-vue) 并实现枚举标签的国际化,支持切换语言后自动更新UI。
972-
- [@enum-plus/plugin-vue-i18n](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-vue-i18n) - 集成 [vue-i18n](https://vue-i18n.intlify.dev) 并实现枚举标签的国际化,支持切换语言后自动更新UI。
973-
- 我们正在开发以下插件:
974-
- [@enum-plus/plugin-angular](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-angular): Angular 集成,包括支持 `Enum.localize` 返回 Angular 组件,以及监听语言变化以自动重新渲染组件。_我们需要你的帮助来开发这个插件!_
967+
- [@enum-plus/plugin-antd](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-antd)
968+
969+
Ant Design 相关功能,包括 `enum.toSelect``enum.toMenu``enum.toFilter``enum.toValueMap`。通过这些方法,可以直接将枚举绑定到对应的 Ant Design 组件上,极大地简化了代码。
970+
971+
- [@enum-plus/plugin-i18next](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-i18next)
972+
973+
集成 [i18next](https://www.i18next.com) 并实现枚举标签的国际化。
974+
975+
- [@enum-plus/plugin-react-i18next](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-react-i18next)
976+
977+
自动适配 [react-i18next](https://react.i18next.com) 以让枚举支持国际化。
978+
979+
- [@enum-plus/plugin-react](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-react)
980+
981+
React 集成,包括支持 `Enum.localize` 返回 React 组件,以及监听语言变化以自动重新渲染组件。
982+
983+
- [@enum-plus/plugin-i18next-vue](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-i18next-vue)
984+
985+
集成 [i18next-vue](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-i18next-vue) 并实现枚举标签的国际化,支持切换语言后自动更新UI。
986+
987+
- [@enum-plus/plugin-vue-i18n](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-vue-i18n)
988+
989+
集成 [vue-i18n](https://vue-i18n.intlify.dev) 并实现枚举标签的国际化,支持切换语言后自动更新UI。
990+
991+
我们正在开发以下插件:
992+
993+
- [@enum-plus/plugin-angular](https://github.com/shijistar/enum-plus/tree/main/packages/plugin-angular): Angular 集成,包括支持 `Enum.localize` 返回 Angular 组件,以及监听语言变化以自动重新渲染组件。_我们需要你的帮助来开发这个插件!_
975994

976995
> 如果你没有找到需要的插件,或者你想开发自己的插件,请参阅 [插件开发指南](./docs/plugin-development.zh-CN.md)。你可以在enum-plus官方仓库中开发新插件,也可以将你开发的插件发布到 npm 上,并把你的插件链接分享在这里。我们真诚地需要你的帮助,来丰富插件生态系统!
977996

0 commit comments

Comments
 (0)