aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-13 17:19:19 -0700
committerGitHub <noreply@github.com>2017-07-13 17:19:19 -0700
commitc3f1fc6a8b3216442a018bb04843dfa68d738918 (patch)
tree1eb9dc13fc46e7ed98550f6edbdd015af9c106b8 /app/src/main/res/values
parent1d364a1f5a8322ce8fbe200fcc9f5a41f91b41e8 (diff)
downloadfrost-c3f1fc6a8b3216442a018bb04843dfa68d738918.tar.gz
frost-c3f1fc6a8b3216442a018bb04843dfa68d738918.tar.bz2
frost-c3f1fc6a8b3216442a018bb04843dfa68d738918.zip
Separate pref strings, add notifs control, fix searchview (#60)v1.2.2
* Separate pref strings and add notif controls * Add overlay toggle and minor cleanups * Fix search view
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/strings.xml1
-rw-r--r--app/src/main/res/values/strings_pref_appearance.xml22
-rw-r--r--app/src/main/res/values/strings_pref_behaviour.xml17
-rw-r--r--app/src/main/res/values/strings_pref_experimental.xml15
-rw-r--r--app/src/main/res/values/strings_pref_feed.xml12
-rw-r--r--app/src/main/res/values/strings_pref_notifications.xml21
-rw-r--r--app/src/main/res/values/strings_preferences60
7 files changed, 88 insertions, 60 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 4d0ed062..7bfdf410 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -50,7 +50,6 @@
<string name="web_overlay_swipe_hint">Swipe right to go back to the previous window.</string>
<string name="profile_picture">Profile Picture</string>
- <string name="pro_features">Pro Features</string>
<string name="custom_pro">Custom [Pro]</string>
<string name="uh_oh">Uh Oh</string>
<string name="reload">Reload</string>
diff --git a/app/src/main/res/values/strings_pref_appearance.xml b/app/src/main/res/values/strings_pref_appearance.xml
new file mode 100644
index 00000000..7f08d43c
--- /dev/null
+++ b/app/src/main/res/values/strings_pref_appearance.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="theme_customization">Theme Customization</string>
+
+ <string name="theme">Theme</string>
+ <string name="text_color">Text Color</string>
+ <string name="background_color">Background Color</string>
+ <string name="header_color">Header Color</string>
+ <string name="icon_color">Icon Color</string>
+
+ <string name="global_customization">Global Customization</string>
+
+ <string name="rounded_icons">Rounded Icons</string>
+ <string name="rounded_icons_desc">Profile photos and group conversation icons will be rounded</string>
+
+ <string name="tint_nav">Tint Nav Bar</string>
+ <string name="tint_nav_desc">Navigation bar will be the same color as the header</string>
+ <string name="web_text_scaling">Web Text Scaling</string>
+ <string name="web_text_scaling_desc">Text Scaling Example; Long press the percentage text to reset.</string>
+
+</resources> \ No newline at end of file
diff --git a/app/src/main/res/values/strings_pref_behaviour.xml b/app/src/main/res/values/strings_pref_behaviour.xml
new file mode 100644
index 00000000..13924a2d
--- /dev/null
+++ b/app/src/main/res/values/strings_pref_behaviour.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="fancy_animations">Fancy Animations</string>
+ <string name="fancy_animations_desc">Reveal webviews using ripples and animate transitions</string>
+ <string name="overlay_swipe">Enable Overlays</string>
+ <string name="overlay_swipe_desc">Pressing most links will launch in a new overlay so you can easily swipe back to the original page. Note that this does result in slightly longer loads given that the whole page is reloaded.</string>
+ <string name="overlay_full_screen_swipe">Overlay Full Screen Swipe to Dismiss</string>
+ <string name="overlay_full_screen_swipe_desc">Swipe right from anywhere on the overlaying web to close the browser. If disabled, only swiping from the left edge will move it.</string>
+ <string name="viewpager_swipe">Viewpager Swipe</string>
+ <string name="viewpager_swipe_desc">Allow swiping between the pages in the main view to switch tabs. By default, the swiping automatically stops when you long press on an item, such as the like button. Disabling this will prevent page swiping altogether.</string>
+ <string name="exit_confirmation">Exit Confirmation</string>
+ <string name="exit_confirmation_desc">Show confirmation dialog before exiting the app</string>
+ <string name="analytics">Analytics</string>
+ <string name="analytics_desc">Enable anonymous analytics to help improve the app. No personal information is ever exposed.</string>
+
+</resources> \ No newline at end of file
diff --git a/app/src/main/res/values/strings_pref_experimental.xml b/app/src/main/res/values/strings_pref_experimental.xml
new file mode 100644
index 00000000..2d49864b
--- /dev/null
+++ b/app/src/main/res/values/strings_pref_experimental.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="experimental_disclaimer">Disclaimer</string>
+ <string name="experimental_disclaimer_info">Experimental features may be unstable and may never make it to production. Use at your own risk, send feedback, and feel free to disable them if they don\'t work well.</string>
+ <string name="experimental_by_default">Experimental by Default</string>
+ <string name="experimental_by_default_desc">Feeling risky or just want to help with debugging? Checking this will enable future experimental functions be default.</string>
+ <string name="search_bar">Search Bar</string>
+ <string name="search_bar_desc">Enable the search bar instead of a search overlay</string>
+ <string name="verbose_logging">Verbose Logging</string>
+ <string name="verbose_logging_desc">Enable verbose logging to help with crash reports. Logging will only be sent once an error is encountered, so repeat the issue to notify the dev. This will automatically be disabled if the app restarts.</string>
+ <string name="restart_frost">Restart Frost</string>
+ <string name="restart_frost_desc">Crashlytics will only submit logs when a crash occurs or if errors are found and the app is restarted. Clicking here will restart the app and flush whatever issues are currently found.</string>
+
+</resources> \ No newline at end of file
diff --git a/app/src/main/res/values/strings_pref_feed.xml b/app/src/main/res/values/strings_pref_feed.xml
new file mode 100644
index 00000000..8d872add
--- /dev/null
+++ b/app/src/main/res/values/strings_pref_feed.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="newsfeed_sort">Newsfeed Order</string>
+ <string name="newsfeed_sort_desc">Defines the order in which the posts are shown</string>
+ <string name="pro_features">Pro Features</string>
+ <string name="suggested_friends">Suggested Friends</string>
+ <string name="suggested_friends_desc">Show "People You May Know" in the feed</string>
+ <string name="facebook_ads">Facebook Ads</string>
+ <string name="facebook_ads_desc">Show native Facebook ads</string>
+
+</resources> \ No newline at end of file
diff --git a/app/src/main/res/values/strings_pref_notifications.xml b/app/src/main/res/values/strings_pref_notifications.xml
new file mode 100644
index 00000000..1d605c2b
--- /dev/null
+++ b/app/src/main/res/values/strings_pref_notifications.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="notification_frequency">Notification Frequency</string>
+ <string name="notification_keywords">Keywords</string>
+ <string name="notification_keywords_desc">Does not notify when notification contains any of these keys.</string>
+ <string name="add_keyword">Add Keyword</string>
+ <string name="hint_keyword">Type keyword and press +</string>
+ <string name="empty_keyword">Empty Keyword</string>
+ <string name="notification_all_accounts">Notify from all accounts</string>
+ <string name="notification_all_accounts_desc">Get notifications for every account that is logged in. Disabling this will only fetch notifications form the currently selected account.</string>
+ <string name="notification_fetch_now">Fetch Notifications Now</string>
+ <string name="notification_fetch_now_desc">Trigger the notification fetcher one time.</string>
+ <string name="notification_fetch_success">Fetching Notifications…</string>
+ <string name="notification_fetch_fail">Couldn\'t fetch notifications</string>
+ <string name="notification_sound">Notification sound</string>
+ <string name="notification_vibrate">Notification vibration</string>
+ <string name="notification_lights">Notification lights</string>
+
+
+</resources> \ No newline at end of file
diff --git a/app/src/main/res/values/strings_preferences b/app/src/main/res/values/strings_preferences
index f70ffe59..81545f1c 100644
--- a/app/src/main/res/values/strings_preferences
+++ b/app/src/main/res/values/strings_preferences
@@ -1,75 +1,17 @@
<resources>
- <!--categories-->
<string name="appearance">Appearance</string>
<string name="appearance_desc">Theme, Items to display, etc</string>
<string name="notifications_desc">Frequency, filters, etc</string>
+
<string name="newsfeed">News Feed</string>
<string name="newsfeed_desc">Define what items appear in the newsfeed</string>
<string name="behaviour">Behaviour</string>
<string name="behaviour_desc">Define how the app interacts in certain settings</string>
- <string name="exit_confirmation">Exit Confirmation</string>
- <string name="exit_confirmation_desc">Show confirmation dialog before exiting the app</string>
- <string name="analytics">Analytics</string>
- <string name="analytics_desc">Enable anonymous analytics to help improve the app. No personal information is ever exposed.</string>
- <string name="overlay_full_screen_swipe">Overlay Full Screen Swipe to Dismiss</string>
- <string name="overlay_full_screen_swipe_desc">Swipe right from anywhere on the overlaying web to close the browser. If disabled, only swiping from the left edge will move it.</string>
- <string name="viewpager_swipe">Viewpager Swipe</string>
- <string name="viewpager_swipe_desc">Allow swiping between the pages in the main view to switch tabs. By default, the swiping automatically stops when you long press on an item, such as the like button. Disabling this will prevent page swiping altogether.</string>
-
- <!--themes-->
- <string name="theme">Theme</string>
- <string name="text_color">Text Color</string>
- <string name="background_color">Background Color</string>
- <string name="header_color">Header Color</string>
- <string name="icon_color">Icon Color</string>
-
- <string name="rounded_icons">Rounded Icons</string>
- <string name="rounded_icons_desc">Profile photos and group conversation icons will be rounded</string>
- <string name="theme_customization">Theme Customization</string>
- <string name="global_customization">Global Customization</string>
- <string name="feed_customization">Feed Customization</string>
- <string name="newsfeed_sort">Newsfeed Order</string>
- <string name="newsfeed_sort_desc">Defines the order in which the posts are shown</string>
- <string name="suggested_friends">Suggested Friends</string>
- <string name="suggested_friends_desc">Show "People You May Know" in the feed</string>
- <string name="facebook_ads">Facebook Ads</string>
- <string name="facebook_ads_desc">Show native Facebook ads</string>
-
- <string name="notification_frequency">Notification Frequency</string>
- <string name="notification_keywords">Keywords</string>
- <string name="notification_keywords_desc">Does not notify when notification contains any of these keys.</string>
- <string name="add_keyword">Add Keyword</string>
- <string name="hint_keyword">Type keyword and press +</string>
- <string name="empty_keyword">Empty Keyword</string>
- <string name="notification_all_accounts">Notify from all accounts</string>
- <string name="notification_all_accounts_desc">Get notifications for every account that is logged in. Disabling this will only fetch notifications form the currently selected account.</string>
- <string name="notification_fetch_now">Fetch Notifications Now</string>
- <string name="notification_fetch_now_desc">Trigger the notification fetcher one time.</string>
- <string name="notification_fetch_success">Fetching Notifications…</string>
- <string name="notification_fetch_fail">Couldn\'t fetch notifications</string>
-
- <string name="fancy_animations">Fancy Animations</string>
- <string name="fancy_animations_desc">Reveal webviews using ripples and animate transitions</string>
- <string name="tint_nav">Tint Nav Bar</string>
- <string name="tint_nav_desc">Navigation bar will be the same color as the header</string>
- <string name="web_text_scaling">Web Text Scaling</string>
- <string name="web_text_scaling_desc">Text Scaling Example; Long press the percentage text to reset.</string>
-
<string name="experimental">Experimental</string>
<string name="experimental_desc">Enable early access to potentially unstable features</string>
- <string name="experimental_disclaimer">Disclaimer</string>
- <string name="experimental_disclaimer_info">Experimental features may be unstable and may never make it to production. Use at your own risk, send feedback, and feel free to disable them if they don\'t work well.</string>
- <string name="experimental_by_default">Experimental by Default</string>
- <string name="experimental_by_default_desc">Feeling risky or just want to help with debugging? Checking this will enable future experimental functions be default.</string>
- <string name="search_bar">Search Bar</string>
- <string name="search_bar_desc">Enable the search bar instead of a search overlay</string>
- <string name="verbose_logging">Verbose Logging</string>
- <string name="verbose_logging_desc">Enable verbose logging to help with crash reports. Logging will only be sent once an error is encountered, so repeat the issue to notify the dev. This will automatically be disabled if the app restarts.</string>
- <string name="restart_frost">Restart Frost</string>
- <string name="restart_frost_desc">Crashlytics will only submit logs when a crash occurs or if errors are found and the app is restarted. Clicking here will restart the app and flush whatever issues are currently found.</string>
<string name="restore_purchases">Restore Purchases</string>
<string name="restore_purchases_desc">Restore any previous purchases from the Play Store</string>