From 3f2aefdd932c3fdfc87c5dfb4eb99871b66b692b Mon Sep 17 00:00:00 2001 From: Dennis Guse Date: Tue, 19 Nov 2024 18:22:20 +0100 Subject: [PATCH] Removal of the "show on map"-feature using KML/GPX. Dashboard API is nicer and easier. Fixes #2012. --- .../opentracks/settings/PreferencesUtils.java | 9 -- .../UserInterfaceSettingsFragment.java | 17 ---- .../opentracks/util/IntentDashboardUtils.java | 87 +------------------ src/main/res/values-co/strings.xml | 2 - src/main/res/values-cs/strings.xml | 2 - src/main/res/values-de/strings.xml | 2 - src/main/res/values-es/strings.xml | 2 - src/main/res/values-fi/strings.xml | 2 - src/main/res/values-fr/strings.xml | 2 - src/main/res/values-ga/strings.xml | 2 - src/main/res/values-gl/strings.xml | 2 - src/main/res/values-hr/strings.xml | 2 - src/main/res/values-hu/strings.xml | 2 - src/main/res/values-kn/strings.xml | 2 - src/main/res/values-nb/strings.xml | 2 - src/main/res/values-nl/strings.xml | 2 - src/main/res/values-pt-rBR/strings.xml | 2 - src/main/res/values-pt-rPT/strings.xml | 2 - src/main/res/values-pt/strings.xml | 2 - src/main/res/values-ru/strings.xml | 2 - src/main/res/values-sl/strings.xml | 1 - src/main/res/values-tr/strings.xml | 2 - src/main/res/values-uk/strings.xml | 2 - src/main/res/values-vi/strings.xml | 2 - src/main/res/values-zh-rTW/strings.xml | 2 - src/main/res/values-zh/strings.xml | 2 - src/main/res/values/settings.xml | 2 - src/main/res/values/strings.xml | 2 - src/main/res/xml/settings_user_interface.xml | 6 -- 29 files changed, 1 insertion(+), 167 deletions(-) diff --git a/src/main/java/de/dennisguse/opentracks/settings/PreferencesUtils.java b/src/main/java/de/dennisguse/opentracks/settings/PreferencesUtils.java index f999e9d31b..7cab605c6a 100644 --- a/src/main/java/de/dennisguse/opentracks/settings/PreferencesUtils.java +++ b/src/main/java/de/dennisguse/opentracks/settings/PreferencesUtils.java @@ -52,7 +52,6 @@ import de.dennisguse.opentracks.ui.customRecordingLayout.CsvLayoutUtils; import de.dennisguse.opentracks.ui.customRecordingLayout.RecordingLayout; import de.dennisguse.opentracks.ui.customRecordingLayout.RecordingLayoutIO; -import de.dennisguse.opentracks.util.IntentDashboardUtils; /** * Utilities to access preferences stored in {@link SharedPreferences}. @@ -860,14 +859,6 @@ public static void clear() { sharedPreferences.edit().clear().commit(); } - public static void setShowOnMapFormat(final String showOnMapFormat) { - setString(R.string.show_on_map_format_key, showOnMapFormat); - } - - public static String getShowOnMapFormat() { - return getString(R.string.show_on_map_format_key, IntentDashboardUtils.PREFERENCE_ID_ASK); - } - public static int getTotalRowsDeleted() { return getInt(R.string.total_rows_deleted_key, 0); } diff --git a/src/main/java/de/dennisguse/opentracks/settings/UserInterfaceSettingsFragment.java b/src/main/java/de/dennisguse/opentracks/settings/UserInterfaceSettingsFragment.java index b2b8aed53c..3c83168015 100644 --- a/src/main/java/de/dennisguse/opentracks/settings/UserInterfaceSettingsFragment.java +++ b/src/main/java/de/dennisguse/opentracks/settings/UserInterfaceSettingsFragment.java @@ -7,15 +7,10 @@ import android.widget.Toast; import androidx.fragment.app.DialogFragment; -import androidx.preference.ListPreference; import androidx.preference.Preference; import androidx.preference.PreferenceFragmentCompat; -import java.util.Map; - import de.dennisguse.opentracks.R; -import de.dennisguse.opentracks.io.file.TrackFileFormat; -import de.dennisguse.opentracks.util.IntentDashboardUtils; public class UserInterfaceSettingsFragment extends PreferenceFragmentCompat { @@ -41,8 +36,6 @@ public void onCreatePreferences(Bundle savedInstanceState, String rootKey) { Preference dynamicColors = findPreference(getString(R.string.settings_ui_dynamic_colors_key)); dynamicColors.setEnabled(Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU); - - setShowOnMapFormatOptions(); } @Override @@ -79,14 +72,4 @@ public void onDisplayPreferenceDialog(Preference preference) { super.onDisplayPreferenceDialog(preference); } - - private void setShowOnMapFormatOptions() { - Map options = TrackFileFormat.toPreferenceIdLabelMap(getResources(), IntentDashboardUtils.SHOW_ON_MAP_TRACK_FILE_FORMATS); - options.put(IntentDashboardUtils.PREFERENCE_ID_DASHBOARD, getString(R.string.show_on_dashboard)); - options.put(IntentDashboardUtils.PREFERENCE_ID_ASK, getString(R.string.show_on_map_format_ask)); - ListPreference listPreference = findPreference(getString(R.string.show_on_map_format_key)); - listPreference.setEntries(options.values().toArray(new String[0])); - listPreference.setEntryValues(options.keySet().toArray(new String[0])); - } - } diff --git a/src/main/java/de/dennisguse/opentracks/util/IntentDashboardUtils.java b/src/main/java/de/dennisguse/opentracks/util/IntentDashboardUtils.java index f5dfdbc9b6..517d7758c4 100644 --- a/src/main/java/de/dennisguse/opentracks/util/IntentDashboardUtils.java +++ b/src/main/java/de/dennisguse/opentracks/util/IntentDashboardUtils.java @@ -6,25 +6,18 @@ import android.content.Intent; import android.net.Uri; import android.util.Log; -import android.util.Pair; import android.widget.Toast; import androidx.annotation.Nullable; -import androidx.appcompat.app.AlertDialog; import java.util.ArrayList; -import java.util.Map; -import java.util.Set; -import java.util.concurrent.atomic.AtomicInteger; import de.dennisguse.opentracks.R; import de.dennisguse.opentracks.data.ContentProviderUtils; -import de.dennisguse.opentracks.data.ShareContentProvider; import de.dennisguse.opentracks.data.models.Track; import de.dennisguse.opentracks.data.tables.MarkerColumns; import de.dennisguse.opentracks.data.tables.TrackPointsColumns; import de.dennisguse.opentracks.data.tables.TracksColumns; -import de.dennisguse.opentracks.io.file.TrackFileFormat; import de.dennisguse.opentracks.settings.PreferencesUtils; /** @@ -39,14 +32,6 @@ public class IntentDashboardUtils { private static final String ACTION_DASHBOARD_PAYLOAD = ACTION_DASHBOARD + ".Payload"; - public static final TrackFileFormat[] SHOW_ON_MAP_TRACK_FILE_FORMATS = new TrackFileFormat[] { - TrackFileFormat.KMZ_WITH_TRACKDETAIL_AND_SENSORDATA_AND_PICTURES, - TrackFileFormat.KML_WITH_TRACKDETAIL_AND_SENSORDATA, - TrackFileFormat.GPX}; - - public static final String PREFERENCE_ID_DASHBOARD = ACTION_DASHBOARD; - public static final String PREFERENCE_ID_ASK = "ASK"; - /** * Assume "v1" if not present. */ @@ -73,59 +58,13 @@ private IntentDashboardUtils() { /** * Send intent to show tracks on a map (needs an another app) as resource URIs. - * Shows an AlertDialog with different format option if none is defined as preference. * * @param context the context * @param isRecording are we currently recording? * @param trackIds the track ids */ public static void showTrackOnMap(Context context, boolean isRecording, Track.Id... trackIds) { - Map options = TrackFileFormat.toPreferenceIdLabelMap(context.getResources(), IntentDashboardUtils.SHOW_ON_MAP_TRACK_FILE_FORMATS); - options.put(IntentDashboardUtils.PREFERENCE_ID_DASHBOARD, context.getString(R.string.show_on_dashboard)); - final String[] optionLabels = options.values().toArray(new String[0]); - final String[] optionValues = options.keySet().toArray(new String[0]); - final AtomicInteger checkedItem = new AtomicInteger(NONE_SELECTED); - String preferenceValue = PreferencesUtils.getShowOnMapFormat(); - for (int i = 0; i < optionValues.length; i++) { - if (optionValues[i].equals(preferenceValue)) { - checkedItem.set(i); - } - } - if (checkedItem.get() == NONE_SELECTED) { - checkedItem.set(0); // set first option as default - AlertDialog.Builder builder = new AlertDialog.Builder(context); - builder.setTitle(R.string.select_show_on_map_behavior); - builder.setSingleChoiceItems(optionLabels, checkedItem.get(), (dialog, which) -> checkedItem.set(which)); - builder.setPositiveButton(android.R.string.ok, (dialog, which) -> onFormatSelected(context, isRecording, optionValues[checkedItem.get()], trackIds, false)); - builder.setNeutralButton(R.string.always, ((dialog, which) -> onFormatSelected(context, isRecording, optionValues[checkedItem.get()], trackIds, true))); - builder.setNegativeButton(android.R.string.cancel, null); - - AlertDialog dialog = builder.create(); - dialog.show(); - } else { - onFormatSelected(context, isRecording, preferenceValue, trackIds, true); - } - } - - /** - * A format was selected, remember if always is true and start the necessary action - * - * @param context the context - * @param isRecording are we currently recording? - * @param selectedValue the chosen format - * @param trackIds the track ids - * @param always set the selectedValue as default preference - */ - private static void onFormatSelected(final Context context, final boolean isRecording, final String selectedValue, final Track.Id[] trackIds, final boolean always) { - if (always) { - PreferencesUtils.setShowOnMapFormat(selectedValue); - } - TrackFileFormat trackFileFormat = TrackFileFormat.valueOfPreferenceId(selectedValue); - if (trackFileFormat != null) { - showTrackOnMapWithFileFormat(context, trackFileFormat, Set.of(trackIds)); - } else { - startDashboard(context, isRecording, null, null, trackIds); - } + startDashboard(context, isRecording, null, null, trackIds); } /** @@ -183,28 +122,4 @@ public static void startDashboard(Context context, boolean isRecording, @Nullabl Toast.makeText(context, R.string.show_on_dashboard_not_installed, Toast.LENGTH_SHORT).show(); } } - - /** - * Send intent to show tracks on a map (needs an another app) to support specific trackFileFormat. - * - * @param context the context - * @param trackFileFormat the track file format - * @param trackIds the track ids - */ - private static void showTrackOnMapWithFileFormat(Context context, TrackFileFormat trackFileFormat, Set trackIds) { - if (trackIds.isEmpty()) { - return; - } - - Intent intent = new Intent(android.content.Intent.ACTION_VIEW); - intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); - - Pair uriAndMime = ShareContentProvider.createURI(trackIds, "SharingTrack", trackFileFormat); - intent.setDataAndType(uriAndMime.first, uriAndMime.second); - - intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); - - context.startActivity(Intent.createChooser(intent, context.getString(R.string.open_track_as_trackfileformat, trackFileFormat.getExtension()))); - } - } diff --git a/src/main/res/values-co/strings.xml b/src/main/res/values-co/strings.xml index cc06a3f85a..e0938a84a2 100644 --- a/src/main/res/values-co/strings.xml +++ b/src/main/res/values-co/strings.xml @@ -417,8 +417,6 @@ Nisuna appiecazione cumpatibile per l’apparechju-fotò ùn hè installata %1$s s‘hè lampatu Signalà un prublema - Selezziunà u cumpurtamentu « Affissà nant’à a carta » - Dumandà API di tavula di cundutta d’OpenTracks Nisuna appiecazione accettendu l’API di tavula di cundutta d’OpenTracks ùn hè installata. Putenza diff --git a/src/main/res/values-cs/strings.xml b/src/main/res/values-cs/strings.xml index d995a127d1..7ba794178b 100644 --- a/src/main/res/values-cs/strings.xml +++ b/src/main/res/values-cs/strings.xml @@ -543,12 +543,10 @@ limitations under the License. %1$.1f uzlů %1$d stop Vyřadit - Zeptat se Námořní (NM, ft) Nahlásit chybu Srdeční tep kola OpenTracks sám o sobě mapu neposkytuje. Pro zobrazení záznamů na mapě si nainstalujte OSMDashboard. - Zvolte chování \"zobrazit na mapě\" Vždy Ne Rychlost (uzly) diff --git a/src/main/res/values-de/strings.xml b/src/main/res/values-de/strings.xml index b618dcce7d..9ec8dddfa9 100644 --- a/src/main/res/values-de/strings.xml +++ b/src/main/res/values-de/strings.xml @@ -570,7 +570,6 @@ Meldet das GPS-Gerät ungenaue Daten (z.B. Standort, Geschwindigkeit, Höhe), ka %1$s ist abgestürzt Absturzbericht teilen Immer - Wähle \"Zeige auf Karte\"-Verhalten Alles über das OpenTracks-Projekt Alle Layout-Einstellungen werden auf die Standardwerte zurückgesetzt. Aufzeichnungen werden nicht vom Gerät gelöscht. Fehler melden @@ -587,7 +586,6 @@ Meldet das GPS-Gerät ungenaue Daten (z.B. Standort, Geschwindigkeit, Höhe), ka Keine kompatible Bildergalerie Anwendung installiert Es ist keine Anwendung installiert, die die OpenTracks Dashboard API unterstützt. %1$s, %2$s - Nachfragen Nautisches Maß (NM, ft) min/NM Verwende den Lautsprecher des Gerätes diff --git a/src/main/res/values-es/strings.xml b/src/main/res/values-es/strings.xml index f4569ee7ce..adc29b561f 100644 --- a/src/main/res/values-es/strings.xml +++ b/src/main/res/values-es/strings.xml @@ -601,7 +601,6 @@ limitations under the License. por milla náutica %1$s falló Reportar error - Preguntar Panel de control del API de OpenTracks No se ha instalado ninguna aplicación compatible con el panel de control del API de OpenTracks. Siempre @@ -622,7 +621,6 @@ limitations under the License. other {{n,number,#.0} millas náuticas} } - Seleccionar el comportamiento de \"mostrar en el mapa\" OpenTracks en sí no proporciona un mapa. Por favor, instale OSMDashboard para ver sus grabaciones en un mapa. Compartir informe de fallo Imperial (millas, metros) diff --git a/src/main/res/values-fi/strings.xml b/src/main/res/values-fi/strings.xml index ef95979b9a..b3c823e568 100644 --- a/src/main/res/values-fi/strings.xml +++ b/src/main/res/values-fi/strings.xml @@ -521,7 +521,6 @@ limitations under the License. Kierrosnopeus Kokonaismatka Aina - Kysyä %1$s kaatui Jaa kaatumisraportti Ilmoita virheestä @@ -529,7 +528,6 @@ limitations under the License. OpenTracks tallentaa ilman GPS-tietoja. Oletusyksiköt ja toiminta Suositeltavat yksiköt, Oletusaktiviteetti, Seurannan oletusnimi - Valitse\" Näytä kartalla\"käyttäytyminen Pyöräilyanturit, Pyörän ympärysmitta, Juoksuanturit Ääni-ilmoitukset Aika, etäisyys, äänennopeus diff --git a/src/main/res/values-fr/strings.xml b/src/main/res/values-fr/strings.xml index 642b4d1b2b..b92f5767e3 100644 --- a/src/main/res/values-fr/strings.xml +++ b/src/main/res/values-fr/strings.xml @@ -581,7 +581,6 @@ Si le dispositif GPS signale des données inexactes (par exemple, la localisatio par mile Rythme Vitesse par tour - Demander Tableau de bord de l\'API OpenTracks Toujours Partager le rapport de crash @@ -589,7 +588,6 @@ Si le dispositif GPS signale des données inexactes (par exemple, la localisatio %1$s a crashé OpenTracks enregistre actuellement sans les données GPS. Format du nom de fichier - Sélectionner le comportement \"Montrer sur la carte\" Transfert automatique des données Une application qui a commencé un enregistrement peut aussi accéder aux données enregistrées. Allure/vitesse moyenne diff --git a/src/main/res/values-ga/strings.xml b/src/main/res/values-ga/strings.xml index 9727a78bc3..96a699b911 100644 --- a/src/main/res/values-ga/strings.xml +++ b/src/main/res/values-ga/strings.xml @@ -292,8 +292,6 @@ Coinnigh chun stop a chur Ba mhaith liom íomhá a roinnt leat API Painéal OpenTracks - Iarr - Roghnaigh iompar \"taispeáin ar léarscáil\" Tuairiscigh fabht Comhroinn tuairisc tuairteála Níl aon bhainisteoir comhad comhoiriúnach suiteáilte diff --git a/src/main/res/values-gl/strings.xml b/src/main/res/values-gl/strings.xml index d5f3dd66cc..f7fa2e86fb 100644 --- a/src/main/res/values-gl/strings.xml +++ b/src/main/res/values-gl/strings.xml @@ -553,8 +553,6 @@ Se o GPS informa sobre datos pouco precisos (ex.: localización, velocidade, ele %1$.1f nós (recomendado) por milla náutica Non hai ningunha aplicación instalada con soporte para a API de OpenTracks. - Elixe \"ver no mapa\" - Preguntar Sempre %1$s fallou Informar do problema diff --git a/src/main/res/values-hr/strings.xml b/src/main/res/values-hr/strings.xml index 070ff0cd11..67af572843 100644 --- a/src/main/res/values-hr/strings.xml +++ b/src/main/res/values-hr/strings.xml @@ -408,7 +408,6 @@ limitations under the License. Druge instalirane aplikacije mogu pokrenuti ili prekinuti snimanja. Kako mogu izvesti/dijeliti snimljene rute\? Koristi zvučnik uređaja - Pitaj Danas Prekinuto, nije dodana nijedna oznaka za slike %1$.1f km/h @@ -561,7 +560,6 @@ limitations under the License. " (zabranjeno pisanje!)" Datoteke su prepisane Snimljeni podaci se neće automatski dijeliti s drugim aplikacijama. - Odaberi „Prikaži na karti” Datoteke su preskočene skuter \u0020Što možeš učiniti: diff --git a/src/main/res/values-hu/strings.xml b/src/main/res/values-hu/strings.xml index 7c04d9743c..d0c3d8886f 100644 --- a/src/main/res/values-hu/strings.xml +++ b/src/main/res/values-hu/strings.xml @@ -513,7 +513,6 @@ limitations under the License. {n,number} perc {n,number,#.0} csomó mérföldenként - Rákérdezés OpenTracks Dashboard API Nincs OpenTracks Dashboard API-t támogató alkalmazás telepítve. %1$.1f mérföld/óra @@ -556,7 +555,6 @@ limitations under the License. Nincs kompatibilis kamera alkalmazás telepítve Hibajelentés megosztása Hibajelentés - A „megjelenítés a térképen” viselkedés választása Eldobás Importálás és exportálás Visszavonás diff --git a/src/main/res/values-kn/strings.xml b/src/main/res/values-kn/strings.xml index 251790cee0..d48d61427f 100644 --- a/src/main/res/values-kn/strings.xml +++ b/src/main/res/values-kn/strings.xml @@ -501,8 +501,6 @@ %1$s ಕ್ರ್ಯಾಶ್ ಆಗಿದೆ ಕ್ರ್ಯಾಶ್ ವರದಿಯನ್ನು ಹಂಚಿಕೊಳ್ಳಿ ದೋಷವನ್ನು ವರದಿ ಮಾಡಿ - \"ನಕ್ಷೆಯಲ್ಲಿ ತೋರಿಸು\" ನಡವಳಿಕೆಯನ್ನು ಆಯ್ಕೆಮಾಡಿ - ಕೇಳು OpenTracks ಡ್ಯಾಶ್‌ಬೋರ್ಡ್ API OpenTracks ಡ್ಯಾಶ್‌ಬೋರ್ಡ್ API ಅನ್ನು ಬೆಂಬಲಿಸುವ ಯಾವುದೇ ಅಪ್ಲಿಕೇಶನ್ ಸ್ಥಾಪಿಸಲಾಗಿಲ್ಲ. ಯಾವಾಗಲೂ diff --git a/src/main/res/values-nb/strings.xml b/src/main/res/values-nb/strings.xml index 1ea8fc6e8a..6359045d5d 100644 --- a/src/main/res/values-nb/strings.xml +++ b/src/main/res/values-nb/strings.xml @@ -530,8 +530,6 @@ limitations under the License. %1$s krasjet Del krasjrapport Rapporter feil - Velg virkemåte for «Vis på kart» - Spør OpenTracks-API for oversikten Alltid Gjennomsnittlig puls diff --git a/src/main/res/values-nl/strings.xml b/src/main/res/values-nl/strings.xml index ae89b3753b..81f3d1f0cb 100644 --- a/src/main/res/values-nl/strings.xml +++ b/src/main/res/values-nl/strings.xml @@ -544,8 +544,6 @@ Als het GPS-apparaat onnauwkeurige gegevens rapporteert (bijv. locatie, snelheid Snelheid/tred per ronde OpenTracks Dashboard API Altijd - Vragen - Selecteer \"toon op kaart\"-gedrag Er is geen app geïnstalleerd die OpenTracks Dashboard API ondersteunt. Nee OpenTracks zelf biedt geen kaart. Installeer OSMDashboard om uw opnames op een kaart te bekijken. diff --git a/src/main/res/values-pt-rBR/strings.xml b/src/main/res/values-pt-rBR/strings.xml index 6e112cf0c7..3b49814e90 100644 --- a/src/main/res/values-pt-rBR/strings.xml +++ b/src/main/res/values-pt-rBR/strings.xml @@ -503,8 +503,6 @@ NM %1$s falharam Compartilhar relatório de falha - Selecionar comportamento de \"mostrar no mapa\" - Perguntas Painel API do OpenTracks Sempre Velocidade (nós) diff --git a/src/main/res/values-pt-rPT/strings.xml b/src/main/res/values-pt-rPT/strings.xml index 9b48d44652..46014907e2 100644 --- a/src/main/res/values-pt-rPT/strings.xml +++ b/src/main/res/values-pt-rPT/strings.xml @@ -503,8 +503,6 @@ %1$s falharam Compartilhar relatório de falha Relatório de problema - Selecionar comportamento de \"mostrar no mapa\" - Perguntas Painel API do OpenTracks Sempre Nenhuma aplicação compatível com o painel API do OpenTracks instalado. diff --git a/src/main/res/values-pt/strings.xml b/src/main/res/values-pt/strings.xml index 58b288c4cb..6cfa3e5725 100644 --- a/src/main/res/values-pt/strings.xml +++ b/src/main/res/values-pt/strings.xml @@ -528,8 +528,6 @@ limitations under the License. Acho que pode estar interessado nesta imagem. Segure para parar Relatório de problema - Selecionar comportamento de \"mostrar no mapa\" - Perguntas Painel API do OpenTracks Redefinir configurações para valores padrão Exportar/compartilhar formato de ficheiro diff --git a/src/main/res/values-ru/strings.xml b/src/main/res/values-ru/strings.xml index 1cdbf815c0..78ef6bcd9a 100644 --- a/src/main/res/values-ru/strings.xml +++ b/src/main/res/values-ru/strings.xml @@ -545,8 +545,6 @@ limitations under the License. %1$.1f узла (рекомендуется) Средний пульс Морская система (морские мили, футы) - Выберите действие для \"Показать на карте\" - Спрашивать Всегда за морскую милю Средняя скорость/темп diff --git a/src/main/res/values-sl/strings.xml b/src/main/res/values-sl/strings.xml index a183548da8..eb1c32dbe1 100644 --- a/src/main/res/values-sl/strings.xml +++ b/src/main/res/values-sl/strings.xml @@ -451,7 +451,6 @@ limitations under the License. Uvoz Rad bi z vami delil sliko Vedno - Izberite vedenje \"Prikaži na zemljevidu\" %1$s se je zrušilo Skupna raba poročila o nesreči Ime različice: %1$s diff --git a/src/main/res/values-tr/strings.xml b/src/main/res/values-tr/strings.xml index 16114adc94..2d9f694416 100644 --- a/src/main/res/values-tr/strings.xml +++ b/src/main/res/values-tr/strings.xml @@ -524,13 +524,11 @@ limitations under the License. Parçayı yeniden içe aktarmayı engellemeye ayarladınız Gündüz Satır başına veri alanları - Sor OpenTracks Gösterge Paneli API Daima Çökme raporunu paylaşın Hata bildir %1$s çöktü - \"Haritada göster\" eylemini seçin Ortalama kalp atış hızı Tempo (dk/NM) Hız (düğüm) diff --git a/src/main/res/values-uk/strings.xml b/src/main/res/values-uk/strings.xml index 05605a69c8..383907aa62 100644 --- a/src/main/res/values-uk/strings.xml +++ b/src/main/res/values-uk/strings.xml @@ -557,8 +557,6 @@ limitations under the License. Не встановлено сумісну програму камери Не встановлено сумісну програму галереї зображень Повідомити про помилку - Виберіть поведінку \"показати на карті\" - Запитувати за морську милю Завжди %1$d вузлів diff --git a/src/main/res/values-vi/strings.xml b/src/main/res/values-vi/strings.xml index 45cfeba6e3..6996aa7f63 100644 --- a/src/main/res/values-vi/strings.xml +++ b/src/main/res/values-vi/strings.xml @@ -535,7 +535,6 @@ limitations under the License. Tốc độ trung bình/nhịp độ Hải lý (dặm hải lý, ft) Tên gói cho API công khai - Chọn hành vi \"hiện trên bản đồ\" Tốc độ vòng/nhịp độ Đang bỏ đoạn đường trên dặm hải lý @@ -549,7 +548,6 @@ limitations under the License. %1$s đã dừng đột ngột Chia sẻ báo cáo dừng đột ngột Báo cáo lỗi - Hỏi API Bảng điều khiển OpenTracks Luôn luôn %1$d tuyến đường diff --git a/src/main/res/values-zh-rTW/strings.xml b/src/main/res/values-zh-rTW/strings.xml index 1233552d94..38525e7208 100644 --- a/src/main/res/values-zh-rTW/strings.xml +++ b/src/main/res/values-zh-rTW/strings.xml @@ -566,8 +566,6 @@ limitations under the License. %1$s 已崩潰 分享 回報 bug - 選擇「在地圖上顯示」行為 - 詢問 OpenTracks 儀表板 API 沒有安裝支援 OpenTracks 儀表板 API 的應用程式。 總是 diff --git a/src/main/res/values-zh/strings.xml b/src/main/res/values-zh/strings.xml index 1c126a281d..19043d8b40 100644 --- a/src/main/res/values-zh/strings.xml +++ b/src/main/res/values-zh/strings.xml @@ -408,7 +408,6 @@ limitations under the License. OpenTracks 需要使用蓝牙的权限。 选择一项 时间间隔,距离间隔,最大距离,精度 - 选择“在地图上显示”按钮的行为 您需要在系统设置中手动授予 OpenTracks 访问附近设备的权限。 自定义记录中布局 单圈心率 @@ -597,7 +596,6 @@ limitations under the License. %1$s 已崩溃 分享崩溃报告 报告 BUG - 询问 OpenTracks 仪表盘 API 总是 速度:%1$s diff --git a/src/main/res/values/settings.xml b/src/main/res/values/settings.xml index 58f4b63413..664ceac2f3 100644 --- a/src/main/res/values/settings.xml +++ b/src/main/res/values/settings.xml @@ -47,8 +47,6 @@ maxHeartRate 220 - showOnMapFormatKey - totalRowsDeletedKey settingsDefaultExportDirectory diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 9ed8d5a895..75ebcee2dc 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -675,8 +675,6 @@ limitations under the License. %1$s crashed Share crash report Report bug - Select \"show on map\" behavior - Ask OpenTracks Dashboard API No application supporting OpenTracks Dashboard API installed. Always diff --git a/src/main/res/xml/settings_user_interface.xml b/src/main/res/xml/settings_user_interface.xml index 8c34c1c11f..78d6abeaaf 100644 --- a/src/main/res/xml/settings_user_interface.xml +++ b/src/main/res/xml/settings_user_interface.xml @@ -18,12 +18,6 @@ android:summary="@string/settings_ui_dynamic_colors_summary" android:title="@string/settings_ui_dynamic_colors_title" /> - -