From 0619f018fbade5d988c44f69a5f2ec0098e3e05b Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Fri, 25 Nov 2022 00:27:51 -0800 Subject: [PATCH 1/6] Update feature.yml --- .github/ISSUE_TEMPLATE/feature.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml index 71a6ae15..40e28a9e 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -1,6 +1,6 @@ name: Feature Request description: Request a new feature -title: "[Enhancement]: " +title: "[Feature]: " labels: ["enhancement"] body: - type: markdown From d9734d3f8b8dc38f65a8774e5f5beda3a7926e83 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Fri, 25 Nov 2022 00:28:30 -0800 Subject: [PATCH 2/6] Update feature.yml --- .github/ISSUE_TEMPLATE/feature.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml index 40e28a9e..88a3b118 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -1,6 +1,6 @@ name: Feature Request description: Request a new feature -title: "[Feature]: " +title: "[Feature Request]: " labels: ["enhancement"] body: - type: markdown From ef97027a9fb428d20d19a723ab9d70728a8e7e9e Mon Sep 17 00:00:00 2001 From: formtapez Date: Wed, 14 Dec 2022 11:58:26 +0100 Subject: [PATCH 3/6] german translation (incomplete) --- de.lproj/Localizable.strings | 175 +++++++++++++++++++++++++++++++++++ 1 file changed, 175 insertions(+) diff --git a/de.lproj/Localizable.strings b/de.lproj/Localizable.strings index 3d5b44e6..76695d37 100644 --- a/de.lproj/Localizable.strings +++ b/de.lproj/Localizable.strings @@ -5,3 +5,178 @@ Created by Garth Vander Houwen on 12/12/22. */ +"about"="Über"; +"about.meshtastic"="Über Meshtastic"; +"admin"="admin"; +"admin.log"="Admin Message Log"; +"ago"="ago"; +"always.on"="Immer an"; +"app.settings"="App Einstellungen"; +"are.you.sure"="Bist Du sicher?"; +"ascii.capable"="ASCII fähig"; +"available.radios"="Geräte in der Nähe"; +"automatic.detection"="Automatische erkennung"; +"ble.name"="BLE Name"; +"bluetooth"="Bluetooth"; +"bluetooth.config"="Bluetooth Konfiguration"; +"bluetooth.mode.randompin"="Zufällige PIN"; +"bluetooth.mode.fixedpin"="Feste PIN"; +"bluetooth.mode.nopin"="Keine PIN (geht einfach)"; +"bytes"="Bytes"; +"cancel"="Abbrechen"; +"canned.messages"="Canned Messages"; +"canned.messages.config"="Canned Messages Config"; +"canned.messages.preset.manual"="Manualle Konfiguration"; +"canned.messages.preset.rakrotary"="RAK Drehimpulsgeber Modul"; +"canned.messages.preset.cardkb"="M5 Stack Card KB / RAK Tastenfeld"; +"channel"="Kanal"; +"channel.role.disabled"="Deaktiviert"; +"channel.role.primary"="Primär"; +"channel.role.secondary"="Sekundär"; +"channels"="Kanäle (Gruppen)"; +"clear.app.data"="App Daten löschen"; +"connected.radio"="Verbundenes Gerät"; +"communicating"="Verbinde mit Gerät..."; +"connected"="Derzeit verbunden"; +"connecting"="Verbinde..."; +"contacts"="Kontakte"; +"copy"="Kopieren"; +"default"="Standard"; +"delete"="Löschen"; +"device"="Gerät"; +"device.config"="Gerätekonfiguration"; +"device.role.client"="Client (default) - App connected client."; +"device.role.clientmute"="Client Mute - Same as a client except packets will not hop over this node, does not contribute to routing packets for mesh."; +"device.role.router"="Router - Mesh packets will prefer to be routed over this node. This node will not be used by client apps. The wifi/ble radios and the oled screen will be put to sleep."; +"device.role.routerclient"="Router Client - Mesh packets will prefer to be routed over this node. The Router Client can be used as both a Router and an app connected Client."; +"direct.messages"="Direct Messages"; +"dismiss.keyboard"="Dismiss Keyboard"; +"display"="Display (Device Screen)"; +"display.config"="Display Config"; +"distance"="Distance"; +"disconnect"="Disconnect"; +"echo"="Echo"; +"email.address"="Email Address"; +"enabled"="Enabled"; +"external.notification"="External Notification"; +"external.notification.config"="External Notification Config"; +"firmware.version"="Firmware Version"; +"gpsformat.dec"="Decimal Degrees Format"; +"gpsformat.dms"="Degrees Minutes Seconds"; +"gpsformat.utm"="Universal Transverse Mercator"; +"gpsformat.mgrs"="Military Grid Reference System"; +"gpsformat.olc"="Open Location Code (aka Plus Codes)"; +"gpsformat.osgr"="Ordnance Survey Grid Reference"; +"heard"="Heard"; +"heard.last"="Last Heard"; +"hybrid"="Hybrid"; +"inputevent.none"="None"; +"inputevent.up"="Up"; +"inputevent.down"="Down"; +"inputevent.left"="Left"; +"inputevent.right"="Right"; +"inputevent.select"="Select"; +"inputevent.back"="Back"; +"inputevent.cancel"="Cancel"; +"interval.one.second"="One Second"; +"interval.two.seconds"="Two Seconds"; +"interval.five.seconds"="Five Seconds"; +"interval.ten.seconds"="Ten Seconds"; +"interval.fifteen.seconds"="Fifteen Seconds"; +"interval.twenty.seconds"="Twenty Seconds"; +"interval.twentyfive.seconds"="Twenty Five Seconds"; +"interval.thirty.seconds"="Thirty Seconds"; +"interval.one.minute"="One Minute"; +"interval.two.minutes"="Two Minutes"; +"interval.five.minutes"="Five Minutes"; +"interval.ten.minutes"="Ten Minutes"; +"interval.fifteen.minutes"="Fifteen Minutes"; +"interval.thirty.minutes"="Thirty Minutes"; +"interval.one.hour"="One Hour"; +"interval.six.hours"="Six Hours"; +"interval.twelve.hours"="Twelve Hours"; +"interval.twentyfour.hours"="Twenty Four Hours"; +"keyboard.type"="Keyboard Type"; +"logging"="Logging"; +"lora"="LoRa"; +"lora.config"="LoRa Config"; +"map"="Mesh Map"; +"map.type"="Map Type"; +"mesh.log"="Mesh Log"; +"message"="Message"; +"message.details"="Message Details"; +"messages"="Messages"; +"mode"="Mode"; +"module.configuration"="Module Configuration"; +"mqtt"="MQTT"; +"mqtt.config"="MQTT Config"; +"mqtt.username"="Username"; +"network"="Network"; +"network.config"="Network Config"; +"nodes"="Nodes"; +"no.nodes"="No Meshtastic Nodes Found"; +"not.connected"="No device connected"; +"numbers.punctuation"="Numbers and Punctuation"; +"off"="Off"; +"on.boot"="On Boot Only"; +"options"="Options"; +"password"="Password"; +"phone.gps"="Phone GPS"; +"phone.gps.interval.description"="How frequently your phone will send your location to the device, location updates to the mesh are managed by the device."; +"position"="Position"; +"position.config"="Position Config"; +"preferred.radio"="Preferred Radio"; +"provide.location"="Provide location to mesh"; +"radio.configuration"="Radio Configuration"; +"range.test"="Range Test"; +"range.test.config"="Range Test Config"; +"reply"="Reply"; +"received.ack"="Received Ack"; +"routing.acknowledged"="Acknowledged"; +"routing.noroute"="No Route"; +"routing.gotnak"="Received a negative acknowledgment"; +"routing.timeout"="Timeout"; +"routing.nointerface"="No Interface"; +"routing.maxretransmit"="Max Retransmission Reached"; +"routing.nochannel"="No Channel"; +"routing.toolarge"="The packet is too large"; +"routing.noresponse"="No Response"; +"routing.dutycyclelimit"="Regional Duty Cycle Limit Reached"; +"routing.badRequest"="Bad Request"; +"routing.notauthorized"="Not Authorized"; +"satellite"="Satellite"; +"save"="Save"; +"serial"="Serial"; +"serial.config"="Serial Config"; +"serial.mode.default"="Default"; +"serial.mode.simple"="Simple"; +"serial.mode.proto"="Protobufs"; +"serial.mode.txtmsg"="Text Message"; +"serial.mode.nmea"="NMEA Positions"; +"settings"="Settings"; +"share.channels"="Share Channels QR Code"; +"share.position"="Share Position"; +"subscribed"="Subscribed to mesh"; +"select.contact"="Select a Contact"; +"select.node"="Select a Node"; +"select.menu.item"="Select an item from the menu"; +"set.region"="Set LoRa Region"; +"standard"="Standard"; +"ssid"="SSID"; +"tapback"="Tapback Response"; +"tapback.heart"="Heart"; +"tapback.thumbsup"="Thumbs Up"; +"tapback.thumbsdown"="Thumbs Down"; +"tapback.haha"="HaHa"; +"tapback.exclamation"="Exclamation Mark"; +"tapback.question"="Question Mark"; +"tapback.poop"="Poop"; +"telemetry"="Telemetry (Sensors)"; +"telemetry.config"="Telemetry Config"; +"timeout"="timeout"; +"twitter"="Twitter"; +"unknown.age"="Unknown Age"; +"update.interval"="Update Interval"; +"user"="User"; +"user.details"="User Details"; +"waiting"="Waiting. . ."; From a162091388afacdfb8459200c92789c63da29688 Mon Sep 17 00:00:00 2001 From: formtapez Date: Wed, 14 Dec 2022 12:15:47 +0100 Subject: [PATCH 4/6] german translation --- de.lproj/Localizable.strings | 212 +++++++++++++++++------------------ 1 file changed, 106 insertions(+), 106 deletions(-) diff --git a/de.lproj/Localizable.strings b/de.lproj/Localizable.strings index 76695d37..2c9d9c6f 100644 --- a/de.lproj/Localizable.strings +++ b/de.lproj/Localizable.strings @@ -9,7 +9,7 @@ "about.meshtastic"="Über Meshtastic"; "admin"="admin"; "admin.log"="Admin Message Log"; -"ago"="ago"; +"ago"="her"; "always.on"="Immer an"; "app.settings"="App Einstellungen"; "are.you.sure"="Bist Du sicher?"; @@ -49,134 +49,134 @@ "device.role.clientmute"="Client Mute - Same as a client except packets will not hop over this node, does not contribute to routing packets for mesh."; "device.role.router"="Router - Mesh packets will prefer to be routed over this node. This node will not be used by client apps. The wifi/ble radios and the oled screen will be put to sleep."; "device.role.routerclient"="Router Client - Mesh packets will prefer to be routed over this node. The Router Client can be used as both a Router and an app connected Client."; -"direct.messages"="Direct Messages"; +"direct.messages"="Direktnachrichten"; "dismiss.keyboard"="Dismiss Keyboard"; "display"="Display (Device Screen)"; "display.config"="Display Config"; -"distance"="Distance"; -"disconnect"="Disconnect"; +"distance"="Entfernung"; +"disconnect"="Trennen"; "echo"="Echo"; -"email.address"="Email Address"; -"enabled"="Enabled"; -"external.notification"="External Notification"; -"external.notification.config"="External Notification Config"; +"email.address"="Email Adresse"; +"enabled"="Aktiviert"; +"external.notification"="Externe Benachrichtigung"; +"external.notification.config"="Einstellungen der externen Benachrichtigung"; "firmware.version"="Firmware Version"; -"gpsformat.dec"="Decimal Degrees Format"; -"gpsformat.dms"="Degrees Minutes Seconds"; +"gpsformat.dec"="Dezimalgrad Format"; +"gpsformat.dms"="Grad Minuten Sekunden"; "gpsformat.utm"="Universal Transverse Mercator"; "gpsformat.mgrs"="Military Grid Reference System"; "gpsformat.olc"="Open Location Code (aka Plus Codes)"; "gpsformat.osgr"="Ordnance Survey Grid Reference"; -"heard"="Heard"; -"heard.last"="Last Heard"; +"heard"="Gehört"; +"heard.last"="Zuletzte gehört"; "hybrid"="Hybrid"; -"inputevent.none"="None"; -"inputevent.up"="Up"; -"inputevent.down"="Down"; -"inputevent.left"="Left"; -"inputevent.right"="Right"; -"inputevent.select"="Select"; -"inputevent.back"="Back"; -"inputevent.cancel"="Cancel"; -"interval.one.second"="One Second"; -"interval.two.seconds"="Two Seconds"; -"interval.five.seconds"="Five Seconds"; -"interval.ten.seconds"="Ten Seconds"; -"interval.fifteen.seconds"="Fifteen Seconds"; -"interval.twenty.seconds"="Twenty Seconds"; -"interval.twentyfive.seconds"="Twenty Five Seconds"; -"interval.thirty.seconds"="Thirty Seconds"; -"interval.one.minute"="One Minute"; -"interval.two.minutes"="Two Minutes"; -"interval.five.minutes"="Five Minutes"; -"interval.ten.minutes"="Ten Minutes"; -"interval.fifteen.minutes"="Fifteen Minutes"; -"interval.thirty.minutes"="Thirty Minutes"; -"interval.one.hour"="One Hour"; -"interval.six.hours"="Six Hours"; -"interval.twelve.hours"="Twelve Hours"; -"interval.twentyfour.hours"="Twenty Four Hours"; -"keyboard.type"="Keyboard Type"; +"inputevent.none"="Keins"; +"inputevent.up"="Hoch"; +"inputevent.down"="Runter"; +"inputevent.left"="Links"; +"inputevent.right"="Rechts"; +"inputevent.select"="Auswählen"; +"inputevent.back"="Zurück"; +"inputevent.cancel"="Abbrechen"; +"interval.one.second"="Eine Sekunde"; +"interval.two.seconds"="Zwei Sekunden"; +"interval.five.seconds"="Fünf Sekunden"; +"interval.ten.seconds"="Zehn Sekunden"; +"interval.fifteen.seconds"="Fünfzehn Sekunden"; +"interval.twenty.seconds"="Zwanzig Sekunden"; +"interval.twentyfive.seconds"="Fünfundzwanzig Sekunden"; +"interval.thirty.seconds"="Dreißig Sekunden"; +"interval.one.minute"="Eine Minute"; +"interval.two.minutes"="Zwei Minutes"; +"interval.five.minutes"="Fünf Minutes"; +"interval.ten.minutes"="Zehn Minutes"; +"interval.fifteen.minutes"="Fünfzehn Minutes"; +"interval.thirty.minutes"="Dreißig Minutes"; +"interval.one.hour"="Eine Stunde"; +"interval.six.hours"="Sechs Stunden"; +"interval.twelve.hours"="Zwölf Stunden"; +"interval.twentyfour.hours"="Vierundzwanzig Stunden"; +"keyboard.type"="Keyboard Typ"; "logging"="Logging"; "lora"="LoRa"; -"lora.config"="LoRa Config"; -"map"="Mesh Map"; -"map.type"="Map Type"; +"lora.config"="LoRa Einstellungen"; +"map"="Mesh Karte"; +"map.type"="kartentyp"; "mesh.log"="Mesh Log"; -"message"="Message"; -"message.details"="Message Details"; -"messages"="Messages"; -"mode"="Mode"; -"module.configuration"="Module Configuration"; +"message"="Nachricht"; +"message.details"="Nachrichtendetails"; +"messages"="Nachrichten"; +"mode"="Modus"; +"module.configuration"="Modul Konfiguration"; "mqtt"="MQTT"; "mqtt.config"="MQTT Config"; -"mqtt.username"="Username"; -"network"="Network"; -"network.config"="Network Config"; +"mqtt.username"="Benutzername"; +"network"="Netzwerk"; +"network.config"="Netzwerkeinstellungen"; "nodes"="Nodes"; -"no.nodes"="No Meshtastic Nodes Found"; -"not.connected"="No device connected"; -"numbers.punctuation"="Numbers and Punctuation"; -"off"="Off"; -"on.boot"="On Boot Only"; -"options"="Options"; -"password"="Password"; -"phone.gps"="Phone GPS"; -"phone.gps.interval.description"="How frequently your phone will send your location to the device, location updates to the mesh are managed by the device."; +"no.nodes"="Keine Meshtastic Nodes gefunden"; +"not.connected"="Kein Gerät verbunden"; +"numbers.punctuation"="Ziffern und Interpunktion"; +"off"="Aus"; +"on.boot"="Nur beim Starten"; +"options"="Optionen"; +"password"="Passwort"; +"phone.gps"="Telefon GPS"; +"phone.gps.interval.description"="Wie häufig das Telefon den Standort an das Gerät sendet. Standortaktualisierungen an das Mesh werden vom Gerät verwaltet."; "position"="Position"; -"position.config"="Position Config"; -"preferred.radio"="Preferred Radio"; -"provide.location"="Provide location to mesh"; -"radio.configuration"="Radio Configuration"; -"range.test"="Range Test"; -"range.test.config"="Range Test Config"; -"reply"="Reply"; -"received.ack"="Received Ack"; -"routing.acknowledged"="Acknowledged"; -"routing.noroute"="No Route"; -"routing.gotnak"="Received a negative acknowledgment"; -"routing.timeout"="Timeout"; -"routing.nointerface"="No Interface"; -"routing.maxretransmit"="Max Retransmission Reached"; -"routing.nochannel"="No Channel"; -"routing.toolarge"="The packet is too large"; -"routing.noresponse"="No Response"; -"routing.dutycyclelimit"="Regional Duty Cycle Limit Reached"; +"position.config"="Positionseinstellungen"; +"preferred.radio"="Bevorzugtes Gerät"; +"provide.location"="Standort im Mesh veröffentlichen"; +"radio.configuration"="Geräteeinstellungen"; +"range.test"="Entfernungstest"; +"range.test.config"="Entfernungstest Konfiguration"; +"reply"="Antworten"; +"received.ack"="Empfangsbestätigung"; +"routing.acknowledged"="Bestätigt"; +"routing.noroute"="Keine Route"; +"routing.gotnak"="Negative Empfangsbestätigung empfangen"; +"routing.timeout"="Zeitlimit erreicht"; +"routing.nointerface"="Kein Interface"; +"routing.maxretransmit"="Maximale Wiederholungen erreicht"; +"routing.nochannel"="Kein Kanal"; +"routing.toolarge"="Das Paket ist zu groß"; +"routing.noresponse"="Keine Antwort"; +"routing.dutycyclelimit"="Regionale Einschaltdauergrenze erreicht"; "routing.badRequest"="Bad Request"; -"routing.notauthorized"="Not Authorized"; -"satellite"="Satellite"; -"save"="Save"; +"routing.notauthorized"="Nicht authorisiert"; +"satellite"="Satellit"; +"save"="Speichern"; "serial"="Serial"; -"serial.config"="Serial Config"; -"serial.mode.default"="Default"; -"serial.mode.simple"="Simple"; +"serial.config"="Serial Konfiguration"; +"serial.mode.default"="Standard"; +"serial.mode.simple"="Einfach"; "serial.mode.proto"="Protobufs"; -"serial.mode.txtmsg"="Text Message"; -"serial.mode.nmea"="NMEA Positions"; -"settings"="Settings"; -"share.channels"="Share Channels QR Code"; -"share.position"="Share Position"; +"serial.mode.txtmsg"="Text Nachricht"; +"serial.mode.nmea"="NMEA Positionen"; +"settings"="Einstellungen"; +"share.channels"="Kanal QR Code teilen"; +"share.position"="Position teilen"; "subscribed"="Subscribed to mesh"; -"select.contact"="Select a Contact"; -"select.node"="Select a Node"; -"select.menu.item"="Select an item from the menu"; -"set.region"="Set LoRa Region"; +"select.contact"="Kontakt wählen"; +"select.node"="Node auswählen"; +"select.menu.item"="Wähle einen Menüeintrag aus"; +"set.region"="Setze LoRa Region"; "standard"="Standard"; "ssid"="SSID"; "tapback"="Tapback Response"; -"tapback.heart"="Heart"; -"tapback.thumbsup"="Thumbs Up"; -"tapback.thumbsdown"="Thumbs Down"; +"tapback.heart"="Gehört"; +"tapback.thumbsup"="Daumen hoch"; +"tapback.thumbsdown"="Daumen runter"; "tapback.haha"="HaHa"; -"tapback.exclamation"="Exclamation Mark"; -"tapback.question"="Question Mark"; -"tapback.poop"="Poop"; -"telemetry"="Telemetry (Sensors)"; -"telemetry.config"="Telemetry Config"; -"timeout"="timeout"; +"tapback.exclamation"="Ausrufezeichen"; +"tapback.question"="Fragezeichen"; +"tapback.poop"="Kacke"; +"telemetry"="Telemetrie (Sensoren)"; +"telemetry.config"="Telemetrie Einstellungen"; +"timeout"="Zeitlimit erreicht"; "twitter"="Twitter"; -"unknown.age"="Unknown Age"; -"update.interval"="Update Interval"; -"user"="User"; -"user.details"="User Details"; -"waiting"="Waiting. . ."; +"unknown.age"="Unbekanntes alter"; +"update.interval"="Update intervall"; +"user"="Benutzer"; +"user.details"="Benutzer Details"; +"waiting"="Warte..."; From e18739eb07a38b8179c71b925dc47593060457ac Mon Sep 17 00:00:00 2001 From: formtapez Date: Wed, 14 Dec 2022 12:32:04 +0100 Subject: [PATCH 5/6] german translation --- de.lproj/Localizable.strings | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/de.lproj/Localizable.strings b/de.lproj/Localizable.strings index 2c9d9c6f..7ec05091 100644 --- a/de.lproj/Localizable.strings +++ b/de.lproj/Localizable.strings @@ -45,10 +45,10 @@ "delete"="Löschen"; "device"="Gerät"; "device.config"="Gerätekonfiguration"; -"device.role.client"="Client (default) - App connected client."; -"device.role.clientmute"="Client Mute - Same as a client except packets will not hop over this node, does not contribute to routing packets for mesh."; -"device.role.router"="Router - Mesh packets will prefer to be routed over this node. This node will not be used by client apps. The wifi/ble radios and the oled screen will be put to sleep."; -"device.role.routerclient"="Router Client - Mesh packets will prefer to be routed over this node. The Router Client can be used as both a Router and an app connected Client."; +"device.role.client"="Client (Standard) - Mit App verbundener Client."; +"device.role.clientmute"="Client Leise - Das selbe wie Client, außer das die Pakete nicht über diesen Node weitergeleitet werden. Nimmt nicht am Mesh-Routing teil."; +"device.role.router"="Router - Mesh Pakete werden bevorzugt über diesen Node gerouted. Dieser Node wird nicht von einer Client App benutzt. WLAN, Bluetooth und Display sind aus."; +"device.role.routerclient"="Router Client - Mesh Pakete werden bevorzugt über diesen Node gerouted. Der Router Client kann parallel auch von einer Client-App genutzt werden."; "direct.messages"="Direktnachrichten"; "dismiss.keyboard"="Dismiss Keyboard"; "display"="Display (Device Screen)"; @@ -63,12 +63,12 @@ "firmware.version"="Firmware Version"; "gpsformat.dec"="Dezimalgrad Format"; "gpsformat.dms"="Grad Minuten Sekunden"; -"gpsformat.utm"="Universal Transverse Mercator"; -"gpsformat.mgrs"="Military Grid Reference System"; +"gpsformat.utm"="Universal Transversal Mercator"; +"gpsformat.mgrs"="Militärisches Gitternetz-Referenzsystem"; "gpsformat.olc"="Open Location Code (aka Plus Codes)"; -"gpsformat.osgr"="Ordnance Survey Grid Reference"; +"gpsformat.osgr"="Ordnance Survey Gitterreferenz"; "heard"="Gehört"; -"heard.last"="Zuletzte gehört"; +"heard.last"="Zuletzt gehört"; "hybrid"="Hybrid"; "inputevent.none"="Keins"; "inputevent.up"="Hoch"; From 44a388f0c82be5adbd93e038f5c100ebb5f34f42 Mon Sep 17 00:00:00 2001 From: Joshua Pirihi Date: Thu, 15 Dec 2022 06:16:07 +1300 Subject: [PATCH 6/6] Add security call when importing mbtiles file --- Meshtastic/MeshtasticApp.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Meshtastic/MeshtasticApp.swift b/Meshtastic/MeshtasticApp.swift index 98958a3e..84ae1e6a 100644 --- a/Meshtastic/MeshtasticApp.swift +++ b/Meshtastic/MeshtasticApp.swift @@ -66,6 +66,12 @@ struct MeshtasticAppleApp: App { let destination = documentsDirectory.appendingPathComponent("offline_map.mbtiles", isDirectory: false) if !self.saveChannels { + + //tell the system we want the file please + guard url.startAccessingSecurityScopedResource() else { + return + } + //do we need to delete an old one? if (fileManager.fileExists(atPath: destination.path)) { print("ℹ️ Found an old map file. Deleting it")