diff --git a/_locales/en/messages.json b/_locales/en/messages.json index d44ef71635..91642a204f 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -103,5 +103,25 @@ }, "statusbar_cycle_time": { "message": "Cycle Time:" + }, + + "eeprom_saved_ok": { + "message": "EEPROM saved" + }, + + "defaultWelcomeText": { + "message": "This application is a configuration utility for baseflight, a 32 bit fork of the popular open source RC flight control firmware project MultiWii.

Application supports hardware that run Baseflight exclusively (acro naze, naze, afromini)

Official Resellers
AbuseMark - International (Japan)
Multirotor Superstore - International (United States)

The firmware source code can be downloaded from here
The newest binary firmware image is available here
" + }, + "defaultChangelogHead": { + "message": "Configurator - Changelog" + }, + "defaultButtonFirmwareFlasher": { + "message": "Firmware Flasher" + }, + "defaultDonateHead": { + "message": "Open Source / Donation Notice" + }, + "defaultDonateText": { + "message": "This utility is fully open source and is available free of charge to all baseflight users.
If you found the utility useful, please consider supporting its development by donating." } } \ No newline at end of file diff --git a/js/backup_restore.js b/js/backup_restore.js index 7a594222a0..599eecbbf8 100644 --- a/js/backup_restore.js +++ b/js/backup_restore.js @@ -296,7 +296,7 @@ function configuration_upload() { send_message(MSP_codes.MSP_SET_MISC, buffer_out, false, function() { // Save changes to EEPROM send_message(MSP_codes.MSP_EEPROM_WRITE, false, false, function() { - GUI.log('EEPROM saved'); + GUI.log(chrome.i18n.getMessage('eeprom_saved_ok')); }); }); } diff --git a/tabs/default.html b/tabs/default.html index 1bdd281390..616dc8db4b 100644 --- a/tabs/default.html +++ b/tabs/default.html @@ -1,33 +1,20 @@
-
- This application is a configuration utility for baseflight, a 32 bit fork of the popular open source RC flight control firmware project - MultiWii.
-
- Application supports hardware that run Baseflight exclusively (acro naze, naze, afromini)
-
- Official Resellers
- • AbuseMark - International (Japan)
- • Multirotor Superstore - International (United States)
-
- The firmware source code can be downloaded from here
- The newest binary firmware image is available here
+
-
Configurator - Changelog
+
- Firmware Flasher +
\ No newline at end of file diff --git a/tabs/default.js b/tabs/default.js index 521874a885..fbb2d1df20 100644 --- a/tabs/default.js +++ b/tabs/default.js @@ -2,6 +2,9 @@ function tab_initialize_default() { GUI.active_tab = 'default'; $('#content').load("./tabs/default.html", function() { + // translate to user-selected language + localize(); + // load changelog content $('div.changelog.configurator .wrapper').load('./changelog.html');