| 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 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1089 {"printerProtocolLpd", IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_LPD}, | 1089 {"printerProtocolLpd", IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_LPD}, |
| 1090 {"printerProtocolUsb", IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_USB}, | 1090 {"printerProtocolUsb", IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_USB}, |
| 1091 {"printerConfiguringMessage", | 1091 {"printerConfiguringMessage", |
| 1092 IDS_SETTINGS_PRINTING_CUPS_PRINTER_CONFIGURING_MESSAGE}, | 1092 IDS_SETTINGS_PRINTING_CUPS_PRINTER_CONFIGURING_MESSAGE}, |
| 1093 {"searchingPrinter", IDS_SETTINGS_PRINTING_CUPS_PRINTER_SEARCHING_PRINTER}, | 1093 {"searchingPrinter", IDS_SETTINGS_PRINTING_CUPS_PRINTER_SEARCHING_PRINTER}, |
| 1094 {"printerNotFound", IDS_SETTINGS_PRINTING_CUPS_PRINTER_NOT_FOUND_PRINTER}, | 1094 {"printerNotFound", IDS_SETTINGS_PRINTING_CUPS_PRINTER_NOT_FOUND_PRINTER}, |
| 1095 {"printerFound", IDS_SETTINGS_PRINTING_CUPS_PRINTER_FOUND_PRINTER}, | 1095 {"printerFound", IDS_SETTINGS_PRINTING_CUPS_PRINTER_FOUND_PRINTER}, |
| 1096 {"selectManufacturerModelMessage", | 1096 {"selectManufacturerModelMessage", |
| 1097 IDS_SETTINGS_PRINTING_CUPS_PRINTER_SELECT_MANUFACTURER_MODEL}, | 1097 IDS_SETTINGS_PRINTING_CUPS_PRINTER_SELECT_MANUFACTURER_MODEL}, |
| 1098 {"printerManufacturer", IDS_SETTINGS_PRINTING_CUPS_PRINTER_MANUFACTURER}, | 1098 {"printerManufacturer", IDS_SETTINGS_PRINTING_CUPS_PRINTER_MANUFACTURER}, |
| 1099 {"selectDriver", IDS_SETTINGS_PRINTING_CUPS_PRINTER_SELECT_DRIVER}, |
| 1100 {"selectDriverButtonText", |
| 1101 IDS_SETTINGS_PRINTING_CUPS_PRINTER_BUTTON_SELECT_DRIVER}, |
| 1099 #endif | 1102 #endif |
| 1100 }; | 1103 }; |
| 1101 AddLocalizedStringsBulk(html_source, localized_strings, | 1104 AddLocalizedStringsBulk(html_source, localized_strings, |
| 1102 arraysize(localized_strings)); | 1105 arraysize(localized_strings)); |
| 1103 | 1106 |
| 1104 html_source->AddString("devicesUrl", chrome::kChromeUIDevicesURL); | 1107 html_source->AddString("devicesUrl", chrome::kChromeUIDevicesURL); |
| 1105 html_source->AddString("printingCloudPrintLearnMoreUrl", | 1108 html_source->AddString("printingCloudPrintLearnMoreUrl", |
| 1106 chrome::kCloudPrintLearnMoreURL); | 1109 chrome::kCloudPrintLearnMoreURL); |
| 1107 | 1110 |
| 1108 #if defined(OS_CHROMEOS) | 1111 #if defined(OS_CHROMEOS) |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1617 #endif | 1620 #endif |
| 1618 AddUsersStrings(html_source); | 1621 AddUsersStrings(html_source); |
| 1619 AddWebContentStrings(html_source); | 1622 AddWebContentStrings(html_source); |
| 1620 | 1623 |
| 1621 policy_indicator::AddLocalizedStrings(html_source); | 1624 policy_indicator::AddLocalizedStrings(html_source); |
| 1622 | 1625 |
| 1623 html_source->SetJsonPath(kLocalizedStringsFile); | 1626 html_source->SetJsonPath(kLocalizedStringsFile); |
| 1624 } | 1627 } |
| 1625 | 1628 |
| 1626 } // namespace settings | 1629 } // namespace settings |
| OLD | NEW |