File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
java/fr/free/nrw/commons/media Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ public void onDeleteButtonClicked(){
392392 // enableDeleteButton(true); makes sense ?
393393 else {
394394 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 ()) );
396396 final EditText input = new EditText (getActivity ());
397397 alert .setView (input );
398398 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>
554554 <string name =" share_text" >Upload photos to Wikimedia Commons on your phone Download the Commons app: %1$s</string >
555555 <string name =" share_via" >Share app via...</string >
556556 <string name =" image_info" >Image Info</string >
557+ <string name =" dialog_box_text_nomination" >Why should %1$s be deleted?</string >
557558</resources >
You can’t perform that action at this time.
0 commit comments