Skip to content

Commit

Permalink
Make new language naming system work
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitrrine committed Aug 30, 2024
1 parent d6c1f0a commit 59d1ee3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion html/alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ let blockedSite = {
path: "",
url: "",
};
let preferedLanguage = navigator.language;
let preferedLanguage = navigator.language.replace("-", "_");

fetch(`./i18n/${preferedLanguage}.json`)
.then((response) => response.json())
Expand Down
11 changes: 0 additions & 11 deletions html/i18n/br.json

This file was deleted.

0 comments on commit 59d1ee3

Please sign in to comment.