Chromium Code Reviews| Index: chrome/renderer/localized_error.cc |
| diff --git a/chrome/renderer/localized_error.cc b/chrome/renderer/localized_error.cc |
| index c874dbc06460519266969a57c4cc6982556a78bd..e8bce927b9bb917e60965f7fe8355ae763e5a057 100644 |
| --- a/chrome/renderer/localized_error.cc |
| +++ b/chrome/renderer/localized_error.cc |
| @@ -488,18 +488,20 @@ void LocalizedError::GetStrings(const WebKit::WebURLError& error, |
| l10n_util::GetStringUTF16(IDS_ERRORPAGES_SUGGESTION_DNS_CONFIG)); |
| error_strings->Set("suggestionsDNSConfig", suggest_dns_config); |
| - DictionaryValue* suggest_dns_prefetch = new DictionaryValue; |
| - suggest_dns_prefetch->SetString("msg", |
| - l10n_util::GetStringUTF16(IDS_ERRORPAGES_SUGGESTION_DNS_PREFETCH)); |
| - suggest_dns_prefetch->SetString("settingsTitle", |
| + DictionaryValue* suggest_network_prediction = new DictionaryValue; |
| + suggest_network_prediction->SetString("msg", |
| + l10n_util::GetStringUTF16( |
| + IDS_ERRORPAGES_SUGGESTION_NETWORK_PREDICTION)); |
| + suggest_network_prediction->SetString("settingsTitle", |
| l10n_util::GetStringUTF16(IDS_SETTINGS_TITLE)); |
| - suggest_dns_prefetch->SetString("advancedTitle", |
| + suggest_network_prediction->SetString("advancedTitle", |
| l10n_util::GetStringUTF16(IDS_OPTIONS_ADVANCED_TAB_LABEL)); |
| - suggest_dns_prefetch->SetString( |
| - "noPrefetchTitle", |
| + suggest_network_prediction->SetString( |
| + "noNetworkPredictionTitle", |
| l10n_util::GetStringUTF16( |
| - IDS_NETWORK_DNS_PREFETCH_ENABLED_DESCRIPTION)); |
| - error_strings->Set("suggestionsDisableDNSPrefetch", suggest_dns_prefetch); |
| + IDS_NETWORK_PREDICTION_ENABLED_DESCRIPTION)); |
| + error_strings->Set("suggestionsDisableDNSPrefetch", |
|
mmenke
2011/04/05 20:50:20
You should change this string to match. The other
cbentzel
2011/04/05 21:00:45
Done.
|
| + suggest_network_prediction); |
| } |
| if (options.suggestions & SUGGEST_FIREWALL_CONFIG) { |