forked from MapComplete/MapComplete
Playing with new translations, merging branches
This commit is contained in:
commit
6f8c29d401
32 changed files with 609 additions and 163 deletions
10
index.ts
10
index.ts
|
@ -29,6 +29,7 @@ import {Layout} from "./Customizations/Layout";
|
|||
import {DropDown} from "./UI/Input/DropDown";
|
||||
import {FixedInputElement} from "./UI/Input/FixedInputElement";
|
||||
import {FixedUiElement} from "./UI/Base/FixedUiElement";
|
||||
import ParkingType from "./Customizations/Questions/bike/ParkingType";
|
||||
|
||||
|
||||
// --------------------- Read the URL parameters -----------------
|
||||
|
@ -314,4 +315,11 @@ new GeoLocationHandler(bm).AttachTo("geolocate-button");
|
|||
locationControl.ping();
|
||||
messageBox.update();
|
||||
|
||||
|
||||
/*
|
||||
const eLanguageSelect = document.getElementById('language-select') as HTMLOptionElement
|
||||
eLanguageSelect.addEventListener('input', e => {
|
||||
// @ts-ignore
|
||||
const selectedLanguage = e.target.value as string
|
||||
Locale.language.setData(selectedLanguage.toLowerCase())
|
||||
})
|
||||
*/
|
Loading…
Add table
Add a link
Reference in a new issue