aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-02 16:07:53 +0800
committerFabio Berger <me@fabioberger.com>2018-10-02 16:07:53 +0800
commitc42b340042b8ff5ca9537e5e162776e513e63f2a (patch)
tree1bb11b78ed18297172626f0f322554aff98427ac /packages/website/ts
parent3a9791e7943c5572d24b257217bfe1558beff5fc (diff)
downloaddexon-sol-tools-c42b340042b8ff5ca9537e5e162776e513e63f2a.tar
dexon-sol-tools-c42b340042b8ff5ca9537e5e162776e513e63f2a.tar.gz
dexon-sol-tools-c42b340042b8ff5ca9537e5e162776e513e63f2a.tar.bz2
dexon-sol-tools-c42b340042b8ff5ca9537e5e162776e513e63f2a.tar.lz
dexon-sol-tools-c42b340042b8ff5ca9537e5e162776e513e63f2a.tar.xz
dexon-sol-tools-c42b340042b8ff5ca9537e5e162776e513e63f2a.tar.zst
dexon-sol-tools-c42b340042b8ff5ca9537e5e162776e513e63f2a.zip
Move more copy to translation files
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/pages/documentation/home.tsx6
-rw-r--r--packages/website/ts/types.ts3
2 files changed, 6 insertions, 3 deletions
diff --git a/packages/website/ts/pages/documentation/home.tsx b/packages/website/ts/pages/documentation/home.tsx
index 9356c504b..7f833cc1f 100644
--- a/packages/website/ts/pages/documentation/home.tsx
+++ b/packages/website/ts/pages/documentation/home.tsx
@@ -395,10 +395,10 @@ export class Home extends React.Component<HomeProps, HomeState> {
onMouseLeave={this._onMainContentHoverOff.bind(this)}
>
<div>
- {this._renderSectionTitle('Start building on 0x')}
+ {this._renderSectionTitle(this.props.translate.get(Key.StartBuildOn0x, Deco.Cap))}
<Container paddingTop="12px">
{this._renderSectionDescription(
- 'Follow one of our "Getting started" guides to learn more about building ontop of 0x.',
+ this.props.translate.get(Key.StartBuildOn0xDescription, Deco.Cap),
)}
<Container marginTop="36px">
{_.map(TUTORIALS, tutorialInfo => (
@@ -423,7 +423,7 @@ export class Home extends React.Component<HomeProps, HomeState> {
)}
<Container paddingTop="12px">
{this._renderSectionDescription(
- 'A list of available tools maintained by the 0x core developers and wider community for building on top of 0x Protocol and Ethereum',
+ this.props.translate.get(Key.LibrariesAndToolsDescription, Deco.Cap),
)}
<Container marginTop="36px">
{_.map(CATEGORY_TO_PACKAGES, (pkgs, category) =>
diff --git a/packages/website/ts/types.ts b/packages/website/ts/types.ts
index ece036858..f93d998b6 100644
--- a/packages/website/ts/types.ts
+++ b/packages/website/ts/types.ts
@@ -471,7 +471,10 @@ export enum Key {
Github = 'GITHUB',
LiveChat = 'LIVE_CHAT',
LibrariesAndTools = 'LIBRARIES_AND_TOOLS',
+ LibrariesAndToolsDescription = 'LIBRARIES_AND_TOOLS_DESCRIPTION',
More = 'MORE',
+ StartBuildOn0x = 'START_BUILDING_ON_0X',
+ StartBuildOn0xDescription = 'START_BUILDING_ON_0X_DESCRIPTION',
}
export enum SmartContractDocSections {