Skip to content

Commit

Permalink
Merge pull request #16 from RuntimeTools/tobespc-patch-1
Browse files Browse the repository at this point in the history
Update i18n.js
  • Loading branch information
hhellyer authored Aug 4, 2017
2 parents 19c7852 + b03a8b7 commit cc27335
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions js/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@

// This script chooses a locale.properties and parses into an object containing each key-value string.
// These strings replace the hard-coded strings in each of the 10 charts + flamegraph.
var userLocale;
if (navigator.browserLanguage) {
userLocale = navigator.browserLanguage;
} else if (navigator.language) {
userLocale = navigator.language;
}
// var userLocale;
// if (navigator.browserLanguage) {
// userLocale = navigator.browserLanguage;
// } else if (navigator.language) {
// userLocale = navigator.language;
// }

function populateKeyArray(callback) {
var file = new XMLHttpRequest();
Expand Down

0 comments on commit cc27335

Please sign in to comment.