diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-09-18 18:04:00 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-09-18 18:04:00 +0000 |
commit | f042b892cd14cff5a097b67cd9d69281c981dd9d (patch) | |
tree | 0997807ca8903a54208901dbb3639fa7f8c9be82 /app/src/main/res | |
parent | 4799a09b42bb6762d2d14363a3c4a68dd7b041b6 (diff) | |
download | infinity-for-reddit-f042b892cd14cff5a097b67cd9d69281c981dd9d.tar infinity-for-reddit-f042b892cd14cff5a097b67cd9d69281c981dd9d.tar.gz infinity-for-reddit-f042b892cd14cff5a097b67cd9d69281c981dd9d.tar.bz2 infinity-for-reddit-f042b892cd14cff5a097b67cd9d69281c981dd9d.tar.lz infinity-for-reddit-f042b892cd14cff5a097b67cd9d69281c981dd9d.tar.xz infinity-for-reddit-f042b892cd14cff5a097b67cd9d69281c981dd9d.tar.zst infinity-for-reddit-f042b892cd14cff5a097b67cd9d69281c981dd9d.zip |
Add an option to download all media in an imgur album in ViewImgurMediaActivity.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/menu/view_imgur_media_activity.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 7 |
2 files changed, 14 insertions, 2 deletions
diff --git a/app/src/main/res/menu/view_imgur_media_activity.xml b/app/src/main/res/menu/view_imgur_media_activity.xml new file mode 100644 index 00000000..e7fca0e9 --- /dev/null +++ b/app/src/main/res/menu/view_imgur_media_activity.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<menu xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + <item + android:id="@+id/action_download_all_imgur_album_media_view_imgur_media_activity" + android:orderInCategory="10" + android:title="@string/action_download_all_imgur_album_media" + app:showAsAction="never" /> +</menu>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 481aefe5..3650e686 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -100,6 +100,7 @@ <string name="action_add_to_home_screen">Add to Home screen</string> <string name="action_reset_fab_position">Reset FAB position</string> <string name="action_download_all_gallery_media">Download All Gallery Media</string> + <string name="action_download_all_imgur_album_media">Download All Imgur Album Media</string> <string name="parse_json_response_error">Error occurred when parsing the JSON response</string> <string name="retrieve_token_error">Error Retrieving the token</string> @@ -1051,9 +1052,11 @@ <string name="downloading_image_or_gif_failed_cannot_get_destination_directory">Download failed: cannot access destination directory</string> <string name="downloading_media_failed_cannot_download_media">Download failed</string> <string name="downloading_media_failed_cannot_save_to_destination_directory">Download failed: cannot save the file to destination directory</string> - <string name="downloading_media_failed_cannot_fetch_redgifs_url">Download failed: cannot fetch Redgifs video url</string> - <string name="downloading_media_failed_cannot_fetch_streamable_url">Download failed: cannot fetch Streamable video url</string> + <string name="download_media_failed_cannot_fetch_redgifs_url">Download failed: cannot fetch Redgifs video url</string> + <string name="download_media_failed_cannot_fetch_streamable_url">Download failed: cannot fetch Streamable video url</string> + <string name="download_media_failed_invalid_argument">Invalid argument</string> <string name="download_all_gallery_media_notification_title">All Gallery Media</string> + <string name="download_all_imgur_album_media_notification_title">All Imgur Album Media</string> <string name="download_gallery_failed_some_images">Downloaded. Some media failed to download.</string> <string name="wallpaper_set">Wallpaper set</string> |