Update bluetooth strings
Update based on new change in doc: 1. revert "visible as" string 2. change "device mac" string Bug: 35876580 Test: RunSettingsRoboTests Change-Id: I8950ed3e2e9c000ab25ea0a3d0d15f69fc075fda
This commit is contained in:
@@ -258,11 +258,11 @@
|
||||
<!-- Bluetooth Visibility message. This message informs the user that their device is now visible to other bluetooth devices. [CHAR LIMIT=NONE] -->
|
||||
<string name="bluetooth_is_visible_message"><xliff:g id="device_name">%1$s</xliff:g> is visible to nearby devices while Bluetooth settings is open.</string>
|
||||
<!-- Bluetooth mac address message. This message shows the bluetooth mac address for this device. [CHAR LIMIT=120] -->
|
||||
<string name="bluetooth_footer_mac_message" product="default">Your phone\'s Bluetooth address: <xliff:g id="bluetooth_mac_address">%1$s</xliff:g></string>
|
||||
<string name="bluetooth_footer_mac_message" product="default">Phone\'s Bluetooth address: <xliff:g id="bluetooth_mac_address">%1$s</xliff:g></string>
|
||||
<!-- Bluetooth mac address message. This message shows the bluetooth mac address for this device. [CHAR LIMIT=120] -->
|
||||
<string name="bluetooth_footer_mac_message" product="tablet">Your tablet\'s Bluetooth address: <xliff:g id="bluetooth_mac_address">%1$s</xliff:g></string>
|
||||
<string name="bluetooth_footer_mac_message" product="tablet">Tablet\'s Bluetooth address: <xliff:g id="bluetooth_mac_address">%1$s</xliff:g></string>
|
||||
<!-- Bluetooth mac address message. This message shows the bluetooth mac address for this device. [CHAR LIMIT=120] -->
|
||||
<string name="bluetooth_footer_mac_message" product="device">Your device\'s Bluetooth address: <xliff:g id="bluetooth_mac_address">%1$s</xliff:g></string>
|
||||
<string name="bluetooth_footer_mac_message" product="device">Device\'s Bluetooth address: <xliff:g id="bluetooth_mac_address">%1$s</xliff:g></string>
|
||||
|
||||
<!-- Bluetooth Visibility disconnect question. Asks the user if they wish to disconnect a paired bluetooth device. [CHAR LIMIT=50] -->
|
||||
<string name="bluetooth_is_disconnect_question">Disconnect <xliff:g id="device_name">%1$s</xliff:g>?</string>
|
||||
@@ -387,7 +387,7 @@
|
||||
<string name="bluetooth_sap_acceptance_dialog_text"><xliff:g id="device_name">%1$s</xliff:g> wants to access your SIM card. Granting access to the SIM card will disable data connectivity on your device for the duration of the connection. Give access to <xliff:g id="device_name">%2$s?</xliff:g></string>
|
||||
|
||||
<!-- Description for bluetooth device name summary [CHAR LIMIT=none] -->
|
||||
<string name="bluetooth_device_name_summary">Visible to other devices as: <xliff:g id="device_name">^1</xliff:g></string>
|
||||
<string name="bluetooth_device_name_summary">Visible as \'<xliff:g id="device_name">^1</xliff:g>\' to other devices</string>
|
||||
|
||||
<!-- Title for paired device group [CHAR LIMIT=none] -->
|
||||
<string name="bluetooth_paired_device_title">Your devices</string>
|
||||
|
@@ -94,7 +94,7 @@ public class BluetoothDeviceNamePreferenceControllerTest {
|
||||
final Object[] spans = ((SpannableStringBuilder) summary).getSpans(0, summary.length(),
|
||||
Object.class);
|
||||
assertThat(summary.toString())
|
||||
.isEqualTo("Visible to other devices as: Nightshade");
|
||||
.isEqualTo("Visible as 'Nightshade' to other devices");
|
||||
|
||||
// Test summary only has one color span
|
||||
assertThat(spans).asList().hasSize(1);
|
||||
|
Reference in New Issue
Block a user