Adding support for French
parent
58a6868b15
commit
5bfdcc422b
|
@ -74,7 +74,7 @@ function redirectToBreezeWiki(storage, eventInfo, url) {
|
||||||
|
|
||||||
// Load website data.
|
// Load website data.
|
||||||
async function getData() {
|
async function getData() {
|
||||||
const LANGS = ["DE", "EN", "ES", "IT", "PL"];
|
const LANGS = ["DE", "EN", "ES", "FR", "IT", "PL"];
|
||||||
let sites = [];
|
let sites = [];
|
||||||
let promises = [];
|
let promises = [];
|
||||||
for (let i = 0; i < LANGS.length; i++) {
|
for (let i = 0; i < LANGS.length; i++) {
|
||||||
|
|
|
@ -25,7 +25,7 @@ function addLocationObserver(callback) {
|
||||||
|
|
||||||
// Load website data
|
// Load website data
|
||||||
async function getData() {
|
async function getData() {
|
||||||
const LANGS = ["DE", "EN", "ES", "IT", "PL"];
|
const LANGS = ["DE", "EN", "ES", "FR", "IT", "PL"];
|
||||||
let sites = [];
|
let sites = [];
|
||||||
let promises = [];
|
let promises = [];
|
||||||
for (let i = 0; i < LANGS.length; i++) {
|
for (let i = 0; i < LANGS.length; i++) {
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
|
@ -29,6 +29,7 @@
|
||||||
"data/sitesDE.json",
|
"data/sitesDE.json",
|
||||||
"data/sitesEN.json",
|
"data/sitesEN.json",
|
||||||
"data/sitesES.json",
|
"data/sitesES.json",
|
||||||
|
"data/sitesFR.json",
|
||||||
"data/sitesIT.json",
|
"data/sitesIT.json",
|
||||||
"data/sitesPL.json"
|
"data/sitesPL.json"
|
||||||
],
|
],
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
"data/sitesDE.json",
|
"data/sitesDE.json",
|
||||||
"data/sitesEN.json",
|
"data/sitesEN.json",
|
||||||
"data/sitesES.json",
|
"data/sitesES.json",
|
||||||
|
"data/sitesFR.json",
|
||||||
"data/sitesIT.json",
|
"data/sitesIT.json",
|
||||||
"data/sitesPL.json"
|
"data/sitesPL.json"
|
||||||
],
|
],
|
||||||
|
|
|
@ -184,6 +184,7 @@
|
||||||
<option value="DE">Deutch</option>
|
<option value="DE">Deutch</option>
|
||||||
<option value="EN" selected>English</option>
|
<option value="EN" selected>English</option>
|
||||||
<option value="ES">Español</option>
|
<option value="ES">Español</option>
|
||||||
|
<option value="FR">Français</option>
|
||||||
<option value="IT">Italiano</option>
|
<option value="IT">Italiano</option>
|
||||||
<option value="PL">Polski</option>
|
<option value="PL">Polski</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in New Issue