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