diff options
author | Connectety <connectetyGit@yandex.com> | 2021-01-22 17:27:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 17:27:46 +0100 |
commit | 03c71ee6c52820317b6cc2fdff10ebc624360507 (patch) | |
tree | 883d86be14e3df4405ffc1fe89e5c5b363eb9793 /core/src/main/res | |
parent | 7bd20ae40619a1f3b3fb84eb27bc87b2f93d8b5d (diff) | |
download | AntennaPod-03c71ee6c52820317b6cc2fdff10ebc624360507.zip |
Add Notifications for episodes (#4646)
Co-authored-by: ByteHamster <info@bytehamster.com>
Diffstat (limited to 'core/src/main/res')
-rw-r--r-- | core/src/main/res/drawable-hdpi/ic_notification_new.png | bin | 0 -> 1054 bytes | |||
-rw-r--r-- | core/src/main/res/drawable-mdpi/ic_notification_new.png | bin | 0 -> 688 bytes | |||
-rw-r--r-- | core/src/main/res/drawable-xhdpi/ic_notification_new.png | bin | 0 -> 1402 bytes | |||
-rw-r--r-- | core/src/main/res/drawable-xxhdpi/ic_notification_new.png | bin | 0 -> 2207 bytes | |||
-rw-r--r-- | core/src/main/res/drawable-xxxhdpi/ic_notification_new.png | bin | 0 -> 3012 bytes | |||
-rw-r--r-- | core/src/main/res/drawable/ic_notification_auto_download_complete.xml | 9 | ||||
-rw-r--r-- | core/src/main/res/values/strings.xml | 13 |
7 files changed, 13 insertions, 9 deletions
diff --git a/core/src/main/res/drawable-hdpi/ic_notification_new.png b/core/src/main/res/drawable-hdpi/ic_notification_new.png Binary files differnew file mode 100644 index 000000000..28a8446e4 --- /dev/null +++ b/core/src/main/res/drawable-hdpi/ic_notification_new.png diff --git a/core/src/main/res/drawable-mdpi/ic_notification_new.png b/core/src/main/res/drawable-mdpi/ic_notification_new.png Binary files differnew file mode 100644 index 000000000..02530f5e4 --- /dev/null +++ b/core/src/main/res/drawable-mdpi/ic_notification_new.png diff --git a/core/src/main/res/drawable-xhdpi/ic_notification_new.png b/core/src/main/res/drawable-xhdpi/ic_notification_new.png Binary files differnew file mode 100644 index 000000000..49c696798 --- /dev/null +++ b/core/src/main/res/drawable-xhdpi/ic_notification_new.png diff --git a/core/src/main/res/drawable-xxhdpi/ic_notification_new.png b/core/src/main/res/drawable-xxhdpi/ic_notification_new.png Binary files differnew file mode 100644 index 000000000..ec6ef4f1e --- /dev/null +++ b/core/src/main/res/drawable-xxhdpi/ic_notification_new.png diff --git a/core/src/main/res/drawable-xxxhdpi/ic_notification_new.png b/core/src/main/res/drawable-xxxhdpi/ic_notification_new.png Binary files differnew file mode 100644 index 000000000..66f968872 --- /dev/null +++ b/core/src/main/res/drawable-xxxhdpi/ic_notification_new.png diff --git a/core/src/main/res/drawable/ic_notification_auto_download_complete.xml b/core/src/main/res/drawable/ic_notification_auto_download_complete.xml deleted file mode 100644 index 0caf27836..000000000 --- a/core/src/main/res/drawable/ic_notification_auto_download_complete.xml +++ /dev/null @@ -1,9 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="24dp" - android:height="24dp" - android:viewportWidth="24" - android:viewportHeight="24"> - <path - android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8 8,3.59 8,8 -3.59,8 -8,8zM16.59,7.58L10,14.17l-2.59,-2.58L6,13l4,4 8,-8z" - android:fillColor="#ffffff"/> -</vector> diff --git a/core/src/main/res/values/strings.xml b/core/src/main/res/values/strings.xml index a52b30512..64554bc38 100644 --- a/core/src/main/res/values/strings.xml +++ b/core/src/main/res/values/strings.xml @@ -132,6 +132,17 @@ <item quantity="other">%d episodes</item> </plurals> <string name="loading_more">Loading moreā¦</string> + <string name="episode_notification">Episode Notifications</string> + <string name="episode_notification_summary">Show a notification when a new episode is released.</string> + <plurals name="new_episode_notification_message"> + <item quantity="one">%2$s has a new episode</item> + <item quantity="other">%2$s has %1$d new episodes</item> + </plurals> + <plurals name="new_episode_notification_title"> + <item quantity="one">New Episode</item> + <item quantity="other">New Episodes</item> + </plurals> + <string name="new_episode_notification_group_text">Your subscriptions have new epsiodes.</string> <!-- Actions on feeds --> <string name="mark_all_read_label">Mark all as played</string> @@ -870,6 +881,8 @@ <string name="notification_channel_sync_error_description">Shown when gpodder synchronization fails.</string> <string name="notification_channel_auto_download">Automatic download completed</string> <string name="notification_channel_episode_auto_download">Shown when episodes have been automatically downloaded.</string> + <string name="notification_channel_new_episode">New Episode</string> + <string name="notification_channel_new_episode_description">Shown when a new episode of a podcast was found, where notifications are enabled</string> <!-- Widget settings --> <string name="widget_settings">Widget settings</string> |