diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-01-19 15:04:51 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-01-19 15:04:51 +0000 |
commit | 569283ea93dba6816df092e702b97f6d5c956ebf (patch) | |
tree | 9da508188fa72dd1fa43bbf137a66080cb78e911 /app/src/main/res/values | |
parent | b0bf06e0c09763726c3225f7f08076cda552aaa5 (diff) | |
download | infinity-for-reddit-569283ea93dba6816df092e702b97f6d5c956ebf.tar infinity-for-reddit-569283ea93dba6816df092e702b97f6d5c956ebf.tar.gz infinity-for-reddit-569283ea93dba6816df092e702b97f6d5c956ebf.tar.bz2 infinity-for-reddit-569283ea93dba6816df092e702b97f6d5c956ebf.tar.lz infinity-for-reddit-569283ea93dba6816df092e702b97f6d5c956ebf.tar.xz infinity-for-reddit-569283ea93dba6816df092e702b97f6d5c956ebf.tar.zst infinity-for-reddit-569283ea93dba6816df092e702b97f6d5c956ebf.zip |
Setting default sort for subreddits and users is available.
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r-- | app/src/main/res/values/arrays.xml | 48 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 8 |
2 files changed, 56 insertions, 0 deletions
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 79819832..52191982 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -349,4 +349,52 @@ <item>tr-rTR</item> </string-array> + <string-array name="settings_subreddit_default_sort_type"> + <item>Hot</item> + <item>New</item> + <item>Rising</item> + <item>Top</item> + <item>Controversial</item> + </string-array> + + <string-array name="settings_subreddit_default_sort_type_values"> + <item>HOT</item> + <item>NEW</item> + <item>RISING</item> + <item>TOP</item> + <item>CONTROVERSIAL</item> + </string-array> + + <string-array name="settings_user_default_sort_type"> + <item>New</item> + <item>Hot</item> + <item>Top</item> + <item>Controversial</item> + </string-array> + + <string-array name="settings_user_default_sort_type_values"> + <item>NEW</item> + <item>HOT</item> + <item>TOP</item> + <item>CONTROVERSIAL</item> + </string-array> + + <string-array name="settings_default_sort_time"> + <item>Hour</item> + <item>Day</item> + <item>Week</item> + <item>Month</item> + <item>Year</item> + <item>All Time</item> + </string-array> + + <string-array name="settings_default_sort_time_values"> + <item>HOUR</item> + <item>DAY</item> + <item>WEEK</item> + <item>MONTH</item> + <item>YEAR</item> + <item>ALL</item> + </string-array> + </resources>
\ 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 f5410e92..50eab52f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -528,6 +528,12 @@ <string name="settings_mark_posts_as_read_after_voting_title">Mark Posts as Read After Voting</string> <string name="settings_mark_posts_as_read_on_scroll_title">Mark Posts as Read on Scroll</string> <string name="settings_hide_read_posts_automatically_title">Hide Read Posts Automatically</string> + <string name="settings_sort_type_title">Sort Type</string> + <string name="settings_save_sort_type_title">Save Sort Type</string> + <string name="settings_subreddit_default_sort_type_title">Subreddit Default Sort Type</string> + <string name="settings_subreddit_default_sort_time_title">Subreddit Default Sort Time</string> + <string name="settings_user_default_sort_type_title">User Default Sort Type</string> + <string name="settings_user_default_sort_time_title">User Default Sort Time</string> <string name="no_link_available">Cannot get the link</string> @@ -1010,5 +1016,7 @@ <string name="add_subreddit_or_user_to_multireddit_failed">Unable to add %1$s to multireddit %2$s</string> <string name="choose_a_user">Choose a user</string> + <!-- TODO: Remove or change this placeholder text --> + <string name="hello_blank_fragment">Hello blank fragment</string> </resources> |