From 71798e0c3f877f3118fac29b9b4fb7b008117207 Mon Sep 17 00:00:00 2001 From: Nitrrine Date: Fri, 30 Aug 2024 14:42:52 +0500 Subject: [PATCH] Fix previous commit --- crowdin.yml | 2 +- html/alert.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/crowdin.yml b/crowdin.yml index d4481e6..ebeaa06 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -8,7 +8,7 @@ files: [ { - "source": "/html/i18n/en.json", + "source": "/html/i18n/en_US.json", "translation": "/html/i18n/%locale_with_underscore%.json", }, ] diff --git a/html/alert.js b/html/alert.js index 3a8bc19..fbec2f6 100644 --- a/html/alert.js +++ b/html/alert.js @@ -7,8 +7,6 @@ let blockedSite = { }; let preferedLanguage = navigator.language; -console.log(preferedLanguage); - fetch(`./i18n/${preferedLanguage}.json`) .then((response) => response.json()) .then((data) => {