1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 00:35:26 +03:00

LogoManager: use named parameters in translation

This commit is contained in:
Kiripolszky Károly 2018-04-04 18:25:07 +02:00
parent 59788d8940
commit 4b5c20008c
2 changed files with 5 additions and 5 deletions

View file

@ -265,10 +265,10 @@ LogoManager.constraints = {
var constraint = LogoManager.constraints.imageSize;
if (img.width != constraint.expectedWidth
|| img.height != constraint.expectedHeight) {
GUI.log(i18n.getMessage("osdSetupCustomLogoImageSizeError", [
img.width,
img.height,
]));
GUI.log(i18n.getMessage("osdSetupCustomLogoImageSizeError", {
width: img.width,
height: img.height,
}));
return false;
}
return true;