Merge pull request #9702 from osmandapp/mapillary_title

fix_mapillary_title
This commit is contained in:
Vitaliy 2020-08-28 09:08:07 +03:00 committed by GitHub
commit f628e01a86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -1283,7 +1283,7 @@
<string name="mapillary_widget">Mapillary widget</string> <string name="mapillary_widget">Mapillary widget</string>
<string name="mapillary_widget_descr">Allows quick contributions to Mapillary.</string> <string name="mapillary_widget_descr">Allows quick contributions to Mapillary.</string>
<string name="mapillary_descr">Online street-level photos for everyone. Discover places, collaborate, capture the world.</string> <string name="mapillary_descr">Online street-level photos for everyone. Discover places, collaborate, capture the world.</string>
<string name="mapillary">Street-level imagery</string> <string name="mapillary">Mapillary</string>
<string name="plugin_mapillary_descr">Street-level photos for everyone. Discover places, collaborate, capture the world.</string> <string name="plugin_mapillary_descr">Street-level photos for everyone. Discover places, collaborate, capture the world.</string>
<string name="private_access_routing_req">Your destination is located in an area with private access. Allow using private roads for this trip?</string> <string name="private_access_routing_req">Your destination is located in an area with private access. Allow using private roads for this trip?</string>
<string name="restart_search">Restart search</string> <string name="restart_search">Restart search</string>

View file

@ -318,7 +318,7 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks, IRouteInfo
} else if (visibleType == DashboardType.OVERLAY_MAP) { } else if (visibleType == DashboardType.OVERLAY_MAP) {
tv.setText(R.string.map_overlay); tv.setText(R.string.map_overlay);
} else if (visibleType == DashboardType.MAPILLARY) { } else if (visibleType == DashboardType.MAPILLARY) {
tv.setText(R.string.mapillary); tv.setText(R.string.street_level_imagery);
} else if (visibleType == DashboardType.CONTOUR_LINES) { } else if (visibleType == DashboardType.CONTOUR_LINES) {
tv.setText(R.string.srtm_plugin_name); tv.setText(R.string.srtm_plugin_name);
} else if (visibleType == DashboardType.OSM_NOTES) { } else if (visibleType == DashboardType.OSM_NOTES) {

View file

@ -181,7 +181,7 @@ public class MapillaryPlugin extends OsmandPlugin {
} }
adapter.addItem(new ContextMenuItem.ItemBuilder() adapter.addItem(new ContextMenuItem.ItemBuilder()
.setId(MAPILLARY) .setId(MAPILLARY)
.setTitleId(R.string.mapillary, mapActivity) .setTitleId(R.string.street_level_imagery, mapActivity)
.setDescription("Mapillary") .setDescription("Mapillary")
.setSelected(settings.SHOW_MAPILLARY.get()) .setSelected(settings.SHOW_MAPILLARY.get())
.setColor(settings.SHOW_MAPILLARY.get() ? R.color.osmand_orange : ContextMenuItem.INVALID_ID) .setColor(settings.SHOW_MAPILLARY.get() ? R.color.osmand_orange : ContextMenuItem.INVALID_ID)