Updating lang arrays across JS files

pull/352/head
Kevin Payravi 2023-11-16 04:30:56 -06:00
parent e47adba8fa
commit 46e749663e
3 changed files with 3 additions and 3 deletions

View File

@ -296,7 +296,7 @@ function redirectToBreezeWiki(storage, eventInfo, url) {
// Load website data // Load website data
async function getData() { async function getData() {
const LANGS = ["DE", "EN", "ES", "FR", "IT", "PL", "TOK"]; const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "ZH"];
let sites = []; let sites = [];
let promises = []; let promises = [];
for (let i = 0; i < LANGS.length; i++) { for (let i = 0; i < LANGS.length; i++) {

View File

@ -1,3 +1,4 @@
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "ZH"];
const breezeWikiRegex = /breezewiki\.com$|breeze\.hostux\.net$|bw\.projectsegfau\.lt$|antifandom\.com$|breezewiki\.pussthecat\.org$|bw\.vern\.cc$|breezewiki\.esmailelbob\.xyz$|bw\.artemislena\.eu$|bw\.hamstro\.dev$|nerd\.whatever\.social$|breeze\.nohost\.network$|breeze\.whateveritworks\.org$/; const breezeWikiRegex = /breezewiki\.com$|breeze\.hostux\.net$|bw\.projectsegfau\.lt$|antifandom\.com$|breezewiki\.pussthecat\.org$|bw\.vern\.cc$|breezewiki\.esmailelbob\.xyz$|bw\.artemislena\.eu$|bw\.hamstro\.dev$|nerd\.whatever\.social$|breeze\.nohost\.network$|breeze\.whateveritworks\.org$/;
const currentURL = new URL(document.location); const currentURL = new URL(document.location);
@ -12,7 +13,6 @@ Object.prototype.set = function (prop, value) {
// Load website data: // Load website data:
async function getData() { async function getData() {
const LANGS = ["DE", "EN", "ES", "FR", "IT", "PL", "TOK"];
let sites = []; let sites = [];
let promises = []; let promises = [];
for (let i = 0; i < LANGS.length; i++) { for (let i = 0; i < LANGS.length; i++) {

View File

@ -1,4 +1,4 @@
const LANGS = ["DE", "EN", "ES", "FR", "IT", "PL", "TOK"]; const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "ZH"];
// Set power setting // Set power setting
function setPower(setting) { function setPower(setting) {