Browse Source

add en

pull/8729/head
jljsj 7 years ago
committed by Wei Zhu
parent
commit
3c74a26758
  1. 25
      site/theme/en-US.js
  2. 4
      site/theme/static/home.less
  3. 2
      site/theme/template/Home/Page3.jsx
  4. 1
      site/theme/zh-CN.js

25
site/theme/en-US.js

@ -23,19 +23,20 @@ module.exports = {
'app.demo.codesandbox': 'Open in CodeSandbox',
'app.demo.riddle': 'Open in Riddle',
'app.home.slogan': 'A UI Design Language',
'app.home.introduce': '一个服务于企业级产品的设计体系。基于『确定』和『自然』的设计价值观,通过模块化的解决方案,让设计者专注于 “更好的用户体验“。',
'app.home.design-language': '设计语言',
'app.home.solution': '解决方案',
'app.home.components-explain': '基于 Ant Design 设计语言,我们提供了一套开箱即用的高质量 React 组件,用于开发和服务于企业级中后台产品,除官方的 React 实现,还有 Angular、Vue 的实现',
'app.home.product-pro-slogan': '开箱即用的中台前端/设计解决方案',
'app.home.product-mobile-slogan': 'antd-mobile 是 Ant Design 的移动规范的 React 实现',
'app.home.product-antv-slogan': '简单、专业、拥有无限可能的数据可视化解决方案',
'app.home.tool-package-title': 'Ant Design 资源包',
'app.home.tool-package-content': 'Ant Design 相关设计资源下载',
'app.home.introduce': 'A service system designed for enterprise products. Based on design values ​​of "Sure" and "Natural", Let the designer to focus on "a better user experience by modular solution',
'app.home.design-language': 'Design Language',
'app.home.solution': 'Solution',
'app.home.components-explain': 'Based on the Ant Design language, we have provided a suite of out-of-the-box with high quality for developing and serving enterprise-wide mid-range products,including the official React implementation and Angular, Vue implementations',
'app.home.product-pro-slogan': 'Out-of-the-box front-end / Design solution',
'app.home.product-mobile-slogan': 'antd-mobile is a React implementation of Ant Design\'s mobile specification',
'app.home.product-antv-slogan': 'Simple, professional, with unlimited possibilities for data visualization solutions',
'app.home.tool-title': 'Tools & Resources',
'app.home.tool-package-title': 'Ant Design Resources',
'app.home.tool-package-content': 'Ant Design Resources Download',
'app.home.tool-library-title': 'AntD Library',
'app.home.tool-library-content': '一套精美得像视觉稿的 Axure 组件库',
'app.home.tool-kitchen-title': 'Kitchen(敬请期待)',
'app.home.tool-kitchen-content': '一个为设计师提效的 Sketch 工具集',
'app.home.tool-library-content': 'Beautifully visual Axure library',
'app.home.tool-kitchen-title': 'Kitchen(coming soon)',
'app.home.tool-kitchen-content': 'A Sketch tools for designers',
'app.footer.repo': 'GitHub Repository',
'app.footer.awesome': 'Awesome Ant Design',
'app.footer.chinamirror': 'China Mirror 🇨🇳',

4
site/theme/static/home.less

@ -272,7 +272,7 @@ svg {
.page3 {
min-height: 556px;
&-block {
padding: 24px 32px;
padding: 24px 12px;
a {
display: flex;
justify-content: center;
@ -288,7 +288,7 @@ svg {
margin-top: 8px;
}
&-text-wrapper {
max-width: 182px;
// max-width: 182px;
margin-left: 32px;
line-height: 24px;
h3 {

2
site/theme/template/Home/Page3.jsx

@ -75,7 +75,7 @@ export default function Page3({ locale }) {
</svg>
</div>
<div className="page" >
<h2>工具&资源</h2>
<h2><FormattedMessage id="app.home.tool-title" /></h2>
<ScrollOverPack location="page3">
<QueueAnim key="queue" component={Row} type="bottom" leaveReverse>
{children}

1
site/theme/zh-CN.js

@ -30,6 +30,7 @@ module.exports = {
'app.home.product-pro-slogan': '开箱即用的中台前端/设计解决方案',
'app.home.product-mobile-slogan': 'antd-mobile 是 Ant Design 的移动规范的 React 实现',
'app.home.product-antv-slogan': '简单、专业、拥有无限可能的数据可视化解决方案',
'app.home.tool-title': '工具&资源',
'app.home.tool-package-title': 'Ant Design 资源包',
'app.home.tool-package-content': 'Ant Design 相关设计资源下载',
'app.home.tool-library-title': 'AntD Library',

Loading…
Cancel
Save