| 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 1728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1739 AddLocalizedStringsBulk(html_source, localized_strings, | 1739 AddLocalizedStringsBulk(html_source, localized_strings, |
| 1740 arraysize(localized_strings)); | 1740 arraysize(localized_strings)); |
| 1741 } | 1741 } |
| 1742 | 1742 |
| 1743 } // namespace | 1743 } // namespace |
| 1744 | 1744 |
| 1745 #if defined(OS_CHROMEOS) | 1745 #if defined(OS_CHROMEOS) |
| 1746 void AddCrNetworkStrings(content::WebUIDataSource* html_source) { | 1746 void AddCrNetworkStrings(content::WebUIDataSource* html_source) { |
| 1747 LocalizedString localized_strings[] = { | 1747 LocalizedString localized_strings[] = { |
| 1748 {"networkDisabled", IDS_NETWORK_LIST_DISABLED}, | 1748 {"networkDisabled", IDS_NETWORK_LIST_DISABLED}, |
| 1749 {"networkExpandA11yLabel", IDS_NETWORK_LIST_EXPAND_ACCESSIBILITY_LABEL}, | |
| 1750 {"networkListItemConnected", IDS_NETWORK_LIST_CONNECTED}, | 1749 {"networkListItemConnected", IDS_NETWORK_LIST_CONNECTED}, |
| 1751 {"networkListItemConnecting", IDS_NETWORK_LIST_CONNECTING}, | 1750 {"networkListItemConnecting", IDS_NETWORK_LIST_CONNECTING}, |
| 1752 {"networkListItemNotConnected", IDS_NETWORK_LIST_NOT_CONNECTED}, | 1751 {"networkListItemNotConnected", IDS_NETWORK_LIST_NOT_CONNECTED}, |
| 1753 {"vpnNameTemplate", IDS_NETWORK_LIST_THIRD_PARTY_VPN_NAME_TEMPLATE}, | 1752 {"vpnNameTemplate", IDS_NETWORK_LIST_THIRD_PARTY_VPN_NAME_TEMPLATE}, |
| 1754 }; | 1753 }; |
| 1755 AddLocalizedStringsBulk(html_source, localized_strings, | 1754 AddLocalizedStringsBulk(html_source, localized_strings, |
| 1756 arraysize(localized_strings)); | 1755 arraysize(localized_strings)); |
| 1757 LocalizedString onc_property_strings[] = { | 1756 LocalizedString onc_property_strings[] = { |
| 1758 // Thes strings are generated by prepending 'Onc' to the ONC property | 1757 // Thes strings are generated by prepending 'Onc' to the ONC property |
| 1759 // name. Any '.' in the property name is replaced with '-'. Properties | 1758 // name. Any '.' in the property name is replaced with '-'. Properties |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1864 #if defined(USE_NSS_CERTS) | 1863 #if defined(USE_NSS_CERTS) |
| 1865 AddCertificateManagerStrings(html_source); | 1864 AddCertificateManagerStrings(html_source); |
| 1866 #endif | 1865 #endif |
| 1867 | 1866 |
| 1868 policy_indicator::AddLocalizedStrings(html_source); | 1867 policy_indicator::AddLocalizedStrings(html_source); |
| 1869 | 1868 |
| 1870 html_source->SetJsonPath(kLocalizedStringsFile); | 1869 html_source->SetJsonPath(kLocalizedStringsFile); |
| 1871 } | 1870 } |
| 1872 | 1871 |
| 1873 } // namespace settings | 1872 } // namespace settings |
| OLD | NEW |