diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java index 0a7106d8cd..015dc5c6b0 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java @@ -703,7 +703,7 @@ public class MapContextMenu extends MenuTitleController implements StateChangedL public int getFavActionStringId() { if (menuController != null) return menuController.getFavActionStringId(); - return R.string.favourites_context_menu_add; + return R.string.shared_string_add; } public int getWaypointActionIconId() { diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java index 5ebdcc0f90..b8ebdc06ed 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java @@ -401,6 +401,7 @@ public class MapContextMenuFragment extends BaseOsmAndFragment implements Downlo imageFavorite.setImageDrawable(getIcon(menu.getFavActionIconId(), R.color.ctx_menu_buttons_icon_color)); imageFavorite.setContentDescription(getString(menu.getFavActionStringId())); + ((TextView) view.findViewById(R.id.context_menu_fav_text_view)).setText(menu.getFavActionStringId()); View favView = view.findViewById(R.id.context_menu_fav_view); AndroidUtils.setDashButtonBackground(getMapActivity(), favView, nightMode); favView.setOnClickListener(new View.OnClickListener() {