mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
removed the hard coded string (#3015)
* removed the hard coded string * fix
This commit is contained in:
parent
09459a3765
commit
6619ccf8d5
2 changed files with 2 additions and 1 deletions
|
|
@ -392,7 +392,7 @@ public class MediaDetailFragment extends CommonsDaggerSupportFragment {
|
||||||
// enableDeleteButton(true); makes sense ?
|
// enableDeleteButton(true); makes sense ?
|
||||||
else{
|
else{
|
||||||
AlertDialog.Builder alert = new AlertDialog.Builder(getActivity());
|
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());
|
final EditText input = new EditText(getActivity());
|
||||||
alert.setView(input);
|
alert.setView(input);
|
||||||
input.requestFocus();
|
input.requestFocus();
|
||||||
|
|
|
||||||
|
|
@ -554,4 +554,5 @@ Upload your first media by tapping on the add button.</string>
|
||||||
<string name="share_text">Upload photos to Wikimedia Commons on your phone Download the Commons app: %1$s</string>
|
<string name="share_text">Upload photos to Wikimedia Commons on your phone Download the Commons app: %1$s</string>
|
||||||
<string name="share_via">Share app via...</string>
|
<string name="share_via">Share app via...</string>
|
||||||
<string name="image_info">Image Info</string>
|
<string name="image_info">Image Info</string>
|
||||||
|
<string name="dialog_box_text_nomination">Why should %1$s be deleted?</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue