| 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 } | 314 } |
| 315 | 315 |
| 316 #if defined(OS_CHROMEOS) | 316 #if defined(OS_CHROMEOS) |
| 317 void AddBluetoothStrings(content::WebUIDataSource* html_source) { | 317 void AddBluetoothStrings(content::WebUIDataSource* html_source) { |
| 318 LocalizedString localized_strings[] = { | 318 LocalizedString localized_strings[] = { |
| 319 {"bluetoothAccept", IDS_OPTIONS_SETTINGS_BLUETOOTH_ACCEPT_PASSKEY}, | 319 {"bluetoothAccept", IDS_OPTIONS_SETTINGS_BLUETOOTH_ACCEPT_PASSKEY}, |
| 320 {"bluetoothAddDevice", IDS_OPTIONS_SETTINGS_ADD_BLUETOOTH_DEVICE}, | 320 {"bluetoothAddDevice", IDS_OPTIONS_SETTINGS_ADD_BLUETOOTH_DEVICE}, |
| 321 {"bluetoothAddDevicePageTitle", IDS_SETTINGS_BLUETOOTH_ADD_DEVICE}, | 321 {"bluetoothAddDevicePageTitle", IDS_SETTINGS_BLUETOOTH_ADD_DEVICE}, |
| 322 {"bluetoothConnect", IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT}, | 322 {"bluetoothConnect", IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT}, |
| 323 {"bluetoothConnecting", IDS_SETTINGS_BLUETOOTH_CONNECTING}, | 323 {"bluetoothConnecting", IDS_SETTINGS_BLUETOOTH_CONNECTING}, |
| 324 {"bluetoothDisabled", IDS_SETTINGS_BLUETOOTH_DISABLED}, |
| 324 {"bluetoothDisconnect", IDS_OPTIONS_SETTINGS_BLUETOOTH_DISCONNECT}, | 325 {"bluetoothDisconnect", IDS_OPTIONS_SETTINGS_BLUETOOTH_DISCONNECT}, |
| 325 {"bluetoothDismiss", IDS_OPTIONS_SETTINGS_BLUETOOTH_DISMISS_ERROR}, | 326 {"bluetoothDismiss", IDS_OPTIONS_SETTINGS_BLUETOOTH_DISMISS_ERROR}, |
| 326 {"bluetoothEnable", IDS_SETTINGS_BLUETOOTH_ENABLE}, | 327 {"bluetoothEnabled", IDS_SETTINGS_BLUETOOTH_ENABLED}, |
| 327 {"bluetoothExpandA11yLabel", | 328 {"bluetoothExpandA11yLabel", |
| 328 IDS_SETTINGS_BLUETOOTH_EXPAND_ACCESSIBILITY_LABEL}, | 329 IDS_SETTINGS_BLUETOOTH_EXPAND_ACCESSIBILITY_LABEL}, |
| 329 {"bluetoothNoDevices", IDS_OPTIONS_SETTINGS_BLUETOOTH_NO_DEVICES}, | 330 {"bluetoothNoDevices", IDS_OPTIONS_SETTINGS_BLUETOOTH_NO_DEVICES}, |
| 330 {"bluetoothPageTitle", IDS_SETTINGS_BLUETOOTH}, | 331 {"bluetoothPageTitle", IDS_SETTINGS_BLUETOOTH}, |
| 331 {"bluetoothPairDevicePageTitle", IDS_SETTINGS_BLUETOOTH_PAIR_DEVICE}, | 332 {"bluetoothPairDevicePageTitle", IDS_SETTINGS_BLUETOOTH_PAIR_DEVICE}, |
| 332 {"bluetoothReject", IDS_OPTIONS_SETTINGS_BLUETOOTH_REJECT_PASSKEY}, | 333 {"bluetoothReject", IDS_OPTIONS_SETTINGS_BLUETOOTH_REJECT_PASSKEY}, |
| 333 {"bluetoothRemove", IDS_SETTINGS_BLUETOOTH_REMOVE}, | 334 {"bluetoothRemove", IDS_SETTINGS_BLUETOOTH_REMOVE}, |
| 334 {"bluetoothScanning", IDS_OPTIONS_SETTINGS_BLUETOOTH_SCANNING}, | 335 {"bluetoothScanning", IDS_OPTIONS_SETTINGS_BLUETOOTH_SCANNING}, |
| 335 // Device connecting and pairing. | 336 // Device connecting and pairing. |
| 336 {"bluetoothStartConnecting", IDS_SETTINGS_BLUETOOTH_START_CONNECTING}, | 337 {"bluetoothStartConnecting", IDS_SETTINGS_BLUETOOTH_START_CONNECTING}, |
| (...skipping 1509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1846 #if defined(USE_NSS_CERTS) | 1847 #if defined(USE_NSS_CERTS) |
| 1847 AddCertificateManagerStrings(html_source); | 1848 AddCertificateManagerStrings(html_source); |
| 1848 #endif | 1849 #endif |
| 1849 | 1850 |
| 1850 policy_indicator::AddLocalizedStrings(html_source); | 1851 policy_indicator::AddLocalizedStrings(html_source); |
| 1851 | 1852 |
| 1852 html_source->SetJsonPath(kLocalizedStringsFile); | 1853 html_source->SetJsonPath(kLocalizedStringsFile); |
| 1853 } | 1854 } |
| 1854 | 1855 |
| 1855 } // namespace settings | 1856 } // namespace settings |
| OLD | NEW |