From 12974f402bba50c3a9e4a724ab01b150f9f67f9b Mon Sep 17 00:00:00 2001 From: Kenny <27463495+Frontesque@users.noreply.github.com> Date: Wed, 15 Jun 2022 09:53:48 -0400 Subject: [PATCH] revert langpack handler --- NUXT/plugins/language.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NUXT/plugins/language.js b/NUXT/plugins/language.js index 2092ec5..a93628a 100644 --- a/NUXT/plugins/language.js +++ b/NUXT/plugins/language.js @@ -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];