Skip to content

Commit

Permalink
:bug fix(llm) missing text tag (#9074)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasWerey authored Jan 31, 2025
1 parent ed7b2c5 commit 8fe61c7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-cougars-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": minor
---

Missing text tag on swap
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ export function renderExchange({
}) {
switch (exchangeType) {
case 0x00: // swap
return <div>{"Confirm swap on your device"}</div>;
return <Text>{t("DeviceAction.confirmSwapOnDevice")}</Text>;
case 0x01: // sell
case 0x02: // fund
return renderSecureTransferDeviceConfirmation({
Expand All @@ -914,7 +914,7 @@ export function renderExchange({
theme,
});
default:
return <CenteredText>{"Confirm exchange on your device"}</CenteredText>;
return <CenteredText>{t("DeviceAction.confirmExchangeOnDevice")}</CenteredText>;
}
}

Expand Down
6 changes: 4 additions & 2 deletions apps/ledger-live-mobile/src/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -4177,7 +4177,9 @@
"installApp": "{{appName}} App installation {{percentage}}",
"installAppDescription": "Please wait until the installation is finished",
"listApps": "Checking App dependencies",
"listAppsDescription": "Please wait while we make sure you have all the required apps"
"listAppsDescription": "Please wait while we make sure you have all the required apps",
"confirmExchangeOnDevice": "Confirm exchange on your device",
"confirmSwapOnDevice": "Confirm swap on your device"
},
"SelectDevice": {
"title": "Pair new device",
Expand Down Expand Up @@ -7225,4 +7227,4 @@
"detectedAccounts_plural": "{{count}} accounts (detected)"
}
}
}
}

0 comments on commit 8fe61c7

Please sign in to comment.