Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
revert langpack handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Frontesque authored Jun 15, 2022
1 parent 5d07070 commit 12974f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NUXT/plugins/language.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 12974f4

Please sign in to comment.