UI: add 'send email to creators' option in the menu

This commit is contained in:
Pieter Vander Vennet 2024-09-19 18:22:35 +02:00
parent 8278cdadb1
commit 22576647e2
2 changed files with 7 additions and 1 deletions

View file

@ -186,6 +186,7 @@
"donate": "Support MapComplete financially",
"editId": "Open the OpenStreetMap online editor here",
"editJosm": "Edit here with JOSM",
"emailCreators": "Send an email to the creators",
"followOnMastodon": "Follow MapComplete on Mastodon",
"gotoSourceCode": "View the source code",
"iconAttribution": {

View file

@ -46,8 +46,9 @@
import { BoltIcon } from "@babeard/svelte-heroicons/mini"
import Copyright from "../../assets/svg/Copyright.svelte"
import Pencil from "../../assets/svg/Pencil.svelte"
import Squares2x2 from "@babeard/svelte-heroicons/mini/Squares2x2"
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
let userdetails = state.osmConnection.userDetails
@ -268,6 +269,10 @@
<Tr t={Translations.t.general.attribution.openIssueTracker} />
</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">
<TranslateIcon class="h-6 w-6"/>
<Tr t={Translations.t.translations.activateButton} />