| 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/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 {"keyboardSendFunctionKeys", IDS_SETTINGS_KEYBOARD_SEND_FUNCTION_KEYS}, | 372 {"keyboardSendFunctionKeys", IDS_SETTINGS_KEYBOARD_SEND_FUNCTION_KEYS}, |
| 373 {"keyboardSendFunctionKeysDescription", | 373 {"keyboardSendFunctionKeysDescription", |
| 374 IDS_SETTINGS_KEYBOARD_SEND_FUNCTION_KEYS_DESCRIPTION}, | 374 IDS_SETTINGS_KEYBOARD_SEND_FUNCTION_KEYS_DESCRIPTION}, |
| 375 {"keyboardEnableAutoRepeat", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_ENABLE}, | 375 {"keyboardEnableAutoRepeat", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_ENABLE}, |
| 376 {"keyRepeatDelay", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_DELAY}, | 376 {"keyRepeatDelay", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_DELAY}, |
| 377 {"keyRepeatDelayLong", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_DELAY_LONG}, | 377 {"keyRepeatDelayLong", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_DELAY_LONG}, |
| 378 {"keyRepeatDelayShort", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_DELAY_SHORT}, | 378 {"keyRepeatDelayShort", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_DELAY_SHORT}, |
| 379 {"keyRepeatRate", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_RATE}, | 379 {"keyRepeatRate", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_RATE}, |
| 380 {"keyRepeatRateSlow", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_RATE_SLOW}, | 380 {"keyRepeatRateSlow", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_RATE_SLOW}, |
| 381 {"keyRepeatRateFast", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_FAST}, | 381 {"keyRepeatRateFast", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_FAST}, |
| 382 {"showKeyboardShortcutsOverlay", |
| 383 IDS_SETTINGS_KEYBOARD_SHOW_KEYBOARD_SHORTCUTS_OVERLAY}, |
| 384 {"keyboardShowLanguageAndInput", |
| 385 IDS_SETTINGS_KEYBOARD_SHOW_LANGUAGE_AND_INPUT}, |
| 382 }; | 386 }; |
| 383 AddLocalizedStringsBulk(html_source, keyboard_strings, | 387 AddLocalizedStringsBulk(html_source, keyboard_strings, |
| 384 arraysize(keyboard_strings)); | 388 arraysize(keyboard_strings)); |
| 385 | 389 |
| 386 LocalizedString display_strings[] = { | 390 LocalizedString display_strings[] = { |
| 387 {"devicePageTitle", IDS_SETTINGS_DEVICE_TITLE}, | 391 {"devicePageTitle", IDS_SETTINGS_DEVICE_TITLE}, |
| 388 {"displayTitle", IDS_SETTINGS_DISPLAY_TITLE}, | 392 {"displayTitle", IDS_SETTINGS_DISPLAY_TITLE}, |
| 389 {"displayArrangement", IDS_SETTINGS_DISPLAY_ARRANGEMENT}, | 393 {"displayArrangement", IDS_SETTINGS_DISPLAY_ARRANGEMENT}, |
| 390 {"displayMirror", IDS_SETTINGS_DISPLAY_MIRROR}, | 394 {"displayMirror", IDS_SETTINGS_DISPLAY_MIRROR}, |
| 391 {"displayMakePrimary", IDS_SETTINGS_DISPLAY_MAKE_PRIMARY}, | 395 {"displayMakePrimary", IDS_SETTINGS_DISPLAY_MAKE_PRIMARY}, |
| (...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 987 #endif | 991 #endif |
| 988 AddUsersStrings(html_source); | 992 AddUsersStrings(html_source); |
| 989 AddWebContentStrings(html_source); | 993 AddWebContentStrings(html_source); |
| 990 | 994 |
| 991 policy_indicator::AddLocalizedStrings(html_source); | 995 policy_indicator::AddLocalizedStrings(html_source); |
| 992 | 996 |
| 993 html_source->SetJsonPath(kLocalizedStringsFile); | 997 html_source->SetJsonPath(kLocalizedStringsFile); |
| 994 } | 998 } |
| 995 | 999 |
| 996 } // namespace settings | 1000 } // namespace settings |
| OLD | NEW |