init variables in translator

This commit is contained in:
psychobunny
2013-09-20 17:31:53 -04:00
parent 5e89caf358
commit 5a10f7fcfe
2 changed files with 3 additions and 1 deletions

View File

@@ -108,6 +108,8 @@
for (var key in keys) {
if (keys.hasOwnProperty(key)) {
//check for additional variables then keys[key].split(/[,][?\s+]/);
var parsedKey = keys[key].replace('[[', '').replace(']]', '').split(':'),
languageFile = parsedKey[0];