diff options
| -rw-r--r-- | res/values/strings.xml | 3 | ||||
| -rw-r--r-- | src/com/android/browser/Tab.java | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 7aa947803..4f63d3fec 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -75,6 +75,9 @@ <!-- Label for a button on an SSL error dialog that lets the user view the certificate --> <string name="view_certificate">View certificate</string> + <!-- Label for a button on an SSL error dialog that lets the user go back to + the last page they were on instead of continuing to the new page. [CHAR-LIMIT=20] --> + <string name="ssl_go_back">Go back</string> <!-- Message in an SSL Error dialog --> <string name="ssl_untrusted">This certificate is not from a trusted authority.</string> diff --git a/src/com/android/browser/Tab.java b/src/com/android/browser/Tab.java index 0f8ce6b26..a048c2da9 100644 --- a/src/com/android/browser/Tab.java +++ b/src/com/android/browser/Tab.java @@ -705,7 +705,7 @@ class Tab { mWebViewController.showSslCertificateOnError(view, handler, error); } - }).setNegativeButton(R.string.cancel, + }).setNegativeButton(R.string.ssl_go_back, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { |
