diff --git a/res/values/strings.xml b/res/values/strings.xml index 967e52f29d3..bde0a9f33ec 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1588,7 +1588,7 @@ CONNECT - This network has no Internet access. Use this network anyway? + This network has no Internet access. Stay connected? Don\u2019t ask again for this network diff --git a/src/com/android/settings/wifi/WifiNoInternetDialog.java b/src/com/android/settings/wifi/WifiNoInternetDialog.java index f044114f9df..970524828ab 100644 --- a/src/com/android/settings/wifi/WifiNoInternetDialog.java +++ b/src/com/android/settings/wifi/WifiNoInternetDialog.java @@ -112,8 +112,8 @@ public final class WifiNoInternetDialog extends AlertActivity implements final AlertController.AlertParams ap = mAlertParams; ap.mTitle = mNetworkName; ap.mMessage = getString(R.string.no_internet_access_text); - ap.mPositiveButtonText = getString(android.R.string.ok); - ap.mNegativeButtonText = getString(android.R.string.cancel); + ap.mPositiveButtonText = getString(R.string.yes); + ap.mNegativeButtonText = getString(R.string.no); ap.mPositiveButtonListener = this; ap.mNegativeButtonListener = this;