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": {
|
||||
"message": "View the addresses of your permitted accounts (required)",
|
||||
"description": "The description for the `eth_accounts` permission"
|
||||
|
@ -268,16 +268,19 @@ export default class ImportWithSeedPhrase extends PureComponent {
|
||||
{termsChecked ? <i className="fa fa-check fa-2x" /> : null}
|
||||
</div>
|
||||
<span id="ftf-chk1-label" className="first-time-flow__checkbox-label">
|
||||
I have read and agree to the
|
||||
<a
|
||||
href="https://metamask.io/terms.html"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<span className="first-time-flow__link-text">
|
||||
{ t('terms') }
|
||||
</span>
|
||||
</a>
|
||||
{t('acceptTermsOfUse', [(
|
||||
<a
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
key="first-time-flow__link-text"
|
||||
href="https://metamask.io/terms.html"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<span className="first-time-flow__link-text">
|
||||
{ t('terms') }
|
||||
</span>
|
||||
</a>
|
||||
)])}
|
||||
</span>
|
||||
</div>
|
||||
<Button
|
||||
|
@ -204,16 +204,19 @@ export default class NewAccount extends PureComponent {
|
||||
{termsChecked ? <i className="fa fa-check fa-2x" /> : null}
|
||||
</div>
|
||||
<span id="ftf-chk1-label" className="first-time-flow__checkbox-label">
|
||||
I have read and agree to the
|
||||
<a
|
||||
href="https://metamask.io/terms.html"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<span className="first-time-flow__link-text">
|
||||
{ t('terms') }
|
||||
</span>
|
||||
</a>
|
||||
{t('acceptTermsOfUse', [(
|
||||
<a
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
key="first-time-flow__link-text"
|
||||
href="https://metamask.io/terms.html"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<span className="first-time-flow__link-text">
|
||||
{ t('terms') }
|
||||
</span>
|
||||
</a>
|
||||
)])}
|
||||
</span>
|
||||
</div>
|
||||
<Button
|
||||
|
Loading…
Reference in New Issue
Block a user