Bladeren bron

docs: fix the links to the zh-CN version in english docs (#1691)

Eder is a nobody 2 jaren geleden
bovenliggende
commit
15697af7d9

+ 10 - 10
README.md

@@ -93,16 +93,16 @@ And [Semi UI Doc Site](https://semi.design/en-US/) has hundreds of editable exam
 * [Semi DSM](https://semi.design/dsm)
 * [Semi Design2Code](https://semi.design/code/en-US)
 * [Semi Figma Plugin](https://www.figma.com/community/plugin/1166339852662786534/Semi-Design-%E8%AE%BE%E8%AE%A1%E8%BD%AC%E4%BB%A3%E7%A0%81)
-* [Quick Start](https://semi.design/zh-CN/start/getting-started)
-* [Components Overview](https://semi.design/zh-CN/start/overview)
-* [Customizing Themes](https://semi.design/zh-CN/start/customize-theme)
-* [Design Tokens](https://semi.design/zh-CN/basic/tokens)
-* [Dark Mode](https://semi.design/zh-CN/start/dark-mode)
-* [Semi Icons](https://semi.design/zh-CN/basic/icon)
-* [Global Config](https://semi.design/zh-CN/other/configprovider)
-* [Internationalization](https://semi.design/zh-CN/other/locale)
-* [FAQ](https://semi.design/zh-CN/start/faq)
-* [CHANGELOG](https://semi.design/zh-CN/start/changelog)
+* [Quick Start](https://semi.design/en-US/start/getting-started)
+* [Components Overview](https://semi.design/en-US/start/overview)
+* [Customizing Themes](https://semi.design/en-US/start/customize-theme)
+* [Design Tokens](https://semi.design/en-US/basic/tokens)
+* [Dark Mode](https://semi.design/en-US/start/dark-mode)
+* [Semi Icons](https://semi.design/en-US/basic/icon)
+* [Global Config](https://semi.design/en-US/other/configprovider)
+* [Internationalization](https://semi.design/en-US/other/locale)
+* [FAQ](https://semi.design/en-US/start/faq)
+* [CHANGELOG](https://semi.design/en-US/start/changelog)
 
 # 👌 Platform Support
 

+ 1 - 1
content/feedback/popconfirm/index-en-US.md

@@ -240,7 +240,7 @@ Please refer to [Use with Tooltip/Popover](/en-US/show/tooltip#Use-with-Popver-o
 
 ### ARIA
 
-For ARIA, please refer to [Popover](https://semi.design/zh-CN/show/popover#ARIA)
+For ARIA, please refer to [Popover](https://semi.design/en-US/show/popover#ARIA)
 
 ### Keyboard and focus
 

+ 2 - 2
content/start/changelog/index-en-US.md

@@ -642,7 +642,7 @@ Change :`$spacing-select_option_list-paddingTop` 、`$spacing-select_option_li
 - 【Fix】
     - Update @douyinfe/semi-webpack-plugin to fix the error that animation.scss cannot be processed when using a custom theme  [#1072](https://github.com/DouyinFE/semi-design/issues/1072)
 - 【Docs】
-    -  Added [Global content guidelines](/zh-CN/), Component content guidelines
+    -  Added [Global content guidelines](/en-US/), Component content guidelines
 
 #### 🎉 2.18.0 (2022-08-26)
 - 【Feat】
@@ -1079,7 +1079,7 @@ Change :`$spacing-select_option_list-paddingTop` 、`$spacing-select_option_li
         - Tree supports passing in aria-label to indicate the role of the Tree, and the corresponding role and aria-* attributes are set for Tree and TreeNode inside the component. [#493](https://github.com/DouyinFE/semi-design/issues/493)
         - TreeSelect supports passing in attributes such as aria-label and aria-errormessage to indicate the role and current status of TreeSelect, and sets relevant aria-* attributes for child nodes. [#493](https://github.com/DouyinFE/semi-design/issues/493)
         - When the trigger of the Popover is hover, the content of the Popover has the tooltip role, and when the trigger is click, custom, the content of the Popover has the dialog role
-        - For details of other components, please refer to the documentation of each component, click to view the [accessibility design guide](https://semi.design/zh-CN/start/accessibility)
+        - For details of other components, please refer to the documentation of each component, click to view the [accessibility design guide](https://semi.design/en-US/start/accessibility)
 
 #### 🎉 2.2.2 (2021-12-31)
 - 【Fix】

+ 1 - 1
content/start/faq/index-en-US.md

@@ -29,7 +29,7 @@ No plans for this. Specific reasons: [Issue 311](https://github.com/DouyinFE/sem
  - The Semi v2.0 version is refactored based on v1.x using ts, which brings a better ts experience, bettter a11y support and a more out-of-the-box engineering solution, which solves the coexistence of multi-component libraries in the micro front-end scenario Style conflict issues, etc. All subsequent long-term work of the Semi team will be based on the v2.x version
  - v1.x has stopped iterative maintenance, no more feature additions or complex changes, only necessary bug fix changes are provided.
  - For new projects, we recommend that you directly use 2.x [@douyin/semi-ui](https://semi.design) for development. For existing projects, we also recommend that you upgrade as soon as possible. In order to reduce the cost of upgrading, we provide a cli tool one-click migration (@ies/semi-codemod-v2) that can help you automatically complete up to 90% of the migration and modification (limited by the AST implementation principle, there are still a small number of cases that require manual labor review modification, but not much 😉)
- - Upgrade from Semi 1.x to Semi 2.x for detailed operation steps [From v1 to v2](https://semi.design/zh-CN/start/update-to-v2)
+ - Upgrade from Semi 1.x to Semi 2.x for detailed operation steps [From v1 to v2](https://semi.design/en-US/start/update-to-v2)
 
 #### Relationship between versions
 

+ 1 - 1
packages/semi-rspack/README.md

@@ -45,7 +45,7 @@ module.exports = {
 
 #### Through local Scss file
 
-You can check which tokens can be customized on the [Semi WebSite](https://semi.design/zh-CN/basic/tokens).
+You can check which tokens can be customized on the [Semi WebSite](https://semi.design/en-US/basic/tokens).
 
 - step1: add a local file
 ``` scss

+ 1 - 1
packages/semi-ui/locale/README.md

@@ -43,7 +43,7 @@ return (
 <table>
     <tbody>
         <tr>
-            <td align="center"><a href="https://semi.design/zh-CN/contribute/"><img src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/SemiLogo.jpg" width="100px;" alt="" style="max-width:100%;"><br><sub><b>Semi Teams</b></sub></a></td>
+            <td align="center"><a href="https://semi.design/en-US/contribute/"><img src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/SemiLogo.jpg" width="100px;" alt="" style="max-width:100%;"><br><sub><b>Semi Teams</b></sub></a></td>
         </tr>
     </tbody>
 </table>

+ 1 - 1
packages/semi-ui/table/Body/index.tsx

@@ -155,7 +155,7 @@ class Body extends BaseComponent<BodyProps, BodyState> {
                 getVirtualizedListRef(this.listRef);
             } else {
                 console.warn('getVirtualizedListRef only works with virtualized. ' +
-                    'See https://semi.design/zh-CN/show/table for more information.');
+                    'See https://semi.design/en-US/show/table for more information.');
             }
         }
         this.foundation = new BodyFoundation(this.adapter);

+ 1 - 1
packages/semi-webpack/README.md

@@ -45,7 +45,7 @@ module.exports = {
 
 #### Through local Scss file
 
-You can check which tokens can be customized on the [Semi WebSite](https://semi.design/zh-CN/basic/tokens).
+You can check which tokens can be customized on the [Semi WebSite](https://semi.design/en-US/basic/tokens).
 
 - step1: add a local file
 ``` scss