Skip to content

Commit

Permalink
Improving LEDGER_ERROR warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
valefar-on-discord committed Jun 15, 2024
1 parent ecb00cc commit 9aa991d
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 29 deletions.
60 changes: 38 additions & 22 deletions src/intl/compiled/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -5791,28 +5791,6 @@
"value": "In other words, you maximize your rewards by providing the greatest benefit to the network as a whole."
}
],
"hc8EGX": [
{
"type": 0,
"value": "There was a problem trying to sign with your Ledger device. Please verify your Ledger device has both "
},
{
"type": 1,
"value": "blindSigning"
},
{
"type": 0,
"value": " and "
},
{
"type": 1,
"value": "debugData"
},
{
"type": 0,
"value": " enabled. These can be accessed by selecting the Ethereum application and then entering the Settings menu."
}
],
"hfXlpq": [
{
"type": 0,
Expand Down Expand Up @@ -7079,6 +7057,44 @@
"value": "Slashing"
}
],
"prRNB6": [
{
"type": 0,
"value": "There was a problem trying to sign with your Ledger device. Please verify your Ledger device has both "
},
{
"type": 1,
"value": "blindSigning"
},
{
"type": 0,
"value": " and "
},
{
"type": 1,
"value": "debugData"
},
{
"type": 0,
"value": " set to "
},
{
"type": 1,
"value": "enabled"
},
{
"type": 0,
"value": ". These can be accessed by selecting the Ethereum application and then entering the "
},
{
"type": 1,
"value": "settings"
},
{
"type": 0,
"value": " menu."
}
],
"ps8lLk": [
{
"type": 0,
Expand Down
6 changes: 3 additions & 3 deletions src/intl/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2204,9 +2204,6 @@
"hZrkPB": {
"message": "In other words, you maximize your rewards by providing the greatest benefit to the network as a whole."
},
"hc8EGX": {
"message": "There was a problem trying to sign with your Ledger device. Please verify your Ledger device has both {blindSigning} and {debugData} enabled. These can be accessed by selecting the Ethereum application and then entering the Settings menu."
},
"hfXlpq": {
"message": "Hungarian"
},
Expand Down Expand Up @@ -2692,6 +2689,9 @@
"pqC+qt": {
"message": "Slashing"
},
"prRNB6": {
"message": "There was a problem trying to sign with your Ledger device. Please verify your Ledger device has both {blindSigning} and {debugData} set to {enabled}. These can be accessed by selecting the Ethereum application and then entering the {settings} menu."
},
"ps8lLk": {
"description": "{expected} shows 'This is the expected scenario' and is bolded for emphasis",
"message": "Being offline while a supermajority (2/3) of validators is still online leads to relatively small penalties as there are still enough validators online for the chain to finalize. {expected}"
Expand Down
10 changes: 6 additions & 4 deletions src/pages/Transactions/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,13 @@ const _TransactionsPage = ({
<Alert variant="error" className="mb20">
<FormattedMessage
defaultMessage="There was a problem trying to sign with your Ledger device. Please verify your Ledger
device has both {blindSigning} and {debugData} enabled. These can be accessed by selecting the Ethereum
application and then entering the Settings menu."
device has both {blindSigning} and {debugData} set to {enabled}. These can be accessed by selecting
the Ethereum application and then entering the {settings} menu."
values={{
blindSigning: <b>Blind Signing</b>,
debugData: <b>Debug Data</b>,
blindSigning: <strong>Blind Signing</strong>,
debugData: <strong>Debug Data</strong>,
enabled: <strong>Enabled</strong>,
settings: <strong>Settings</strong>,
}}
/>
</Alert>
Expand Down

0 comments on commit 9aa991d

Please sign in to comment.