mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Made changes
This commit is contained in:
parent
b07282f5af
commit
079aabde99
2 changed files with 17 additions and 7 deletions
|
|
@ -136,11 +136,8 @@ public class MediaDetailFragment extends CommonsDaggerSupportFragment {
|
|||
|
||||
//Had to make this class variable, to implement various onClicks, which access the media, also I fell why make separate variables when one can serve the purpose
|
||||
private Media media;
|
||||
private String reasonList[] = {"I uploaded it by mistake",
|
||||
"I did not know it would be publicly visible",
|
||||
"I realized it is bad for my privacy",
|
||||
"Sorry this picture is not interesting for an encyclopedia",
|
||||
"I changed my mind, I don't want it to be publicly visible anymore"};
|
||||
private ArrayList<String> reasonList;
|
||||
|
||||
|
||||
@Override
|
||||
public void onSaveInstanceState(Bundle outState) {
|
||||
|
|
@ -173,6 +170,13 @@ public class MediaDetailFragment extends CommonsDaggerSupportFragment {
|
|||
initialListTop = 0;
|
||||
}
|
||||
|
||||
reasonList = new ArrayList<>();
|
||||
reasonList.add(getString(R.string.deletion_reason_1));
|
||||
reasonList.add(getString(R.string.deletion_reason_2));
|
||||
reasonList.add(getString(R.string.deletion_reason_3));
|
||||
reasonList.add(getString(R.string.deletion_reason_4));
|
||||
reasonList.add(getString(R.string.deletion_reason_5));
|
||||
|
||||
categoryNames = new ArrayList<>();
|
||||
categoryNames.add(getString(R.string.detail_panel_cats_loading));
|
||||
|
||||
|
|
|
|||
|
|
@ -366,6 +366,12 @@
|
|||
<string name="bookmark_empty">You haven\'t added any bookmarks</string>
|
||||
<string name="provider_bookmarks_location">Bookmarks</string>
|
||||
<string name="log_collection_started">Log collection started. Please RESTART the app, perform action that you wish to log, and then tap \'Send log file\' again</string>
|
||||
<string name="no_uploads">Welcome to Commons!\n
|
||||
Upload your first media by touching the camera or gallery icon above.</string>
|
||||
<string name="no_uploads">Welcome to Commons!\n Upload your first media by touching the camera or gallery icon above.</string>
|
||||
|
||||
<string name="deletion_reason_1">I uploaded it by mistake</string>
|
||||
<string name="deletion_reason_2">I did not know it would be publicly visible</string>
|
||||
<string name="deletion_reason_3">I realized it is bad for my privacy</string>
|
||||
<string name="deletion_reason_4">I changed my mind, I don\'t want it to be publicly visible anymore</string>
|
||||
<string name="deletion_reason_5">Sorry this picture is not interesting for an encyclopedia</string>
|
||||
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue