1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-19 06:15:13 +03:00

More i18n, GUI Console

Added some i18n to strings for the GUI console.
This commit is contained in:
Miguel Angel Mulero Martinez 2017-12-19 09:28:04 +01:00
parent bd1545484d
commit b0d4d2d89a
5 changed files with 34 additions and 12 deletions

View file

@ -5,9 +5,7 @@ $(document).ready(function () {
localize();
// alternative - window.navigator.appVersion.match(/Chrome\/([0-9.]*)/)[1];
GUI.log('Running - OS: <strong>' + GUI.operating_system + '</strong>, ' +
'Chrome: <strong>' + window.navigator.appVersion.replace(/.*Chrome\/([0-9.]*).*/, "$1") + '</strong>, ' +
'Configurator: <strong>' + getManifestVersion() + '</strong>');
GUI.log(chrome.i18n.getMessage('infoVersions',[GUI.operating_system, window.navigator.appVersion.replace(/.*Chrome\/([0-9.]*).*/, "$1"), getManifestVersion()]));
$('#logo .version').text(getManifestVersion());
updateStatusBarVersion();