Add translations + bike Shops

This commit is contained in:
Pieter Fiers 2020-07-20 23:43:42 +02:00
parent 232664ee14
commit 2c92f5bbe2
26 changed files with 390 additions and 83 deletions

View file

@ -1,6 +1,7 @@
import {UIElement} from "./UIElement";
import {UIEventSource} from "./UIEventSource";
import {OsmConnection} from "../Logic/OsmConnection";
import Translations from "./i18n/Translations";
export class CenterMessageBox extends UIElement {
@ -41,11 +42,11 @@ export class CenterMessageBox extends UIElement {
}
if (this._zoomInMore.data) {
return "Zoom in om de data te zien en te bewerken";
return Translations.t.centerMessage.zoomIn.txt;
} else if (this._queryRunning.data) {
return "Data wordt geladen...";
return Translations.t.centerMessage.loadingData.txt;
}
return "Klaar!";
return Translations.t.centerMessage.ready.txt;
}