diff --git a/langs/en.json b/langs/en.json index 52612c248..ac1e53187 100644 --- a/langs/en.json +++ b/langs/en.json @@ -751,6 +751,22 @@ "typeText": "Type some text to add a comment", "warnAnonymous": "You are not logged in. We won't be able to contact you to resolve your issue." }, + "offline": { + "actions": "Actions", + "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.", + "autoExplanationIntro": "What does automatically downloading basemaps mean?", + "date": "Map generation data", + "delete": "Delete basemap", + "deleteAll": "Delete all basemaps", + "download": "Download area", + "installing": "Data is being downloaded", + "localOnMap": "Offline basemaps on the map", + "name": "Name", + "overview": "Offline basemaps overview", + "range": "Zoom ranges", + "size": "Size" + }, "plantDetection": { "back": "Back to species overview", "button": "Automatically detect the plant species using the AI of Plantnet.org", diff --git a/src/UI/BigComponents/OfflineManagement.svelte b/src/UI/BigComponents/OfflineManagement.svelte index ef5770ad9..a99c10724 100644 --- a/src/UI/BigComponents/OfflineManagement.svelte +++ b/src/UI/BigComponents/OfflineManagement.svelte @@ -20,6 +20,9 @@ import type { AreaDescription } from "../../Logic/OfflineBasemapManager" import { OfflineBasemapManager } from "../../Logic/OfflineBasemapManager" import Checkbox from "../Base/Checkbox.svelte" + import Translations from "../i18n/Translations" + import { default as Trans } from "../Base/Tr.svelte" + import AccordionSingle from "../Flowbite/AccordionSingle.svelte" export let state: ThemeViewState & SpecialVisualizationState = undefined export let autoDownload = state.autoDownloadOfflineBasemap @@ -147,25 +150,29 @@ ], }), }) + const t = Translations.t.offline -
Name | -Map generation date | -Size | -Zoom ranges | -Actions | +
+ |
+
+ |
+
+ |
+
+ |
+
+ |
---|---|---|---|---|---|---|---|---|---|