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

Unified Diff: chrome/common/net/net_resource_provider.cc

Issue 2032903004: Fix FTP directory listing page error by adding "language" key (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: split CLs Created 4 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/net_resource_provider.cc
diff --git a/chrome/common/net/net_resource_provider.cc b/chrome/common/net/net_resource_provider.cc
index 97f46194c7521d50d7f13c84b8f1da412f41deab..ff8e7c7383378304f6495f5f23ac35535c3ab112 100644
--- a/chrome/common/net/net_resource_provider.cc
+++ b/chrome/common/net/net_resource_provider.cc
@@ -37,6 +37,8 @@ struct LazyDirectoryListerCacher {
l10n_util::GetStringUTF16(IDS_DIRECTORY_LISTING_SIZE));
value.SetString("headerDateModified",
l10n_util::GetStringUTF16(IDS_DIRECTORY_LISTING_DATE_MODIFIED));
+ value.SetString("language",
+ l10n_util::GetLanguage(base::i18n::GetConfiguredLocale()));
value.SetString("listingParsingErrorBoxText",
l10n_util::GetStringFUTF16(IDS_DIRECTORY_LISTING_PARSING_ERROR_BOX_TEXT,
l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698