diff --git a/site/source/_data/plugins.yml b/site/source/_data/plugins.yml index f83a9375f..53c58d97a 100644 --- a/site/source/_data/plugins.yml +++ b/site/source/_data/plugins.yml @@ -1,12 +1,12 @@ - name: embark-bamboo - description: Plugin to add Bamboo support to embark + description: plugins_page.plugins.bamboo.desc link: https://www.npmjs.com/package/embark-bamboo thumbnail: bamboo.png tags: - language - smart-contracts - name: embark-solc - description: Uses the command line Solidity Compiler for light-speed compile times + description: plugins_page.plugins.solc.desc link: https://www.npmjs.com/package/embark-solc thumbnail: solidity.png tags: @@ -14,7 +14,7 @@ - language - smart-contracts - name: embark-solium - description: The official Solium Plugin for the Embark Framework + description: plugins_page.plugins.solium.desc link: https://www.npmjs.com/package/embark-solium thumbnail: solium.png tags: @@ -22,44 +22,44 @@ - solidity - solium - name: embark-etherscan-verifier - description: Plugin for Embark to flatten and verify contracts on Etherscan + description: plugins_page.plugins.verifier.desc link: https://www.npmjs.com/package/embark-etherscan-verifier tags: - solidity - etherscan - smart-contracts - name: embark-status - description: Status plugin to interact with embark + description: plugins_page.plugins.status.desc link: https://www.npmjs.com/package/embark-status-plugin thumbnail: status.png tags: - status - mobile - name: embark-remix - description: Plugin to start Remix and Remix directly with Embark + description: plugins_page.plugins.remix.desc link: https://www.npmjs.com/package/embark-remix thumbnail: remix.png tags: - remix - debugger - name: embark-slither - description: Plugin to analyse solidity source with Slither + description: plugins_page.plugins.slither.desc link: https://www.npmjs.com/package/embark-slither tags: - solidity - name: embark-snark - description: Plugin to compile circom circuits and generate Solidity proof + description: plugins_page.plugins.snark.desc link: https://www.npmjs.com/package/embark-snark tags: - snark - name: embark-fortune - description: Displays a fortune message after every build + description: plugins_page.plugins.fortune.desc link: https://www.npmjs.com/package/embark-fortune thumbnail: fortune.jpg tags: - fun - name: embark-pug - description: Embark plugin to support pug / jade templates + description: plugins_page.plugins.pug.desc link: https://www.npmjs.com/package/embark-pug legacy: true thumbnail: pug.png @@ -68,7 +68,7 @@ - jade - templates - name: embark-haml - description: Embark plugin to support haml templates + description: plugins_page.plugins.haml.desc link: https://www.npmjs.com/package/embark-haml legacy: true thumbnail: haml.png @@ -76,7 +76,7 @@ - haml - templates - name: embark-mythx - description: Adds console commands to run MythX security analyses from the Embark console + description: plugins_page.plugins.mythx.desc link: https://www.npmjs.com/package/embark-mythx thumbnail: mythx.png tags: diff --git a/site/source/community/index.md b/site/source/community/index.md index 17867b43f..b8e0068e4 100644 --- a/site/source/community/index.md +++ b/site/source/community/index.md @@ -1,7 +1,7 @@ -title: Join the growing community -tagline: Get support, give support and help building Embark. +title: community_page.header.title +tagline: community_page.header.tagline link: - text: Join the conversation + text: community_page.header.link href: https://gitter.im/embark-framework/Lobby layout: community --- diff --git a/site/source/docs/index.md b/site/source/docs/index.md index 176ce4ec0..202e83227 100644 --- a/site/source/docs/index.md +++ b/site/source/docs/index.md @@ -1,4 +1,4 @@ -title: Build with Embark +title: docs_landing_page.header.title layout: docs-landing --- diff --git a/site/source/index.md b/site/source/index.md index 9974cdc11..52ccbdff6 100644 --- a/site/source/index.md +++ b/site/source/index.md @@ -1,5 +1,4 @@ -title: Embark into the Ether. -tagline: The all-in-one developer platform for building and deploying decentralized applications. +title: start_page.header.title link: text: Get Started href: /docs diff --git a/site/source/news/index.md b/site/source/news/index.md index 8729de2e4..6c5787998 100644 --- a/site/source/news/index.md +++ b/site/source/news/index.md @@ -1,3 +1,4 @@ -title: Blog +title: blog.header.title +tagline: blog.header.tagline layout: blog --- diff --git a/site/source/plugins/index.md b/site/source/plugins/index.md index 978a11e16..d43b7aa3a 100644 --- a/site/source/plugins/index.md +++ b/site/source/plugins/index.md @@ -1,6 +1,6 @@ layout: plugins -tagline: 'Extend Embark to your needs.' -title: Plugins +tagline: plugins_page.header.tagline +title: plugins_page.header.title data: plugins -intro: "Plugins extend Embark and provide integration with other tools and technologies." +intro: plugins_page.intro_section.heading.referal --- diff --git a/site/themes/embark/languages/en.yml b/site/themes/embark/languages/en.yml index 1e59b8d48..9e1548543 100644 --- a/site/themes/embark/languages/en.yml +++ b/site/themes/embark/languages/en.yml @@ -1,16 +1,277 @@ -menu: - docs: Docs - api: API - news: News +navigation: + quick_start: Quick Start + learn: Learn plugins: Plugins - themes: Themes - search: Search - chat: Chat + community: Community blog: Blog - tutorials: Tutorials + search: Search -index: - get_started: Get started +start_page: + header: + title: Embark into the Ether. + tagline: The all-in-one developer platform for building and deploying decentralized applications. + link: Get Started + + intro_section: + heading: + title: More than a framework. + referal: Embark is a platform that enables easy development and deployment of decentralized applications. + link: Join the Community + box_1: + title: Smart Contract Management + text: Build, test, and deploy your Smart Contracts without the hassle. Embark takes care of the ground work, watches for changes, and redeploys your application when needed. + link: Learn more + box_2: + title: Easy to use Debugger and Testing + text: Testing shouldn't be an afterthought. Embark makes debugging and testing first-class citizens of your development workflow. + link: Learn more + box_3: + title: End to End DApp Development + text: Go beyond Smart Contracts if you want to. Embark offers great integrations with decentralised services such as IPFS and Whisper. + link: Learn more + + cli_section: + heading: + title: Powerful CLI + referal: Embark's command line interface comes with a rich dashboard so you are in control. + checklist: + item_1: Service Monitoring + item_2: Interactive REPL + item_3: Real-time Deployment + link: + label: Get Started + title: Creating apps using the CLI + + modular_section: + heading: + title: Modular by Design + referal: Pick and choose what features, plugins and tools you want to integrate with. Embark is built with modularity in mind. + checklist: + item_1: Smart Contract only or full-fledged DApps + item_2: Integrate with existing tools + item_3: Extend it to your needs + link_1: + title: Plugins + label: See plugins + link_2: + title: Creating Plugins + label: Create your own + + cockpit_section: + heading: + title: Mission control with Cockpit. + referal: A web interface for building, debugging and deploying decentralised applications. + + box_1: + title: Web UI Dashboard + text: Gives an overview of all processes controlled by Embark. It also comes with an interactive console and predictive commands. + link: + label: Learn more → + title: Cockpit Dashboard + + box_2: + title: Explorer + text: Cockpit's explorer lets you easily review any transactions, Smart Contracts, and accounts. + link: + label: Learn more → + title: Cockpit Explorer + + box_3: + title: Deployment + text: With Cockpit you can iteratively and selectively deploy your Smart Contracts, removing headaches associated with complex applications. + link: + label: Learn more → + title: Cockpit Deployment + + box_4: + title: Code Editor + text: Edit your source files from right within Cockpit for quick and easy updates. + link: + title: Cockpit Editor + label: Learn more → + + outro_section: + heading: + title: For developers, by developers + referal: Embark is a fully open source effort. Get involved and be part of the journey. + link: Join the Community + + newsletter_section: + heading: + title: Sign up for updates + text: Sign up for our newsletter and get updates about Embark and our development progress first! + button: + label: Subscribe + +community_page: + header: + title: Join the growing community + tagline: Get support, give support, and help build Embark. + link: Join the conversation + + spotbox: + title: Checkout the GitHub Repos + text: Look for issues with specifics tags you may be interested in. + link: View repositories + + contribute_section: + heading: + title: How to contribute + referal: There are a number of ways to contribute and get involved, from submitting a pull request to growing the community. + + not_just_code_section: + heading: + title: It's not just code + referal: We believe that contributions go far beyond working on our code base. Help out with writing docs, creating a tutorial, or simply talk to us on our channels. + link: Join us in Gitter + + box_1: + title: Help improve the docs + text: You don't have to code to contribute, we're happy about any improvements to our documentation. + + box_2: + title: Create a tutorial + text: Record a video of a simple tutorial and share it with the community. + + box_3: + title: Help answer questions + text: Help out newcomers with questions in our Gitter channel or Stack Overflow. + + box_4: + title: Create a plugin + text: Embark integrates well with other tools. Build a plugin to get support for your tool of choice. + + box_5: + title: Report a bug + text: If you find a bug, let us know and we'll work on fixing it. + + box_6: + title: Work on new features + text: Collaborate with peers on new features you want to see in Embark. + + team_section: + heading: + title: Meet the team. + + job_team_lead: Creator and Team Lead + job_engineer: Software Engineer + +plugins_page: + header: + title: Plugins + tagline: Extend Embark to your needs. + + intro_section: + heading: + referal: Plugins extend Embark and provide integration with other tools and technologies. + link: Build your own! + + learn_more_link: Learn More + + plugins: + bamboo: + desc: Plugin to add Bamboo support to Embark + solc: + desc: Uses the command line Solidity Compiler for light-speed compile times + solium: + desc: The official Solium Plugin for the Embark Framework + verifier: + desc: Plugin for Embark to flatten and verify contracts on Etherscan + status: + desc: Status plugin to interact with Embark + remix: + desc: Plugin to start Remix directly with Embark + slither: + desc: Plugin to analyse solidity source code with Slither + snark: + desc: Plugin to compile circom circuits and generate a Solidity proof + fortune: + desc: Displays a fortune message after every build + pug: + desc: Embark plugin to support pug / jade templates + haml: + desc: Embark plugin to support haml templates + mythx: + desc: Adds console commands to run MythX security analysis from the Embark console + +docs_landing_page: + header: + title: Building with Embark + tagline: Learn how you can use Embark to build your apps. + link: Quickstart → + + intro_section: + heading: + title: Start here. + referal: There are many ways to work with Embark. Here are a few good places to start. + + box_1: + title: Documentation + text: Go straight to the docs and explore what Embark has to offer! + link: Learn more + + box_2: + title: Using the CLI + text: Learn how to use Embark's command line interface to develop your apps. + link: Learn more + + box_3: + title: Smart Contract Development + text: Embark provides a lot of flexibility when it comes to configuring, compiling, and deploying your Smart Contracts. + link: Learn more + + box_4: + title: Create a plugin + text: Extend Embark to your needs! Learn how to build a plugin that integrates your favourite tools with Embark. + link: Learn more + + link: + label: Take me to the docs → + title: Docs Overview + +blog: + header: + title: Blog + tagline: News and updates by the Embark team + + view_all_link: View All + +archives: + header: + title: All posts + link: ← Back to blog + + article_box: + read_more_link: Read more + + back_to_blog_link: + label: ← Back to blog + title: Back to blog + +footer: + text: Embark is part of the Status Network + section_resources: + title: Resources + quick_start: Quick Start + documentation: Documentation + blog: Blog + faq: FAQ + troubleshooting: Troubleshooting + section_help: + issues: Report issues + coc: Code of Conduct + section_community: + contribute: Contribute + team: Team + privacy_policy: Privacy Policy + +paginator: + prev: + label: ← Previous + title: Previous article + next: + label: Next → + title: Next article page: contents: Contents @@ -115,6 +376,6 @@ sidebar: cockpit_deployment: Deployment cockpit_explorer: Explorer View cockpit_editor: Code Editor - cockpit_utils: Utils + cockpit_utils: Utils cockpit_debugger: Using the Debugger diff --git a/site/themes/embark/layout/archive.swig b/site/themes/embark/layout/archive.swig index dcd5832cc..04241e73b 100644 --- a/site/themes/embark/layout/archive.swig +++ b/site/themes/embark/layout/archive.swig @@ -13,11 +13,11 @@ {% else %} {{ partial('partial/header', { - title: 'All posts', + title: __('archives.header.title'), tagline: ' ', compact: true, link: { - text: '← Back to blog', + text: __('archives.header.link'), href: '/news' }, }) @@ -36,7 +36,7 @@ text: post.summary, dateInfo: post.date, link: { - text: 'Read more', + text: __('archives.article_box.read_more_link'), href: url_for(post.path) } }) @@ -44,7 +44,7 @@ {% endfor %}
- ← Back to blog + {{__('archives.back_to_blog_link.label')}}
diff --git a/site/themes/embark/layout/blog.swig b/site/themes/embark/layout/blog.swig index bde324e83..eeb2c5022 100644 --- a/site/themes/embark/layout/blog.swig +++ b/site/themes/embark/layout/blog.swig @@ -1,7 +1,7 @@ {{ partial('partial/header', { - title: 'Blog', - tagline: 'News and updates by the Embark team', + title: __(page.title), + tagline: __(page.tagline), compact: true }) }} @@ -92,7 +92,7 @@
- View all + {{__('blog.view_all_link')}}
diff --git a/site/themes/embark/layout/community.swig b/site/themes/embark/layout/community.swig index 4e55a9358..0bc02378a 100644 --- a/site/themes/embark/layout/community.swig +++ b/site/themes/embark/layout/community.swig @@ -1,9 +1,9 @@ {{ partial('partial/header', { - title: 'Join the community', - tagline: page.tagline, + title: __(page.title), + tagline: __(page.tagline), link: { - text: page.link.text, + text: __(page.link.text), href: page.link.href }, showGitHubStars: false, @@ -14,8 +14,8 @@
{{ partial('partial/heading', { - title: 'How to contribute', - referal: 'There are a number of ways to contribute and getting involved, from submitting a pull request to growing the community.', + title: __('community_page.contribute_section.heading.title'), + referal: __('community_page.contribute_section.heading.referal'), className: 'o-center' }) }} @@ -24,11 +24,11 @@
{{ partial('partial/spotbox', { - title: 'Checkout the GitHub Repos', - text: 'Look for issues with specifics tags you may be interested in.', + title: __('community_page.spotbox.title'), + text: __('community_page.spotbox.text'), icon: 'app-window-search-text', link: { - text: 'See the Repo', + text: __('community_page.spotbox.link'), href: 'https://github.com/embark-framework/embark' } }) @@ -44,10 +44,10 @@
{{ partial('partial/heading', { - title: "It's not just code", - referal: 'We believe that contributions go far beyond working on our code base. Help out with writing docs, creating a tutorial or simply talk to us on our channels.', + title: __('community_page.not_just_code_section.heading.title'), + referal: __('community_page.not_just_code_section.heading.referal'), link: { - text: 'Join us in Gitter', + text: __('community_page.not_just_code_section.heading.link'), href: 'https://gitter.im/embark-framework/Lobby', class: 'c-button' } @@ -60,48 +60,48 @@ {{ partial('partial/whisperbox', { className: 'o-grid__column--1-1 o-grid__column--medium-1-2 o-grid__column--large-1-3', - title: 'Help improving the docs', - text: "You don't have to code to contribute, we're happy about any improvements to our documentation.", + title: __('community_page.not_just_code_section.box_1.title'), + text: __('community_page.not_just_code_section.box_1.text'), icon: 'search-bar' }) }} {{ partial('partial/whisperbox', { className: 'o-grid__column--1-1 o-grid__column--medium-1-2 o-grid__column--large-1-3', - title: 'Create a tutorial', - text: 'Record a video of a simple tutorial and share it with the community.', + title: __('community_page.not_just_code_section.box_2.title'), + text: __('community_page.not_just_code_section.box_2.text'), icon: 'paginate-filter-video-alternate' }) }} {{ partial('partial/whisperbox', { className: 'o-grid__column--1-1 o-grid__column--medium-1-2 o-grid__column--large-1-3', - title: 'Help answer questions', - text: 'Help out newcomers with questions in our Gitter channel or Stack Overflow.', + title: __('community_page.not_just_code_section.box_3.title'), + text: __('community_page.not_just_code_section.box_3.text'), icon: 'notes-paper-text' }) }} {{ partial('partial/whisperbox', { className: 'o-grid__column--1-1 o-grid__column--medium-1-2 o-grid__column--large-1-3', - title: 'Create a plugin', - text: 'Embark integrates well with other tools. Build a plugin to get support for your tool of choice.', + title: __('community_page.not_just_code_section.box_4.title'), + text: __('community_page.not_just_code_section.box_4.text'), icon: 'module' }) }} {{ partial('partial/whisperbox', { className: 'o-grid__column--1-1 o-grid__column--medium-1-2 o-grid__column--large-1-3', - title: 'Report a bug', - text: 'If you find a bug, let us know and we work on fixing it.', + title: __('community_page.not_just_code_section.box_5.title'), + text: __('community_page.not_just_code_section.box_5.text'), icon: 'computer-bug-search', }) }} {{ partial('partial/whisperbox', { className: 'o-grid__column--1-1 o-grid__column--medium-1-2 o-grid__column--large-1-3', - title: 'Work on new features', - text: 'Collaborate with peers on new features you want to see landing.', + title: __('community_page.not_just_code_section.box_6.title'), + text: __('community_page.not_just_code_section.box_6.text'), icon: 'tag-new-circle', }) }} @@ -117,7 +117,7 @@
{{ partial('partial/heading', { - title: 'Meet the team.', + title: __('community_page.team_section.heading.title'), className: 'o-center' }) }} @@ -128,7 +128,7 @@ partial('partial/contributor-box', { img: 'https://pbs.twimg.com/profile_images/928272512181563392/iDJdvy2k_400x400.jpg', name: 'Iuri Matias', - job: 'Creator and Team Lead', + job: __('community_page.team_section.job_team_lead'), github: 'Iurimatias', twitter: 'iurimatias' }) @@ -139,7 +139,7 @@ partial('partial/contributor-box', { img: 'https://pbs.twimg.com/profile_images/993873866878570496/-aE4byjj_400x400.jpg', name: 'Jonathan Rainville', - job: 'Software Engineer', + job: __('community_page.team_section.job_engineer'), github: 'jrainville', twitter: 'shyolghul' }) @@ -150,7 +150,7 @@ partial('partial/contributor-box', { img: 'https://avatars1.githubusercontent.com/u/5089238?s=460&v=4', name: 'Eric Mastro', - job: 'Software Engineer', + job: __('community_page.team_section.job_engineer'), github: 'emizzle', twitter: 'ericmastro' }) @@ -161,7 +161,7 @@ partial('partial/contributor-box', { img: 'https://pbs.twimg.com/profile_images/965722487735701504/m58KNgWN_400x400.jpg', name: 'Andre Medeiros', - job: 'Software Engineer', + job: __('community_page.team_section.job_engineer'), github: 'andremedeiros', twitter: 'superdealloc' }) @@ -172,7 +172,7 @@ partial('partial/contributor-box', { img: 'https://pbs.twimg.com/profile_images/257742900/13168239_400x400.jpg', name: 'Anthony Laibe', - job: 'Software Engineer', + job: __('community_page.team_section.job_engineer'), github: 'alaibe', twitter: 'a_laibe' }) @@ -183,7 +183,7 @@ partial('partial/contributor-box', { img: 'https://avatars3.githubusercontent.com/u/194260?s=460&v=4', name: 'Michael Bradley', - job: 'Software Engineer', + job: __('community_page.team_section.job_engineer'), github: 'michaelsbradleyjr' }) }} @@ -193,7 +193,7 @@ partial('partial/contributor-box', { img: 'https://pbs.twimg.com/profile_images/1063160577973866496/aM313uHG_400x400.jpg', name: 'Richard Ramos', - job: 'Software Engineer', + job: __('community_page.team_section.job_engineer'), github: 'rramos', twitter: 'richardramos_me' }) @@ -204,7 +204,7 @@ partial('partial/contributor-box', { img: 'https://pbs.twimg.com/profile_images/993785060733194241/p3oAIMDP_400x400.jpg', name: 'Pascal Precht', - job: 'Software Engineer', + job: __('community_page.team_section.job_engineer'), github: 'PascalPrecht', twitter: 'PascalPrecht' }) diff --git a/site/themes/embark/layout/docs-landing.swig b/site/themes/embark/layout/docs-landing.swig index efb5bdd76..88e1a1bfc 100644 --- a/site/themes/embark/layout/docs-landing.swig +++ b/site/themes/embark/layout/docs-landing.swig @@ -1,9 +1,9 @@ {{ partial('partial/header', { - title: 'Building with Embark', - tagline: 'Learn how you can use Embark to build your apps.', + title: __(page.title), + tagline: __('docs_landing_page.header.tagline'), link: { - text: 'Quickstart →', + text: __('docs_landing_page.header.link'), href: '/docs/quick_start.html' } }) @@ -12,8 +12,8 @@
{{ partial('partial/heading', { - title: 'Start here.', - referal: "There's many ways to work with Embark. Here's a few good places to start.", + title: __('docs_landing_page.intro_section.heading.title'), + referal: __('docs_landing_page.intro_section.heading.referal'), className: 'o-center' }) }} @@ -23,11 +23,11 @@ partial('partial/spotbox', { className: 'o-grid__column--1-1 o-grid__column--large-2-3', titleClassName: 'c-title-level-2', - title: 'Documentation', - text: 'Go straight to the docs and explore what Embark has to offer!', + title: __('docs_landing_page.intro_section.box_1.title'), + text: __('docs_landing_page.intro_section.box_1.text'), icon: 'list-to-do', link: { - text: 'Learn more', + text: __('docs_landing_page.intro_section.box_1.link'), href: '/docs/overview.html' } }) @@ -35,12 +35,12 @@ {{ partial('partial/spotbox', { className: 'o-grid__column--1-1 o-grid__column--large-1-3', - title: 'Using the CLI', + title: __('docs_landing_page.intro_section.box_2.title'), titleClassName: 'c-title-level-3', - text: "Learn how to use Embark's command line interface to develop your apps.", + text: __('docs_landing_page.intro_section.box_2.text'), icon: 'browser-gauge', link: { - text: 'Learn more', + text: __('docs_landing_page.intro_section.box_2.link'), href: '/docs/create_project.html' } }) @@ -52,11 +52,11 @@ {{ partial('partial/whisperbox', { className: 'o-grid__column--1-1 o-grid__column--large-1-2', - title: 'Smart Contract Development', - text: 'Embark provides a lot of flexibility when it comes to configuring, compiling and deploying your Smart Contracts.', + title: __('docs_landing_page.intro_section.box_3.title'), + text: __('docs_landing_page.intro_section.box_3.text'), icon: 'pen-write-paper', link: { - text: 'Learn more', + text: __('docs_landing_page.intro_section.box_3.link'), href: '/docs/contracts_configuration.html' } }) @@ -76,11 +76,11 @@ {{ partial('partial/whisperbox', { className: 'o-grid__column--1-1 o-grid__column--large-1-2', - title: 'Create a plugin', - text: 'Extend Embark to your needs! Learn how to build a plugin that integrates your favourite tools with Embark.', + title: __('docs_landing_page.intro_section.box_4.title'), + text: __('docs_landing_page.intro_section.box_4.text'), icon: 'module', link: { - text: 'Learn more', + text: __('docs_landing_page.intro_section.box_4.link'), href: '/docs/creating_plugins.html' } }) @@ -88,7 +88,7 @@
diff --git a/site/themes/embark/layout/index.swig b/site/themes/embark/layout/index.swig index 2c1343011..937ee30b2 100644 --- a/site/themes/embark/layout/index.swig +++ b/site/themes/embark/layout/index.swig @@ -1,9 +1,9 @@ {{ partial('partial/header', { - title: page.title, - tagline: page.tagline, + title: __('start_page.header.title'), + tagline: __('start_page.header.tagline'), link: { - text: page.link.text, + text: __('start_page.header.link'), href: page.link.href }, showGitHubStars: page.showGitHubStars, @@ -14,10 +14,10 @@
{{ partial('partial/heading', { - title: 'More than a framework.', - referal: 'Embark is a platform with tools to make developing decentralise applications a breeze.', + title: __('start_page.intro_section.heading.title'), + referal: __('start_page.intro_section.heading.referal'), link: { - text: 'Join the Community', + text: __('start_page.intro_section.heading.link'), href: '/community' }, className: 'o-center' @@ -28,11 +28,11 @@ {{ partial('partial/whisperbox', { className: 'o-grid__column--1-1 o-grid__column--large-1-3', - title: 'Smart Contract Management', - text: 'Build, test and deploy your Smart Contracts without the hassle. Embark takes care of the ground work, watches for changes, and redeploy your application when needed.', + title: __('start_page.intro_section.box_1.title'), + text: __('start_page.intro_section.box_1.text'), icon: 'pen-write-paper', link: { - text: 'Learn more', + text: __('start_page.intro_section.box_1.link'), href: '/docs/contracts_configuration.html' } }) @@ -40,11 +40,11 @@ {{ partial('partial/whisperbox', { className: 'o-grid__column--1-1 o-grid__column--large-1-3', - title: 'Easy to use Debugger and Testing', - text: "Testing shouldn't be an after thought. Embark makes debugging and testing a first class citizen of your development experience.", + title: __('start_page.intro_section.box_2.title'), + text: __('start_page.intro_section.box_2.text'), icon: 'search-bar', link: { - text: 'Learn more', + text: __('start_page.intro_section.box_2.link'), href: '/docs/contracts_testing.html' } }) @@ -52,11 +52,11 @@ {{ partial('partial/whisperbox', { className: 'o-grid__column--1-1 o-grid__column--large-1-3', - title: 'End to End DApp Development', - text: 'Go beyond Smart Contracts if you want to. Embark offers great integrations with decentralised services such as IPFS and Whisper.', + title: __('start_page.intro_section.box_3.title'), + text: __('start_page.intro_section.box_3.text'), icon: 'pie-line-graph', link: { - text: 'Learn more', + text: __('start_page.intro_section.box_3.link'), href: '/docs/javascript_usage.html' } }) @@ -69,16 +69,16 @@
-

Powerful CLI

-

Embark's command line interface comes with a rich dashboard so you are in control.

+

{{__('start_page.cli_section.heading.title')}}

+

{{__('start_page.cli_section.heading.referal')}}

    - {{ partial('partial/checklist_item', { icon: 'icon-check', text: 'Service Monitoring', style: 'u-text-light' }) }} - {{ partial('partial/checklist_item', { icon: 'icon-check', text: 'Interactive REPL', style: 'u-text-light' }) }} - {{ partial('partial/checklist_item', { icon: 'icon-check', text: 'Real-time Deployment', style: 'u-text-light' }) }} + {{ partial('partial/checklist_item', { icon: 'icon-check', text: __('start_page.cli_section.checklist.item_1'), style: 'u-text-light' }) }} + {{ partial('partial/checklist_item', { icon: 'icon-check', text: __('start_page.cli_section.checklist.item_2'), style: 'u-text-light' }) }} + {{ partial('partial/checklist_item', { icon: 'icon-check', text: __('start_page.cli_section.checklist.item_3'), style: 'u-text-light' }) }}
- Get started + {{__('start_page.cli_section.link.label')}}
@@ -95,21 +95,21 @@
{{ partial('partial/heading', { - title: 'Modular by Design', - referal: 'Pick and choose what features, plugins and tools you want to integrate with. Embark is built with modularity in mind.' + title: __('start_page.modular_section.heading.title'), + referal: __('start_page.modular_section.heading.referal') }) }}
    - {{ partial('partial/checklist_item', { icon: 'icon-check', text: 'Smart Contract only or fully fledged DApps' }) }} - {{ partial('partial/checklist_item', { icon: 'icon-check', text: 'Integrate with existing tools' }) }} - {{ partial('partial/checklist_item', { icon: 'icon-check', text: 'Extend it to your needs' }) }} + {{ partial('partial/checklist_item', { icon: 'icon-check', text: __('start_page.modular_section.checklist.item_1') }) }} + {{ partial('partial/checklist_item', { icon: 'icon-check', text: __('start_page.modular_section.checklist.item_2') }) }} + {{ partial('partial/checklist_item', { icon: 'icon-check', text: __('start_page.modular_section.checklist.item_3') }) }}
@@ -119,12 +119,8 @@
-

- Mission control with Cockpit. -

-

- A web interface for building, debugging and deploying decentralised applications. -

+

{{__('start_page.cockpit_section.heading.title')}}

+

{{__('start_page.cockpit_section.heading.referal')}}

@@ -132,24 +128,24 @@
-

Web UI Dashboard

-

Gives an overview of all processes controlled by Embark. It also comes with an interactive console and predictive commands.

- Learn more → +

{{__('start_page.cockpit_section.box_1.title')}}

+

{{__('start_page.cockpit_section.box_1.text')}}

+ {{__('start_page.cockpit_section.box_1.link.label')}}
-

Explorer

-

Cockpit's explorer lets you easily review any transactions, Smart Contracts and accounts.

- Learn more → +

{{__('start_page.cockpit_section.box_2.title')}}

+

{{__('start_page.cockpit_section.box_2.text')}}

+ {{__('start_page.cockpit_section.box_2.link.label')}}
-

Deployment

-

With Cockpit, you can iteratively and selectively deploy your Smart Contracts, removing any headaches when it comes to complex applications.

- Learn more → +

{{__('start_page.cockpit_section.box_3.title')}}

+

{{__('start_page.cockpit_section.box_3.text')}}

+ {{__('start_page.cockpit_section.box_3.link.label')}}
-

Code Editor

-

Edit your source files from right within Cockpit for quick and easy updates.

- Learn more → +

{{__('start_page.cockpit_section.box_4.title')}}

+

{{__('start_page.cockpit_section.box_4.text')}}

+ {{__('start_page.cockpit_section.box_4.link.label')}}
@@ -163,10 +159,10 @@
{{ partial('partial/heading', { - title: 'For developers, by developers', - referal: 'Embark is a fully open source effort. Get involved and be part of the journey.', + title: __('start_page.outro_section.heading.title'), + referal: __('start_page.outro_section.heading.referal'), link: { - text: 'Join the Community', + text: __('start_page.outro_section.heading.link'), href: '/community' }, className: 'o-center' @@ -177,18 +173,18 @@
-

Sign up for updates

+

{{__('start_page.newsletter_section.heading.title')}}

- +
-

Sign up to our newsletter and get updates about Embark and our development progress first!

+

{{__('start_page.newsletter_section.heading.text')}}

diff --git a/site/themes/embark/layout/page.swig b/site/themes/embark/layout/page.swig index 172f45349..897db19af 100644 --- a/site/themes/embark/layout/page.swig +++ b/site/themes/embark/layout/page.swig @@ -1,7 +1,7 @@ {{ partial('partial/header', { - title: page.title, - tagline: page.tagline, + title: __(page.title), + tagline: __(page.tagline), compact: true }) }} diff --git a/site/themes/embark/layout/partial/footer.swig b/site/themes/embark/layout/partial/footer.swig index 746c01dfa..202d2a3c8 100644 --- a/site/themes/embark/layout/partial/footer.swig +++ b/site/themes/embark/layout/partial/footer.swig @@ -1,7 +1,7 @@
@@ -94,7 +94,7 @@
diff --git a/site/themes/embark/layout/partial/head.swig b/site/themes/embark/layout/partial/head.swig index db6574348..64abd4d22 100644 --- a/site/themes/embark/layout/partial/head.swig +++ b/site/themes/embark/layout/partial/head.swig @@ -1,6 +1,6 @@ - {% if page.title %}{{ page.title }} | {% endif %}{{ config.title }} + {% if page.title %}{{ __(page.title) }} | {% endif %}{{ config.title }} diff --git a/site/themes/embark/layout/partial/header-blog.swig b/site/themes/embark/layout/partial/header-blog.swig index 54f827006..ce1643a04 100644 --- a/site/themes/embark/layout/partial/header-blog.swig +++ b/site/themes/embark/layout/partial/header-blog.swig @@ -6,25 +6,25 @@
diff --git a/site/themes/embark/layout/partial/header.swig b/site/themes/embark/layout/partial/header.swig index 2810a7f4b..540930bd1 100644 --- a/site/themes/embark/layout/partial/header.swig +++ b/site/themes/embark/layout/partial/header.swig @@ -13,26 +13,26 @@
- +
    diff --git a/site/themes/embark/layout/partial/paginator.swig b/site/themes/embark/layout/partial/paginator.swig index efd9b7eb6..e6c1083d2 100644 --- a/site/themes/embark/layout/partial/paginator.swig +++ b/site/themes/embark/layout/partial/paginator.swig @@ -1,12 +1,12 @@
    {% if next !== null %} {% endif %} {% if prev !== null %} {% endif %}
    diff --git a/site/themes/embark/layout/plugins.swig b/site/themes/embark/layout/plugins.swig index 6999974cb..c409262bc 100644 --- a/site/themes/embark/layout/plugins.swig +++ b/site/themes/embark/layout/plugins.swig @@ -1,7 +1,7 @@ {{ partial('partial/header', { - title: page.title, - tagline: page.tagline, + title: __(page.title), + tagline: __(page.tagline), compact: true }) }} @@ -10,11 +10,11 @@
    {{ partial('partial/heading', { - referal: 'Plugins extend Embark and provide integration with other tools and technologies.', + referal: __('plugins_page.intro_section.heading.referal'), className: 'o-center', link: { href: '/docs/creating_plugins.html', - text: 'Build your own!' + text: __('plugins_page.intro_section.heading.link') } }) }} @@ -23,13 +23,13 @@
    {% for plugin in site.data[page.data] %} - {{ + {{ partial('partial/whisperbox', { className: 'o-grid__column--1-1 o-grid__column--large-1-3', title: plugin.name, - text: plugin.description, + text: __(plugin.description), link: { - text: 'Learn more', + text: __('plugins_page.learn_more_link'), href: plugin.link } })