diff options
author | Tom Hennen <TomHennen@users.noreply.github.com> | 2015-10-08 01:52:27 -0400 |
---|---|---|
committer | Tom Hennen <TomHennen@users.noreply.github.com> | 2015-10-08 01:52:27 -0400 |
commit | 95cc133e0acde834a425ca35381aedde27390433 (patch) | |
tree | ed0748a3fad19ca5714c22a1cd8829455e3fd855 /core/src/main/res/values | |
parent | 57b8ced16e36f1f3dcf980ddba3ee9c807cf4dc6 (diff) | |
parent | 07bcdb167b7e6d448be514460ec259cba29a5a41 (diff) | |
download | AntennaPod-95cc133e0acde834a425ca35381aedde27390433.zip |
Merge pull request #1241 from TomHennen/cleanup_algorithm
Cleanup algorithm updates
Diffstat (limited to 'core/src/main/res/values')
-rw-r--r-- | core/src/main/res/values/arrays.xml | 21 | ||||
-rw-r--r-- | core/src/main/res/values/strings.xml | 9 |
2 files changed, 30 insertions, 0 deletions
diff --git a/core/src/main/res/values/arrays.xml b/core/src/main/res/values/arrays.xml index b2f928617..341a7e520 100644 --- a/core/src/main/res/values/arrays.xml +++ b/core/src/main/res/values/arrays.xml @@ -44,6 +44,7 @@ <item>100</item> <item>@string/pref_episode_cache_unlimited</item> </string-array> + <string-array name="episode_cache_size_values"> <item>5</item> <item>10</item> @@ -53,6 +54,26 @@ <item>-1</item> </string-array> + <string-array name="episode_cleanup_entries"> + <item>@string/episode_cleanup_queue_removal</item> + <item>0</item> + <item>1</item> + <item>3</item> + <item>5</item> + <item>7</item> + <item>@string/episode_cleanup_never</item> + </string-array> + + <string-array name="episode_cleanup_values"> + <item>-1</item> + <item>0</item> + <item>1</item> + <item>3</item> + <item>5</item> + <item>7</item> + <item>-2</item> + </string-array> + <string-array name="playback_speed_values"> <item>0.5</item> <item>0.6</item> diff --git a/core/src/main/res/values/strings.xml b/core/src/main/res/values/strings.xml index 34f3791c4..168477463 100644 --- a/core/src/main/res/values/strings.xml +++ b/core/src/main/res/values/strings.xml @@ -87,6 +87,13 @@ <string name="feed_auto_download_always">Always</string> <string name="feed_auto_download_never">Never</string> <string name="send_label">Send...</string> + <string name="episode_cleanup_never">Never</string> + <string name="episode_cleanup_queue_removal">When not in queue</string> + <string name="episode_cleanup_after_listening">After listening</string> + <plurals name="episode_cleanup_days_after_listening"> + <item quantity="one">1 day after listening</item> + <item quantity="other">%d days after listening</item> + </plurals> <!-- 'Add Feed' Activity labels --> <string name="feedurl_label">Feed URL</string> @@ -267,6 +274,8 @@ <string name="queue_label">Queue</string> <string name="services_label">Services</string> <string name="flattr_label">Flattr</string> + <string name="pref_episode_cleanup_title">Episode Cleanup</string> + <string name="pref_episode_cleanup_summary">Episodes that aren\'t in the queue and aren\'t favorites should be eligible for removal if space is needed</string> <string name="pref_pauseOnHeadsetDisconnect_sum">Pause playback when the headphones are disconnected</string> <string name="pref_unpauseOnHeadsetReconnect_sum">Resume playback when the headphones are reconnected</string> <string name="pref_followQueue_sum">Jump to next queue item when playback completes</string> |