Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11657)

Unified Diff: chrome/renderer/localized_error.cc

Issue 6793045: Change text of DNS prefetch option to Network prediction option. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for localized_error.cc Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698