From 7fa79aa427628ec8f56131218a613982ffa3f436 Mon Sep 17 00:00:00 2001
From: jondoe297tt <76640900+jondoe297tt@users.noreply.github.com>
Date: Sun, 28 Apr 2024 21:48:37 +0800
Subject: [PATCH] add some translation for Chinese(simple) (#3001)
---
src/docs/src/translation/zh_hans.json | 31 +++++++++++++++++++++++----
1 file changed, 27 insertions(+), 4 deletions(-)
diff --git a/src/docs/src/translation/zh_hans.json b/src/docs/src/translation/zh_hans.json
index 7b03edee920..84fccb89163 100644
--- a/src/docs/src/translation/zh_hans.json
+++ b/src/docs/src/translation/zh_hans.json
@@ -242,7 +242,7 @@
"Code mockup": "代码模型",
"Phone mockup": "手机模型",
"Window mockup": "视窗模型",
- "File Input": "文件输入框",
+ "File Input": "File Input 文件输入框",
"Text Input": "文字输入框",
"Range slider": "范围滑块",
"Tabs": "Tabs",
@@ -444,7 +444,7 @@
"These CSS variables are being used internally. You can customize them in your custom theme in `tailwind.config.js` or you can even customize them with a class name like `[--animation-btn:0]`": "这些 CSS 变量正在内部使用。您可以在 `tailwind.config.js` 中的自定义主题中对其进行自定义,或者甚至可以使用类名对其进行自定义,例如 `[--animation-btn:0]`",
"Component specific CSS variables": "组件特定的 CSS 变量",
"These CSS variables are being used internally for a specific component": "这些 CSS 变量正在内部使用于特定的组件",
- "Theme Controller": "主题控制器",
+ "Theme Controller": "Theme Controller 主题控制器",
"If a checked checkbox input or a checked radio input with theme-controller class exists in the page, The page will have the same theme as that input's value.": "如果页面中存在带有 theme-controller 类的选中复选框输入或选中的单选框输入,则页面将具有与该输入值相同的主题。",
"Theme Controller changes the theme using CSS only. You can then use JS to save the input state in the server or localStorage if you want it to persist on page refresh.
Here's a React example to save checkbox state in local storage:": "主题控制器仅使用 CSS 更改主题。然后,您可以使用 JS 将输入状态保存在服务器或 localStorage 中,如果要在页面刷新时保持状态。
这里是一个 React 示例,用于将复选框状态保存在本地存储中:",
"Diff": "Diff 对比",
@@ -489,5 +489,28 @@
"Button block": "Block 按钮",
"Button with loading spinner": "加载状态按钮",
"Button with loading spinner and text": "加载状态并带有文案按钮",
- "Button without click animation": "没有点击动画的按钮"
-}
+ "Button without click animation": "没有点击动画的按钮",
+ "Dropdown menu using tag": "使用 标签的下拉菜单",
+ "Stays open until gets clicked again. Or you can close it using JS by removing the `open` attribute": "通过js删除元素上的`open`属性,或者再次点击来关闭下拉菜单。",
+ "Click outside to close": "点击外部关闭",
+ "Dropdown menu": "下拉菜单",
+ "opens on click using ID.showModal() method. can be closed using ID.close() method": "使用 ID.showModal() 方法打开Dialog Modal,使用 ID.close() 方法关闭Dialog Modal。",
+ "there is a second form with 'modal-backdrop' class and it covers the screen so we can close the modal when clicked outside": "通过使用