diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/menu/inbox_activity.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/app/src/main/res/menu/inbox_activity.xml b/app/src/main/res/menu/inbox_activity.xml index f7d06665..c3eb4cc9 100644 --- a/app/src/main/res/menu/inbox_activity.xml +++ b/app/src/main/res/menu/inbox_activity.xml @@ -6,4 +6,10 @@ android:orderInCategory="1" android:title="@string/action_refresh" app:showAsAction="never" /> + + <item + android:id="@+id/action_read_all_messages_inbox_activity" + android:orderInCategory="2" + android:title="@string/action_read_all_messages" + 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 8223e5f7..a5aa5353 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -75,6 +75,7 @@ <string name="action_select_user_flair">Select User Flair</string> <string name="action_give_award">Give Award</string> <string name="action_save_to_database">Save to Database</string> + <string name="action_read_all_messages">Read All Messages</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> @@ -992,5 +993,9 @@ <string name="subreddit">Subreddit</string> <string name="user">User</string> <string name="edit_post_filter_name_of_usage_info">Leave it blank to apply this post filter to all the subreddits / users / multireddits</string> + + <string name="read_all_messages_time_limit">You are doing this too frequently. Try again later. This is Reddit API\'s rate limit.</string> + <string name="read_all_messages_success">Read all messages successfully</string> + <string name="read_all_messages_failed">Unable to read all messages</string> </resources> |