aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
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
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')
-rw-r--r--packages/website/translations/chinese.json7
-rw-r--r--packages/website/translations/english.json7
-rw-r--r--packages/website/translations/korean.json7
-rw-r--r--packages/website/translations/russian.json7
-rw-r--r--packages/website/translations/spanish.json7
-rw-r--r--packages/website/ts/pages/documentation/home.tsx6
-rw-r--r--packages/website/ts/types.ts3
7 files changed, 36 insertions, 8 deletions
diff --git a/packages/website/translations/chinese.json b/packages/website/translations/chinese.json
index 3ca98cee1..2d3ad6974 100644
--- a/packages/website/translations/chinese.json
+++ b/packages/website/translations/chinese.json
@@ -92,5 +92,10 @@
"GITHUB": "github",
"LIVE_CHAT": "live chat",
"LIBRARIES_AND_TOOLS": "Libraries & Tools",
- "MORE": "more"
+ "LIBRARIES_AND_TOOLS_DESCRIPTION":
+ "A list of available tools maintained by the 0x core developers and wider community for building on top of 0x Protocol and Ethereum",
+ "MORE": "more",
+ "START_BUILDING_ON_0X": "Start building on 0x",
+ "START_BUILDING_ON_0X_DESCRIPTION":
+ "Follow one of our \"Getting started\" guides to learn more about building ontop of 0x."
}
diff --git a/packages/website/translations/english.json b/packages/website/translations/english.json
index eee79356e..6ee780c78 100644
--- a/packages/website/translations/english.json
+++ b/packages/website/translations/english.json
@@ -95,6 +95,8 @@
"GITHUB": "github",
"LIVE_CHAT": "live chat",
"LIBRARIES_AND_TOOLS": "Libraries & Tools",
+ "LIBRARIES_AND_TOOLS_DESCRIPTION":
+ "A list of available tools maintained by the 0x core developers and wider community for building on top of 0x Protocol and Ethereum",
"MORE": "more",
"OUR_MISSION_AND_VALUES": "our mission & values",
"GAMING_AND_COLLECTABLES": "gaming & collectables",
@@ -102,5 +104,8 @@
"artists and game makers are tokenizing digital art and in-game items known as non-fungible tokens (NFTs). 0x enables these creators to add exchange functionality to give access and the ability to build marketplaces for NFT trading.",
"ORDER_BOOKS": "order books",
"ORDER_BOOKS_DESCRIPTION":
- "there are thousands of decentralized apps that have native utility tokens. 0x provides market makers and professional exchanges an ability to host order books to facilitate the exchange of these assets."
+ "there are thousands of decentralized apps that have native utility tokens. 0x provides market makers and professional exchanges an ability to host order books to facilitate the exchange of these assets.",
+ "START_BUILDING_ON_0X": "Start building on 0x",
+ "START_BUILDING_ON_0X_DESCRIPTION":
+ "Follow one of our \"Getting started\" guides to learn more about building ontop of 0x."
}
diff --git a/packages/website/translations/korean.json b/packages/website/translations/korean.json
index fabb2f80d..8470bf9a0 100644
--- a/packages/website/translations/korean.json
+++ b/packages/website/translations/korean.json
@@ -92,5 +92,10 @@
"GITHUB": "github",
"LIVE_CHAT": "live chat",
"LIBRARIES_AND_TOOLS": "Libraries & Tools",
- "MORE": "more"
+ "LIBRARIES_AND_TOOLS_DESCRIPTION":
+ "A list of available tools maintained by the 0x core developers and wider community for building on top of 0x Protocol and Ethereum",
+ "MORE": "more",
+ "START_BUILDING_ON_0X": "Start building on 0x",
+ "START_BUILDING_ON_0X_DESCRIPTION":
+ "Follow one of our \"Getting started\" guides to learn more about building ontop of 0x."
}
diff --git a/packages/website/translations/russian.json b/packages/website/translations/russian.json
index b703cdafb..b2bc151ab 100644
--- a/packages/website/translations/russian.json
+++ b/packages/website/translations/russian.json
@@ -92,5 +92,10 @@
"GITHUB": "github",
"LIVE_CHAT": "live chat",
"LIBRARIES_AND_TOOLS": "Libraries & Tools",
- "MORE": "more"
+ "LIBRARIES_AND_TOOLS_DESCRIPTION":
+ "A list of available tools maintained by the 0x core developers and wider community for building on top of 0x Protocol and Ethereum",
+ "MORE": "more",
+ "START_BUILDING_ON_0X": "Start building on 0x",
+ "START_BUILDING_ON_0X_DESCRIPTION":
+ "Follow one of our \"Getting started\" guides to learn more about building ontop of 0x."
}
diff --git a/packages/website/translations/spanish.json b/packages/website/translations/spanish.json
index c80f69622..fefb92447 100644
--- a/packages/website/translations/spanish.json
+++ b/packages/website/translations/spanish.json
@@ -93,5 +93,10 @@
"GITHUB": "github",
"LIVE_CHAT": "live chat",
"LIBRARIES_AND_TOOLS": "Libraries & Tools",
- "MORE": "more"
+ "LIBRARIES_AND_TOOLS_DESCRIPTION":
+ "A list of available tools maintained by the 0x core developers and wider community for building on top of 0x Protocol and Ethereum",
+ "MORE": "more",
+ "START_BUILDING_ON_0X": "Start building on 0x",
+ "START_BUILDING_ON_0X_DESCRIPTION":
+ "Follow one of our \"Getting started\" guides to learn more about building ontop of 0x."
}
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 {