From 0a578578c5dc177b6605cc5d85465c5ba12a968a Mon Sep 17 00:00:00 2001 From: LoveEevee Date: Sun, 15 Mar 2020 14:10:02 +0300 Subject: [PATCH] Fix strings not having id --- public/src/js/strings.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/src/js/strings.js b/public/src/js/strings.js index 6f55c21..957b4aa 100644 --- a/public/src/js/strings.js +++ b/public/src/js/strings.js @@ -1085,7 +1085,9 @@ var allStrings = {} function separateStrings(){ for(var j in languageList){ var lang = languageList[j] - allStrings[lang] = {} + allStrings[lang] = { + id: lang + } var str = allStrings[lang] var translateObj = function(obj, name, str){ if("en" in obj){