removed faulty chinese translation

pull/3201/head
Joseph Izang 2 years ago committed by Aniket
parent 1b914cf4ed
commit e0d31bc917
  1. 6
      apps/remix-ide/src/app/tabs/locales/en/home.json
  2. 8
      apps/remix-ide/src/app/tabs/locales/zh/home.json
  3. 28
      libs/remix-ui/home-tab/src/lib/components/homeTabFeatured.tsx

@ -11,10 +11,10 @@
"home.jumpIntoWeb3Text": "The Remix Project is a rich toolset which can be used for the entire journey of contract development by users of any knowledge level, and as a learning lab for teaching and experimenting with Ethereum.",
"home.remixRewards": "REMIX REWARDS",
"home.remixRewardsText1": "NFTs for our users!",
"home.remixRewardsText2": "Remix Project rewards contributors, beta testers, and UX research participants with NFTs deployed on Optimism. Remix Reward holders are able to mint a second “Remixer” user NFT badge.",
"home.remixRewardsText2": "Remix Project rewards contributors, beta testers, and UX research participants with NFTs deployed on Optimism.",
"home.solidityDevSurveyHeader": "SOLIDITY DEVELOPER SURVEY 2022",
"home.solidityDevSurvey": "Drumroll please! 🥁🥁🥁 The Solidity Developer Survey 2022 has begun. The Solidity Team wants to collect feedback and insights to improve the language. Completing the survey will roughly take 10 minutes.",
"home.solidityDevSurvey1": "Year ending poll",
"home.solidityDevSurvey": "The Solidity Team is collecting feedback to improve the language. The survey takes roughly 10 minutes.",
"home.solidityDevSurvey1": "Annual poll",
"home.surveyLink": "Take the Survey",
"home.betaTesting": "BETA TESTING",
"home.betaTestingText1": "Our community supports us.",

@ -12,10 +12,10 @@
"home.remixRewards": "REMIX 奖励",
"home.remixRewardsText1": "给我们的用户提供的 NFT!",
"home.remixRewardsText2": "Remix 会用部署在 Optimism 链上的 NFT 奖励贡献者、beta 测试者和用户体验研究参与者。Remix 奖励的持有者可以铸造第二个“Remixer”用户 NFT 徽章,以赠予他们选择的任何其他用户。",
"home.solidityDevSurveyHeader": "2022 年 Solidity 开发者调查",
"home.solidityDevSurvey": "请打鼓! 🥁🥁🥁 2022 年 Solidity 开发者调查已经开始。 Solidity 团队希望收集开发人员的反馈以改进语言。请花一些时间参与调查。",
"home.solidityDevSurvey1": "年终投票",
"home.surveyLink": "去调查",
"home.solidityDevSurveyHeader": "",
"home.solidityDevSurvey": "",
"home.solidityDevSurvey1": "",
"home.surveyLink": "",
"home.betaTesting": "BETA 测试",
"home.betaTestingText1": "我们的社区支持我们",
"home.betaTestingText2": "每次 Remix IDE 发布版本之前,你都可以参与 Beta 测试。现在就来帮我们测试并且尝鲜新功能吧!",

