Reword route too long
This commit is contained in:
parent
ca01f5e363
commit
c983e6b24e
3 changed files with 4 additions and 4 deletions
|
@ -1225,7 +1225,7 @@
|
|||
<string name="animate_routing_route_not_calculated">Please calculate the route first</string>
|
||||
<string name="animate_routing_route">Simulate using calculated route </string>
|
||||
<string name="animate_routing_gpx">Simulate using GPX track</string>
|
||||
<string name="route_is_too_long">OsmAnd offline routing may take very long (or sometimes not work) for points more than 200km apart. You may want to add intermediate destinations for better performance.</string>
|
||||
<string name="route_is_too_long_v2">Route is possibly too long to calculate. Please add intermediate destinations, if route is not suggested in 10 minutes.</string>
|
||||
<string name="auto_zoom_none">No auto zoom</string>
|
||||
<string name="auto_zoom_close">To close-up</string>
|
||||
<string name="auto_zoom_far">To mid-range</string>
|
||||
|
|
|
@ -459,7 +459,7 @@ public class MapActivityActions implements DialogProvider {
|
|||
mapActivity.getMapLayers().getMapControlsLayer().showDialog();
|
||||
}
|
||||
if (targets.hasTooLongDistanceToNavigate()) {
|
||||
app.showToastMessage(R.string.route_is_too_long);
|
||||
app.showToastMessage(R.string.route_is_too_long_v2);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -488,7 +488,7 @@ public class MapActivityActions implements DialogProvider {
|
|||
mapActivity.getMapLayers().getMapControlsLayer().showDialog();
|
||||
}
|
||||
if (targets.hasTooLongDistanceToNavigate()) {
|
||||
app.showToastMessage(R.string.route_is_too_long);
|
||||
app.showToastMessage(R.string.route_is_too_long_v2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -221,7 +221,7 @@ public class MapRouteInfoMenu implements IRouteInformationListener {
|
|||
main.findViewById(R.id.DurationIcon).setVisibility(View.GONE);
|
||||
main.findViewById(R.id.InfoDistance).setVisibility(View.GONE);
|
||||
main.findViewById(R.id.InfoDuration).setVisibility(View.GONE);
|
||||
textView.setText(R.string.route_is_too_long);
|
||||
textView.setText(R.string.route_is_too_long_v2);
|
||||
textView.setVisibility(View.VISIBLE);
|
||||
iconView.setImageDrawable(mapActivity.getMyApplication().getIconsCache().getIcon(R.drawable.ic_warning, isLight()));
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue