removed the hard coded string (#3015)

* removed the hard coded string

* fix
This commit is contained in:
sherlockbeard 2019-06-12 18:36:25 +05:30 committed by neslihanturan
parent 09459a3765
commit 6619ccf8d5
2 changed files with 2 additions and 1 deletions

View file

@ -392,7 +392,7 @@ public class MediaDetailFragment extends CommonsDaggerSupportFragment {
// enableDeleteButton(true); makes sense ?
else{
AlertDialog.Builder alert = new AlertDialog.Builder(getActivity());
alert.setMessage("Why should "+ media.getDisplayTitle() +" be deleted?");
alert.setMessage(getString(R.string.dialog_box_text_nomination,media.getDisplayTitle()));
final EditText input = new EditText(getActivity());
alert.setView(input);
input.requestFocus();