More layout tweaks
This commit is contained in:
parent
174f884c3c
commit
25ff4b3a8c
2 changed files with 7 additions and 5 deletions
|
@ -288,7 +288,6 @@
|
||||||
"loadingTheme": "Loading {theme}…",
|
"loadingTheme": "Loading {theme}…",
|
||||||
"loginFailed": "Logging in into OpenStreetMap failed",
|
"loginFailed": "Logging in into OpenStreetMap failed",
|
||||||
"loginFailedOfflineMode": "OpenStreetMap.org is currently not available due to maintenance. Making edits will be possible soon",
|
"loginFailedOfflineMode": "OpenStreetMap.org is currently not available due to maintenance. Making edits will be possible soon",
|
||||||
"loginFailedOfflineOther": "OpenStreetMap.org could not be reached",
|
|
||||||
"loginFailedReadonlyMode": "OpenStreetMap.org is currently in readonly mode due to maintenance. Making edits will be possible soon",
|
"loginFailedReadonlyMode": "OpenStreetMap.org is currently in readonly mode due to maintenance. Making edits will be possible soon",
|
||||||
"loginFailedUnreachableMode": "OpenStreetMap.org is currently not reachable. Are you connected to the internet or do you block third parties? Try again later",
|
"loginFailedUnreachableMode": "OpenStreetMap.org is currently not reachable. Are you connected to the internet or do you block third parties? Try again later",
|
||||||
"loginOnlyNeededToEdit": "if you want to make changes",
|
"loginOnlyNeededToEdit": "if you want to make changes",
|
||||||
|
@ -382,6 +381,7 @@
|
||||||
},
|
},
|
||||||
"readYourMessages": "Please, read all your OpenStreetMap-messages before adding a new feature.",
|
"readYourMessages": "Please, read all your OpenStreetMap-messages before adding a new feature.",
|
||||||
"removeLocationHistory": "Delete the location history",
|
"removeLocationHistory": "Delete the location history",
|
||||||
|
"retry": "Retry",
|
||||||
"returnToTheMap": "Return to the map",
|
"returnToTheMap": "Return to the map",
|
||||||
"save": "Save",
|
"save": "Save",
|
||||||
"screenToSmall": "Open {theme} in a new window",
|
"screenToSmall": "Open {theme} in a new window",
|
||||||
|
|
|
@ -41,12 +41,14 @@
|
||||||
</slot>
|
</slot>
|
||||||
{:else if !silentFail && $loadingStatus === "error"}
|
{:else if !silentFail && $loadingStatus === "error"}
|
||||||
<slot name="error">
|
<slot name="error">
|
||||||
<div class="alert max-w-64 flex items-center ">
|
<div class="alert flex items-center flex-col">
|
||||||
|
<div class="max-w-64 flex items-center ">
|
||||||
<Invalid class="m-2 h-8 w-8 shrink-0" />
|
<Invalid class="m-2 h-8 w-8 shrink-0" />
|
||||||
<Tr t={offlineModes[$apiState] ?? t.loginFailedOfflineOther} />
|
<Tr t={offlineModes[$apiState] ?? t.loginFailedUnreachableMode} />
|
||||||
<button class="justify-self-end" on:click={() => state.osmConnection.AttemptLogin()}>
|
</div>
|
||||||
|
<button class="h-fit" on:click={() => state.osmConnection.AttemptLogin()}>
|
||||||
<ArrowPath class="w-6 h-6"/>
|
<ArrowPath class="w-6 h-6"/>
|
||||||
Retry
|
<Tr t={t.retry}/>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</slot>
|
</slot>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue