Skip to content

Commit

Permalink
chore: translate staking (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
icfor authored Nov 22, 2023
1 parent 545fdd5 commit 28ac809
Show file tree
Hide file tree
Showing 20 changed files with 300 additions and 263 deletions.
4 changes: 2 additions & 2 deletions next-sitemap.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
priority: null,

generateRobotsTxt: false,
siteUrl: "https://forbole.com",
siteUrl: "https://www.forbole.com",
additionalPaths: async () => {
if (!process.env.GHOST_PRIVATE_KEY || !process.env.NEXT_PUBLIC_GHOST_API)
return [];
Expand Down Expand Up @@ -38,7 +38,7 @@ module.exports = {
return posts
.map((p) => {
if (!p.slug) return null;
if (p.slug.includes("page/")) return null;
if (p.slug.statrtsWith("how-to-stake")) return `/staking/${p.slug}`;

return `/blog/${p.slug}`;
})
Expand Down
7 changes: 3 additions & 4 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module.exports = {
plugins: [
'autoprefixer'
]
}
plugins: ["autoprefixer"],
};

5 changes: 2 additions & 3 deletions public/locales/en/enterprise_solution.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"API": "Staking API & Self-custody",
"business_support": "Business support",
"collection": "Data Collection & Analytics",
"company": "Company",
"contact": "Contact Forbole",
Expand All @@ -10,18 +11,16 @@
"enterprise_solution": "Enterprise Solution",
"get": "<0><1>Get in touch</1> today</0>",
"how": "How can we help you?",
"marketing": "Marketing collaboration",
"name": "Name",
"other": "Others",
"our": "Our professional team is ready to tailor a custom solution for your organization and offer end-to-end support from ideation to implementation.",
"page_title": "Enterprise Solution",
"partnership": "Partnership collaboration",
"provides": "Forbole provides comprehensive blockchain solutions tailored for enterprise clients. Our team of experts offer consultation and technical advice to help you develop customized strategies specifically catering for the needs of your organization.",
"select": "Select an option",
"success": "Thank you for your submission. Our team is going to contact you shortly. Thanks for your patience.",
"support": "General support",
"talk_to_us": "Talk to us",
"technical_consultation": "Technical Consultation",
"technical_support": "Technical support",
"thanks": "Thank you for your submission!",
"touch": "Get in touch",
"trusted": "Your trusted guide to navigate the Multi-chain world",
Expand Down
5 changes: 2 additions & 3 deletions public/locales/en/staking.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"benefits bullet 2": "Boost network security, the more token holders that stake, the more secure the network becomes",
"benefits desc": "There are two key benefits of staking:",
"benefits q": "What are the benefits of staking?",
"business_support": "Business support",
"calculate rewards desc": "Earning rewards by staking your tokens with us.",
"calculate rewards title": "<0><1>Calculate</1> your rewards</0>",
"cancel": "Cancel",
Expand All @@ -25,14 +26,12 @@
"estimated earning": "Estimated earning",
"faq": "FAQs",
"FVH title": "Stake, earn and secure the networks with Forbole",
"general support": "General Support",
"get in touch!": "Get in touch!",
"guideline": "Guideline",
"how can we help you": "How can we help you?",
"how it works": "How it works?",
"how it works title": "<0>Easy to <1>earn passive income</1> on tokens through staking</0>",
"length of time": "Length of Time (in month)",
"marketing collab": "Marketing collaboration",
"money": "$",
"months": "Months",
"more": "More",
Expand All @@ -43,7 +42,6 @@
"others": "Others",
"our future": "Our Future",
"our future desc": "Forbole runs a cross-chain ecosystem, we never stop and constantly improve our user experience. By exploring more opportunities and innovating our products and services to meet the ever changing landscape, stakers are equipped to make their best choices.",
"partnership collab": "Partnership collaboration",
"percentage": "%",
"receiving bullet 1": "Nominated validators are not in the active set",
"receiving bullet 2": "Nominated a validator with 100% commission holders. The rewards rate varies depending on the total amount of staked tokens, and each network has their specific settings.",
Expand Down Expand Up @@ -78,6 +76,7 @@
"staking title": "<0>{{title1}} <1>{{coloredTitle}}</1> {{title2}}</0>",
"string": " ",
"success": "Email sent! We will get back to you shortly",
"technical_support": "Technical support",
"title": "Stake with Forbole",
"token amount": "Token amount",
"token amount placeholder": "How much token?",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/zh-CN/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"supporting networks": "验证网络数量",
"thank": "感谢你的订阅",
"tnc": "条款及细则",
"users staking": "总质押用户",
"users staking": "质押用户数",
"validator-infrastructure": "验证人基础建设",
"zh-CN": "简体中文",
"zh-HK": "繁體中文"
Expand Down
5 changes: 2 additions & 3 deletions public/locales/zh-CN/enterprise_solution.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"API": "质押 API & 自我托管",
"business_support": "商业合作",
"collection": "数据收集和分析",
"company": "公司",
"contact": "联络 Forbole",
Expand All @@ -10,18 +11,16 @@
"enterprise_solution": "企业解决方案",
"get": "<0>告诉我们你的<1>要求</1>!</0>",
"how": "我们如何帮助你?",
"marketing": "营销合作",
"name": "姓名",
"other": "其他",
"our": "我们的专业团队可随时度身定制适合你的企业解决方案,并提供点对点的协助。",
"page_title": "企业解决方案",
"partnership": "伙伴合作",
"provides": "Forbole 为企业客户提供度身定制的综合区块链解决方案。我们的专家可以提供专业技术咨询服务,利用区块链技术为机构制定独一无二的策略。",
"select": "选择其中一个选项",
"success": "已成功提交。我们的团队将很快与你联络。谢谢你的耐心等候。",
"support": "一般支援",
"talk_to_us": "告诉我们",
"technical_consultation": "技术咨询",
"technical_support": "技术支持",
"thanks": "你已成功提交。",
"touch": "提交",
"trusted": "带领你畅游多链世界 值得信赖",
Expand Down
177 changes: 88 additions & 89 deletions public/locales/zh-CN/staking.json
Original file line number Diff line number Diff line change
@@ -1,95 +1,94 @@
{
"apy": "Annual Percentage Yield",
"benefits bullet 1": "Earn your staking rewards, it allows you to earn rewards for securing the network with your contribution",
"benefits bullet 2": "Boost network security, the more token holders that stake, the more secure the network becomes",
"benefits desc": "There are two key benefits of staking:",
"benefits q": "What are the benefits of staking?",
"calculate rewards desc": "Earning rewards by staking your tokens with us.",
"calculate rewards title": "<0><1>Calculate</1> your rewards</0>",
"cancel": "Cancel",
"claim para 1": "There is no model answer because this depends on too many factors, including how many tokens staked, transaction fees in that particular network, etc.",
"claim q": "How often should I claim my staking rewards?",
"commission": "Commission Rate",
"contact Forbole": "Contact Forbole",
"contact Forbole desc": "We are happy to serve you with our professional services.",
"contact forbole title": "<0><1>Get in touch</1> with our team to discuss our <1>collaboration</1> today!</0>",
"copied to clipboard": "Copied to your clipboard",
"description": "Stake, earn and secure the networks with Forbole",
"difference para 1": "For custodial, the private key is held by a third party whereas non-custodial, users are responsible for their assets and in full control.",
"difference q": "What is the difference between custodial and non-custodial?",
"drop bullet 1": "Inflation changed due to Parameter change Proposal",
"drop bullet 2": "Bonding ratio changed (usually the higher bonding ratio, the lower the inflation rate)",
"drop desc": "There are a few possible reasons:",
"drop q": "Why did my staking rewards drop?",
"email": "Email",
"estimated earning": "Estimated earning",
"faq": "FAQs",
"FVH title": "Stake, earn and secure the networks with Forbole",
"general support": "General Support",
"get in touch!": "Get in touch!",
"guideline": "Guideline",
"how can we help you": "How can we help you?",
"how it works": "How it works?",
"how it works title": "<0>Easy to <1>earn passive income</1> on tokens through staking</0>",
"length of time": "Length of Time (in month)",
"marketing collab": "Marketing collaboration",
"apy": "年收益率",
"benefits bullet 1": "赚取您的质押奖励,它可以让您通过贡献来获得保护网络的奖励",
"benefits bullet 2": "提高网络安全性,质押的代币持有者越多,网络就越安全",
"benefits desc": "质押有两个主要好处:",
"benefits q": "质押有什么好处?",
"business_support": "商业合作",
"calculate rewards desc": "委托 Forbole 质押原生通证来赚取你的收益。",
"calculate rewards title": "<0><1>计算</1> 你的收益</0>",
"cancel": "取消",
"claim para 1": "没有模型答案,因为这取决于太多因素,包括质押的代币数量、特定网络中的交易费用等。",
"claim q": "我应该多久领取我的质押奖励?",
"commission": "佣金率",
"contact Forbole": "联系 Forbole",
"contact Forbole desc": "我们很高兴为你提供专业的服务。",
"contact forbole title": "<0>立即与我们团队商讨<1>合作</1>!</0>",
"copied to clipboard": "复制到剪贴板",
"description": " 在 Forbole 质押,赚取收益,守护网络",
"difference para 1": "对于托管,私钥由第三方持有,而对于非托管,用户对其资产负责并完全控制。",
"difference q": "托管和非托管有什么区别?",
"drop bullet 1": "由于参数更改提案,通货膨胀发生变化",
"drop bullet 2": "债券比率发生变化(通常债券比率越高,通胀率越低)",
"drop desc": "有以下几个可能的原因:",
"drop q": "为什么我的质押奖励下降了?",
"email": "电子邮件",
"estimated earning": "预计收入",
"faq": "常见问题解答",
"FVH title": " 在 Forbole 质押,赚取收益,守护网络",
"get in touch!": "联系 Forbole",
"guideline": "指南",
"how can we help you": "我们能为你做些什么?",
"how it works": "如何运作?",
"how it works title": "<0>通过质押通证轻松<1>赚取被动收入</1></0>",
"length of time": "时间长度(以月为单位)",
"money": "$",
"months": "Months",
"more": "More",
"name": "Name",
"non-custodial": "Non-custodial",
"non-custodial desc": "Our services are non-custodial so you can withdraw at any time",
"noResultsFound": "No results found",
"others": "Others",
"our future": "Our Future",
"our future desc": "Forbole runs a cross-chain ecosystem, we never stop and constantly improve our user experience. By exploring more opportunities and innovating our products and services to meet the ever changing landscape, stakers are equipped to make their best choices.",
"partnership collab": "Partnership collaboration",
"months": "个月",
"more": "更多的",
"name": "姓名",
"non-custodial": "非托管",
"non-custodial desc": "我们提供非托管质押服务,你可随时提取你的资产",
"noResultsFound": "未找到结果",
"others": "其他",
"our future": "我们的未来",
"our future desc": "Forbole 运行一个跨链生态系统,我们与时并进,永不停步,时刻留意最新的技术发展,确保应用最高级的安全标准于质押服务中,让你高枕无忧。",
"percentage": "%",
"receiving bullet 1": "Nominated validators are not in the active set",
"receiving bullet 2": "Nominated a validator with 100% commission holders. The rewards rate varies depending on the total amount of staked tokens, and each network has their specific settings.",
"receiving q": "Why am I not receiving staking rewards?",
"reputable validator": "Reputable Validator Journey",
"reputable validator desc": "We started as a genesis validator or Cosmos Hub and quickly expanded to other networks. Currently, we are validating on over 50 mainnets, operating nodes on all major blockchians, being guardians on major interchain bridges, and actively participating in many testnets. As a non-custodian staking service provider, we are trusted by thousands of stakers all over the world.",
"reward para 1": "Newly minted tokens and transaction fees are given out as rewards to bonded staking token holders. The rewards rate varies depending on the total amount of staked tokens, and each network has their specific settings.",
"reward para 2": "<0>You can calculate your staking rewards <1>here</1>. You can also view your real-time rewards on each Big Dipper explorer. Or if you are interested in the detailed calculation, please refer to the whitepapers or tokenomics papers of each network, which can be found on their websites.</0>",
"reward para 3": "Staking rewards should be “claimed” before becoming available in your account. This is a type of transaction so you would need to pay for the transaction when claiming rewards. While staking new tokens, your rewards will automatically be claimed into your available balance. The rewards are also automatically withdrawn to your account if there is a network upgrade.",
"reward q": "What is staking reward and how often are the rewards distributed?",
"rewards": "Earn Rewards",
"rewards desc": "You earn staking rewards on your tokens",
"risks para 1": "There may be some risks when your validator is having poor performance or making critical mistakes, your funds will be slashed accordingly.",
"risks q": "What are the risks of staking?",
"searchNetwork": "Search network",
"security focus": "Focus on Security",
"security focus desc": "Our team consists of experienced engineers and skilled developers. We have implemented industry leading security and risk management protocols with 24/7 monitoring to ensure our infrastructure’s top performance across different networks.",
"select option": "Select an option",
"select token": "Select token",
"stake": "Stake",
"stake desc": "As a token holder, you can utilize our infrastructure by staking your tokens with us",
"stake now": "Stake now",
"stake with Forbole": "Stake with Forbole",
"stake with Forbole desc": "More networks are coming",
"stake with Forbole title": "<0>We <1>partner</1> with and <1>support</1> the following projects</0>",
"stake with us!": "Stake with us!",
"stake_now": "Stake Now",
"staked by forbole": "Staked by Forbole",
"staking para 1": "The action that token holders stake their tokens to validators to secure the network is called staking. Staked tokens are eligible to receive staking rewards. Newly minted tokens and transactions fees are given out as rewards to bonded staking token holders.",
"staking para 2": "Stakers stake their staking power to validators, but that does not mean the validators possess or have custody of the tokens staked to them. In other words, validators cannot steal or take away stakers’ tokens. Your staked amount of tokens will not be decreased in most situations, however, if your validator is punished by slashing, your staked token is at risk of being slashed too (see below for “slashing”).",
"staking q": "What is staking?",
"receiving bullet 1": "指定验证人不在活跃集中",
"receiving bullet 2": "提名一名验证者,佣金持有者为 100%",
"receiving q": "为什么我没有收到质押奖励?",
"reputable validator": "信誉良好的验证人",
"reputable validator desc": "始于 Cosmos Hub 创世验证人的我们,已在短时期内快速拓展,现阶段已在超过 50 个主网中运行验证节点,保护重要的跨链桥,并积极参与多个测试网络。身为一家非托管式质押服务提供商,我们深得全球数千计质押者的信任。",
"reward para 1": "新铸造的代币和交易费用将作为奖励给予质押代币持有者。",
"reward para 2": "<0>您可以计算您的质押奖励 <1>这里</1></0>",
"reward para 3": "质押奖励应在您的账户中可用之前“领取”。",
"reward q": "什么是质押奖励以及奖励多久发放一次?",
"rewards": "赚取收益",
"rewards desc": "可以通过质押通证赚取收益",
"risks para 1": "当您的验证人表现不佳或犯严重错误时,可能会存在一些风险,您的资金将被相应削减。",
"risks q": "质押有哪些风险?",
"searchNetwork": "搜索网络",
"security focus": "关注网络安全",
"security focus desc": "我们的团队由经验丰富的工程师和开发者组成。我们运用行业领先的安全风险管理制度,并提供7x24小时的监控,确保我们的节点在各个网络中都能维持最优表现。",
"select option": "选择其中一项",
"select token": "选择通证",
"stake": "质押",
"stake desc": "作为通证持有人,你可以安心在我们的基础建设上委托质押原生通证",
"stake now": "立即质押",
"stake with Forbole": "委託 Forbole 質押原生通證",
"stake with Forbole desc": "我们将会加入更多网络",
"stake with Forbole title": "<0>我们的<1>合作项目</1>如下</0>",
"stake with us!": "与我们一起赌注!",
"stake_now": "立即质押",
"staked by forbole": "Forbole 质押",
"staking para 1": "代币持有者将其代币质押给验证者以保护网络的行为称为质押。",
"staking para 2": "质押者将质押权质押给验证者,但这并不意味着验证者拥有或保管质押给他们的代币。",
"staking q": "什么是质押?",
"staking title": "<0>{{title1}} <1>{{coloredTitle}}</1> {{title2}}</0>",
"string": " ",
"success": "Email sent! We will get back to you shortly",
"title": "Stake with Forbole",
"token amount": "Token amount",
"token amount placeholder": "How much token?",
"trusted provider": "Pick Trusted Provider",
"trusted provider desc": "We have the infrastructure in place to act as validators and to secure networks",
"unbonding period": "Unbonding period",
"unstaking para 1": "The action of transferring your staked tokens from one validator to another, it is called restaking your tokens. Your rewards will keep calculating if you choose to restake. Your rewards will stop calculating once you choose unstaking. It is subject to a lockup period (normally 21-day) and during this lockup, you cannot do anything with your tokens that are undergoing unlocking.",
"unstaking para 2": "Therefore, if your plan is to continue with staking, and you simply wish to switch to a different validator, use restake instead to continue accruing your staking rewards and airdrops.",
"unstaking para 3": "After the first restaking, you need to wait for a certain period of time (corresponding with unstaking period) before making another restaking transaction. And do make sure you have sufficient funds in your available balance to pay for the transaction fee.",
"unstaking q": "What are unstaking and restaking?",
"why forbole title": "<0>Forbole <1>empowers</1> people by building decentralized infrastructure.</0>",
"why forbole?": "Why Forbole?",
"your email": "Your Email",
"your name": "Your Name"
"success": "邮件已发送!",
"technical_support": "技术支持",
"title": "委托 Forbole 质押原生通证",
"token amount": "通证数量",
"token amount placeholder": "多少通證?",
"trusted provider": "选择值得信赖的营运商",
"trusted provider desc": "我们已经建立了完善的验证人基础设施,全天候监控区块链网络安全",
"unbonding period": "解绑期",
"unstaking para 1": "将您质押的代币从一个验证器转移到另一个验证器的操作称为重新质押您的代币。",
"unstaking para 2": "因此,如果您的计划是继续质押,并且您只是希望切换到不同的验证器,请使用重新质押来继续累积您的质押奖励和空投。",
"unstaking para 3": "第一次重质押后,您需要等待一定时间(对应解质押期)才能进行下一次重质押交易。",
"unstaking q": "什么是解除质押和重新质押?",
"why forbole title": "<0>Forbole<1>坚实基建,硅步千里</1></0>",
"why forbole?": "为何选择 Forbole?",
"your email": "你的邮箱地址",
"your name": "你的名字"
}
Loading

0 comments on commit 28ac809

Please sign in to comment.