Skip to content

Commit

Permalink
Added warning text for insufficient RAM for bladebit
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiaMineJP committed Feb 29, 2024
1 parent 8c70008 commit b457375
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function PlotAddChoosePlotter(props: Props) {
const regex = /BladeBit requires at least (?<ram>\d*[.]?\d+) GiB of RAM to operate/;
const m = regex.exec(msg);
if (!m || !m.groups || !m.groups.ram) {
return undefined;
return t`Insufficient RAM for BladeBit`;
}
return t`BladeBit requires at least ${m.groups.ram} GiB of RAM to operate`;
};
Expand Down

0 comments on commit b457375

Please sign in to comment.