Skip to content

Commit

Permalink
update tagline zh translation
Browse files Browse the repository at this point in the history
  • Loading branch information
AmazingAng committed May 22, 2023
1 parent 0f44650 commit b2e5e61
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
1 change: 0 additions & 1 deletion apps/doc/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const SECTIONS = [
/** @type {import('@docusaurus/types').Config} */
const config = {
title: "SoLive",
tagline: "The first open-source lightweight Solidity IDE that can be easily integrated into websites, documents, and tutorials. Powered by WTF Academy, Inspired by Remix-IDE and react-live.",
favicon: "img/favicon.ico",

// Set the production url of your site here
Expand Down
7 changes: 7 additions & 0 deletions apps/doc/i18n/zh/code.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"home.tagline": {
"message": "这是第一个开源轻量级的Solidity集成开发环境,可轻松整合到网站、文档和教程中。由 WTF Academy 开发,受 Remix IDE 和 react-live 启发。",
"description": "The tagline on the homepage"
}

}
2 changes: 1 addition & 1 deletion apps/doc/src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const FeatureList: FeatureItem[] = [
imgUrl: require('@site/static/img/home_feature_item1.png').default,
description: (
<>
you can connect metamask to solve and deploy smart contracts to layer2.
you can connect metamask to SoLive and deploy smart contracts to layer2.
</>
),
},
Expand Down
4 changes: 3 additions & 1 deletion apps/doc/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ function HomepageHeader() {
<HeroBannerRightStar />
</div>
<h1 className={styles.heroBannerTitle}>{siteConfig.title}</h1>
<p className={styles.heroBannerSubTitle}>{siteConfig.tagline}</p>
<p className={styles.heroBannerSubTitle}>
<Translate id="home.tagline">The first open-source lightweight Solidity IDE that can be easily integrated into websites, documents, and tutorials. Powered by WTF Academy, Inspired by Remix-IDE and react-live.</Translate>
</p>
</div>
</header>
);
Expand Down

1 comment on commit b2e5e61

@vercel
Copy link

@vercel vercel bot commented on b2e5e61 May 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.