update bluetooth strings

pull/475/head
andrekir 2022-08-30 18:35:48 -03:00
rodzic 97cf35a4e6
commit 0d62f74a90
27 zmienionych plików z 10 dodań i 64 usunięć

Wyświetl plik

@ -1,6 +1,5 @@
package com.geeksville.mesh.ui
import android.bluetooth.BluetoothAdapter
import android.bluetooth.BluetoothDevice
import android.companion.CompanionDeviceManager
import android.content.*
@ -495,6 +494,7 @@ class SettingsFragment : ScreenFragment("Settings"), Logging {
// If the user has not turned on location access throw up a warning
private fun checkLocationEnabled(
// Default warning valid only for classic bluetooth scan
warningReason: String = getString(R.string.location_disabled_warning)
) {
val locationManager =
@ -514,11 +514,11 @@ class SettingsFragment : ScreenFragment("Settings"), Logging {
}
private fun checkBTEnabled(
warningReason: String = getString(R.string.requires_bluetooth)
warningReason: String = getString(R.string.bluetooth_disabled)
) {
if (bluetoothViewModel.enabled.value == false) {
warn("We need bluetooth")
showSnackbar(warningReason)
warn("Telling user bluetooth is disabled")
Toast.makeText(requireContext(), warningReason, Toast.LENGTH_LONG).show()
}
}
@ -563,14 +563,11 @@ class SettingsFragment : ScreenFragment("Settings"), Logging {
myActivity.registerReceiver(updateProgressReceiver, updateProgressFilter)
// Warn user if BLE is disabled
if (scanModel.selectedBluetooth && bluetoothViewModel.enabled.value == false) {
Toast.makeText(
requireContext(),
getString(R.string.error_bluetooth),
Toast.LENGTH_LONG
).show()
} else if (binding.provideLocationCheckbox.isChecked)
// Warn user if BLE device is selected but BLE disabled
if (scanModel.selectedBluetooth) checkBTEnabled()
// Warn user if provide location is selected but location disabled
if (binding.provideLocationCheckbox.isChecked)
checkLocationEnabled(getString(R.string.location_disabled))
}
}

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Vaše jméno</string>
<string name="analytics_okay">Anonymní hlášení o používání aplikace a jejích chybách.</string>
<string name="looking_for_meshtastic_devices">Hledám zařízení Meshtastic…</string>
<string name="requires_bluetooth">Tato aplikace vyžaduje přístup k Bluetooth. Prosím povolte ji přístup v nastavení telefonu.</string>
<string name="error_bluetooth">Chyba - tato aplikace potřebuje bluetooth.</string>
<string name="starting_pairing">Spouštím párování</string>
<string name="pairing_failed">Párování selhalo</string>
<string name="url_for_join">URL pro připojení do Meshtastic MESH sítě.</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Dein Name</string>
<string name="analytics_okay">Anonyme Nutzungsstatistiken und Absturzberichte.</string>
<string name="looking_for_meshtastic_devices">Suche nach Meshtastic Geräten…</string>
<string name="requires_bluetooth">Diese Anwendung erfordert Bluetooth-Zugang. Bitte gewähren Sie Zugriff in den Android-Einstellungen.</string>
<string name="error_bluetooth">Fehler - dieses Programm erfordert Bluetooth!</string>
<string name="starting_pairing">Pairing beginnen</string>
<string name="pairing_failed">Pairing fehlgeschlagen</string>
<string name="url_for_join">Ein Link zum Beitritt zu einem meshtastischen Netzwerk</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Όνομα</string>
<string name="analytics_okay">Ανώνυμα στατιστικά χρήσης και αναφορές crash.</string>
<string name="looking_for_meshtastic_devices">Αναζήτηση συσκευών Meshtastic …</string>
<string name="requires_bluetooth">Η εφαρμογή απαιτεί bluetooth πρόσβαση. Παρακαλώ παρέχεται σχετική άδεια χρήσης στις ρυθμίσεις του android.</string>
<string name="error_bluetooth">Σφάλμα - η εφαρμογή απαιτεί bluetooth</string>
<string name="starting_pairing">Αρχή pairing</string>
<string name="pairing_failed">Pairing απέτυχε</string>
<string name="url_for_join">Διεύθυνση URL για συμμετοχή σε Meshtastic mesh</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Tu nombre</string>
<string name="analytics_okay">Estadísticas de uso anónimo e informes de fallos.</string>
<string name="looking_for_meshtastic_devices">Buscando dispositivos Meshtastic…</string>
<string name="requires_bluetooth">Esta aplicación requiere acceso a bluetooth. Por favor conceda acceso en la configuración de Android.</string>
<string name="error_bluetooth">Error - esta aplicación requiere bluetooth</string>
<string name="starting_pairing">Iniciando emparejamiento</string>
<string name="pairing_failed">Emparejamiento fallido</string>
<string name="url_for_join">Una URL para unirse a una malla Meshtastic</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Nimesi</string>
<string name="analytics_okay">Nimettömät käyttötilastot ja kaatumisraportit.</string>
<string name="looking_for_meshtastic_devices">Etsii Meshtastic laiteita…</string>
<string name="requires_bluetooth">Tämä sovellus edellyttää Bluetoothin sallimista. Salli lupa Androidin asetuksista.</string>
<string name="error_bluetooth">Virhe - tämä sovellus edellyttää Bluetoothia</string>
<string name="starting_pairing">Yhdistää laitteeseen</string>
<string name="pairing_failed">Yhdistäminen epäonnistui</string>
<string name="url_for_join">Hyperlinkki liittymiseksi Meshtastic verkkoon</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Votre Nom</string>
<string name="analytics_okay">Statistiques et rapports d\'erreur anonymes.</string>
<string name="looking_for_meshtastic_devices">Recherche d\'appareils Meshtastic…</string>
<string name="requires_bluetooth">L\'application a besoin d\'accès bluetooth. Donnez l\'accès dans les Paramètres Android.</string>
<string name="error_bluetooth">Erreur de bluetooth</string>
<string name="starting_pairing">Démarre jumelage</string>
<string name="pairing_failed">Jumelage échoué</string>
<string name="url_for_join">Un URL pour rejoindre une toile Meshtastic</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">D\'ainm</string>
<string name="analytics_okay">Staitisticí úsáide gan ainm agus tuairiscí tuairteála.</string>
<string name="looking_for_meshtastic_devices">Ag lorg gléasanna Meshtastic …</string>
<string name="requires_bluetooth">Éilíonn an feidhmchlár seo rochtain bluetooth. Tabhair rochtain i suíomhanna android le do thoil.</string>
<string name="error_bluetooth">Earráid - éilíonn an aip seo bluetooth</string>
<string name="starting_pairing">Ag tosú ag péireáil</string>
<string name="pairing_failed">Theip ar phéireáil</string>
<string name="url_for_join">URL chun dul isteach i mogalra Meshtastic</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Non Ou</string>
<string name="analytics_okay">Statistik itilizasyon anonim ak rapò aksidantèl.</string>
<string name="looking_for_meshtastic_devices">Ap chache pou aparèy Meshtastic…</string>
<string name="requires_bluetooth">Aplikasyon sa a mande pou aksè Bloutouf. Tanpri bay aksè nan paramèt android.</string>
<string name="error_bluetooth">Erè - aplikasyon sa a mande pou Bloutouf</string>
<string name="starting_pairing">Kòmanse koneksyon</string>
<string name="pairing_failed">Koneksyon echwe</string>
<string name="url_for_join">Yon URL pou rantre nan yon mesh Meshtastic</string>

Wyświetl plik

@ -16,8 +16,6 @@
<string name="your_name">A neve</string>
<string name="analytics_okay">Névtelen felhasználási statisztikák és hibajelentések.</string>
<string name="looking_for_meshtastic_devices">Meshtastic eszközök keresése…</string>
<string name="requires_bluetooth">Az alkalmazásnak szüksége van Bluetooth hozzáférésre. Kérem adjon engedélyt az android beállításoknál.</string>
<string name="error_bluetooth">Hiba - az alkalmazásnak bluetooth hozzáférésre van szüksége</string>
<string name="starting_pairing">Pároztatás megkezdése</string>
<string name="pairing_failed">A pároztatás sikertelen</string>
<string name="url_for_join">Meshtastic mesh hálózat URL</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Il tuo nome</string>
<string name="analytics_okay">Le statistiche di utilizzo e i rapporti sugli arresti anomali sono anonimi</string>
<string name="looking_for_meshtastic_devices">Ricerca di dispositivi Meshtastic…</string>
<string name="requires_bluetooth">Questa applicazione richiede l\'accesso Bluetooth, si prega di dare l\'accesso nelle impostazioni android.</string>
<string name="error_bluetooth">Errore - questa applicazione richiede il bluetooth</string>
<string name="starting_pairing">Inizio abbinamento</string>
<string name="pairing_failed">Abbinamento non riusciuto</string>
<string name="url_for_join">Una URL per unirti a una rete Meshtastic</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">ユーザー名</string>
<string name="analytics_okay">匿名の診断情報と不具合報告</string>
<string name="looking_for_meshtastic_devices">Meshtasticデバイスを検索中…</string>
<string name="requires_bluetooth">このアプリはBluetooth通信が必要です。無線とネットワーク設定によりBluetoothをオンにしてください。</string>
<string name="error_bluetooth">エラー - このアプリはBluetooth通信が必要です。</string>
<string name="starting_pairing">ペアとして設定中</string>
<string name="pairing_failed">ペアに設定できませんでした</string>
<string name="url_for_join">メッシュネットワーク参加URL</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">사용자 이름</string>
<string name="analytics_okay">익명의 진단보고와 오류 보고서</string>
<string name="looking_for_meshtastic_devices">메쉬태스틱 기기 찾는 중…</string>
<string name="requires_bluetooth">본 앱은 블루투스에 대한 접근 권한이 필요합니다. 스마트폰 설정에서 권한을 부여해주세요.</string>
<string name="error_bluetooth">에러 - 본 앱은 블루투스를 필요로 합니다.</string>
<string name="starting_pairing">페어링 시작</string>
<string name="pairing_failed">페어링 실패</string>
<string name="url_for_join">메쉬태스틱 연결 URL</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Je Naam</string>
<string name="analytics_okay">Anonieme gebruikersnaam en foutrapporten.</string>
<string name="looking_for_meshtastic_devices">Zoekt Meshtastic apparaten…</string>
<string name="requires_bluetooth">Deze applicatie vereist bluetooth toegang. Geef toegang in android settings.</string>
<string name="error_bluetooth">Fout - deze app vereist bluetooth</string>
<string name="starting_pairing">Start koppeling</string>
<string name="pairing_failed">Koppeling mislukt</string>
<string name="url_for_join">Een URL om te verbinden met een Meshtastic net</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Ditt Navn</string>
<string name="analytics_okay">Anonym brukerstatistikk og kræsjrapporter.</string>
<string name="looking_for_meshtastic_devices">Ser etter Meshtastic enheter…</string>
<string name="requires_bluetooth">Denne applikasjonen krever blåtann tilgang.Vennligst gi tilgang i android instillinger.</string>
<string name="error_bluetooth">Feil - denne app krever blåtann</string>
<string name="starting_pairing">Starter paring</string>
<string name="pairing_failed">Paring feilet</string>
<string name="url_for_join">En URL for å bli med i et Meshtastic nett</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Twoja Nazwa</string>
<string name="analytics_okay">Anonimowe statystyki użycia i raporty o błędach.</string>
<string name="looking_for_meshtastic_devices">Szukanie urządzeń Meshtastic…</string>
<string name="requires_bluetooth">Ta aplikacja wymaga dostępu do Bluetooth. Proszę przyznać stosowne uprawnienia w ustawieniach systemu Android.</string>
<string name="error_bluetooth">Błąd - ta aplikacja wymaga dostępu do bluetooth</string>
<string name="starting_pairing">Rozpoczynanie parowania</string>
<string name="pairing_failed">Parowanie nieudane</string>
<string name="url_for_join">A URL for joining a Meshtastic mesh</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Seu Nome</string>
<string name="analytics_okay">Estatísticas anônimas de uso e relatórios de erros.</string>
<string name="looking_for_meshtastic_devices">Procurando por dispositivos Meshtastic…</string>
<string name="requires_bluetooth">Este aplicativo requer acesso ao bluetooth. Por favor permita o acesso nas configurações do Android.</string>
<string name="error_bluetooth">Erro - este app requer bluetooth</string>
<string name="starting_pairing">Iniciando pareamento</string>
<string name="pairing_failed">Pareamento falhou</string>
<string name="url_for_join">Link para fazer parte de um canal Meshtastic</string>

Wyświetl plik

@ -16,8 +16,6 @@
<string name="your_name">O seu Nome</string>
<string name="analytics_okay">Estatísticas de uso anônimas e relatórios de falhas.</string>
<string name="looking_for_meshtastic_devices">A procurar dispositivos Meshtastic…</string>
<string name="requires_bluetooth">Esta aplicação requer acesso ao Bluetooth. Por favor conceda acesso nas opções do android.</string>
<string name="error_bluetooth">Erro - esta app requer de bluetooth</string>
<string name="starting_pairing">A iniciar o emparelhamento.</string>
<string name="pairing_failed">Emparelhamento falhou</string>
<string name="url_for_join">Um link para se juntar a mesh Meshtastic</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Numele tău</string>
<string name="analytics_okay">Trimite în mod anonim statistici de utilizare și reporturi de crash.</string>
<string name="looking_for_meshtastic_devices">Caut dispozitive Meshtastic…</string>
<string name="requires_bluetooth">Această aplicație necesită access la bluetooth. Te rog acordă accesul în setările telefonului.</string>
<string name="error_bluetooth">Eroare - această aplicație necesită bluetooth</string>
<string name="starting_pairing">Încep să mă conectez</string>
<string name="pairing_failed">Conectare eșuată</string>
<string name="url_for_join">Un URL pentru a intră în rețeaua Meshtastic</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Ваше имя</string>
<string name="analytics_okay">Анонимная статистика использования и отчеты о сбоях.</string>
<string name="looking_for_meshtastic_devices">Поиск устройств Meshtastic…</string>
<string name="requires_bluetooth">Это приложение требует доступа к Bluetooth. Пожалуйста, предоставьте доступ в настройках Android.</string>
<string name="error_bluetooth">Ошибка - для работы приложения требуется bluetooth</string>
<string name="starting_pairing">Сопряжение</string>
<string name="pairing_failed">Ошибка сопряжения</string>
<string name="url_for_join">URL для присоединения к сети Meshtastic</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Vaše meno</string>
<string name="analytics_okay">Anonymné hlásenia o používaní aplikácie a jej chybách.</string>
<string name="looking_for_meshtastic_devices">Vyhľadávam Meshtastic zariadenia…</string>
<string name="requires_bluetooth">Táto aplikácia vyžaduje prístup k Bluetooth. Prosím povoľte jej prístup v nastaveniach telefónu.</string>
<string name="error_bluetooth">Chyba - táto aplikácia potrebuje bluetooth.</string>
<string name="starting_pairing">Spúšťam párovanie</string>
<string name="pairing_failed">Párovanie zlyhalo</string>
<string name="url_for_join">URL pre pripojenie sa do Meshtastic MESH siete</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Tvoje ime</string>
<string name="analytics_okay">Anonimna statistika uporabe in poročila o zrušitvah.</string>
<string name="looking_for_meshtastic_devices">Iščem Meshtastic naprave…</string>
<string name="requires_bluetooth">Ta aplikacija zahteva dostop do bluetooth. Dovolite dostop v nastavitvah za Android.</string>
<string name="error_bluetooth">Napaka - aplikacija potrebuje Bluetooth povezavo</string>
<string name="starting_pairing">Začetek seznanjanja naprav</string>
<string name="pairing_failed">Napaka seznanjanja naprav</string>
<string name="url_for_join">URL za pridružitev Meshtastic mreže</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Emri juaj</string>
<string name="analytics_okay">Statistikat e përdorimit dhe raportet e keq funksionimit mblidhen në mënyre krejtësisht anonime</string>
<string name="looking_for_meshtastic_devices">Në kërkim për paisje Meshtastic…</string>
<string name="requires_bluetooth">Ky aplikacion kërkon leje për ndezjen e Bluetooth, ju lutem jepni të drejten e aksesit tek menuja e konfigurimit të android.</string>
<string name="error_bluetooth">Errore - Ky aplikacion kërkon paisjen Bluetooth</string>
<string name="starting_pairing">Duke filluar lidhjen</string>
<string name="pairing_failed">Lidhja nuk përfundoi me sukses</string>
<string name="url_for_join">Një adresë URL për tu lidhur me rrjetin Meshtastic</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Ditt Namn</string>
<string name="analytics_okay">Anonym användningsstatistik och kraschrapporter.</string>
<string name="looking_for_meshtastic_devices">Letar efter Meshtastic-enheter…</string>
<string name="requires_bluetooth">Denna applikation kräver Bluetooth-åtkomst. Vänligen ge åtkomst i Android-inställningar.</string>
<string name="error_bluetooth">Fel - den här appen kräver Bluetooth</string>
<string name="starting_pairing">Börjar para ihop</string>
<string name="pairing_failed">Parning misslyckades</string>
<string name="url_for_join">En länk för att gå med i ett Meshtastic-nät</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">Adınız</string>
<string name="analytics_okay">Anonim kullanim istatistikleri ve hata raporları.</string>
<string name="looking_for_meshtastic_devices">Meshtastic cihazları aranıyor…</string>
<string name="requires_bluetooth">Bu cihaz bluetooth erişimi gerektiriyor. Lütfen Android ayarlarından izin veriniz.</string>
<string name="error_bluetooth">Hata - bu uygulama bluetooth gerektiriyor</string>
<string name="starting_pairing">Eşleşme başlatılıyor</string>
<string name="pairing_failed">Eşleşme başarız</string>
<string name="url_for_join">Meshtastic mesh ağına bağlanmak için adres</string>

Wyświetl plik

@ -17,8 +17,6 @@
<string name="your_name">用户名</string>
<string name="analytics_okay">匿名使用情况统计信息和崩溃报告.</string>
<string name="looking_for_meshtastic_devices">Mesh设备扫描中...</string>
<string name="requires_bluetooth">此应用程序需要蓝牙权限.请在Android设置中授予权限.</string>
<string name="error_bluetooth">错误:此应用需要蓝牙</string>
<string name="starting_pairing">开始配对</string>
<string name="pairing_failed">配对失败</string>
<string name="url_for_join">用于连接Mesh网络的URL</string>

Wyświetl plik

@ -21,8 +21,6 @@
<string name="looking_for_meshtastic_devices">Looking for Meshtastic devices…</string>
<string name="test__devname1" translatable="false">Meshtastic_ac23</string>
<string name="test_devname2" translatable="false">Meshtastic_1267</string>
<string name="requires_bluetooth">This application requires bluetooth access. Please grant access in android settings.</string>
<string name="error_bluetooth">Error - this app requires bluetooth</string>
<string name="starting_pairing">Starting pairing</string>
<string name="pairing_failed">Pairing failed</string>
<string name="url_for_join">A URL for joining a Meshtastic mesh</string>
@ -156,4 +154,5 @@
<string name="factory_reset">Factory reset</string>
<string name="are_you_sure_factory_reset">Are you sure you want to factory reset?</string>
<string name="factory_reset_description">This will clear all device configuration you have done.</string>
<string name="bluetooth_disabled">Bluetooth disabled.</string>
</resources>