| 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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 {"keyboardShowLanguageAndInput", | 571 {"keyboardShowLanguageAndInput", |
| 572 IDS_SETTINGS_KEYBOARD_SHOW_LANGUAGE_AND_INPUT}, | 572 IDS_SETTINGS_KEYBOARD_SHOW_LANGUAGE_AND_INPUT}, |
| 573 }; | 573 }; |
| 574 AddLocalizedStringsBulk(html_source, keyboard_strings, | 574 AddLocalizedStringsBulk(html_source, keyboard_strings, |
| 575 arraysize(keyboard_strings)); | 575 arraysize(keyboard_strings)); |
| 576 | 576 |
| 577 LocalizedString stylus_strings[] = { | 577 LocalizedString stylus_strings[] = { |
| 578 {"stylusTitle", IDS_SETTINGS_STYLUS_TITLE}, | 578 {"stylusTitle", IDS_SETTINGS_STYLUS_TITLE}, |
| 579 {"stylusEnableStylusTools", IDS_SETTINGS_STYLUS_ENABLE_STYLUS_TOOLS}, | 579 {"stylusEnableStylusTools", IDS_SETTINGS_STYLUS_ENABLE_STYLUS_TOOLS}, |
| 580 {"stylusAutoOpenStylusTools", IDS_SETTINGS_STYLUS_AUTO_OPEN_STYLUS_TOOLS}, | 580 {"stylusAutoOpenStylusTools", IDS_SETTINGS_STYLUS_AUTO_OPEN_STYLUS_TOOLS}, |
| 581 {"stylusFindMoreApps", IDS_SETTINGS_STYLUS_FIND_MORE_APPS}}; | 581 {"stylusFindMoreAppsPrimary", IDS_SETTINGS_STYLUS_FIND_MORE_APPS_PRIMARY}, |
| 582 {"stylusFindMoreAppsSecondary", |
| 583 IDS_SETTINGS_STYLUS_FIND_MORE_APPS_SECONDARY}, |
| 584 {"stylusNoteTakingApp", IDS_SETTINGS_STYLUS_NOTE_TAKING_APP_LABEL}, |
| 585 {"stylusNoteTakingAppNoneAvailable", |
| 586 IDS_SETTINGS_STYLUS_NOTE_TAKING_APP_NONE_AVAILABLE}, |
| 587 {"stylusNoteTakingAppWaitingForAndroid", |
| 588 IDS_SETTINGS_STYLUS_NOTE_TAKING_APP_WAITING_FOR_ANDROID}}; |
| 582 AddLocalizedStringsBulk(html_source, stylus_strings, | 589 AddLocalizedStringsBulk(html_source, stylus_strings, |
| 583 arraysize(stylus_strings)); | 590 arraysize(stylus_strings)); |
| 584 | 591 |
| 585 LocalizedString display_strings[] = { | 592 LocalizedString display_strings[] = { |
| 586 {"displayTitle", IDS_SETTINGS_DISPLAY_TITLE}, | 593 {"displayTitle", IDS_SETTINGS_DISPLAY_TITLE}, |
| 587 {"displayArrangementText", IDS_SETTINGS_DISPLAY_ARRANGEMENT_TEXT}, | 594 {"displayArrangementText", IDS_SETTINGS_DISPLAY_ARRANGEMENT_TEXT}, |
| 588 {"displayArrangementTitle", IDS_SETTINGS_DISPLAY_ARRANGEMENT_TITLE}, | 595 {"displayArrangementTitle", IDS_SETTINGS_DISPLAY_ARRANGEMENT_TITLE}, |
| 589 {"displayMirror", IDS_SETTINGS_DISPLAY_MIRROR}, | 596 {"displayMirror", IDS_SETTINGS_DISPLAY_MIRROR}, |
| 590 {"displayMirrorOff", IDS_SETTINGS_DISPLAY_MIRRORING_OFF}, | 597 {"displayMirrorOff", IDS_SETTINGS_DISPLAY_MIRRORING_OFF}, |
| 591 {"displayMirrorOn", IDS_SETTINGS_DISPLAY_MIRRORING_ON}, | 598 {"displayMirrorOn", IDS_SETTINGS_DISPLAY_MIRRORING_ON}, |
| (...skipping 1282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1874 #if defined(USE_NSS_CERTS) | 1881 #if defined(USE_NSS_CERTS) |
| 1875 AddCertificateManagerStrings(html_source); | 1882 AddCertificateManagerStrings(html_source); |
| 1876 #endif | 1883 #endif |
| 1877 | 1884 |
| 1878 policy_indicator::AddLocalizedStrings(html_source); | 1885 policy_indicator::AddLocalizedStrings(html_source); |
| 1879 | 1886 |
| 1880 html_source->SetJsonPath(kLocalizedStringsFile); | 1887 html_source->SetJsonPath(kLocalizedStringsFile); |
| 1881 } | 1888 } |
| 1882 | 1889 |
| 1883 } // namespace settings | 1890 } // namespace settings |
| OLD | NEW |