mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Move terms of use strings into localized messages (#8736)
This commit is contained in:
parent
591d84d2bb
commit
731efcb36d
@ -1,4 +1,8 @@
|
|||||||
{
|
{
|
||||||
|
"acceptTermsOfUse": {
|
||||||
|
"message": "I have read and agree to the $1",
|
||||||
|
"description": "$1 is the `terms` message"
|
||||||
|
},
|
||||||
"eth_accounts": {
|
"eth_accounts": {
|
||||||
"message": "View the addresses of your permitted accounts (required)",
|
"message": "View the addresses of your permitted accounts (required)",
|
||||||
"description": "The description for the `eth_accounts` permission"
|
"description": "The description for the `eth_accounts` permission"
|
||||||
|
@ -268,8 +268,10 @@ export default class ImportWithSeedPhrase extends PureComponent {
|
|||||||
{termsChecked ? <i className="fa fa-check fa-2x" /> : null}
|
{termsChecked ? <i className="fa fa-check fa-2x" /> : null}
|
||||||
</div>
|
</div>
|
||||||
<span id="ftf-chk1-label" className="first-time-flow__checkbox-label">
|
<span id="ftf-chk1-label" className="first-time-flow__checkbox-label">
|
||||||
I have read and agree to the
|
{t('acceptTermsOfUse', [(
|
||||||
<a
|
<a
|
||||||
|
onClick={(e) => e.stopPropagation()}
|
||||||
|
key="first-time-flow__link-text"
|
||||||
href="https://metamask.io/terms.html"
|
href="https://metamask.io/terms.html"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
@ -278,6 +280,7 @@ export default class ImportWithSeedPhrase extends PureComponent {
|
|||||||
{ t('terms') }
|
{ t('terms') }
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
)])}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button
|
||||||
|
@ -204,8 +204,10 @@ export default class NewAccount extends PureComponent {
|
|||||||
{termsChecked ? <i className="fa fa-check fa-2x" /> : null}
|
{termsChecked ? <i className="fa fa-check fa-2x" /> : null}
|
||||||
</div>
|
</div>
|
||||||
<span id="ftf-chk1-label" className="first-time-flow__checkbox-label">
|
<span id="ftf-chk1-label" className="first-time-flow__checkbox-label">
|
||||||
I have read and agree to the
|
{t('acceptTermsOfUse', [(
|
||||||
<a
|
<a
|
||||||
|
onClick={(e) => e.stopPropagation()}
|
||||||
|
key="first-time-flow__link-text"
|
||||||
href="https://metamask.io/terms.html"
|
href="https://metamask.io/terms.html"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
@ -214,6 +216,7 @@ export default class NewAccount extends PureComponent {
|
|||||||
{ t('terms') }
|
{ t('terms') }
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
)])}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button
|
||||||
|
Loading…
Reference in New Issue
Block a user