Add automatic translation commend.

This commit is contained in:
zuiidea
2018-10-18 23:13:55 +08:00
parent 9db8827d4a
commit d821a7cf59
5 changed files with 11 additions and 5 deletions
+1
View File
@@ -109,6 +109,7 @@
"precommit": "lint-staged",
"add-locale": "lingui add-locale",
"extract": "lingui extract",
"trans": "lingui extract --clean && node ./scripts/translate.js",
"doc": "docsify serve docs"
}
}
-2
View File
@@ -34,8 +34,6 @@
.container {
height: 100vh;
overflow-x: hidden;
overflow-y: scroll;
flex: 1;
}
+1 -2
View File
@@ -2,7 +2,6 @@
"/dashboard": "/dashboard",
"Clear notifications": "Clear notifications",
"Dark": "Dark",
"Dashboard": "Dashboard",
"Hi,": "Hi,",
"Light": "Light",
"Not Found": "Not Found",
@@ -12,4 +11,4 @@
"Switch Theme": "Switch Theme",
"Username": "Username",
"You have viewed all notifications.": "You have viewed all notifications."
}
}
-1
View File
@@ -2,7 +2,6 @@
"/dashboard": "/zh/dashboard",
"Clear notifications": "清空消息",
"Dark": "暗",
"Dashboard": "仪表盘",
"Hi,": "你好,",
"Light": "明",
"Not Found": "未找到",
+9
View File
@@ -6,6 +6,15 @@ body {
background-color: #f8f8f8;
}
::-webkit-scrollbar-thumb {
background-color: #e6e6e6;
}
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
:global {
.ant-breadcrumb {
& > span {