Commit 832220b0 authored by maggie-5miles's avatar maggie-5miles

fix several missing translations

parent 10c9581f
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
"noLiquidity": "No liquidity.", "noLiquidity": "No liquidity.",
"unlockTokenCont": "Please unlock token to continue.", "unlockTokenCont": "Please unlock token to continue.",
"transactionDetails": "Transaction Details", "transactionDetails": "Transaction Details",
"hideDetails": "Hide Details",
"youAreSelling": "You are selling", "youAreSelling": "You are selling",
"orTransFail": "or the transaction will fail.", "orTransFail": "or the transaction will fail.",
"youWillReceive": "You will receive at least", "youWillReceive": "You will receive at least",
...@@ -52,6 +53,8 @@ ...@@ -52,6 +53,8 @@
"youWillMint": "You will mint", "youWillMint": "You will mint",
"liquidityTokens": "liquidity tokens.", "liquidityTokens": "liquidity tokens.",
"totalSupplyIs": "Current total supply of liquidity tokens is", "totalSupplyIs": "Current total supply of liquidity tokens is",
"youAreSettingExRate": "You are setting the initial exchange rate to",
"totalSupplyIs0": "Current total supply of liquidity tokens is 0.",
"tokenWorth": "At current exchange rate, each pool token is worth", "tokenWorth": "At current exchange rate, each pool token is worth",
"firstLiquidity": "You are the first person to add liquidity!", "firstLiquidity": "You are the first person to add liquidity!",
"initialExchangeRate": "The initial exchange rate will be set based on your deposits. Please make sure that your ETH and {{ label }} deposits have the same fiat value.", "initialExchangeRate": "The initial exchange rate will be set based on your deposits. Please make sure that your ETH and {{ label }} deposits have the same fiat value.",
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
"noLiquidity": "没有流动金。", "noLiquidity": "没有流动金。",
"unlockTokenCont": "请解锁代币继续。", "unlockTokenCont": "请解锁代币继续。",
"transactionDetails": "交易明细", "transactionDetails": "交易明细",
"hideDetails": "隐藏明细",
"youAreSelling": "你正在出售", "youAreSelling": "你正在出售",
"orTransFail": "或交易失败。", "orTransFail": "或交易失败。",
"youWillReceive": "你将收到至少", "youWillReceive": "你将收到至少",
...@@ -52,6 +53,8 @@ ...@@ -52,6 +53,8 @@
"youWillMint": "你将铸造", "youWillMint": "你将铸造",
"liquidityTokens": "流动代币。", "liquidityTokens": "流动代币。",
"totalSupplyIs": "当前流动代币的总量是", "totalSupplyIs": "当前流动代币的总量是",
"youAreSettingExRate": "你将初始兑换率设置为",
"totalSupplyIs0": "当前流动代币的总量是0。",
"tokenWorth": "当前兑换率下,每个资金池代币价值", "tokenWorth": "当前兑换率下,每个资金池代币价值",
"firstLiquidity": "你是第一个添加流动金的人!", "firstLiquidity": "你是第一个添加流动金的人!",
"initialExchangeRate": "初始兑换率将由你的存入情况决定。请确保你存入的 ETH 和 {{ label }} 具有相同的法币价值。", "initialExchangeRate": "初始兑换率将由你的存入情况决定。请确保你存入的 ETH 和 {{ label }} 具有相同的法币价值。",
......
...@@ -432,7 +432,8 @@ class AddLiquidity extends Component { ...@@ -432,7 +432,8 @@ class AddLiquidity extends Component {
return ( return (
<ContextualInfo <ContextualInfo
key="context-info" key="context-info"
openModalText={t("transactionDetails")} openDetailsText={t("transactionDetails")}
closeDetailsText={t("hideDetails")}
contextualInfo={contextualInfo} contextualInfo={contextualInfo}
isError={isError} isError={isError}
renderTransactionDetails={this.renderTransactionDetails} renderTransactionDetails={this.renderTransactionDetails}
...@@ -461,10 +462,10 @@ class AddLiquidity extends Component { ...@@ -461,10 +462,10 @@ class AddLiquidity extends Component {
if (this.isNewExchange()) { if (this.isNewExchange()) {
return ( return (
<div> <div>
<div className="pool__summary-item">You are adding {b(`${inputValue} ETH`)} and {b(`${outputValue} ${label}`)} to the liquidity pool.</div> <div className="pool__summary-item">{t("youAreAdding")} {b(`${inputValue} ETH`)} {t("and")} {b(`${outputValue} ${label}`)} {t("intoPool")}</div>
<div className="pool__summary-item">You are setting the initial exchange rate to {b(`1 ETH = ${BN(outputValue).dividedBy(inputValue).toFixed(4)} ${label}`)}.</div> <div className="pool__summary-item">{t("youAreSettingExRate")} {b(`1 ETH = ${BN(outputValue).dividedBy(inputValue).toFixed(4)} ${label}`)}.</div>
<div className="pool__summary-item">You will mint {b(`${inputValue} liquidity tokens`)}.</div> <div className="pool__summary-item">{t("youWillMint")} {b(`${inputValue}`)} {t("liquidityTokens")}</div>
<div className="pool__summary-item">Current total supply of liquidity tokens is 0.</div> <div className="pool__summary-item">{t("totalSupplyIs0")}</div>
</div> </div>
); );
} }
......
...@@ -184,7 +184,8 @@ class RemoveLiquidity extends Component { ...@@ -184,7 +184,8 @@ class RemoveLiquidity extends Component {
return ( return (
<ContextualInfo <ContextualInfo
key="context-info" key="context-info"
openModalText={t("transactionDetails")} openDetailsText={t("transactionDetails")}
closeDetailsText={t("hideDetails")}
contextualInfo={contextualInfo} contextualInfo={contextualInfo}
isError={isError} isError={isError}
renderTransactionDetails={this.renderTransactionDetails} renderTransactionDetails={this.renderTransactionDetails}
......
...@@ -570,7 +570,8 @@ class Send extends Component { ...@@ -570,7 +570,8 @@ class Send extends Component {
return ( return (
<ContextualInfo <ContextualInfo
openModalText={t("transactionDetails")} openDetailsText={t("transactionDetails")}
closeDetailsText={t("hideDetails")}
contextualInfo={contextualInfo} contextualInfo={contextualInfo}
isError={isError} isError={isError}
renderTransactionDetails={this.renderTransactionDetails} renderTransactionDetails={this.renderTransactionDetails}
......
...@@ -556,7 +556,8 @@ class Swap extends Component { ...@@ -556,7 +556,8 @@ class Swap extends Component {
return ( return (
<ContextualInfo <ContextualInfo
openModalText={t("transactionDetails")} openDetailsText={t("transactionDetails")}
closeDetailsText={t("hideDetails")}
contextualInfo={contextualInfo} contextualInfo={contextualInfo}
isError={isError} isError={isError}
renderTransactionDetails={this.renderTransactionDetails} renderTransactionDetails={this.renderTransactionDetails}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment