Fix strings not having id

This commit is contained in:
LoveEevee 2020-03-15 14:10:02 +03:00
parent 4c07813aff
commit 0a578578c5

View File

@ -1085,7 +1085,9 @@ var allStrings = {}
function separateStrings(){ function separateStrings(){
for(var j in languageList){ for(var j in languageList){
var lang = languageList[j] var lang = languageList[j]
allStrings[lang] = {} allStrings[lang] = {
id: lang
}
var str = allStrings[lang] var str = allStrings[lang]
var translateObj = function(obj, name, str){ var translateObj = function(obj, name, str){
if("en" in obj){ if("en" in obj){