]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/values/strings.xml
Allow customization of the search URLs.
[PrivacyBrowserAndroid.git] / app / src / main / res / values / strings.xml
index 73c4a46508d318a8a0dd0127b8a9693a9dcf080e..69cc2ff7b15e2d0ac025e81599839c03535fcd41 100644 (file)
@@ -62,6 +62,7 @@
     <string name="clear_dom_storage">Clear DOM Storage</string>
     <string name="share">Share</string>
     <string name="add_to_home_screen">Add to Home Screen</string>
+    <string name="refresh">Refresh</string>
 
     <!-- Create Home Screen Shortcut Alert Dialog. -->
     <string name="shortcut_name">Shortcut name</string>
     <string name="create">Create</string>
 
     <!-- Preferences. -->
-    <string name="privacy_settings">Privacy Settings</string>
+    <string name="privacy">Privacy</string>
     <string name="javascript_preference">Enable JavaScript by default</string>
     <string name="javascript_preference_summary">JavaScript allows websites to run programs (scripts) on your device.</string>
-    <string name="first_party_cookies_preference">Enable First-Party Cookies by default</string>
+    <string name="first_party_cookies_preference">Enable first-party cookies by default</string>
     <string name="first_party_cookies_preference_summary">Cookies allow websites to store information on your device.
         First-party cookies come from the server listed in the address bar.
         Devices with versions of Android older than Lollipop (version 5.0) will also enable third-party cookies with this setting.</string>
-    <string name="third_party_cookies_preference">Enable Third-Party Cookies by default</string>
+    <string name="third_party_cookies_preference">Enable third-party cookies by default</string>
     <string name="third_party_cookies_summary">Third-party cookies allow parts of websites that aren\'t the main website, like advertisements, to store information on your device.
-        This setting requires Android Lollipop (version 5.0) or higher.  It has no effect if first-party cookies are disabled.</string>
-    <string name="dom_storage_preference">Enable DOM Storage by default</string>
+        This setting requires Android Lollipop (version 5.0) or higher.  This setting has no effect if first-party cookies are disabled.</string>
+    <string name="dom_storage_preference">Enable DOM storage by default</string>
     <string name="dom_storage_preference_summary">Document Object Management storage, also called web storage, is an enhanced form of cookies
         that allows websites to store larger and more complex types of information, like pictures, on your device.</string>
-    <string name="general_settings">General Settings</string>
+    <string name="search">Search</string>
+    <string name="javascript_disabled_search">JavaScript-disabled search</string>
+    <string-array name="javascript_disabled_search_entries">
+        <item>DuckDuckGo</item>
+        <item>Google</item>
+        <item>Bing</item>
+        <item>Yahoo</item>
+        <item>Custom</item>
+    </string-array>
+    <string-array name="javascript_disabled_search_entry_values">
+        <item>https://duckduckgo.com/html/?q=</item>
+        <item>https://www.google.com/search?q=</item>
+        <item>https://www.bing.com/search?q=</item>
+        <item>https://search.yahoo.com/mobile/s?nojs=1&amp;p=</item>
+        <item>Custom URL</item>
+    </string-array>
+    <string name="javascript_disabled_search_custom_url">JavaScript-disabled search custom URL</string>
+    <string name="javascript_enabled_search">JavaScript-enabled search</string>
+    <string-array name="javascript_enabled_search_entries">
+        <item>DuckDuckGo</item>
+        <item>Google</item>
+        <item>Bing</item>
+        <item>Yahoo</item>
+        <item>Custom</item>
+    </string-array>
+    <string-array name="javascript_enabled_search_entry_values">
+        <item>https://duckduckgo.com/?q=</item>
+        <item>https://www.google.com/search?q=</item>
+        <item>https://www.bing.com/search?q=</item>
+        <item>https://search.yahoo.com/mobile/s?p=</item>
+        <item>Custom URL</item>
+    </string-array>
+    <string name="javascript_enabled_search_custom_url">JavaScript-enabled search custom URL</string>
+    <string name="general">General</string>
     <string name="homepage_preference">Homepage</string>
-    <string name="homepage_preference_summary">Set the homepage.</string>
+    <string name="swipe_to_refresh_enabled">Swipe to refresh</string>
+    <string name="swipe_to_refresh_enabled_summary">Some websites don\'t work well if swipe to refresh is enabled.</string>
 
     <!-- About Dialog. -->
     <string name="about_privacy_browser">About Privacy Browser</string>