Skip to content
Snippets Groups Projects
Commit e57fc08a authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

add spaces in string concatenation expression, use double quotes instead of single quotes

parent 1b050ba0
No related branches found
No related tags found
No related merge requests found
...@@ -4,10 +4,10 @@ var lang; ...@@ -4,10 +4,10 @@ var lang;
try { try {
// try the locale given by navigator.language // try the locale given by navigator.language
lang = require('./locales/'+navigator.language+'/translation.json'); lang = require("./locales/" + navigator.language + "/translation.json");
} catch (e) { } catch (e) {
// if that fails then fall back to the default locale 'en' // if that fails then fall back to the default locale "en"
lang = require('./locales/en/translation.json'); lang = require("./locales/en/translation.json");
} }
exports.lang = lang; exports.lang = lang;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment