| Index: chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js
|
| diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js
|
| index a70b96c77bc1387c2298b0b78c0adb73a9d43d6d..0abd9dbfbe09c6834be501cf20e4902b55bf72af 100644
|
| --- a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js
|
| +++ b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js
|
| @@ -168,7 +168,7 @@ var ExceptionPairEntryEvent;
|
| Polymer({
|
| is: 'passwords-section',
|
|
|
| - behaviors: [settings.GlobalScrollTargetBehavior],
|
| + behaviors: [settings.GlobalScrollTargetBehavior, I18nBehavior],
|
|
|
| properties: {
|
| /** Preferences state. */
|
| @@ -351,7 +351,9 @@ Polymer({
|
| * @return {string} password
|
| * @private
|
| */
|
| - getEmptyPassword_: function(length) { return ' '.repeat(length); },
|
| + getEmptyPassword_: function(length) {
|
| + return ' '.repeat(length);
|
| + },
|
|
|
| /**
|
| * Opens the password action menu.
|
| @@ -390,5 +392,14 @@ Polymer({
|
| this.setPassword(item.loginPair, item.plaintextPassword);
|
| }.bind(this));
|
| },
|
| +
|
| + /**
|
| + * @private
|
| + * @param {boolean} toggleValue
|
| + * @return {string}
|
| + */
|
| + getOnOffLabel_: function(toggleValue) {
|
| + return toggleValue ? this.i18n('toggleOn') : this.i18n('toggleOff');
|
| + }
|
| });
|
| })();
|
|
|