Index: chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js |
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js |
index 020ab409f22f8cff99ad52173f1c22dd6cf55e51..9d44d68ea6778089b4ff7d58a37b0e7c056a785b 100644 |
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js |
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js |
@@ -357,9 +357,10 @@ Polymer({ |
* @return {string} The title of for that |dialogId|. |
*/ |
getTitle_: function(dialogId) { |
- return this.i18n( |
- dialogId == 'addDevice' ? 'bluetoothAddDevicePageTitle' : |
- 'bluetoothPairDevicePageTitle'); |
+ if (dialogId == 'addDevice') |
+ return this.i18n('bluetoothAddDevicePageTitle'); |
+ // Use the 'pair' title for the pairing dialog and error dialog. |
+ return this.i18n('bluetoothPairDevicePageTitle'); |
}, |
/** |