forked from MapComplete/MapComplete
Remove dutch hardcoded texts for now; add a simple bikeshop quest
This commit is contained in:
parent
5670b04a71
commit
5116626816
4 changed files with 80 additions and 27 deletions
|
@ -61,18 +61,18 @@ export class SimpleAddUI extends UIElement {
|
|||
}
|
||||
|
||||
protected InnerRender(): string {
|
||||
const header = "<h2>Geen selectie</h2>" +
|
||||
"Je klikte ergens waar er nog geen gezochte data is.<br/>";
|
||||
const header = "<h2>No data here</h2>" +
|
||||
"You clicked somewhere where no data is known yet.<br/>";
|
||||
if (!this._userDetails.data.loggedIn) {
|
||||
return header + "<a class='activate-osm-authentication'>Gelieve je aan te melden om een nieuw punt toe te voegen</a>"
|
||||
return header + "<a class='activate-osm-authentication'>Please log in to add a new point</a>"
|
||||
}
|
||||
|
||||
if (this._zoomlevel.data.zoom < 19) {
|
||||
return header + "Zoom verder in om een element toe te voegen.";
|
||||
return header + "Zoom in further to add a point.";
|
||||
}
|
||||
|
||||
if (this._dataIsLoading.data) {
|
||||
return header + "De data is nog aan het laden. Nog even geduld, dan kan je een punt toevoegen";
|
||||
return header + "The data is still loading. Please wait a bit before you add a new point";
|
||||
}
|
||||
|
||||
var html = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue