mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
i18n the osd button when pressed
It shows a "Saved" message for two seconds
This commit is contained in:
parent
1e8cf6fc2d
commit
7055f25978
2 changed files with 4 additions and 1 deletions
|
@ -1891,7 +1891,7 @@ TABS.osd.initialize = function (callback) {
|
|||
MSP.promise(MSPCodes.MSP_EEPROM_WRITE);
|
||||
GUI.log(i18n.getMessage('osdSettingsSaved'));
|
||||
var oldText = $(this).text();
|
||||
$(this).html("Saved");
|
||||
$(this).html(i18n.getMessage('osdButtonSaved'));
|
||||
setTimeout(function () {
|
||||
$(self).html(oldText);
|
||||
}, 2000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue