| Index: chrome/browser/resources/settings/bluetooth_page/bluetooth_subpage.js
|
| diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_subpage.js b/chrome/browser/resources/settings/bluetooth_page/bluetooth_subpage.js
|
| index 6af380232d5189e677b1d6eb25781b975af05ded..eec93c88966f03604539f1f3f60bfe940e0d67b8 100644
|
| --- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_subpage.js
|
| +++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_subpage.js
|
| @@ -348,11 +348,14 @@ Polymer({
|
| },
|
|
|
| /**
|
| + * @param {boolean} enabled
|
| + * @param {string} onstr
|
| + * @param {string} offstr
|
| * @return {string}
|
| * @private
|
| */
|
| - getOffOnString_: function() {
|
| - return this.i18n(this.bluetoothEnabled ? 'bluetoothOn' : 'bluetoothOff');
|
| + getOnOffString_: function(enabled, onstr, offstr) {
|
| + return enabled ? onstr : offstr;
|
| },
|
|
|
| /**
|
|
|