mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
EIP-1559 - Update tooltip text for gas fees (#11805)
This commit is contained in:
parent
df84a6efa6
commit
b5baa6c1d1
@ -2523,7 +2523,7 @@
|
||||
"message": "Gas fees are set by the network and fluctuate based on network traffic and transaction complexity."
|
||||
},
|
||||
"transactionDetailGasTooltipIntro": {
|
||||
"message": "Gas fees are paid to crypto miners who process transactions on the Ethereum network. MetaMask does not profit from gas fees."
|
||||
"message": "Gas fees are paid to crypto miners who process transactions on the $1 network. MetaMask does not profit from gas fees."
|
||||
},
|
||||
"transactionDetailGasTotalSubtitle": {
|
||||
"message": "Amount + gas fee"
|
||||
|
@ -112,6 +112,7 @@ export default class ConfirmTransactionBase extends Component {
|
||||
maxFeePerGas: PropTypes.string,
|
||||
maxPriorityFeePerGas: PropTypes.string,
|
||||
baseFeePerGas: PropTypes.string,
|
||||
isMainnet: PropTypes.bool,
|
||||
};
|
||||
|
||||
state = {
|
||||
@ -289,6 +290,7 @@ export default class ConfirmTransactionBase extends Component {
|
||||
primaryTotalTextOverrideMaxAmount,
|
||||
maxFeePerGas,
|
||||
maxPriorityFeePerGas,
|
||||
isMainnet,
|
||||
} = this.props;
|
||||
const { t } = this.context;
|
||||
|
||||
@ -416,7 +418,11 @@ export default class ConfirmTransactionBase extends Component {
|
||||
<InfoTooltip
|
||||
contentText={
|
||||
<>
|
||||
<p>{t('transactionDetailGasTooltipIntro')}</p>
|
||||
<p>
|
||||
{t('transactionDetailGasTooltipIntro', [
|
||||
isMainnet ? t('networkNameEthereum') : '',
|
||||
])}
|
||||
</p>
|
||||
<p>{t('transactionDetailGasTooltipExplanation')}</p>
|
||||
<p>
|
||||
<a
|
||||
|
Loading…
Reference in New Issue
Block a user