mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fixing unlocalized strings (#11102)
* Fixing unlocalized strings Fixes MetaMask/metamask-extension#11094 * Removing aggregrate bullet from modal * Updating bullet point keys
This commit is contained in:
parent
41fd49cefb
commit
c5f3290cb1
@ -562,6 +562,9 @@
|
|||||||
"dismissReminderField": {
|
"dismissReminderField": {
|
||||||
"message": "Dismiss recovery phrase backup reminder"
|
"message": "Dismiss recovery phrase backup reminder"
|
||||||
},
|
},
|
||||||
|
"domain": {
|
||||||
|
"message": "Domain"
|
||||||
|
},
|
||||||
"done": {
|
"done": {
|
||||||
"message": "Done"
|
"message": "Done"
|
||||||
},
|
},
|
||||||
@ -1117,6 +1120,9 @@
|
|||||||
"myAccounts": {
|
"myAccounts": {
|
||||||
"message": "My Accounts"
|
"message": "My Accounts"
|
||||||
},
|
},
|
||||||
|
"name": {
|
||||||
|
"message": "Name"
|
||||||
|
},
|
||||||
"needEtherInWallet": {
|
"needEtherInWallet": {
|
||||||
"message": "To interact with decentralized applications using MetaMask, you’ll need Ether in your wallet."
|
"message": "To interact with decentralized applications using MetaMask, you’ll need Ether in your wallet."
|
||||||
},
|
},
|
||||||
@ -1416,6 +1422,9 @@
|
|||||||
"provide": {
|
"provide": {
|
||||||
"message": "Provide"
|
"message": "Provide"
|
||||||
},
|
},
|
||||||
|
"publicAddress": {
|
||||||
|
"message": "Public Address"
|
||||||
|
},
|
||||||
"queue": {
|
"queue": {
|
||||||
"message": "Queue"
|
"message": "Queue"
|
||||||
},
|
},
|
||||||
@ -2356,6 +2365,9 @@
|
|||||||
"viewContact": {
|
"viewContact": {
|
||||||
"message": "View Contact"
|
"message": "View Contact"
|
||||||
},
|
},
|
||||||
|
"viewMore": {
|
||||||
|
"message": "View More"
|
||||||
|
},
|
||||||
"viewOnCustomBlockExplorer": {
|
"viewOnCustomBlockExplorer": {
|
||||||
"message": "View at $1"
|
"message": "View at $1"
|
||||||
},
|
},
|
||||||
|
@ -29,6 +29,7 @@ export default class ConfirmRemoveAccount extends Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
renderSelectedAccount() {
|
renderSelectedAccount() {
|
||||||
|
const { t } = this.context;
|
||||||
const { identity } = this.props;
|
const { identity } = this.props;
|
||||||
return (
|
return (
|
||||||
<div className="confirm-remove-account__account">
|
<div className="confirm-remove-account__account">
|
||||||
@ -36,12 +37,14 @@ export default class ConfirmRemoveAccount extends Component {
|
|||||||
<Identicon address={identity.address} diameter={32} />
|
<Identicon address={identity.address} diameter={32} />
|
||||||
</div>
|
</div>
|
||||||
<div className="confirm-remove-account__account__name">
|
<div className="confirm-remove-account__account__name">
|
||||||
<span className="confirm-remove-account__account__label">Name</span>
|
<span className="confirm-remove-account__account__label">
|
||||||
|
{t('name')}
|
||||||
|
</span>
|
||||||
<span className="account_value">{identity.name}</span>
|
<span className="account_value">{identity.name}</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="confirm-remove-account__account__address">
|
<div className="confirm-remove-account__account__address">
|
||||||
<span className="confirm-remove-account__account__label">
|
<span className="confirm-remove-account__account__label">
|
||||||
Public Address
|
{t('publicAddress')}
|
||||||
</span>
|
</span>
|
||||||
<span className="account_value">
|
<span className="account_value">
|
||||||
{addressSummary(identity.address, 4, 4)}
|
{addressSummary(identity.address, 4, 4)}
|
||||||
@ -57,12 +60,9 @@ export default class ConfirmRemoveAccount extends Component {
|
|||||||
)}
|
)}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
title={this.context.t('etherscanView')}
|
title={t('etherscanView')}
|
||||||
>
|
>
|
||||||
<img
|
<img src="images/popout.svg" alt={t('etherscanView')} />
|
||||||
src="images/popout.svg"
|
|
||||||
alt={this.context.t('etherscanView')}
|
|
||||||
/>
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -27,76 +27,81 @@ export default class MetaMetricsOptInModal extends Component {
|
|||||||
<img src="images/metrics-chart.svg" alt="" />
|
<img src="images/metrics-chart.svg" alt="" />
|
||||||
</div>
|
</div>
|
||||||
<div className="metametrics-opt-in__title">
|
<div className="metametrics-opt-in__title">
|
||||||
Help Us Improve MetaMask
|
{t('metametricsHelpImproveMetaMask')}
|
||||||
</div>
|
</div>
|
||||||
<div className="metametrics-opt-in__body">
|
<div className="metametrics-opt-in__body">
|
||||||
<div className="metametrics-opt-in__description">
|
<div className="metametrics-opt-in__description">
|
||||||
MetaMask would like to gather usage data to better understand
|
{t('metametricsOptInDescription')}
|
||||||
how our users interact with the extension. This data will be
|
|
||||||
used to continually improve the usability and user experience of
|
|
||||||
our product and the Ethereum ecosystem.
|
|
||||||
</div>
|
</div>
|
||||||
<div className="metametrics-opt-in__description">
|
<div className="metametrics-opt-in__description">
|
||||||
MetaMask will..
|
{t('metametricsCommitmentsIntro')}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="metametrics-opt-in__committments">
|
<div className="metametrics-opt-in__committments">
|
||||||
<div className="metametrics-opt-in__row">
|
<div className="metametrics-opt-in__row">
|
||||||
<i className="fa fa-check" />
|
<i className="fa fa-check" />
|
||||||
<div className="metametrics-opt-in__row-description">
|
<div className="metametrics-opt-in__row-description">
|
||||||
Always allow you to opt-out via Settings
|
{t('metametricsCommitmentsAllowOptOut')}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="metametrics-opt-in__row">
|
<div className="metametrics-opt-in__row">
|
||||||
<i className="fa fa-check" />
|
<i className="fa fa-check" />
|
||||||
<div className="metametrics-opt-in__row-description">
|
<div className="metametrics-opt-in__row-description">
|
||||||
Send anonymized click & pageview events
|
{t('metametricsCommitmentsSendAnonymizedEvents')}
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div className="metametrics-opt-in__row">
|
|
||||||
<i className="fa fa-check" />
|
|
||||||
<div className="metametrics-opt-in__row-description">
|
|
||||||
Maintain a public aggregate dashboard to educate the
|
|
||||||
community
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="metametrics-opt-in__row metametrics-opt-in__break-row">
|
<div className="metametrics-opt-in__row metametrics-opt-in__break-row">
|
||||||
<i className="fa fa-times" />
|
<i className="fa fa-times" />
|
||||||
<div className="metametrics-opt-in__row-description">
|
<div className="metametrics-opt-in__row-description">
|
||||||
<span className="metametrics-opt-in__bold">Never</span>{' '}
|
{t('metametricsCommitmentsNeverCollectKeysEtc', [
|
||||||
collect keys, addresses, transactions, balances, hashes, or
|
<span
|
||||||
any personal information
|
className="metametrics-opt-in__bold"
|
||||||
|
key="neverCollectKeys"
|
||||||
|
>
|
||||||
|
{t('metametricsCommitmentsBoldNever')}
|
||||||
|
</span>,
|
||||||
|
])}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="metametrics-opt-in__row">
|
<div className="metametrics-opt-in__row">
|
||||||
<i className="fa fa-times" />
|
<i className="fa fa-times" />
|
||||||
<div className="metametrics-opt-in__row-description">
|
<div className="metametrics-opt-in__row-description">
|
||||||
<span className="metametrics-opt-in__bold">Never</span>{' '}
|
{t('metametricsCommitmentsNeverCollectIP', [
|
||||||
collect your full IP address
|
<span
|
||||||
|
className="metametrics-opt-in__bold"
|
||||||
|
key="neverCollectIP"
|
||||||
|
>
|
||||||
|
{t('metametricsCommitmentsBoldNever')}
|
||||||
|
</span>,
|
||||||
|
])}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="metametrics-opt-in__row">
|
<div className="metametrics-opt-in__row">
|
||||||
<i className="fa fa-times" />
|
<i className="fa fa-times" />
|
||||||
<div className="metametrics-opt-in__row-description">
|
<div className="metametrics-opt-in__row-description">
|
||||||
<span className="metametrics-opt-in__bold">Never</span> sell
|
{t('metametricsCommitmentsNeverSellDataForProfit', [
|
||||||
data for profit. Ever!
|
<span
|
||||||
|
className="metametrics-opt-in__bold"
|
||||||
|
key="neverSellData"
|
||||||
|
>
|
||||||
|
{t('metametricsCommitmentsBoldNever')}
|
||||||
|
</span>,
|
||||||
|
])}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="metametrics-opt-in__bottom-text">
|
<div className="metametrics-opt-in__bottom-text">
|
||||||
This data is aggregated and is therefore anonymous for the
|
{t('gdprMessage', [
|
||||||
purposes of General Data Protection Regulation (EU) 2016/679. For
|
<a
|
||||||
more information in relation to our privacy practices, please see
|
key="metametrics-bottom-text-wrapper"
|
||||||
our
|
href="https://metamask.io/privacy.html"
|
||||||
<a
|
target="_blank"
|
||||||
href="https://metamask.io/privacy.html"
|
rel="noopener noreferrer"
|
||||||
target="_blank"
|
>
|
||||||
rel="noopener noreferrer"
|
{t('gdprMessagePrivacyPolicy')}
|
||||||
>
|
</a>,
|
||||||
Privacy Policy here
|
])}
|
||||||
</a>
|
|
||||||
.
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="metametrics-opt-in__footer">
|
<div className="metametrics-opt-in__footer">
|
||||||
|
@ -188,12 +188,13 @@ export default class SignatureRequestOriginal extends Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
renderTypedData = (data) => {
|
renderTypedData = (data) => {
|
||||||
|
const { t } = this.context;
|
||||||
const { domain, message } = JSON.parse(data);
|
const { domain, message } = JSON.parse(data);
|
||||||
return (
|
return (
|
||||||
<div className="request-signature__typed-container">
|
<div className="request-signature__typed-container">
|
||||||
{domain ? (
|
{domain ? (
|
||||||
<div>
|
<div>
|
||||||
<h1>Domain</h1>
|
<h1>{t('domain')}</h1>
|
||||||
<ObjectInspector data={domain} expandLevel={1} name="domain" />
|
<ObjectInspector data={domain} expandLevel={1} name="domain" />
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
@ -201,7 +202,7 @@ export default class SignatureRequestOriginal extends Component {
|
|||||||
)}
|
)}
|
||||||
{message ? (
|
{message ? (
|
||||||
<div>
|
<div>
|
||||||
<h1>Message</h1>
|
<h1>{t('message')}</h1>
|
||||||
<ObjectInspector data={message} expandLevel={1} name="message" />
|
<ObjectInspector data={message} expandLevel={1} name="message" />
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
|
@ -159,7 +159,7 @@ export default function TransactionList({
|
|||||||
rounded
|
rounded
|
||||||
onClick={viewMore}
|
onClick={viewMore}
|
||||||
>
|
>
|
||||||
View More
|
{t('viewMore')}
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
@ -77,7 +77,7 @@ export default class MetaMetricsOptIn extends Component {
|
|||||||
{t('metametricsCommitmentsNeverCollectIP', [
|
{t('metametricsCommitmentsNeverCollectIP', [
|
||||||
<span
|
<span
|
||||||
className="metametrics-opt-in__bold"
|
className="metametrics-opt-in__bold"
|
||||||
key="neverCollectKeys"
|
key="neverCollectIP"
|
||||||
>
|
>
|
||||||
{t('metametricsCommitmentsBoldNever')}
|
{t('metametricsCommitmentsBoldNever')}
|
||||||
</span>,
|
</span>,
|
||||||
@ -90,7 +90,7 @@ export default class MetaMetricsOptIn extends Component {
|
|||||||
{t('metametricsCommitmentsNeverSellDataForProfit', [
|
{t('metametricsCommitmentsNeverSellDataForProfit', [
|
||||||
<span
|
<span
|
||||||
className="metametrics-opt-in__bold"
|
className="metametrics-opt-in__bold"
|
||||||
key="neverCollectKeys"
|
key="neverSellData"
|
||||||
>
|
>
|
||||||
{t('metametricsCommitmentsBoldNever')}
|
{t('metametricsCommitmentsBoldNever')}
|
||||||
</span>,
|
</span>,
|
||||||
|
Loading…
Reference in New Issue
Block a user