diff options
Diffstat (limited to 'chromium/chrome/browser/resources/settings/people_page/account_manager.js')
-rw-r--r-- | chromium/chrome/browser/resources/settings/people_page/account_manager.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chromium/chrome/browser/resources/settings/people_page/account_manager.js b/chromium/chrome/browser/resources/settings/people_page/account_manager.js index 8613c1262a3..e5cecdcd17f 100644 --- a/chromium/chrome/browser/resources/settings/people_page/account_manager.js +++ b/chromium/chrome/browser/resources/settings/people_page/account_manager.js @@ -70,6 +70,17 @@ Polymer({ }, /** + * @return {string} 'Secondary Accounts disabled' message depending on + * account type + * @private + */ + getSecondaryAccountsDisabledUserMessage_: function() { + return loadTimeData.getBoolean('isChild') + ? this.i18n('accountManagerSecondaryAccountsDisabledChildText') + : this.i18n('accountManagerSecondaryAccountsDisabledText'); + }, + + /** * @param {string} iconUrl * @return {string} A CSS image-set for multiple scale factors. * @private |