Skip to content

Commit

Permalink
Feat/chinese translation (#1859)
Browse files Browse the repository at this point in the history
* docs: update zh_cn.json

* Adjust the execution sequence of npm run get-files in npm run init
  • Loading branch information
SHUAXINDIARY committed Jun 1, 2023
1 parent 5cd1c37 commit fafb839
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions src/docs/src/translation/zh_cn.json
Expand Up @@ -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> 主题中才会有这些样式",
"": ""
}

0 comments on commit fafb839

Please sign in to comment.