string improvement

This commit is contained in:
sonora 2018-05-21 09:32:30 +02:00
parent 52020488b8
commit a06bbb4082
2 changed files with 3 additions and 3 deletions

View file

@ -112,8 +112,8 @@
<string name="south_abbreviation">S</string>
<string name="north_abbreviation">N</string>
<string name="optional_point_name">Optional point name</string>
<string name="transport_nearby_routes_within">Nearby routes in</string>
<string name="transport_nearby_routes">Near</string>
<string name="transport_nearby_routes_within">Nearby routes within</string>
<string name="transport_nearby_routes">Within</string>
<string name="enter_the_file_name">Enter the filename.</string>
<string name="map_import_error">Map import error</string>
<string name="map_imported_successfully">Map imported</string>

View file

@ -513,7 +513,7 @@ public class MapContextMenuFragment extends BaseOsmAndFragment implements Downlo
}
if (nearbyTransportStopRoutes != null && nearbyTransportStopRoutes.size() > 0) {
String nearInDistance = getMyApplication().getString(R.string.transport_nearby_routes) + " "
+ OsmAndFormatter.getFormattedDistance(TransportStopController.SHOW_STOPS_RADIUS_METERS, getMyApplication()).toUpperCase() +":";
+ OsmAndFormatter.getFormattedDistance(TransportStopController.SHOW_STOPS_RADIUS_METERS, getMyApplication()) +":";
nearbRoutesWithinTv.setText(nearInDistance);
nearbyTransportStopRoutesGrid.setAdapter(createTransportStopRouteAdapter(nearbyTransportStopRoutes));
nearbyTransportStopRoutesGrid.setVisibility(View.VISIBLE);