default tab moved to i18n
parent
245328272c
commit
6a33801463
|
@ -103,5 +103,25 @@
|
||||||
},
|
},
|
||||||
"statusbar_cycle_time": {
|
"statusbar_cycle_time": {
|
||||||
"message": "Cycle Time:"
|
"message": "Cycle Time:"
|
||||||
|
},
|
||||||
|
|
||||||
|
"eeprom_saved_ok": {
|
||||||
|
"message": "EEPROM <span style=\"color: green\">saved</span>"
|
||||||
|
},
|
||||||
|
|
||||||
|
"defaultWelcomeText": {
|
||||||
|
"message": "This application is a configuration utility for baseflight, a 32 bit fork of the popular open source RC flight control firmware project <a href=\"http://www.multiwii.org/\" title=\"www.multiwii.org\" target=\"_blank\">MultiWii</a>.<br /><br />Application supports hardware that run Baseflight exclusively (acro naze, naze, afromini)<br /><br /><strong>Official Resellers</strong><br />• <a href=\"http://www.abusemark.com/store/\" title=\"www.abusemark.com\" target=\"_blank\">AbuseMark</a> - International (Japan)<br />• <a href=\"http://www.multirotorsuperstore.com/\" title=\"www.multirotorsuperstore.com\" target=\"_blank\">Multirotor Superstore</a> - International (United States)<br /><br />The firmware source code can be downloaded from <a href=\"https://github.com/multiwii/baseflight\" title=\"www.github.com\" target=\"_blank\">here</a><br />The newest binary firmware image is available <a href=\"https://github.com/multiwii/baseflight/blob/master/obj/baseflight.hex\" title=\"www.github.com\" target=\"_blank\">here</a><br />"
|
||||||
|
},
|
||||||
|
"defaultChangelogHead": {
|
||||||
|
"message": "Configurator - Changelog"
|
||||||
|
},
|
||||||
|
"defaultButtonFirmwareFlasher": {
|
||||||
|
"message": "Firmware Flasher"
|
||||||
|
},
|
||||||
|
"defaultDonateHead": {
|
||||||
|
"message": "Open Source / Donation Notice"
|
||||||
|
},
|
||||||
|
"defaultDonateText": {
|
||||||
|
"message": "This utility is fully <strong>open source</strong> and is available free of charge to all <strong>baseflight</strong> users.<br />If you found the utility useful, please consider <strong>supporting</strong> its development by donating."
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -296,7 +296,7 @@ function configuration_upload() {
|
||||||
send_message(MSP_codes.MSP_SET_MISC, buffer_out, false, function() {
|
send_message(MSP_codes.MSP_SET_MISC, buffer_out, false, function() {
|
||||||
// Save changes to EEPROM
|
// Save changes to EEPROM
|
||||||
send_message(MSP_codes.MSP_EEPROM_WRITE, false, false, function() {
|
send_message(MSP_codes.MSP_EEPROM_WRITE, false, false, function() {
|
||||||
GUI.log('EEPROM <span style="color: green">saved</span>');
|
GUI.log(chrome.i18n.getMessage('eeprom_saved_ok'));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,33 +1,20 @@
|
||||||
<div class="tab-default">
|
<div class="tab-default">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="welcome">
|
<div class="welcome" i18n="defaultWelcomeText">
|
||||||
This application is a configuration utility for baseflight, a 32 bit fork of the popular open source RC flight control firmware project
|
|
||||||
<a href="http://www.multiwii.org/" title="www.multiwii.org" target="_blank">MultiWii</a>.<br />
|
|
||||||
<br />
|
|
||||||
Application supports hardware that run Baseflight exclusively (acro naze, naze, afromini)<br />
|
|
||||||
<br />
|
|
||||||
<strong>Official Resellers</strong><br />
|
|
||||||
• <a href="http://www.abusemark.com/store/" title="www.abusemark.com" target="_blank">AbuseMark</a> - International (Japan)<br />
|
|
||||||
• <a href="http://www.multirotorsuperstore.com/" title="www.multirotorsuperstore.com" target="_blank">Multirotor Superstore</a> - International (United States)<br />
|
|
||||||
<br />
|
|
||||||
The firmware source code can be downloaded from <a href="https://github.com/multiwii/baseflight" title="www.github.com" target="_blank">here</a><br />
|
|
||||||
The newest binary firmware image is available <a href="https://github.com/multiwii/baseflight/blob/master/obj/baseflight.hex" title="www.github.com" target="_blank">here</a><br />
|
|
||||||
</div>
|
</div>
|
||||||
<div class="donate">
|
<div class="donate">
|
||||||
<div class="title">Open Source / Donation Notice</div>
|
<div class="title" i18n="defaultDonateHead"></div>
|
||||||
<p>
|
<p i18n="defaultDonateText">
|
||||||
This utility is fully <strong>open source</strong> and is available free of charge to all <strong>baseflight</strong> users.<br />
|
|
||||||
If you found the utility useful, please consider <strong>supporting</strong> its development by donating.<br />
|
|
||||||
</p>
|
</p>
|
||||||
<a href="http://goo.gl/xQMKN" target="_blank" title="Donate"><img src="./images/btn_donate_SM.gif" alt="Paypal" /></a>
|
<a href="http://goo.gl/xQMKN" target="_blank" title="Donate"><img src="./images/btn_donate_SM.gif" alt="Paypal" /></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<div class="changelog configurator">
|
<div class="changelog configurator">
|
||||||
<div class="title">Configurator - Changelog</div>
|
<div class="title" i18n="defaultChangelogHead"></div>
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a class="firmware_flasher" href="#">Firmware Flasher</a>
|
<a class="firmware_flasher" href="#" i18n="defaultButtonFirmwareFlasher"></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -2,6 +2,9 @@ function tab_initialize_default() {
|
||||||
GUI.active_tab = 'default';
|
GUI.active_tab = 'default';
|
||||||
|
|
||||||
$('#content').load("./tabs/default.html", function() {
|
$('#content').load("./tabs/default.html", function() {
|
||||||
|
// translate to user-selected language
|
||||||
|
localize();
|
||||||
|
|
||||||
// load changelog content
|
// load changelog content
|
||||||
$('div.changelog.configurator .wrapper').load('./changelog.html');
|
$('div.changelog.configurator .wrapper').load('./changelog.html');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue