Use i18n for tab switch message.

10.3.x-maintenance
Dominic Clifton 2015-01-08 11:38:10 +00:00
parent e7e9b3f2c7
commit e4bc970680
2 changed files with 7 additions and 1 deletions

View File

@ -821,12 +821,18 @@
"firmwareFlasherReleaseDate": {
"message": "Date:"
},
"firmwareFlasherReleaseStatus": {
"message": "State:"
},
"firmwareFlasherReleaseTarget": {
"message": "Target:"
},
"firmwareFlasherReleaseFile": {
"message": "Binary:"
},
"firmwareFlasherReleaseStatusReleaseCandidate": {
"message": "<span style=\"color: red\">IMPORTANT: This firmware release is currently marked as a release candidate. Please report any issues immediately.</span>"
},
"firmwareFlasherReleaseFileUrl": {
"message": "Download manually."
},

View File

@ -63,7 +63,7 @@ $(document).ready(function () {
tab = $(self).parent().prop('class');
if (!CONFIGURATOR.connectionValid) {
GUI.log('tabSwitchConnectionRequired');
GUI.log(chrome.i18n.getMessage('tabSwitchConnectionRequired'));
return;
}