OSDN Git Service

Updating special Settings Wi-Fi strings
authorxshu <xshu@google.com>
Fri, 16 Mar 2018 18:41:24 +0000 (11:41 -0700)
committerxshu <xshu@google.com>
Tue, 20 Mar 2018 00:09:16 +0000 (17:09 -0700)
Bug: 74356729
Test: compile

Manually inspected the affected UI pages

Change-Id: I6905dce8f3d6c4acbddedccbf0401b9ef6bba53b

res/values/strings.xml
res/xml/change_wifi_state_details.xml

index a614bc5..9466624 100644 (file)
 
     <!--Search Keywords [CHAR LIMIT=NONE]-->
     <string name="keywords_wifi">wifi, wi-fi, network connection</string>
+    <string name="keywords_change_wifi_state">wifi, wi-fi, toggle, control</string>
     <string name="keywords_more_default_sms_app">text message, texting, messages, messaging</string>
     <string name="keywords_more_mobile_networks">cellular, mobile, cell carrier, wireless, data, 4g,3g, 2g, lte</string>
     <string name="keywords_wifi_calling">wifi, wi-fi, call, calling</string>
     <!-- Title for item to go to old battery settings page when clicking [CHAR LIMIT=100] -->
     <string name="dev_android_o_battery_settings_title">See Android 8.0 battery settings</string>
     <!-- Title for Wifi Access settings [CHAR LIMIT=35] -->
-    <string name="change_wifi_state_title">Toggle wifi on and off</string>
-    <!-- Keywords for Wifi Access settings [CHAR LIMIT=35] -->
-    <string name="keywords_change_wifi_state">toggle wifi on and off</string>
-
-    <!-- Apps > App Details > Advanced section string title. [CHAR LIMIT=35] -->
-    <string name="change_wifi_state_app_detail_title">Toggle wifi on and off</string>
+    <string name="change_wifi_state_title">Wi-Fi control</string>
 
     <!-- Apps > App Details > Wifi access > Switch title. [CHAR LIMIT=NONE] -->
-    <string name="change_wifi_state_app_detail_switch">Allow toggle wifi</string>
+    <string name="change_wifi_state_app_detail_switch">Allow app to control Wi-Fi</string>
 
     <!-- Apps > App Details > Wifi access > Description. [CHAR LIMIT=NONE] -->
-    <string name="change_wifi_state_app_detail_summary">Allow this app to change wifi state including connecting to wifi and turing wifi on and off.</string>
+    <string name="change_wifi_state_app_detail_summary">Allow this app to turn Wi-Fi on or off, scan and connect to Wi-Fi networks, add or remove networks, or start a local-only hotspot</string>
 
     <!-- Title for media output settings -->
     <string name="media_output_title">Play media to</string>
index 6121f00..77fd063 100644 (file)
@@ -16,7 +16,7 @@
 
 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
     android:key="change_wifi_state"
-    android:title="@string/change_wifi_state_app_detail_title">
+    android:title="@string/change_wifi_state_title">
 
   <SwitchPreference
       android:key="app_ops_settings_switch"