File tree 2 files changed +2
-1
lines changed
java/fr/free/nrw/commons/media
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ public void onDeleteButtonClicked(){
392
392
// enableDeleteButton(true); makes sense ?
393
393
else {
394
394
AlertDialog .Builder alert = new AlertDialog .Builder (getActivity ());
395
- alert .setMessage ("Why should " + media .getDisplayTitle () + " be deleted?" );
395
+ alert .setMessage (getString ( R . string . dialog_box_text_nomination , media .getDisplayTitle ()) );
396
396
final EditText input = new EditText (getActivity ());
397
397
alert .setView (input );
398
398
input .requestFocus ();
Original file line number Diff line number Diff line change @@ -554,4 +554,5 @@ Upload your first media by tapping on the add button.</string>
554
554
<string name =" share_text" >Upload photos to Wikimedia Commons on your phone Download the Commons app: %1$s</string >
555
555
<string name =" share_via" >Share app via...</string >
556
556
<string name =" image_info" >Image Info</string >
557
+ <string name =" dialog_box_text_nomination" >Why should %1$s be deleted?</string >
557
558
</resources >
You can’t perform that action at this time.
0 commit comments