Fix from review.
parent
02e0d75442
commit
a3f791fcac
|
@ -6,8 +6,8 @@
|
|||
"message": "Betaflight Configurator",
|
||||
"description": "Title of the application window, usually not translated"
|
||||
},
|
||||
"errorTitle": {
|
||||
"message": "Error"
|
||||
"error": {
|
||||
"message": "Error: {{errorMessage}}"
|
||||
},
|
||||
"warningTitle": {
|
||||
"message": "Warning"
|
||||
|
|
|
@ -4254,6 +4254,11 @@
|
|||
"integrity": "sha1-bUUk6LlV+V1PW1iFHOId1y+06VI=",
|
||||
"dev": true
|
||||
},
|
||||
"lru_map": {
|
||||
"version": "0.3.3",
|
||||
"resolved": "http://npm.chc.tlocal/lru_map/-/lru_map-0.3.3.tgz",
|
||||
"integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0="
|
||||
},
|
||||
"make-iterator": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/make-iterator/-/make-iterator-1.0.0.tgz",
|
||||
|
|
|
@ -464,7 +464,7 @@ TABS.onboard_logging.initialize = function (callback) {
|
|||
|
||||
fileEntry.createWriter(function (fileWriter) {
|
||||
fileWriter.onerror = function (e) {
|
||||
GUI.log('<strong><span class="message-negative">' + i18n.getMessage('errorTitle') + ': ' + e.target.error.message + '</span class="message-negative></strong>');
|
||||
GUI.log('<strong><span class="message-negative">' + i18n.getMessage('error', { errorMessage: e.target.error.message }) + '</span class="message-negative></strong>');
|
||||
|
||||
console.error(e);
|
||||
|
||||
|
|
Loading…
Reference in New Issue