| 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 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 {"keyRepeatRateSlow", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_RATE_SLOW}, | 518 {"keyRepeatRateSlow", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_RATE_SLOW}, |
| 519 {"keyRepeatRateFast", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_FAST}, | 519 {"keyRepeatRateFast", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_FAST}, |
| 520 {"showKeyboardShortcutsOverlay", | 520 {"showKeyboardShortcutsOverlay", |
| 521 IDS_SETTINGS_KEYBOARD_SHOW_KEYBOARD_SHORTCUTS_OVERLAY}, | 521 IDS_SETTINGS_KEYBOARD_SHOW_KEYBOARD_SHORTCUTS_OVERLAY}, |
| 522 {"keyboardShowLanguageAndInput", | 522 {"keyboardShowLanguageAndInput", |
| 523 IDS_SETTINGS_KEYBOARD_SHOW_LANGUAGE_AND_INPUT}, | 523 IDS_SETTINGS_KEYBOARD_SHOW_LANGUAGE_AND_INPUT}, |
| 524 }; | 524 }; |
| 525 AddLocalizedStringsBulk(html_source, keyboard_strings, | 525 AddLocalizedStringsBulk(html_source, keyboard_strings, |
| 526 arraysize(keyboard_strings)); | 526 arraysize(keyboard_strings)); |
| 527 | 527 |
| 528 LocalizedString note_strings[] = { | 528 LocalizedString stylus_strings[] = { |
| 529 {"noteTitle", IDS_SETTINGS_NOTE_TITLE}, | 529 {"stylusTitle", IDS_SETTINGS_STYLUS_TITLE}, |
| 530 {"noteDefaultAppAutoLaunch", IDS_SETTINGS_NOTE_DEFAULT_APP_AUTO_LAUNCH}, | 530 {"stylusAutoOpenStylusTools", IDS_SETTINGS_STYLUS_AUTO_OPEN_STYLUS_TOOLS}, |
| 531 {"noteFindMoreApps", IDS_SETTINGS_NOTE_FIND_MORE_APPS} | 531 {"stylusFindMoreApps", IDS_SETTINGS_STYLUS_FIND_MORE_APPS} |
| 532 }; | 532 }; |
| 533 AddLocalizedStringsBulk(html_source, note_strings, | 533 AddLocalizedStringsBulk(html_source, stylus_strings, |
| 534 arraysize(note_strings)); | 534 arraysize(stylus_strings)); |
| 535 | 535 |
| 536 | 536 |
| 537 LocalizedString display_strings[] = { | 537 LocalizedString display_strings[] = { |
| 538 {"displayTitle", IDS_SETTINGS_DISPLAY_TITLE}, | 538 {"displayTitle", IDS_SETTINGS_DISPLAY_TITLE}, |
| 539 {"displayArrangement", IDS_SETTINGS_DISPLAY_ARRANGEMENT}, | 539 {"displayArrangement", IDS_SETTINGS_DISPLAY_ARRANGEMENT}, |
| 540 {"displayMirror", IDS_SETTINGS_DISPLAY_MIRROR}, | 540 {"displayMirror", IDS_SETTINGS_DISPLAY_MIRROR}, |
| 541 {"displayMakePrimary", IDS_SETTINGS_DISPLAY_MAKE_PRIMARY}, | 541 {"displayMakePrimary", IDS_SETTINGS_DISPLAY_MAKE_PRIMARY}, |
| 542 {"displayResolutionTitle", IDS_SETTINGS_DISPLAY_RESOLUTION_TITLE}, | 542 {"displayResolutionTitle", IDS_SETTINGS_DISPLAY_RESOLUTION_TITLE}, |
| 543 {"displayResolutionText", IDS_SETTINGS_DISPLAY_RESOLUTION_TEXT}, | 543 {"displayResolutionText", IDS_SETTINGS_DISPLAY_RESOLUTION_TEXT}, |
| 544 {"displayResolutionTextBest", IDS_SETTINGS_DISPLAY_RESOLUTION_TEXT_BEST}, | 544 {"displayResolutionTextBest", IDS_SETTINGS_DISPLAY_RESOLUTION_TEXT_BEST}, |
| (...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1434 #endif | 1434 #endif |
| 1435 AddUsersStrings(html_source); | 1435 AddUsersStrings(html_source); |
| 1436 AddWebContentStrings(html_source); | 1436 AddWebContentStrings(html_source); |
| 1437 | 1437 |
| 1438 policy_indicator::AddLocalizedStrings(html_source); | 1438 policy_indicator::AddLocalizedStrings(html_source); |
| 1439 | 1439 |
| 1440 html_source->SetJsonPath(kLocalizedStringsFile); | 1440 html_source->SetJsonPath(kLocalizedStringsFile); |
| 1441 } | 1441 } |
| 1442 | 1442 |
| 1443 } // namespace settings | 1443 } // namespace settings |
| OLD | NEW |