diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/values/arrays.xml | 6 | ||||
-rw-r--r-- | res/values/strings.xml | 5 | ||||
-rw-r--r-- | res/xml/preferences.xml | 12 |
3 files changed, 17 insertions, 6 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 961bd955..4a2ac390 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -25,5 +25,9 @@ <item>HEADLINES</item> <item>ARTICLES</item> </string-array> - + <string-array name="pref_offline_amounts"> + <item>150</item> + <item>250</item> + <item>500</item> + </string-array> </resources>
\ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index df40d273..c85634ef 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -52,7 +52,7 @@ <string name="http_login_summary">Optional. Fill this if your tt-rss installation is protected by HTTP Basic authentication</string> <string name="login_summary">Your tt-rss login. Not needed for single user mode</string> <string name="ttrss_url_summary">URL of your tt-rss installation directory, e.g. http://site.com/tt-rss/</string> - <string name="download_feed_icons">Download and display feed icons</string> + <string name="download_feed_icons">Enable feed icons</string> <string name="enable_cats">Enable feed categories</string> <string name="no_feeds_to_display">No feeds to display</string> <string name="no_headlines_to_display">No headlines to display</string> @@ -144,6 +144,7 @@ <string name="ssl">SSL</string> <string name="error_ssl_hostname_rejected">Error: SSL hostname not verified</string> <string name="offline_oldest_first">Show oldest articles first</string> - <string name="prefs_dim_status_bar">Dim status bar when reading</string> + <string name="prefs_dim_status_bar">Dim status bar</string> + <string name="prefs_dim_status_bar_long">Dim status bar when reading</string> <string name="article_comments">%1$d comments</string> </resources>
\ No newline at end of file diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index c1a69321..0f143b15 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -90,7 +90,7 @@ android:defaultValue="false"
android:key="combined_mode"
android:summary="@string/combined_mode_summary"
- android:title="@string/combined_mode" />
+ android:title="@string/combined_mode" />
-->
<CheckBoxPreference
@@ -111,14 +111,20 @@ android:key="use_volume_keys"
android:summary="@string/use_volume_keys_long"
android:title="@string/use_volume_keys" />
-
<CheckBoxPreference
android:defaultValue="false"
android:key="dim_status_bar"
+ android:summary="@string/prefs_dim_status_bar_long"
android:title="@string/prefs_dim_status_bar" />
-
</PreferenceCategory>
<PreferenceCategory android:title="@string/offline_mode" >
+ <ListPreference
+ android:defaultValue="250"
+ android:entries="@array/pref_offline_amounts"
+ android:entryValues="@array/pref_offline_amounts"
+ android:key="offline_sync_max"
+ android:summary="How many articles to download (newest first)"
+ android:title="Download articles" />
<CheckBoxPreference
android:defaultValue="false"
android:key="offline_image_cache_enabled"
|