Skip to content

Commit

Permalink
Merge branch 'osmandapp:master' into hardy_Afa
Browse files Browse the repository at this point in the history
  • Loading branch information
sonora authored Nov 21, 2024
2 parents 5f23559 + 61f5fcc commit 91a0522
Show file tree
Hide file tree
Showing 59 changed files with 502 additions and 361 deletions.
5 changes: 5 additions & 0 deletions OsmAnd-shared/jvm.build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ kotlin {
implementation "commons-logging:commons-logging:$commonLoggingVersion"
}
}
commonTest {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-test:2.0.0"
}
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion OsmAnd-telegram/res/values-uk/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
<string name="mile">миля</string>
<string name="km">км</string>
<string name="m">м</string>
<string name="nm">nmi</string>
<string name="nm">BMI</string>
<string name="min_mile">хв/м</string>
<string name="min_km">хв/км</string>
<string name="nm_h">nmi/год</string>
Expand Down
31 changes: 16 additions & 15 deletions OsmAnd/res/layout/speedometer_widget.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="@dimen/content_padding_medium"
android:clipToPadding="false"
android:clipChildren="false"
>
android:clipToPadding="false"
android:orientation="horizontal"
android:padding="@dimen/content_padding_medium">

<LinearLayout
android:id="@+id/speedometer_container"
Expand All @@ -18,24 +17,23 @@
android:elevation="2dp"
android:orientation="vertical"
android:paddingHorizontal="9dp"
android:paddingVertical="9dp"
>
android:paddingVertical="9dp">

<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/speedometer_value"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="start|top"
android:gravity="start|center_vertical"
android:layout_weight="1"
android:autoSizeMinTextSize="16sp"
android:autoSizeMaxTextSize="80sp"
android:autoSizeMinTextSize="16sp"
android:autoSizeStepGranularity="1sp"
android:autoSizeTextType="uniform"
android:ellipsize="none"
android:gravity="start|center_vertical"
android:includeFontPadding="false"
android:textColor="@color/widgettext_day"
android:textSize="36sp"
android:includeFontPadding="false"
tools:text="85" />

<net.osmand.plus.widgets.TextViewEx
Expand All @@ -49,8 +47,8 @@
android:textAllCaps="true"
android:textColor="?android:textColorSecondary"
android:textSize="11dp"
tools:text="KM/H"
tools:ignore="SpUsage" />
tools:ignore="SpUsage"
tools:text="KM/H" />

</LinearLayout>

Expand All @@ -59,20 +57,22 @@
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_gravity="center"
android:gravity="center"
android:layout_marginVertical="9dp"
android:layout_marginStart="-6dp"
android:layout_marginEnd="6dp"
android:background="@drawable/speed_limit_shape"
android:elevation="2dp"
android:gravity="center"
android:orientation="vertical"
android:paddingHorizontal="9dp"
android:paddingVertical="9dp"
android:translationX="-6dp"
android:translationZ="2dp">

<TextView
android:id="@+id/limit_description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="top|center_horizontal"
android:layout_weight="1"
android:gravity="center"
android:includeFontPadding="false"
android:text="@string/shared_string_limit"
android:textAllCaps="true"
Expand All @@ -83,6 +83,7 @@
android:id="@+id/speed_limit_value"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="2"
android:ellipsize="none"
android:gravity="center"
android:includeFontPadding="false"
Expand Down
2 changes: 1 addition & 1 deletion OsmAnd/res/layout/vehicle_metrics_recording_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
android:layout_height="0dp"
android:layout_weight="1" />

<include layout="@layout/bottom_buttons" />
<include layout="@layout/control_bottom_buttons" />

