| Index: chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js
|
| diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js b/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js
|
| index 8fbd23ce5d1500b718d8be80c41649f92aa6ad75..e23ed90c9e17b244d0fc70244be821926f643269 100644
|
| --- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js
|
| +++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js
|
| @@ -25,8 +25,6 @@ var bluetoothApis = bluetoothApis || {
|
| Polymer({
|
| is: 'settings-bluetooth-page',
|
|
|
| - behaviors: [I18nBehavior],
|
| -
|
| properties: {
|
| /** Preferences state. */
|
| prefs: {
|
| @@ -119,12 +117,14 @@ Polymer({
|
| },
|
|
|
| /**
|
| + * @param {boolean} enabled
|
| + * @param {string} onstr
|
| + * @param {string} offstr
|
| * @return {string}
|
| * @private
|
| */
|
| - getDescription_: function() {
|
| - return this.i18n(
|
| - this.bluetoothEnabled_ ? 'bluetoothEnabled' : 'bluetoothDisabled');
|
| + getOnOffString_: function(enabled, onstr, offstr) {
|
| + return enabled ? onstr : offstr;
|
| },
|
|
|
| /**
|
|
|