fix text and translations

pull/5370/head
Joseph Izang 2 years ago
parent 2d7367b394
commit 21c37ed03b
  1. 3
      apps/remix-ide/src/app/tabs/locales/en/home.json
  2. 3
      apps/remix-ide/src/app/tabs/locales/zh/home.json
  3. 22
      libs/remix-ui/home-tab/src/lib/components/homeTabFeatured.tsx

@ -14,7 +14,8 @@
"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 to give to any other user of their choice.",
"home.solidityDevSurveyHeader": "Solidity Developer Survey 2022",
"home.solidityDevSurvey": "Drumroll please! 🥁🥁🥁 The Solidity Developer Survey 2022 has begun. The Solidity Team wants to collect developer feedback so as to improve the langauge. Please click take some time to participate in the survey.",
"home.solidityDevSurvey1": "Click here",
"home.solidityDevSurvey1": "Year ending poll",
"home.surveyLink": "Go to Survey",
"home.betaTesting": "BETA TESTING",
"home.betaTestingText1": "Our community supports us.",
"home.betaTestingText2": "You can join Beta Testing before each release of Remix IDE. Help us test now and get a handle on new features!",

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

@ -35,23 +35,23 @@ function HomeTabFeatured() {
autoPlaySpeed={15000}
dotListClass="position-relative mt-2"
>
<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>
</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 p-4" style={{ flex: "1" }}>
<h5><FormattedMessage id='home.solidityDevSurveyHeader' /></h5>
<p style={{ fontStyle: 'italic' }}><FormattedMessage id='home.solidityDevSurvey' /></p>
<p style={{ fontStyle: 'italic' }}><FormattedMessage id='home.solidityDevSurvey1' /></p>
<p>
{/* <FormattedMessage id='' /> */}
<FormattedMessage id='home.solidityDevSurvey' />
</p>
<a className="remixui_home_text" 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.solidityDevSurvey1' /></a>
<a className="remixui_home_text" 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>
</div>
<div className="mx-1 px-1 d-flex">

Loading…
Cancel
Save