mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-25 12:45:17 +00:00
revert langpack handler
This commit is contained in:
parent
5d07070a52
commit
12974f402b
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ function module(text, listPacks) {
|
|||
|
||||
//--- Return Language Pack ---//
|
||||
const selectedLanguage = localStorage.getItem("language") || "english";
|
||||
const languagePack = packs(selectedLanguage);
|
||||
const languagePack = require('./languages/'+selectedLanguage);
|
||||
|
||||
if (!text) return languagePack;
|
||||
return languagePack[text];
|
||||
|
|
Loading…
Reference in a new issue