aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/src/main/res/menu/view_post_detail_fragment.xml6
-rw-r--r--app/src/main/res/values/arrays.xml8
-rw-r--r--app/src/main/res/values/strings.xml8
3 files changed, 22 insertions, 0 deletions
diff --git a/app/src/main/res/menu/view_post_detail_fragment.xml b/app/src/main/res/menu/view_post_detail_fragment.xml
index d9e66bd6..437355e0 100644
--- a/app/src/main/res/menu/view_post_detail_fragment.xml
+++ b/app/src/main/res/menu/view_post_detail_fragment.xml
@@ -99,4 +99,10 @@
android:orderInCategory="15"
android:title="@string/action_crosspost"
app:showAsAction="never" />
+
+ <item
+ android:id="@+id/action_add_to_post_filter_view_post_detail_fragment"
+ android:orderInCategory="16"
+ android:title="@string/action_add_to_post_filter"
+ app:showAsAction="never" />
</menu>
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml
index 764afcf1..38311b43 100644
--- a/app/src/main/res/values/arrays.xml
+++ b/app/src/main/res/values/arrays.xml
@@ -421,4 +421,12 @@
<item>2</item>
</string-array>
+ <string-array name="add_to_post_filter_options">
+ <item>@string/exclude_subreddit</item>
+ <item>@string/exclude_user</item>
+ <item>@string/exclude_flair</item>
+ <item>@string/contain_flair</item>
+ <item>@string/exclude_domain</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 5a46106f..52700094 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -81,6 +81,7 @@
<string name="action_add_to_multireddit">Add to Multireddit</string>
<string name="action_share_link">Share Link</string>
<string name="action_copy_link">Copy Link</string>
+ <string name="action_add_to_post_filter">Add to Post Filter</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>
@@ -1083,4 +1084,11 @@
<string name="upvote">Upvote</string>
<string name="downvote">Downvote</string>
+ <string name="select">Select</string>
+ <string name="exclude_subreddit">Exclude this subreddit</string>
+ <string name="exclude_user">Exclude this user</string>
+ <string name="exclude_flair">Exclude this flair</string>
+ <string name="contain_flair">Contain this flair</string>
+ <string name="exclude_domain">Exclude Domain</string>
+
</resources>