0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-25 12:45:17 +00:00

revert langpack handler

This commit is contained in:
Kenny 2022-06-15 09:53:48 -04:00 committed by GitHub
parent 5d07070a52
commit 12974f402b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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];