@ -33,43 +33,45 @@ function HomeTabFeatured() {
sliderClass="h-100 justify-content-between"
deviceType={"desktop"}
itemClass=""
autoPlaySpeed={15000}
autoPlaySpeed={150000}
dotListClass="position-relative mt-2"
>
<div className="mx-1 px-1 d-flex">
<img className="mt-2 pb-1" src={"/assets/img/solidity.webp"} style={{ flex: "1", height: "150px", maxWidth: "150px", paddingTop: 2, paddingBottom: 2, filter: themeFilter.filter }} alt="" ></img>
<div className="h6 w-50 pt-2" style={{ flex: "1" }}>
<div className="h6 w-50 p-4" style={{ flex: "1" }}>
<h5><FormattedMessage id='home.solidityDevSurveyHeader' /></h5>
<p className="remixui_home_carouselText">
<p style={{ fontStyle: 'italic' }}><FormattedMessage id='home.solidityDevSurvey1' /></p>
<div style={{ fontSize: 'medium' }}>
<FormattedMessage id='home.solidityDevSurvey' />
</p>
<a className="remixui_home_text btn btn-primary text-decoration-none mb-3" target="__blank" onClick={() => _paq.push(['trackEvent', 'hometab', 'featuredSection', 'soliditySurvey'])} href="https://blog.soliditylang.org/2022/12/07/solidity-developer-survey-2022-announcement/"><FormattedMessage id='home.surveyLink' /></a>
</div>
<a className="remixui_home_text btn btn-secondary mt-2 text-decoration-none mb-3" target="__blank" onClick={() => _paq.push(['trackEvent', 'hometab', 'featuredSection', 'soliditySurvey'])} href="https://blog.soliditylang.org/2022/12/07/solidity-developer-survey-2022-announcement/"><FormattedMessage id='home.surveyLink' /></a>
</div>
</div>
<div className="mx-1 px-1 d-flex">
<img src={"assets/img/bgRemi.webp"} style={{ flex: "1", height: "170px", maxWidth: "170px" }} alt="" ></img>
<div className="h6 w-50 p-4" style={{ flex: "1" }}>
<h5><FormattedMessage id='home.jumpIntoWeb3' /></h5>
<p><FormattedMessage id='home.jumpIntoWeb3Text'/></p>
<a className="remixui_home_text" onClick={() => _paq.push(['trackEvent', 'hometab', 'featuredSection', 'jumpIntoWeb3'])} target="__blank" href="https://remix-project.org"><FormattedMessage id='home.more' /></a>
<div><FormattedMessage id='home.jumpIntoWeb3Text'/></div>
<a className="remixui_home_text btn btn-secondary mt-2 text-decoration-none mb-3" onClick={() => _paq.push(['trackEvent', 'hometab', 'featuredSection', 'jumpIntoWeb3'])} target="__blank" href="https://remix-project.org"><FormattedMessage id='home.more' /></a>
</div>
</div>
<div className="mx-1 px-1 d-flex">
<img src={"/assets/img/remixRewardUser.webp"} style={{ flex: "1", height: "170px", maxWidth: "170px" }} alt="" ></img>
<div className="h6 w-50 p-4" style={{ flex: "1" }}>
<h5><FormattedMessage id='home.remixRewards' /></h5>
{/* <p style={{ fontStyle: 'italic' }}><FormattedMessage id='home.remixRewardsText1' /></p> */}
<p><FormattedMessage id='home.remixRewardsText2' /></p>
<a className="remixui_home_text" target="__blank" onClick={() => _paq.push(['trackEvent', 'hometab', 'featuredSection', 'remixRewards'])} href="https://rewards.remix.ethereum.eth.limo"><FormattedMessage id='home.more' /></a>
<p style={{ fontStyle: 'italic' }}><FormattedMessage id='home.remixRewardsText1' /></p>
<div><FormattedMessage id='home.remixRewardsText2' /></div>
<a className="remixui_home_text btn btn-secondary mt-2 text-decoration-none mb-3" target="__blank" onClick={() => _paq.push(['trackEvent', 'hometab', 'featuredSection', 'remixRewards'])} href="https://rewards.remix.ethereum.eth.limo"><FormattedMessage id='home.more' /></a>
</div>
</div>
<div className="mx-1 px-1 d-flex">
<img src={"/assets/img/remixRewardBetaTester.webp"} style={{ flex: "1", height: "170px", maxWidth: "170px" }} alt="" ></img>
<div className="h6 w-50 p-4" style={{ flex: "1" }}>
<h5><FormattedMessage id='home.betaTesting' /></h5>
{/* <p style={{ fontStyle: 'italic' }}><FormattedMessage id='home.betaTestingText1' /></p> */}
<p><FormattedMessage id='home.betaTestingText2' /></p>
<a className="remixui_home_text" onClick={() => _paq.push(['trackEvent', 'hometab', 'featuredSection', 'betatesting'])} target="__blank" href="https://rewards.remix.ethereum.eth.limo"><FormattedMessage id='home.more' /></a>
<p style={{ fontStyle: 'italic' }}><FormattedMessage id='home.betaTestingText1' /></p>
<div><FormattedMessage id='home.betaTestingText2' /></div>
<a className="remixui_home_text btn btn-secondary mt-2 text-decoration-none mb-3" onClick={() => _paq.push(['trackEvent', 'hometab', 'featuredSection', 'betatesting'])} target="__blank" href="https://rewards.remix.ethereum.eth.limo"><FormattedMessage id='home.more' /></a>
</div>
</div>
</Carousel>

Loading…
Cancel
Save