</LinearLayout>
2 changes: 1 addition & 1 deletion OsmAnd/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
<string name="app_settings">إعدادات التطبيق</string>
<string name="save_current_track">حفظ المسار الحالي</string>
<string name="shared_string_settings">إعدادات</string>
<string name="map_magnifier">حجم الخريطة</string>
<string name="map_magnifier">مُكبِّر الخريطة</string>
<string name="base_world_map">خريطة العالم العامة</string>
<string name="local_index_tile_data_expire">الانتهاء (دقائق): %1$s</string>
<string name="local_index_tile_data_downloadable">قابل للتحميل: %1$s</string>
Expand Down
1 change: 1 addition & 0 deletions OsmAnd/res/values-b+sr+Latn/phrases.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4898,4 +4898,5 @@
<string name="poi_name_etymology">Etimologija imena</string>
<string name="poi_name_left">Naziv leve strane</string>
<string name="poi_name_right">Naziv desne strane</string>
<string name="poi_climbing_boulder">Stena uspona</string>
</resources>
8 changes: 4 additions & 4 deletions OsmAnd/res/values-b+sr+Latn/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5236,7 +5236,7 @@
<string name="save_track_external_sensors_data">Podaci</string>
<string name="calculate_offline_altitude_descr">Izračunaj nadmorsku visinu, bez interneta, na temelju podataka mape terena (3D). Razlike u odnosu na nadmorsku visinu snimljenu uređajem mogu se koristiti kao korekcija visine.</string>
<string name="sorted_sufolders_toast">Podfolder u “%1$s” i razvrstan prema: “%2$s”</string>
<string name="sort_subfolders">Sortiranje podfildera</string>
<string name="sort_subfolders">Sortiranje podfoldera</string>
<string name="shared_string_activity">Aktivnost</string>
<string name="shared_string_keywords">Ključne reči</string>
<string name="shared_string_additional">Dodatni</string>
Expand Down Expand Up @@ -5462,7 +5462,7 @@
<string name="detailed_track_guidance_description">OsmAnd prilagođava tvoju rutu s obližnjim putevima za bolju, detaljniju navigaciju.</string>
<string name="quick_action_routes_summary">Prekidač za prikaz ili skrivanje %1$s na mapi.</string>
<string name="compass_click_north_is_up">Da bi promenio režim orijentacije, klikni i drži</string>
<string name="help_article_map_tracks_name">Snimljne rute</string>
<string name="help_article_map_tracks_name">Putanje</string>
<string name="help_article_map_routes_name">Rute</string>
<string name="route_roundabout_exit">Izađi na %1$d izlaz</string>
<string name="add_widget_above">Dodaj widžet iznad</string>
Expand Down Expand Up @@ -5556,7 +5556,7 @@
<string name="obd_fuel_consumption_rate_desc">Prikazuje stopu potrošnje goriva vozila na osnovu OBD lokacije</string>
<string name="obd_fuel_left_distance">Preostalo gorivo (rastojanje)</string>
<string name="obd_fuel_type">Tip goriva</string>
<string name="obd_plugin_name">Statistike vozila</string>
<string name="obd_plugin_name">Metrika vozila</string>
<string name="obd_support">OBD podrška</string>
<string name="obd_plugin_description">Pratite ključne metrike vozila koristeći OBD-II protokol. Pristup podacima uključujući: * Brzina motora * Potrošnja goriva * Preostalo gorivo * Razdaljina od pokretanja motora * Usisna temperatura * Temperatura okoline * Temperatura rashladne tečnosti * Brzina vozila * Procenat baterije</string>
<string name="obd_fuel_left_distance_desc">Pokazuje razdaljinu koju vozilo može da pređe sa preostalim gorivom preko OBD senzora</string>
Expand Down Expand Up @@ -5682,7 +5682,7 @@
<string name="obd_speed_desc">Prikazuje brzinu sa senzora brzine (VSS).</string>
<string name="obd_ambient_air_temp_desc">Pokazuje spoljnu temperaturu.</string>
<string name="obd_battery_voltage_desc">Prikazuje nivo napona akumulatora vozila</string>
<string name="preview_next_turn">Pregled sledećeg skretanja</string>
<string name="preview_next_turn">Prikaz sledećeg skretanja</string>
<string name="av_audio_sample_rate">Brzina uzorkovanja zvuka</string>
<string name="av_audio_sample_rate_descr">Izaberi brzinu uzorkovanja zvuka.</string>
<string name="connect_new_scanner">Poveži novi skener</string>
Expand Down
4 changes: 3 additions & 1 deletion OsmAnd/res/values-bg/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3912,7 +3912,7 @@
<string name="collected_data_descr">Определете каква информация да споделяте с OsmAnd.</string>
<string name="sorted_sufolders_toast">Папките в „%1$s“ са сортирани по: „%2$s“</string>
<string name="shared_string_activity">Дейност</string>
<string name="sort_subfolders">Сортиране на подпапки</string>
<string name="sort_subfolders">Сортиране на вложени папки</string>
<string name="shared_string_additional">Допълнителни</string>
<string name="settings_privacy_and_security">Поверителност и защита</string>
<string name="privacy_and_security_change_descr">Докоснете „Разрешаване“ ако сте съгласни с нашата %1$s</string>
Expand Down Expand Up @@ -4466,4 +4466,6 @@
<string name="lock_screen">Заключване на екрана</string>
<string name="screen_is_locked_by_action_button">Екранът е заключен. Докоснете бутона, за да го отключите.</string>
<string name="screen_is_unlocked">Екранът е отключен.</string>
<string name="help_article_map_tracks_name">Трасета</string>
<string name="help_article_personal_color_palette_schemes_name">Цветови теми</string>
</resources>
4 changes: 4 additions & 0 deletions OsmAnd/res/values-cs/phrases.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4895,4 +4895,8 @@
<string name="poi_activities_fitness">Fitness stezky</string>
<string name="poi_activities_inline_skates">Inline brusle</string>
<string name="poi_activities_mountain_bike">Horská cyklistika</string>
<string name="poi_name_etymology">Původ názvu</string>
<string name="poi_name_right">Název pravé strany</string>
<string name="poi_name_left">Název levé strany</string>
<string name="poi_climbing_boulder">Boulder na lezení</string>
</resources>
15 changes: 11 additions & 4 deletions OsmAnd/res/values-cs/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5516,7 +5516,7 @@
<string name="obd_fuel_type_desc">Zobrazuje typ paliva vozidla přes snímač OBD</string>
<string name="obd_engine_coolant_temp">Teplota chladicí kapaliny</string>
<string name="obd_fuel_level">Spotřeba paliva (%)</string>
<string name="obd_plugin_name">Metriky vozidel</string>
<string name="obd_plugin_name">Metriky vozidla</string>
<string name="obd_plugin_description">Sledujte klíčové parametry vozidla pomocí protokolu OBD-II. Přístup k datům zahrnuje: * Otáčky motoru * Spotřeba paliva * Zbývající palivo * Vzdálenost od nastartování motoru * Teplota sání * Teplota okolí * Teplota chladicí kapaliny * Rychlost vozidla * Procento baterie</string>
<string name="obd_support">Podpora OBD</string>
<string name="obd_ambient_air_temp">Teplota okolí</string>
Expand Down Expand Up @@ -5556,8 +5556,8 @@
<string name="obd_rpm_desc">Zobrazuje otáčky otáčkoměru vozidla přes snímač OBD</string>
<string name="ltr_or_rtl_combine_via_dash">%1$s — %2$s</string>
<string name="offline_wikivoyage">Offline Wikivoyage</string>
<string name="lock_screen_description">Povoluje nebo zakazuje funkce dotykové obrazovky, aby se zabránilo náhodnému klepnutí</string>
<string name="lock_screen">Uzamčení obrazovky</string>
<string name="lock_screen_description">Zapne nebo vypne funkce dotykové obrazovky, aby se zabránilo nechtěným klepnutím</string>
<string name="lock_screen">Zamknout obrazovku</string>
<string name="obd_vin">VIN</string>
<string name="quick_action_start_pause_recording">Tlačítko pro spuštění, pozastavení nebo obnovení záznamu stopy GPX.</string>
<string name="obd_vin_desc">VIN kód přes OBD</string>
Expand Down Expand Up @@ -5585,7 +5585,7 @@
<string name="liter_per_hour">l/h</string>
<string name="screen_is_locked_by_external_button">Dotyková obrazovka je uzamčená. Chcete-li odemknout, stiskněte tlačítko %1$s nebo klepněte na tlačítko na obrazovce.</string>
<string name="screen_is_unlocked">Dotyková obrazovka je odemčená.</string>
<string name="screen_is_locked_by_action_button">Dotyková obrazovka je uzamčená. Klepnutím na tlačítko odemkněte.</string>
<string name="screen_is_locked_by_action_button">Dotyková obrazovka je zamčená. Klepnutím ji odemknete.</string>
<string name="release_4_9">• Přidán celoobrazovkový prohlížeč galerií pro obrázky Wikimedia\n\n • Přidán nový modul „Metriky vozidla“ pro sledování výkonu vozidla pomocí protokolu OBD-II.\n\n • Přidána možnost přiřazovat činnosti ke stopám a podle toho je filtrovat\n\n • Implementovány nové rychlé akce pro záznam jízdy a uzamčení dotykové obrazovky\n\n • Zaveden přizpůsobitelný vzhled tlačítek mapy a přesná mřížka\n\n • Přidána kontextová nabídka a akce „Obnovit průměrnou rychlost“ k widgetům\n\n • Přidána nová vrstva tras „Trasy pro terénní kola“\n\n • Opravena funkce „Automatický záznam trasy během navigace“\n\n • Opraven problém s převrácenými souřadnicemi v jazyce RTL\n\n • Opravena chybějící data snímačů pro aktuálně zaznamenávanou stopu\n\n • Přidány informace o okolních oblastech pro vybraný bod\n\n • Přidána rychlá akce pro ovládání viditelnosti úprav OSM\n\n • Oddělené parametry viditelnosti pro možnosti zabarvení terénu\n\n • Přidána ikona pro zobrazení přístupu nebo jiných atributů silnice či cesty, na kterou lze klepnout</string>
<string name="route_guidance_desc">Poskytuje navádění trasy v reálném čase, včetně vzdálenosti k další odbočce, názvu silnice, názvu aktuální ulice a informací o jízdních pruzích. Widgety jsou aktivní během navigace.</string>
<string name="obd_nothing_found_description">Zkontrolujte prosím následující:\n – Ujistěte se, že je Bluetooth zapnutý\n – Motor vozidla běží\n – Ujistěte se, že je vaše zařízení v dosahu skeneru.</string>
Expand Down Expand Up @@ -5671,4 +5671,11 @@
<string name="unit_of_volume">Jednotka objemu</string>
<string name="obd_engine_coolant_temp_desc">Ukazuje teplotu chladicí kapaliny motoru</string>
<string name="obd_ambient_air_temp_desc">Zobrazuje teplotu vně vozidla.</string>
<string name="preview_next_turn">Ukázat příští odbočku</string>
<string name="av_audio_sample_rate">Vzorkovací frekvence zvuku</string>
<string name="av_audio_sample_rate_descr">Vyberte vzorkovací frekvenci zvuku.</string>
<string name="connect_new_scanner">Připojit nový skener</string>
<string name="shared_string_engine">Motor</string>
<string name="vehicle_metrics_recording_description">Vyberte parametry, které se mají zaznamenat do GPX souboru.</string>
<string name="auto_zoom_3d_angle">Úhel automatického 3D zoomu</string>
</resources>
2 changes: 1 addition & 1 deletion OsmAnd/res/values-da/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5559,7 +5559,7 @@
<string name="obd_fuel_left_distance">Brændstof tilbage (afstand)</string>
<string name="obd_fuel_type">Brændstoftype</string>
<string name="obd_plugin_description">Overvåg vigtige køretøjsmålinger ved hjælp af OBD-II-protokollen. Få adgang til data, herunder: * Motorens omdrejningshastighed * Brændstofforbrug * Resterende brændstof * Afstand siden motorstart * Indtagstemperatur * Omgivelsestemperatur * Kølevæskes temperatur * Køretøjets hastighed * Batteriprocent</string>
<string name="obd_plugin_name">Køretøjsparametre</string>
<string name="obd_plugin_name">Målinger af køretøj</string>
<string name="unknown_bt_device">Ukendt enhed</string>
<string name="obd_vin">VIN</string>
<string name="obd_vin_desc">VIN-kode via OBD</string>
Expand Down
2 changes: 1 addition & 1 deletion OsmAnd/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5744,7 +5744,7 @@
<string name="detailed_track_guidance_description">OsmAnd gleicht Ihren Track mit nahe gelegenen Straßen ab, um die Abbiegehinweise zu verbessern.</string>
<string name="quick_action_routes_summary">Ein Schalter, um %1$s auf der Karte anzuzeigen oder auszublenden.</string>
<string name="compass_click_north_is_up">Um den Ausrichtungsmodus zu ändern, klicken und halten Sie</string>
<string name="help_article_map_tracks_name">Strecken</string>
<string name="help_article_map_tracks_name">Tracks</string>
<string name="help_article_map_routes_name">Routen</string>
<string name="route_roundabout_exit">%1$d. Ausfahrt nehmen</string>
<string name="add_widget_below">Widget unten hinzufügen</string>
Expand Down
5 changes: 3 additions & 2 deletions OsmAnd/res/values-eo/phrases.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3316,8 +3316,8 @@
<string name="poi_ref_post">Poŝtkodo</string>
<string name="poi_climbing_sport_yes">Sport-grimpado: jes</string>
<string name="poi_climbing_sport_no">Sport-grimpado: ne</string>
<string name="poi_climbing_boulder_yes">Rok-grimpado: jes</string>
<string name="poi_climbing_boulder_no">Rok-grimpado: ne</string>
<string name="poi_climbing_boulder_yes">Blok-grimpado: jes</string>
<string name="poi_climbing_boulder_no">Blok-grimpado: ne</string>
<string name="poi_climbing_toprope_yes">Supreŝnurege-sekurigita: jes</string>
<string name="poi_climbing_toprope_no">Supreŝnurege-sekurigita: ne</string>
<string name="poi_climbing_trad_yes">Mem-sekurigita (tradicia): jes</string>
Expand Down Expand Up @@ -4898,4 +4898,5 @@
<string name="poi_name_etymology">Etimologio de nomo</string>
<string name="poi_name_left">Nomo (maldekstra flanko)</string>
<string name="poi_name_right">Nomo (dekstra flanko)</string>
<string name="poi_climbing_boulder">Roko por blok-grimpado</string>
</resources>
4 changes: 4 additions & 0 deletions OsmAnd/res/values-es-rAR/phrases.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4895,4 +4895,8 @@
<string name="poi_activities_fitness">Circuitos aeróbicos</string>
<string name="poi_activities_inline_skates">Patines en línea</string>
<string name="poi_activities_mountain_bike">Ciclismo de montaña</string>
<string name="poi_name_etymology">Nombre etimológico</string>
<string name="poi_name_left">Nombre del lado izquierdo</string>
<string name="poi_name_right">Nombre del lado derecho</string>
<string name="poi_climbing_boulder">Roca de escalada</string>
</resources>
Loading

0 comments on commit 91a0522

Please sign in to comment.