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:
parent
bd1545484d
commit
b0d4d2d89a
5 changed files with 34 additions and 12 deletions
4
main.js
4
main.js
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue