diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 12adea7b4b..8548d9d8bc 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -755,7 +755,7 @@ Edit favorite Delete favorite -Remove favorite point? +Remove favorite point {0}? Favorite point {0} was succesfully deleted. Enter bug text diff --git a/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java b/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java index 669b7b91d1..11c448c827 100644 --- a/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java @@ -282,7 +282,7 @@ public class FavouritesActivity extends ExpandableListActivity { if (aItem.getItemId() == DELETE_ITEM) { final Resources resources = this.getResources(); Builder builder = new AlertDialog.Builder(this); - builder.setMessage(R.string.favourites_remove_dialog_msg); + builder.setMessage(getString(R.string.favourites_remove_dialog_msg, info.getName())); builder.setNegativeButton(R.string.default_buttons_no, null); builder.setPositiveButton(R.string.default_buttons_yes, new DialogInterface.OnClickListener() { @Override