Feat/chinese translation (#1859)

* docs: update zh_cn.json

* Adjust the execution sequence of npm run get-files in npm run init
This commit is contained in:
SHUAXIN 2023-06-01 10:36:19 +08:00 committed by GitHub
parent 5cd1c37e1c
commit fafb83978c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -53,7 +53,7 @@
},
"prettier": "./src/prettier.config.js",
"scripts": {
"init": "npm install && npm run build && npm run get-files && cd src/docs && npm install && cd src/experiments/playground && npm install",
"init": "npm install && npm run build && cd src/docs && npm run get-files && npm install && cd src/experiments/playground && npm install",
"prettier": "prettier --write . --ignore-path ./src/.prettierignore",
"prebase": "postcss --config src/base src/base/*.css --base src --dir dist",
"base": "cat dist/base/*.css > dist/base.css",

View File

@ -399,5 +399,8 @@
"Learn more about colors": "了解更多关于颜色的知识",
"Get started": "现在开始",
"daisyUI 3.0 is available now!": "daisyUI 3.0 现在可用!",
"How to add custom styles for a specific theme?": "如何为一个指定的主题添加自定义样式?",
"You can write custom style for your elements only for a specific theme.": "你只能给一个指定的主题的元素写自定义样式。",
"In this example, .btn-twitter class only will have this style on light theme.": "在这个例子里,<code>.btn-twitter</code> 类只会在 <code>light</code> 主题中才会有这些样式",
"": ""
}