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:
parent
59788d8940
commit
4b5c20008c
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue