forked from MapComplete/MapComplete
Android: add FDroid logo
This commit is contained in:
parent
aa326a09aa
commit
ea947fc914
3 changed files with 14 additions and 2 deletions
|
@ -4,7 +4,10 @@
|
|||
import Tr from "../src/UI/Base/Tr.svelte"
|
||||
import LanguagePicker from "../src/UI/InputElement/LanguagePicker.svelte"
|
||||
import { ariaLabel } from "../src/Utils/ariaLabel"
|
||||
import Locale from "../src/UI/i18n/Locale"
|
||||
const t = Translations.t.app
|
||||
const lng = Locale.language
|
||||
let fdroid = t.downloadOnFDroid.current
|
||||
</script>
|
||||
|
||||
<head>
|
||||
|
@ -40,10 +43,17 @@
|
|||
|
||||
<div class="flex flex-col items-center my-4 gap-y-4">
|
||||
|
||||
<a href="https://f-droid.org/packages/org.mapcomplete">
|
||||
<img src={`https://f-droid.org/badge/get-it-on-${$lng}.png`}
|
||||
alt={$fdroid}
|
||||
style="width: 17rem">
|
||||
</a>
|
||||
|
||||
|
||||
<a
|
||||
rel="noopener"
|
||||
href="https://apps.obtainium.imranr.dev/redirect?r=obtainium://add/https://source.mapcomplete.org/MapComplete/android-wrapper/releases">
|
||||
<img class="w-96" src="./badge_obtainium.png" alt="Get on obtainium" use:ariaLabel={t.getOnObtanium} />
|
||||
<img style="width: 15rem" class="p-4" src="./badge_obtainium.png" alt="Get on obtainium" use:ariaLabel={t.getOnObtanium} />
|
||||
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
"app": {
|
||||
"back": "Go back to MapComplete",
|
||||
"download": "Download the app",
|
||||
"downloadOnFDroid": "Download MapComplete on F-Droid",
|
||||
"getOnObtanium": "Get on Obtainium",
|
||||
"intro": "MapComplete is available as Android App as direct download. We are working on publishing this in on FDroid too.",
|
||||
"noPlayServices": "The app works without Google Play Services",
|
||||
|
@ -945,4 +946,4 @@
|
|||
"startsWithQ": "A wikidata identifier starts with Q and is followed by a number"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -5,6 +5,7 @@
|
|||
"app": {
|
||||
"back": "Ga terug naar MapComplete",
|
||||
"download": "Download de laatste versie",
|
||||
"downloadOnFDroid": "Download MapComplete op F-Droid",
|
||||
"intro": "MapComplete is beschikbaar als Android App. Deze is binnenkort ook in F-Droid beschikbaar",
|
||||
"older": "Bekijk oudere versies",
|
||||
"title": "MapComplete Anrdoid App"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue