Index: chrome/browser/ui/webui/system_info_ui.cc |
diff --git a/chrome/browser/ui/webui/system_info_ui.cc b/chrome/browser/ui/webui/system_info_ui.cc |
index dc348132701613c564062e6230069746b10b4e65..cb840cb5d821b28e1f2a68afbad2f0dc6e42f886 100644 |
--- a/chrome/browser/ui/webui/system_info_ui.cc |
+++ b/chrome/browser/ui/webui/system_info_ui.cc |
@@ -17,6 +17,7 @@ |
#include "base/threading/thread.h" |
#include "base/time/time.h" |
#include "base/values.h" |
+#include "chrome/browser/browser_process.h" |
#include "chrome/browser/feedback/system_logs/about_system_logs_fetcher.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/common/chrome_paths.h" |
@@ -139,7 +140,10 @@ void SystemInfoUIHTMLSource::RequestComplete() { |
l10n_util::GetStringUTF16(IDS_ABOUT_SYS_COLLAPSE)); |
strings.SetString("parseError", |
l10n_util::GetStringUTF16(IDS_ABOUT_SYS_PARSE_ERROR)); |
- webui::SetFontAndTextDirection(&strings); |
+ |
+ const std::string& app_locale = g_browser_process->GetApplicationLocale(); |
+ webui::SetLoadTimeDataDefaults(app_locale, &strings); |
+ |
if (response_.get()) { |
base::ListValue* details = new base::ListValue(); |
strings.Set("details", details); |