add fav name to delete context action dialog
This commit is contained in:
parent
00474a9cf9
commit
5e033677cc
2 changed files with 2 additions and 2 deletions
|
@ -755,7 +755,7 @@
|
|||
<string name="favourites_context_menu_edit">Edit favorite</string>
|
||||
<string name="favourites_context_menu_delete">Delete favorite</string>
|
||||
|
||||
<string name="favourites_remove_dialog_msg">Remove favorite point?</string>
|
||||
<string name="favourites_remove_dialog_msg">Remove favorite point {0}?</string>
|
||||
<string name="favourites_remove_dialog_success">Favorite point {0} was succesfully deleted.</string>
|
||||
|
||||
<string name="osb_add_dialog_title">Enter bug text</string>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue