OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide
r.h" | 5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide
r.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/i18n/number_formatting.h" | 10 #include "base/i18n/number_formatting.h" |
(...skipping 1967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1978 {"OncMacAddress", IDS_ONC_MAC_ADDRESS}, | 1978 {"OncMacAddress", IDS_ONC_MAC_ADDRESS}, |
1979 {"OncNotConnected", IDS_ONC_NOT_CONNECTED}, | 1979 {"OncNotConnected", IDS_ONC_NOT_CONNECTED}, |
1980 {"OncRestrictedConnectivity", IDS_ONC_RESTRICTED_CONNECTIVITY}, | 1980 {"OncRestrictedConnectivity", IDS_ONC_RESTRICTED_CONNECTIVITY}, |
1981 {"OncVPN-Host", IDS_ONC_VPN_HOST}, | 1981 {"OncVPN-Host", IDS_ONC_VPN_HOST}, |
1982 {"OncVPN-L2TP-Username", IDS_ONC_VPN_L2TP_USERNAME}, | 1982 {"OncVPN-L2TP-Username", IDS_ONC_VPN_L2TP_USERNAME}, |
1983 {"OncVPN-OpenVPN-Username", IDS_ONC_VPN_OPEN_VPN_USERNAME}, | 1983 {"OncVPN-OpenVPN-Username", IDS_ONC_VPN_OPEN_VPN_USERNAME}, |
1984 {"OncVPN-ThirdPartyVPN-ProviderName", | 1984 {"OncVPN-ThirdPartyVPN-ProviderName", |
1985 IDS_ONC_VPN_THIRD_PARTY_VPN_PROVIDER_NAME}, | 1985 IDS_ONC_VPN_THIRD_PARTY_VPN_PROVIDER_NAME}, |
1986 {"OncVPN-Type", IDS_ONC_VPN_TYPE}, | 1986 {"OncVPN-Type", IDS_ONC_VPN_TYPE}, |
1987 {"OncWiFi-Frequency", IDS_ONC_WIFI_FREQUENCY}, | 1987 {"OncWiFi-Frequency", IDS_ONC_WIFI_FREQUENCY}, |
| 1988 {"OncWiFi-EAP-AnonymousIdentity", IDS_ONC_WIFI_EAP_ANONYMOUS_IDENTITY}, |
| 1989 {"OncWiFi-EAP-Identity", IDS_ONC_WIFI_EAP_IDENTITY}, |
| 1990 {"OncWiFi-EAP-Inner", IDS_ONC_WIFI_EAP_INNER}, |
| 1991 {"OncWiFi-EAP-Inner_Automatic", IDS_ONC_WIFI_EAP_INNER_AUTOMATIC}, |
| 1992 {"OncWiFi-EAP-Inner_MD5", IDS_ONC_WIFI_EAP_INNER_MD5}, |
| 1993 {"OncWiFi-EAP-Inner_MSCHAP", IDS_ONC_WIFI_EAP_INNER_MSCHAP}, |
| 1994 {"OncWiFi-EAP-Inner_MSCHAPv2", IDS_ONC_WIFI_EAP_INNER_MSCHAPV2}, |
| 1995 {"OncWiFi-EAP-Inner_PAP", IDS_ONC_WIFI_EAP_INNER_PAP}, |
| 1996 {"OncWiFi-EAP-Inner_CHAP", IDS_ONC_WIFI_EAP_INNER_CHAP}, |
| 1997 {"OncWiFi-EAP-Inner_GTC", IDS_ONC_WIFI_EAP_INNER_GTC}, |
| 1998 {"OncWiFi-EAP-Outer", IDS_ONC_WIFI_EAP_OUTER}, |
| 1999 {"OncWiFi-EAP-SubjectMatch", IDS_ONC_WIFI_EAP_SUBJECT_MATCH}, |
1988 {"OncWiFi-Security", IDS_ONC_WIFI_SECURITY}, | 2000 {"OncWiFi-Security", IDS_ONC_WIFI_SECURITY}, |
1989 {"OncWiFi-SignalStrength", IDS_ONC_WIFI_SIGNAL_STRENGTH}, | 2001 {"OncWiFi-SignalStrength", IDS_ONC_WIFI_SIGNAL_STRENGTH}, |
1990 {"OncWiMAX-EAP-Identity", IDS_ONC_WIMAX_EAP_IDENTITY}, | 2002 {"OncWiMAX-EAP-Identity", IDS_ONC_WIMAX_EAP_IDENTITY}, |
1991 {"Oncipv4-Gateway", IDS_ONC_IPV4_GATEWAY}, | 2003 {"Oncipv4-Gateway", IDS_ONC_IPV4_GATEWAY}, |
1992 {"Oncipv4-IPAddress", IDS_ONC_IPV4_ADDRESS}, | 2004 {"Oncipv4-IPAddress", IDS_ONC_IPV4_ADDRESS}, |
1993 {"Oncipv4-RoutingPrefix", IDS_ONC_IPV4_ROUTING_PREFIX}, | 2005 {"Oncipv4-RoutingPrefix", IDS_ONC_IPV4_ROUTING_PREFIX}, |
1994 {"Oncipv6-IPAddress", IDS_ONC_IPV6_ADDRESS}, | 2006 {"Oncipv6-IPAddress", IDS_ONC_IPV6_ADDRESS}, |
1995 }; | 2007 }; |
1996 AddLocalizedStringsBulk(html_source, onc_property_strings, | 2008 AddLocalizedStringsBulk(html_source, onc_property_strings, |
1997 arraysize(onc_property_strings)); | 2009 arraysize(onc_property_strings)); |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2044 | 2056 |
2045 #if defined(OS_CHROMEOS) | 2057 #if defined(OS_CHROMEOS) |
2046 chromeos::network_element::AddLocalizedStrings(html_source); | 2058 chromeos::network_element::AddLocalizedStrings(html_source); |
2047 #endif | 2059 #endif |
2048 policy_indicator::AddLocalizedStrings(html_source); | 2060 policy_indicator::AddLocalizedStrings(html_source); |
2049 | 2061 |
2050 html_source->SetJsonPath(kLocalizedStringsFile); | 2062 html_source->SetJsonPath(kLocalizedStringsFile); |
2051 } | 2063 } |
2052 | 2064 |
2053 } // namespace settings | 2065 } // namespace settings |
OLD | NEW |