Chromium Code Reviews| Index: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc |
| diff --git a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc |
| index b94d277fd2cee1fea72b66a90e58d82cabefafe1..28acf108fa25b5302480fb94a78a9169c5f952cd 100644 |
| --- a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc |
| +++ b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc |
| @@ -12,6 +12,7 @@ |
| #include "chrome/grit/locale_settings.h" |
| #include "content/public/browser/web_ui_data_source.h" |
| #include "ui/base/l10n/l10n_util.h" |
| +#include "ui/chromeos/strings/grit/ui_chromeos_strings.h" |
| namespace { |
| @@ -150,6 +151,22 @@ void AddInternetStrings(content::WebUIDataSource* html_source) { |
| "internetPageTitle", IDS_SETTINGS_INTERNET); |
| html_source->AddLocalizedString( |
| "internetDetailPageTitle", IDS_SETTINGS_INTERNET_DETAIL); |
| + |
| + // Required by cr_network_list_item.js. TODO(stevenjb): Add to |
| + // settings_strings.grdp or provide an alternative translation method. |
| + // crbug.com/512214. |
| + html_source->AddLocalizedString("networkConnected", |
| + IDS_ASH_STATUS_TRAY_NETWORK_CONNECTED); |
| + html_source->AddLocalizedString("networkConnecting", |
| + IDS_ASH_STATUS_TRAY_NETWORK_CONNECTING); |
| + html_source->AddLocalizedString("networkNotConnected", |
| + IDS_ASH_STATUS_TRAY_NETWORK_NOT_CONNECTED); |
| + html_source->AddLocalizedString("OncTypeCellular", IDS_NETWORK_TYPE_CELLULAR); |
| + html_source->AddLocalizedString("OncTypeEthernet", IDS_NETWORK_TYPE_ETHERNET); |
| + html_source->AddLocalizedString("OncTypeWiFi", IDS_NETWORK_TYPE_WIFI); |
| + html_source->AddLocalizedString("OncTypeWimax", IDS_NETWORK_TYPE_WIMAX); |
| + html_source->AddLocalizedString("Disabled", |
|
michaelpg
2015/08/10 07:35:03
ditto
stevenjb
2015/08/10 19:19:47
-> networkDisabled
|
| + IDS_OPTIONS_SETTINGS_NETWORK_DISABLED); |
| } |
| #endif |