im a buffoon

this is a blind commit this might as well break everything
This commit is contained in:
wukko 2022-07-12 00:48:10 +06:00 committed by GitHub
parent abe936e695
commit 78176be045
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ import { supportedLanguages, appName } from "../config.js";
import loadJson from "./load-json.js";
export default function(lang, cat, string, replacement) {
if (!lang in supportedLanguages) {
if (!supportedLanguages.includes(lang)) {
lang = 'en'
}
try {