forked from MapComplete/MapComplete
Full, interactive i18n (still some quests to enable it though)
This commit is contained in:
parent
fd6f77c98e
commit
0f2dff8f41
15 changed files with 205 additions and 90 deletions
6
test.ts
6
test.ts
|
@ -1,9 +1,13 @@
|
|||
import {DropDown} from "./UI/Input/DropDown";
|
||||
import Locale from "./UI/i18n/Locale";
|
||||
import Combine from "./UI/Base/Combine";
|
||||
import Translations from "./UI/i18n/Translations";
|
||||
|
||||
console.log("Hello world")
|
||||
|
||||
let languagePicker = new DropDown("", ["en", "nl"].map(lang => {
|
||||
return {value: lang, shown: lang}
|
||||
}
|
||||
), Locale.language).AttachTo("maindiv");
|
||||
), Locale.language).AttachTo("maindiv");
|
||||
|
||||
new Combine(["abc",Translations.t.cyclofix.title, Translations.t.cyclofix.title]).AttachTo("extradiv");
|
Loading…
Add table
Add a link
Reference in a new issue