| 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 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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}, | 1099 {"selectDriver", IDS_SETTINGS_PRINTING_CUPS_PRINTER_SELECT_DRIVER}, |
| 1100 {"selectDriverButtonText", | 1100 {"selectDriverButtonText", |
| 1101 IDS_SETTINGS_PRINTING_CUPS_PRINTER_BUTTON_SELECT_DRIVER}, | 1101 IDS_SETTINGS_PRINTING_CUPS_PRINTER_BUTTON_SELECT_DRIVER}, |
| 1102 {"printerAddedSuccessfulMessage", |
| 1103 IDS_SETTINGS_PRINTING_CUPS_PRINTER_ADDED_PRINTER_MESSAGE}, |
| 1102 #endif | 1104 #endif |
| 1103 }; | 1105 }; |
| 1104 AddLocalizedStringsBulk(html_source, localized_strings, | 1106 AddLocalizedStringsBulk(html_source, localized_strings, |
| 1105 arraysize(localized_strings)); | 1107 arraysize(localized_strings)); |
| 1106 | 1108 |
| 1107 html_source->AddString("devicesUrl", chrome::kChromeUIDevicesURL); | 1109 html_source->AddString("devicesUrl", chrome::kChromeUIDevicesURL); |
| 1108 html_source->AddString("printingCloudPrintLearnMoreUrl", | 1110 html_source->AddString("printingCloudPrintLearnMoreUrl", |
| 1109 chrome::kCloudPrintLearnMoreURL); | 1111 chrome::kCloudPrintLearnMoreURL); |
| 1110 | 1112 |
| 1111 #if defined(OS_CHROMEOS) | 1113 #if defined(OS_CHROMEOS) |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1620 #endif | 1622 #endif |
| 1621 AddUsersStrings(html_source); | 1623 AddUsersStrings(html_source); |
| 1622 AddWebContentStrings(html_source); | 1624 AddWebContentStrings(html_source); |
| 1623 | 1625 |
| 1624 policy_indicator::AddLocalizedStrings(html_source); | 1626 policy_indicator::AddLocalizedStrings(html_source); |
| 1625 | 1627 |
| 1626 html_source->SetJsonPath(kLocalizedStringsFile); | 1628 html_source->SetJsonPath(kLocalizedStringsFile); |
| 1627 } | 1629 } |
| 1628 | 1630 |
| 1629 } // namespace settings | 1631 } // namespace settings |
| OLD | NEW |