removing useless function
This commit is contained in:
parent
516fc0d5e6
commit
6674505ca8
@ -32,11 +32,6 @@ function i18n(key, options) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
async function reloadLang(){
|
||||
langs = await loadLangs();
|
||||
}
|
||||
reloadLang();
|
||||
|
||||
export default i18n;
|
||||
|
||||
|
||||
@ -80,5 +75,6 @@ async function loadLangs(lang){
|
||||
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