Chore: translation fix

This commit is contained in:
Pieter Vander Vennet 2025-07-12 18:36:42 +02:00
parent b433448eb1
commit daaa58885d
5 changed files with 22 additions and 1 deletions

View file

@ -3,7 +3,7 @@
import Translations from "../src/UI/i18n/Translations"
import Tr from "../src/UI/Base/Tr.svelte"
import LanguagePicker from "../src/UI/InputElement/LanguagePicker.svelte"
import { ariaLabel } from "../src/Utils/ariaLabel"
const t = Translations.t.app
</script>
@ -37,6 +37,16 @@
<a class="link-underline w-fit self-end" href="https://builds.mapcomplete.org/apk/">
<Tr t={t.older} />
</a>
<div class="flex flex-col items-center my-4 gap-y-4">
<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} />
</a>
</div>
</div>
</div>
</div>

BIN
app/badge_obtainium.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -7,6 +7,7 @@ npm run build:vite:app-landing
mkdir to_upload
mv dist/app/* to_upload/
cp *.png to_upload/
cp -r .well-known/ to_upload/
mkdir -p to_upload/assets/fonts

View file

@ -5,6 +5,7 @@
"app": {
"back": "Go back to MapComplete",
"download": "Download the app",
"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",
"older": "See older builds",

View file

@ -0,0 +1,9 @@
#! /bin/bash
npm run clean:deep
npm run prep:layeroverview
npm run generate:layeroverview -- --exclude-labels=nsfw --print-needed-assets
./scripts/prepareAndroid.sh
cd android
./gradlew bundleRelease
echo "Bundle should be available at android/app/build/outputs/"