forked from MapComplete/MapComplete
UI: add 'send email to creators' option in the menu
This commit is contained in:
parent
8278cdadb1
commit
22576647e2
2 changed files with 7 additions and 1 deletions
|
@ -186,6 +186,7 @@
|
||||||
"donate": "Support MapComplete financially",
|
"donate": "Support MapComplete financially",
|
||||||
"editId": "Open the OpenStreetMap online editor here",
|
"editId": "Open the OpenStreetMap online editor here",
|
||||||
"editJosm": "Edit here with JOSM",
|
"editJosm": "Edit here with JOSM",
|
||||||
|
"emailCreators": "Send an email to the creators",
|
||||||
"followOnMastodon": "Follow MapComplete on Mastodon",
|
"followOnMastodon": "Follow MapComplete on Mastodon",
|
||||||
"gotoSourceCode": "View the source code",
|
"gotoSourceCode": "View the source code",
|
||||||
"iconAttribution": {
|
"iconAttribution": {
|
||||||
|
|
|
@ -46,8 +46,9 @@
|
||||||
import { BoltIcon } from "@babeard/svelte-heroicons/mini"
|
import { BoltIcon } from "@babeard/svelte-heroicons/mini"
|
||||||
import Copyright from "../../assets/svg/Copyright.svelte"
|
import Copyright from "../../assets/svg/Copyright.svelte"
|
||||||
import Pencil from "../../assets/svg/Pencil.svelte"
|
import Pencil from "../../assets/svg/Pencil.svelte"
|
||||||
import Squares2x2 from "@babeard/svelte-heroicons/mini/Squares2x2"
|
|
||||||
import SidebarUnit from "../Base/SidebarUnit.svelte"
|
import SidebarUnit from "../Base/SidebarUnit.svelte"
|
||||||
|
import Squares2x2 from "@babeard/svelte-heroicons/mini/Squares2x2"
|
||||||
|
import EnvelopeOpen from "@babeard/svelte-heroicons/mini/EnvelopeOpen"
|
||||||
|
|
||||||
export let state: ThemeViewState
|
export let state: ThemeViewState
|
||||||
let userdetails = state.osmConnection.userDetails
|
let userdetails = state.osmConnection.userDetails
|
||||||
|
@ -268,6 +269,10 @@
|
||||||
<Tr t={Translations.t.general.attribution.openIssueTracker} />
|
<Tr t={Translations.t.general.attribution.openIssueTracker} />
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<a class="flex" href="mailto:info@mapcomplete.org">
|
||||||
|
<EnvelopeOpen class="h-6 w-6"/>
|
||||||
|
<Tr t={Translations.t.general.attribution.emailCreators}/>en
|
||||||
|
</a>
|
||||||
<a class="flex" href="https://hosted.weblate.org/projects/mapcomplete/" target="_blank">
|
<a class="flex" href="https://hosted.weblate.org/projects/mapcomplete/" target="_blank">
|
||||||
<TranslateIcon class="h-6 w-6"/>
|
<TranslateIcon class="h-6 w-6"/>
|
||||||
<Tr t={Translations.t.translations.activateButton} />
|
<Tr t={Translations.t.translations.activateButton} />
|
||||||
|
|
Loading…
Add table
Reference in a new issue