Skip to content

Commit

Permalink
sync with dev45
Browse files Browse the repository at this point in the history
  • Loading branch information
jflamy committed Jan 28, 2024
1 parent d14ce9d commit b9cb8d9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ private Html checkVersion() {

String aheadVersionMsg = Translator.translate("CheckVersion.ahead");

if (referenceVersionString.contains("-alpha")) {
// do not recommend update to an alpha version.
this.comparison = 0;
}
String formatted = MessageFormat.format(
"<div>{1} {0, choice, 0#{2} {3}|1#{4}|2#{2} {5}}</div>",
this.comparison + 1, runningMsg, referenceVersionMsg, behindVersionMsg, okVersionMsg,
Expand Down

0 comments on commit b9cb8d9

Please sign in to comment.