| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 LocalizedString localized_strings[] = { | 115 LocalizedString localized_strings[] = { |
| 116 {"a11yPageTitle", IDS_SETTINGS_ACCESSIBILITY}, | 116 {"a11yPageTitle", IDS_SETTINGS_ACCESSIBILITY}, |
| 117 {"a11yWebStore", IDS_SETTINGS_ACCESSIBILITY_WEB_STORE}, | 117 {"a11yWebStore", IDS_SETTINGS_ACCESSIBILITY_WEB_STORE}, |
| 118 {"moreFeaturesLink", IDS_SETTINGS_MORE_FEATURES_LINK}, | 118 {"moreFeaturesLink", IDS_SETTINGS_MORE_FEATURES_LINK}, |
| 119 {"moreFeaturesLinkDescription", | 119 {"moreFeaturesLinkDescription", |
| 120 IDS_SETTINGS_MORE_FEATURES_LINK_DESCRIPTION}, | 120 IDS_SETTINGS_MORE_FEATURES_LINK_DESCRIPTION}, |
| 121 #if defined(OS_CHROMEOS) | 121 #if defined(OS_CHROMEOS) |
| 122 {"optionsInMenuLabel", IDS_SETTINGS_OPTIONS_IN_MENU_LABEL}, | 122 {"optionsInMenuLabel", IDS_SETTINGS_OPTIONS_IN_MENU_LABEL}, |
| 123 {"largeMouseCursorLabel", IDS_SETTINGS_LARGE_MOUSE_CURSOR_LABEL}, | 123 {"largeMouseCursorLabel", IDS_SETTINGS_LARGE_MOUSE_CURSOR_LABEL}, |
| 124 {"largeMouseCursorSizeLabel", IDS_SETTINGS_LARGE_MOUSE_CURSOR_SIZE_LABEL}, | 124 {"largeMouseCursorSizeLabel", IDS_SETTINGS_LARGE_MOUSE_CURSOR_SIZE_LABEL}, |
| 125 {"largeMouseCursorSizeSmallLabel", |
| 126 IDS_SETTINGS_LARGE_MOUSE_CURSOR_SIZE_SMALL_LABEL}, |
| 127 {"largeMouseCursorSizeLargeLabel", |
| 128 IDS_SETTINGS_LARGE_MOUSE_CURSOR_SIZE_LARGE_LABEL}, |
| 125 {"highContrastLabel", IDS_SETTINGS_HIGH_CONTRAST_LABEL}, | 129 {"highContrastLabel", IDS_SETTINGS_HIGH_CONTRAST_LABEL}, |
| 126 {"stickyKeysLabel", IDS_SETTINGS_STICKY_KEYS_LABEL}, | 130 {"stickyKeysLabel", IDS_SETTINGS_STICKY_KEYS_LABEL}, |
| 127 {"chromeVoxLabel", IDS_SETTINGS_CHROMEVOX_LABEL}, | 131 {"chromeVoxLabel", IDS_SETTINGS_CHROMEVOX_LABEL}, |
| 128 {"screenMagnifierLabel", IDS_SETTINGS_SCREEN_MAGNIFIER_LABEL}, | 132 {"screenMagnifierLabel", IDS_SETTINGS_SCREEN_MAGNIFIER_LABEL}, |
| 129 {"tapDraggingLabel", IDS_SETTINGS_TAP_DRAGGING_LABEL}, | 133 {"tapDraggingLabel", IDS_SETTINGS_TAP_DRAGGING_LABEL}, |
| 130 {"clickOnStopLabel", IDS_SETTINGS_CLICK_ON_STOP_LABEL}, | 134 {"clickOnStopLabel", IDS_SETTINGS_CLICK_ON_STOP_LABEL}, |
| 131 {"delayBeforeClickLabel", IDS_SETTINGS_DELAY_BEFORE_CLICK_LABEL}, | 135 {"delayBeforeClickLabel", IDS_SETTINGS_DELAY_BEFORE_CLICK_LABEL}, |
| 132 {"delayBeforeClickExtremelyShort", | 136 {"delayBeforeClickExtremelyShort", |
| 133 IDS_SETTINGS_DELAY_BEFORE_CLICK_EXTREMELY_SHORT}, | 137 IDS_SETTINGS_DELAY_BEFORE_CLICK_EXTREMELY_SHORT}, |
| 134 {"delayBeforeClickVeryShort", IDS_SETTINGS_DELAY_BEFORE_CLICK_VERY_SHORT}, | 138 {"delayBeforeClickVeryShort", IDS_SETTINGS_DELAY_BEFORE_CLICK_VERY_SHORT}, |
| (...skipping 1871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2006 | 2010 |
| 2007 #if defined(OS_CHROMEOS) | 2011 #if defined(OS_CHROMEOS) |
| 2008 chromeos::network_element::AddLocalizedStrings(html_source); | 2012 chromeos::network_element::AddLocalizedStrings(html_source); |
| 2009 #endif | 2013 #endif |
| 2010 policy_indicator::AddLocalizedStrings(html_source); | 2014 policy_indicator::AddLocalizedStrings(html_source); |
| 2011 | 2015 |
| 2012 html_source->SetJsonPath(kLocalizedStringsFile); | 2016 html_source->SetJsonPath(kLocalizedStringsFile); |
| 2013 } | 2017 } |
| 2014 | 2018 |
| 2015 } // namespace settings | 2019 } // namespace settings |
| OLD | NEW |