1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-19 22:35:15 +03:00

Merge branch 'master' into release_6.1.0

This commit is contained in:
Marcelo Bezerra 2023-06-09 15:41:27 +02:00 committed by GitHub
commit 7fa0f7e695
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 1400 additions and 584 deletions

View file

@ -85,9 +85,9 @@ $(document).ready(function () {
}
// alternative - window.navigator.appVersion.match(/Chrome\/([0-9.]*)/)[1];
GUI.log('Running - OS: <strong>' + GUI.operating_system + '</strong>, ' +
GUI.log(chrome.i18n.getMessage('getRunningOS') + GUI.operating_system + '</strong>, ' +
'Chrome: <strong>' + window.navigator.appVersion.replace(/.*Chrome\/([0-9.]*).*/, "$1") + '</strong>, ' +
'Configurator: <strong>' + chrome.runtime.getManifest().version + '</strong>');
chrome.i18n.getMessage('getConfiguratorVersion') + chrome.runtime.getManifest().version + '</strong>');
$('#status-bar .version').text(chrome.runtime.getManifest().version);
$('#logo .version').text(chrome.runtime.getManifest().version);
@ -540,7 +540,7 @@ $(document).ready(function () {
state = true;
}
$(this).text(state ? 'Hide Log' : 'Show Log');
$(this).html(state ? chrome.i18n.getMessage("mainHideLog") : chrome.i18n.getMessage("mainShowLog"));
$(this).data('state', state);
});