Skip to content

Commit

Permalink
Merge branch 'CP-2914' of https://github.com/mudita/mudita-center int…
Browse files Browse the repository at this point in the history
…o CP-2861
  • Loading branch information
MateuszMudita committed Sep 27, 2024
2 parents eadb614 + deb4daf commit c2b8404
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1003,6 +1003,7 @@
"module.recoveryMode.harmony.warning2": "Once you start the recovery, it must not be cancelled or interrupted.",
"module.recoveryMode.harmony.warning3": "Do not disconnect your Harmony during the recovery process.",
"module.recoveryMode.harmony.warning4": "Before starting the recovery, charge your device for 1 hour (or more) from a suitable power outlet.",
"module.recoveryMode.harmony.warningLinux": "Make sure your computer is running <b>Ubuntu 22.04 or later.</b>",
"module.recoveryMode.harmony.confirmation": "I understand that not following these instructions may void the warranty",
"module.recoveryMode.harmony.action": "Start Recovery",
"module.recoveryMode.modal.message": "Recovery mode in progress...",
Expand Down
10 changes: 10 additions & 0 deletions libs/msc-flash/msc-flash-harmony/src/lib/ui/recovery-mode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ const messages = defineMessages({
warning4: {
id: "module.recoveryMode.harmony.warning4",
},
warningLinux: {
id: "module.recoveryMode.harmony.warningLinux",
},
confirmation: {
id: "module.recoveryMode.harmony.confirmation",
},
Expand Down Expand Up @@ -150,6 +153,13 @@ const RecoveryModeUI: FunctionComponent = () => {
<li>
<P3>{intl.formatMessage(messages.warning1, textFormatters)}</P3>
</li>
{process.platform === "linux" && (
<li>
<P3>
{intl.formatMessage(messages.warningLinux, textFormatters)}
</P3>
</li>
)}
<li>
<P3>{intl.formatMessage(messages.warning2)}</P3>
</li>
Expand Down

0 comments on commit c2b8404

Please sign in to comment.