removing useless function #52

Merged
tonitch merged 2 commits from tonitch/front/fix/i18n/remove_useless_function into master 2024-03-05 20:28:24 +01:00
Showing only changes of commit 6674505ca8 - Show all commits

View File

@ -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();