Merge branch 'master' into WikipediaDashboard

This commit is contained in:
vshcherb 2020-04-08 14:59:47 +02:00 committed by GitHub
commit d2b1f577c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
280 changed files with 5482 additions and 2815 deletions

View file

@ -42,7 +42,7 @@ public class IndexConstants {
public static final String OSMAND_SETTINGS_FILE_EXT = ".osf";
public static final String ROUTING_AND_RENDERING_FILE_EXT = ".xml";
public static final String ROUTING_FILE_EXT = ".xml";
public static final String RENDERER_INDEX_EXT = ".render.xml"; //$NON-NLS-1$
@ -73,4 +73,5 @@ public class IndexConstants {
public static final String SETTINGS_DIR = "settings/"; //$NON-NLS-1$
public static final String TEMP_DIR = "temp/";
public static final String ROUTING_PROFILES_DIR = "routing/";
public static final String PLUGINS_DIR = "plugins/";
}

View file

@ -173,7 +173,7 @@ public class RouteSegmentResult implements StringExternalizable<RouteDataBundle>
return res;
}
private int[][] convertPointNames(int[][] nameTypes, Map<RouteTypeRule, Integer> rules) {
private int[][] convertPointNames(int[][] nameTypes, String[][] pointNames, Map<RouteTypeRule, Integer> rules) {
if (nameTypes == null || nameTypes.length == 0) {
return null;
}
@ -185,7 +185,7 @@ public class RouteSegmentResult implements StringExternalizable<RouteDataBundle>
for (int k = 0; k < types.length; k++) {
int type = types[k];
String tag = object.region.quickGetEncodingRule(type).getTag();
String name = object.pointNames[i][k];
String name = pointNames[i][k];
RouteTypeRule rule = new RouteTypeRule(tag, name);
Integer ruleId = rules.get(rule);
if (ruleId == null) {
@ -281,7 +281,8 @@ public class RouteSegmentResult implements StringExternalizable<RouteDataBundle>
if (object.pointNameTypes != null && start < object.pointNameTypes.length) {
int[][] types = Arrays.copyOfRange(object.pointNameTypes, start, Math.min(end, object.pointNameTypes.length));
if (object.pointNames != null) {
bundle.putArray("pointNames", convertPointNames(types, rules));
String[][] names = Arrays.copyOfRange(object.pointNames, start, Math.min(end, object.pointNames.length));
bundle.putArray("pointNames", convertPointNames(types, names, rules));
}
}
}

View file

@ -104,6 +104,14 @@ public class Algorithms {
return name.substring(i + 1);
}
public static String getFileWithoutDirs(String name) {
int i = name.lastIndexOf(File.separator);
if (i != -1) {
return name.substring(i + 1);
}
return name;
}
public static File[] getSortedFilesVersions(File dir) {
File[] listFiles = dir.listFiles();
if (listFiles != null) {

View file

@ -1,2 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources></resources>
<resources>
<string name="last_update_from_telegram_date"></string>
</resources>

View file

@ -257,7 +257,7 @@
<string name="unit_of_length">Unidades de longitud</string>
<string name="unit_of_speed_system_descr">Definir la unidad de velocidad.</string>
<string name="unit_of_speed_system">Unidad de velocidad</string>
<string name="buffer_time_descr">Tiempo después del cual se eliminarán los mensajes de ubicación almacenados en búfer</string>
<string name="buffer_time_descr">Tiempo máximo para almacenar puntos en el búfer</string>
<string name="buffer_time">Tiempo de expiración del búfer</string>
<string name="shared_string_suggested">Sugerido</string>
<string name="status_widget_title">Estado de OsmAnd Tracker</string>
@ -267,4 +267,5 @@
<string name="last_update_from_telegram_duration">Última actualización desde Telegram: hace %1$s</string>
<string name="last_response_duration">Última respuesta: hace %1$s</string>
<string name="duration_ago">hace %1$s</string>
<string name="shared_string_error_short">ERR</string>
</resources>

View file

@ -266,4 +266,5 @@
<string name="last_update_from_telegram_duration">Viimane Telegram uuendus: %1$s tagasi</string>
<string name="last_response_duration">Viimane vastus: %1$s tagasi</string>
<string name="duration_ago">%1$s tagasi</string>
<string name="shared_string_error_short">ERR</string>
</resources>

View file

@ -202,7 +202,7 @@
<string name="status_widget_title">OsmAnd Tracker-en egoera</string>
<string name="back_to_osmand">Atzera OsmAnd-era</string>
<string name="last_response_date">Azken erantzuna: %1$s</string>
<string name="last_update_from_telegram_duration">"Telegram-en azken eguneraketa duela %1$s"</string>
<string name="last_update_from_telegram_duration">Telegram-en azken eguneraketa duela %1$s</string>
<string name="last_response_duration">Azken erantzuna duela %1$s</string>
<string name="duration_ago">duela %1$s</string>
</resources>

View file

@ -144,4 +144,14 @@
<string name="si_km_m">Kilomètres/mètres</string>
<string name="si_nm">Miles nautiques</string>
<string name="si_mi_meters">Miles / Mètres</string>
<string name="nm_h">nœuds</string>
<string name="shared_string_later">Plus tard</string>
<string name="shared_string_password">Mot de passe</string>
<string name="shared_string_distance">Distance</string>
<string name="si_nm_h">Miles nautiques par heure (nœuds)</string>
<string name="by_name">Par nom</string>
<string name="send_location_as_descr">Sélectionnez l\'apparence des messages contenant votre position.</string>
<string name="send_location_as">Envoyer la position</string>
<string name="open_in_osmand">Afficher dans OsmAnd</string>
<string name="last_update_from_telegram">Dernière mise à jour depuis Telegram</string>
</resources>

View file

@ -246,7 +246,7 @@
<string name="timeline_no_data">Nincs adat</string>
<string name="shared_string_end">Vég</string>
<string name="shared_string_start">Kezdet</string>
<string name="shared_string_apply">Alkalmazás</string>
<string name="shared_string_apply">Alkalmaz</string>
<string name="set_time_timeline_descr">Megjelenítendő időszak kijelölése</string>
<string name="start_end_date">Kezdő és záró dátum</string>
<string name="saved_messages">Mentett üzenetek</string>

View file

@ -268,4 +268,5 @@
<string name="last_update_from_telegram_duration">Siste oppdatering fra Telegram: %1$s siden</string>
<string name="last_response_duration">Siste respons: %1$s siden</string>
<string name="duration_ago">%1$s siden</string>
<string name="shared_string_error_short">ERR</string>
</resources>

View file

@ -16,7 +16,7 @@
<string name="osmand_privacy_policy">Política de privacidade do OsmAnd</string>
<string name="minutes_format">%1$d m</string>
<string name="last_available_location">Última localização disponível</string>
<string name="app_name_short">OsmAnd Tracker</string>
<string name="app_name_short">Rastreador OsmAnd</string>
<string name="privacy_policy_telegram_client">OsmAnd tracker é um dos clientes que usam a Plataforma aberta do Telegram . Seus contatos podem usar qualquer outro cliente Telegram.</string>
<string name="si_km_m">Quilômetros/metros</string>
<string name="in_time">no %1$s</string>
@ -73,7 +73,7 @@
<string name="si_kmh">Quilômetros por hora</string>
<string name="shared_string_password">Senha</string>
<string name="min_logging_distance">Distância mínima de registro</string>
<string name="shared_string_save">Salvar</string>
<string name="shared_string_save">Gravar</string>
<string name="shared_string_start">Iniciar</string>
<string name="add_device">Adicionar aparelho</string>
<string name="error_adding_new_device">Não foi possível adicionar novo aparelho</string>
@ -188,7 +188,7 @@
<string name="share_location">Compartilhar localização</string>
<string name="shared_string_hour_short">h</string>
<string name="disconnect_from_telegram">Como desativar o OsmAnd Tracker para Telegram</string>
<string name="timeline_no_data_descr">Nós não coletamos dados para o dia selecionado</string>
<string name="timeline_no_data_descr">Não coletamos dados para o dia selecionado</string>
<string name="sharing_time">Tempo de compartilhamento</string>
<string name="not_logged_in">você não está logado no</string>
<string name="gps_network_not_enabled">Ativar \"Localização\"\?</string>
@ -234,7 +234,7 @@
<string name="open_in_osmand">Mostrar no OsmAnd</string>
<string name="logging_out">Saindo</string>
<string name="shared_string_logout">Sair</string>
<string name="shared_string_disable">Desabilitar</string>
<string name="shared_string_disable">Desativar</string>
<string name="enter_phone_number">Digite o número de telefone</string>
<string name="min_logging_speed">Velocidade mínima de registro</string>
<string name="proxy_disconnected">Desconectado</string>
@ -261,4 +261,10 @@
<string name="shared_string_suggested">Sugerido</string>
<string name="status_widget_title">Estado do Rastreador de OsmAnd</string>
<string name="back_to_osmand">Voltar para OsmAnd</string>
<string name="duration_ago">%1$s atrás</string>
<string name="last_response_duration">Última resposta: %1$s atrás</string>
<string name="last_update_from_telegram_duration">Última atualização do Telegram: 1$s atrás</string>
<string name="last_response_date">Última resposta: %1$s</string>
<string name="last_update_from_telegram_date">Última atualização do Telegram: %1$s</string>
<string name="shared_string_error_short">ERR</string>
</resources>

View file

@ -37,7 +37,7 @@
<string name="shared_string_apply">Aplicar</string>
<string name="set_time_timeline_descr">Selecionar a hora para exibir</string>
<string name="start_end_date">Data de início - fim</string>
<string name="timeline_no_data_descr">Nós não coletamos dados para o dia selecionado</string>
<string name="timeline_no_data_descr">Não coletamos dados para o dia selecionado</string>
<string name="gpx_settings">Configurações de GPX</string>
<string name="proxy_key">Chave</string>
<string name="proxy_credentials">Credenciais</string>
@ -262,4 +262,10 @@
<string name="shared_string_suggested">Sugerido</string>
<string name="status_widget_title">Estado do Rastreador de OsmAnd</string>
<string name="back_to_osmand">Voltar para OsmAnd</string>
<string name="duration_ago">%1$s atrás</string>
<string name="last_response_duration">Última resposta: %1$s atrás</string>
<string name="last_update_from_telegram_duration">Última atualização do Telegram: 1$s atrás</string>
<string name="last_response_date">Última resposta: %1$s</string>
<string name="last_update_from_telegram_date">Última atualização do Telegram: %1$s</string>
<string name="shared_string_error_short">ERR</string>
</resources>

View file

@ -158,7 +158,7 @@
<string name="telegram_privacy_policy">Политика конфиденциальности Telegram</string>
<string name="osmand_privacy_policy">Политика конфиденциальности OsmAnd</string>
<string name="received_gps_points">Получено точек GPX: %1$s</string>
<string name="shared_string_appearance">Внешний вид</string>
<string name="shared_string_appearance">Вид</string>
<string name="show_gps_points_descr">Показать количество собранных и отправленных точек GPS.</string>
<string name="please_update_osmand">Обновите OsmAnd для просмотра данных на карте</string>
<string name="shared_string_update">Обновить</string>

View file

@ -93,7 +93,7 @@
<string name="shared_string_telegram">Telegram</string>
<string name="privacy_policy_use_telegram">Telegram (mesajlaşma uygulaması) insanlarla bağlantı ve iletişim kurmak için kullanılmaktadır.</string>
<string name="privacy_policy_telegram_client">OsmAnd Tracker, Telegram açık platformunu kullanan istemcilerden biridir. Kişileriniz başka herhangi bir Telegram istemcisini kullanabilir.</string>
<string name="privacy_policy_agree">\"Devam et\" butonuna tıklayarak, Telegram ve OsmAnd Gizlilik Politikası koşullarını kabul etmiş olursunuz.</string>
<string name="privacy_policy_agree">\"Devam et\" düğmesine tıklayarak, Telegram ve OsmAnd Gizlilik Politikası koşullarını kabul etmiş olursunuz.</string>
<string name="shared_string_accept">Kabul et</string>
<string name="telegram_privacy_policy">Telegram Gizlilik Politikası</string>
<string name="osmand_privacy_policy">OsmAnd Gizlilik Politikası</string>

View file

@ -45,10 +45,10 @@ android {
defaultConfig {
minSdkVersion System.getenv("MIN_SDK_VERSION") ? System.getenv("MIN_SDK_VERSION").toInteger() : 15
targetSdkVersion 28
versionCode 356
versionCode 370
versionCode System.getenv("APK_NUMBER_VERSION") ? System.getenv("APK_NUMBER_VERSION").toInteger() : versionCode
multiDexEnabled true
versionName "3.5.6"
versionName "3.7.0"
versionName System.getenv("APK_VERSION")? System.getenv("APK_VERSION").toString(): versionName
versionName System.getenv("APK_VERSION_SUFFIX")? versionName + System.getenv("APK_VERSION_SUFFIX").toString(): versionName

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 643 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 878 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 431 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 521 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 802 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 834 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 408 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 570 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Some files were not shown because too many files have changed in this diff Show more