removing useless function #52
@ -32,11 +32,6 @@ function i18n(key, options) {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function reloadLang(){
|
|
||||||
langs = await loadLangs();
|
|
||||||
}
|
|
||||||
reloadLang();
|
|
||||||
|
|
||||||
export default i18n;
|
export default i18n;
|
||||||
|
|
||||||
|
|
||||||
@ -80,5 +75,6 @@ async function loadLangs(lang){
|
|||||||
filteredLines[line.substr(0, split)] = line.substr(split+1, line.length);
|
filteredLines[line.substr(0, split)] = line.substr(split+1, line.length);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
return filteredLines;
|
langs = filteredLines;
|
||||||
}
|
}
|
||||||
|
await loadLangs();
|
||||||
|
Loading…
Reference in New Issue
Block a user