[tor-commits] [orbot/master] Small String Fixes:

n8fr8 at torproject.org n8fr8 at torproject.org
Mon Aug 24 21:02:52 UTC 2020


commit 19e532269369f00efc6f74b0a989ed33ac98eba8
Author: bim <dsnake at protonmail.com>
Date:   Tue Aug 4 12:48:09 2020 -0400

    Small String Fixes:
    
    - "Reachable addresses" pref category was hardcoded, switched it to the string resource so it
       was capitalized to "Reachable Addresses" and would be not in english in other locales
    -  changed "Client cookies" menu item to "Client Cookies"
---
 app/src/main/res/values/strings.xml  | 2 +-
 app/src/main/res/xml/preferences.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index bbf55492..f27892a3 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -212,7 +212,7 @@
     <string name="copy_cookie_to_clipboard">Copy cookie to clipboard</string>
     <string name="auth_cookie_was_not_configured">Auth cookie was not configured</string>
     <string name="please_restart_Orbot_to_enable_the_changes">Please restart Orbot to enable the changes</string>
-    <string name="client_cookies">Client cookies</string>
+    <string name="client_cookies">Client Cookies</string>
     <string name="onion">.onion</string>
     <string name="invalid_onion_address">Invalid .onion address</string>
     <string name="cookie_from_QR">Read from QR</string>
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index 8477efbd..a8c078bc 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -158,7 +158,7 @@
 
     </PreferenceCategory>
 
-    <PreferenceCategory android:title="ReachableAddresses">
+    <PreferenceCategory android:title="@string/reachable_addresses">
         <CheckBoxPreference
             android:defaultValue="false"
             android:enabled="true"





More information about the tor-commits mailing list