Skip to content

Commit d5213a5

Browse files
committed
Meh
1 parent b4697dc commit d5213a5

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

locales/en/messages.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,8 +582,8 @@
582582
"firmwareUpgradeRequired": {
583583
"message": "The firmware on this device needs upgrading to a newer version. Use CLI for backup before flashing. CLI backup/restore procedure is in the documentation.<br />Alternatively download and use an old version of the app if you are not ready to upgrade."
584584
},
585-
"firmwareVersionNotYetSupported": {
586-
"message": "This firmware version ($1) is <span class=\"message-negative\">not yet supported</span>."
585+
"API_VERSION_NOT_YET_SUPPORTED": {
586+
"message": "This firmware version ($1) is <span class=\"message-negative\">not yet supported (max $2)</span>."
587587
},
588588
"resetToCustomDefaultsDialog": {
589589
"message": "There are custom defaults for this board available. Normally, a board will not work properly unless custom defaults are applied.<br />Do you want to apply the custom defaults for this board?"

src/js/serial_backend.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,10 @@ function onOpen(openInfo) {
344344
)
345345
) {
346346
showVersionMismatchAndCli(
347-
i18n.getMessage("firmwareVersionNotYetSupported", [CONFIGURATOR.API_VERSION_MAX_SUPPORTED]),
347+
i18n.getMessage("API_VERSION_NOT_YET_SUPPORTED", [
348+
FC.CONFIG.apiVersion,
349+
CONFIGURATOR.API_VERSION_MAX_SUPPORTED,
350+
]),
348351
);
349352
return;
350353
}

0 commit comments

Comments
 (0)