Offline: add translation

This commit is contained in:
Pieter Vander Vennet 2025-10-14 22:04:40 +02:00
parent c04effa306
commit ce435765f2
3 changed files with 13 additions and 7 deletions

View file

@ -778,19 +778,29 @@
}, },
"offline": { "offline": {
"actions": "Actions", "actions": "Actions",
"alreadyOffline": "This area is already offline",
"areaToBig": "This area is to big to keep offline",
"autoCheckmark": "Automatically download the basemap when browsing around", "autoCheckmark": "Automatically download the basemap when browsing around",
"autoExplanation": "If checked, MapComplete will automatically download the basemap to the cache for the area. This results in bigger initial data loads, but requires less internet over the long run. If you plan to visit a region with less connectivity, you can also select the area you want to download below.", "autoExplanation": "If checked, MapComplete will automatically download the basemap to the cache for the area. This results in bigger initial data loads, but requires less internet over the long run. If you plan to visit a region with less connectivity, you can also select the area you want to download below.",
"autoExplanationIntro": "What does automatically downloading basemaps mean?", "autoExplanationIntro": "What does automatically downloading basemaps mean?",
"date": "Map generation data", "date": "Map generation data",
"delete": "Delete basemap", "delete": "Delete basemap",
"deleteAll": "Delete all basemaps", "deleteAll": "Delete all basemaps",
"deleteAreas": "Clear offline areas",
"download": "Download area", "download": "Download area",
"installing": "Data is being downloaded", "installing": "Data is being downloaded",
"intro": " The offline background map is the basemap that is shown as background under the clickable map features (protomaps sunny). he data for this map is shared between all MapComplete themes. These are downloaded from {host} which has a weekly update schedule.",
"localOnMap": "Offline basemaps on the map", "localOnMap": "Offline basemaps on the map",
"markArea": "Keep this area available offline",
"name": "Name", "name": "Name",
"offlineNoUpdate": "Updating is currently not possible as you are offline",
"overview": "Offline background map", "overview": "Offline background map",
"range": "Zoom ranges", "range": "Zoom ranges",
"size": "Size" "size": "Size",
"updateAll": "Update all offline areas",
"updateOnLoad": "Update the areas when loading",
"updateOnReconnect": "Update the available areas when connection is restored",
"updating": "Updating..."
}, },
"plantDetection": { "plantDetection": {
"back": "Back to species overview", "back": "Back to species overview",

View file

@ -55,8 +55,6 @@
import ImageUploadQueue from "../../Logic/ImageProviders/ImageUploadQueue" import ImageUploadQueue from "../../Logic/ImageProviders/ImageUploadQueue"
import QueuedImagesView from "../Image/QueuedImagesView.svelte" import QueuedImagesView from "../Image/QueuedImagesView.svelte"
import InsetSpacer from "../Base/InsetSpacer.svelte" import InsetSpacer from "../Base/InsetSpacer.svelte"
import OfflineManagement from "./OfflineManagement.svelte"
import { GlobeEuropeAfrica } from "@babeard/svelte-heroicons/solid/GlobeEuropeAfrica"
import { onDestroy } from "svelte" import { onDestroy } from "svelte"
import Avatar from "../Base/Avatar.svelte" import Avatar from "../Base/Avatar.svelte"
import { Changes } from "../../Logic/Osm/Changes" import { Changes } from "../../Logic/Osm/Changes"

View file

@ -169,10 +169,8 @@
<Accordion class="" inactiveClass="text-black"> <Accordion class="" inactiveClass="text-black">
<AccordionItem paddingDefault="p-2"> <AccordionItem paddingDefault="p-2">
<Trans t={t.overview} slot="header" /> <Trans t={t.overview} slot="header" />
The offline background map is the basemap that is shown as background under the clickable map features <Trans t={t.intro.Subs(state.offlineMapManager)} />
(protomaps sunny).
The data for this map is shared between all MapComplete themes.
These are downloaded from {state.offlineMapManager.host} which has a weekly update schedule.
<Checkbox selected={autoDownload}> <Checkbox selected={autoDownload}>
<Trans t={t.autoCheckmark} /> <Trans t={t.autoCheckmark} />
</Checkbox> </Checkbox>