Skip to content

Commit 5d4206a

Browse files
isheriffAndroid (Google) Code Review
authored andcommitted
Merge "Get strings in" into jb-mr1-dev
2 parents 5d8d169 + 7f0aaac commit 5d4206a

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

core/java/android/net/CaptivePortalTracker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ private void setNotificationVisible(boolean visible) {
251251

252252
if (visible) {
253253
CharSequence title = r.getString(R.string.wifi_available_sign_in, 0);
254-
CharSequence details = r.getString(R.string.wifi_available_sign_in_detailed,
254+
CharSequence details = r.getString(R.string.network_available_sign_in_detailed,
255255
mNetworkInfo.getExtraInfo());
256256

257257
Notification notification = new Notification();

core/res/res/values/strings.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3048,11 +3048,14 @@
30483048
<item quantity="other">Open Wi-Fi networks available</item>
30493049
</plurals>
30503050

3051-
<!-- A notification is shown when a captive portal network is detected. This is the notification's title. -->
3051+
<!-- A notification is shown when a wifi captive portal network is detected. This is the notification's title. -->
30523052
<string name="wifi_available_sign_in">Sign into Wi-Fi network</string>
30533053

3054+
<!-- A notification is shown when a captive portal network is detected. This is the notification's title. -->
3055+
<string name="network_available_sign_in">Sign into network</string>
3056+
30543057
<!-- A notification is shown when a captive portal network is detected. This is the notification's message. -->
3055-
<string name="wifi_available_sign_in_detailed"><xliff:g id="wifi_network_ssid">%1$s</xliff:g></string>
3058+
<string name="network_available_sign_in_detailed"><xliff:g id="network_ssid">%1$s</xliff:g></string>
30563059

30573060
<!-- A notification is shown when a user's selected SSID is later disabled due to connectivity problems. This is the notification's title / ticker. -->
30583061
<string name="wifi_watchdog_network_disabled">Couldn\'t connect to Wi-Fi</string>
@@ -3078,6 +3081,8 @@
30783081
<string name="wifi_p2p_enter_pin_message">Type the required PIN: </string>
30793082
<string name="wifi_p2p_show_pin_message">PIN: </string>
30803083

3084+
<string name="wifi_p2p_frequency_conflict_message">The phone will temporarily disconnect from Wi-Fi while it\'s connected to <xliff:g id="device_name">%1$s</xliff:g></string>
3085+
30813086
<!-- Name of the dialog that lets the user choose an accented character to insert -->
30823087
<string name="select_character">Insert character</string>
30833088

core/res/res/values/symbols.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,8 @@
791791
<java-symbol type="string" name="webpage_unresponsive" />
792792
<java-symbol type="string" name="whichApplication" />
793793
<java-symbol type="string" name="wifi_available_sign_in" />
794-
<java-symbol type="string" name="wifi_available_sign_in_detailed" />
794+
<java-symbol type="string" name="network_available_sign_in" />
795+
<java-symbol type="string" name="network_available_sign_in_detailed" />
795796
<java-symbol type="string" name="wifi_p2p_dialog_title" />
796797
<java-symbol type="string" name="wifi_p2p_enabled_notification_message" />
797798
<java-symbol type="string" name="wifi_p2p_enabled_notification_title" />
@@ -802,6 +803,7 @@
802803
<java-symbol type="string" name="wifi_p2p_show_pin_message" />
803804
<java-symbol type="string" name="wifi_p2p_to_message" />
804805
<java-symbol type="string" name="wifi_p2p_turnon_message" />
806+
<java-symbol type="string" name="wifi_p2p_frequency_conflict_message" />
805807
<java-symbol type="string" name="wifi_tether_configure_ssid_default" />
806808
<java-symbol type="string" name="wifi_watchdog_network_disabled" />
807809
<java-symbol type="string" name="wifi_watchdog_network_disabled_detailed" />

0 commit comments

Comments
 (0)