aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-10-10 13:51:10 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-10-10 13:51:10 +0000
commit43b9abd6ee455158553fbbc70df3c27eedd22b21 (patch)
tree88c48a1de545d82be50730b511b93e0737039bbb /app/src/main/res/values
parentd40b81d7993b189142eadd79ab6b1daabba248d0 (diff)
downloadinfinity-for-reddit-43b9abd6ee455158553fbbc70df3c27eedd22b21.tar
infinity-for-reddit-43b9abd6ee455158553fbbc70df3c27eedd22b21.tar.gz
infinity-for-reddit-43b9abd6ee455158553fbbc70df3c27eedd22b21.tar.bz2
infinity-for-reddit-43b9abd6ee455158553fbbc70df3c27eedd22b21.tar.lz
infinity-for-reddit-43b9abd6ee455158553fbbc70df3c27eedd22b21.tar.xz
infinity-for-reddit-43b9abd6ee455158553fbbc70df3c27eedd22b21.tar.zst
infinity-for-reddit-43b9abd6ee455158553fbbc70df3c27eedd22b21.zip
New option: Link Handler. Removed option: Open Link In App.
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/arrays.xml12
-rw-r--r--app/src/main/res/values/strings.xml7
2 files changed, 17 insertions, 2 deletions
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml
index ffe31f93..6f74d814 100644
--- a/app/src/main/res/values/arrays.xml
+++ b/app/src/main/res/values/arrays.xml
@@ -542,4 +542,16 @@
<item>200</item>
</string-array>
+ <string-array name="link_handler">
+ <item>@string/settings_link_handler_value_external_browser</item>
+ <item>@string/settings_link_handler_value_custom_tab</item>
+ <item>@string/settings_link_handler_value_internal_browser</item>
+ </string-array>
+
+ <string-array name="link_handler_values">
+ <item>0</item>
+ <item>1</item>
+ <item>2</item>
+ </string-array>
+
</resources>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index f791a313..042fe4fa 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -365,7 +365,7 @@
<string name="settings_gestures_and_buttons_title">Gestures &amp; Buttons</string>
<string name="settings_save_front_page_scrolled_position_title">Save Scrolled Position in HOME</string>
<string name="settings_save_front_page_scrolled_position_summary">Browse new posts after refreshing in HOME (Front Page, sort type: Best)</string>
- <string name="settings_open_link_in_app_title">Open Link In App</string>
+ <string name="settings_link_handler_title">Link Handler</string>
<string name="settigns_video_title">Video</string>
<string name="settings_video_autoplay_title">Video Autoplay</string>
<string name="settings_mute_autoplaying_videos_title">Mute Autoplaying Videos</string>
@@ -610,6 +610,9 @@
<string name="settings_app_lock_timeout_title">App Lock Timeout</string>
<string name="settings_enable_fold_support_title">Enable folding phone support</string>
<string name="settings_default_playback_speed_title">Default Playback Speed</string>
+ <string name="settings_link_handler_value_external_browser">External Browser</string>
+ <string name="settings_link_handler_value_custom_tab">Custom Tab</string>
+ <string name="settings_link_handler_value_internal_browser">Internal Browser</string>
<string name="no_link_available">Cannot get the link</string>
@@ -1148,7 +1151,7 @@
<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>
+ <string name="exclude_domain">Exclude this domain</string>
<string name="suggest_title">Suggest Title</string>
<string name="suggest_title_failed">Failed to suggest a title</string>