Skip to content

Commit

Permalink
Add automatic translation commend.
Browse files Browse the repository at this point in the history
  • Loading branch information
zuiidea committed Oct 18, 2018
1 parent 9db8827 commit d821a7c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 0 additions & 2 deletions src/layouts/PrimaryLayout.less
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@

.container {
height: 100vh;
overflow-x: hidden;
overflow-y: scroll;
flex: 1;
}

Expand Down
3 changes: 1 addition & 2 deletions src/locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"/dashboard": "/dashboard",
"Clear notifications": "Clear notifications",
"Dark": "Dark",
"Dashboard": "Dashboard",
"Hi,": "Hi,",
"Light": "Light",
"Not Found": "Not Found",
Expand All @@ -12,4 +11,4 @@
"Switch Theme": "Switch Theme",
"Username": "Username",
"You have viewed all notifications.": "You have viewed all notifications."
}
}
1 change: 0 additions & 1 deletion src/locales/zh/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"/dashboard": "/zh/dashboard",
"Clear notifications": "清空消息",
"Dark": "",
"Dashboard": "仪表盘",
"Hi,": "你好,",
"Light": "",
"Not Found": "未找到",
Expand Down
9 changes: 9 additions & 0 deletions src/themes/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ body {
background-color: #f8f8f8;
}

::-webkit-scrollbar-thumb {
background-color: #e6e6e6;
}

::-webkit-scrollbar {
width: 8px;
height: 8px;
}

:global {
.ant-breadcrumb {
& > span {
Expand Down

0 comments on commit d821a7c

Please sign in to comment.