diff --git a/pd/nw/pdlang.js b/pd/nw/pdlang.js index 45183e6559776e2045576d4a88f7664456aff0d6..91cea98b3e5017eeab3896281c58e7503f7432f6 100644 --- a/pd/nw/pdlang.js +++ b/pd/nw/pdlang.js @@ -4,10 +4,10 @@ var lang; try { // try the locale given by navigator.language - lang = require('./locales/'+navigator.language+'/translation.json'); + lang = require("./locales/" + navigator.language + "/translation.json"); } catch (e) { - // if that fails then fall back to the default locale 'en' - lang = require('./locales/en/translation.json'); + // if that fails then fall back to the default locale "en" + lang = require("./locales/en/translation.json"); } exports.lang = lang;