mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-26 23:47:04 +02:00
init variables in translator
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user