| Index: chrome/browser/resources/options2/options_page.js
|
| diff --git a/chrome/browser/resources/options2/options_page.js b/chrome/browser/resources/options2/options_page.js
|
| index b8b6d0f33a4da803a92d2a548157947fae195d4c..10ff7fc9a03025a9233ce22fd0ffa353df325a6a 100644
|
| --- a/chrome/browser/resources/options2/options_page.js
|
| +++ b/chrome/browser/resources/options2/options_page.js
|
| @@ -677,12 +677,14 @@ cr.define('options', function() {
|
|
|
| var text = bannerDiv.querySelector('.managed-prefs-text');
|
| if (controlledByPolicy && !controlledByExtension) {
|
| - text.textContent = templateData.policyManagedPrefsBannerText;
|
| + text.textContent =
|
| + loadTimeData.getString('policyManagedPrefsBannerText');
|
| } else if (!controlledByPolicy && controlledByExtension) {
|
| - text.textContent = templateData.extensionManagedPrefsBannerText;
|
| - } else if (controlledByPolicy && controlledByExtension) {
|
| text.textContent =
|
| - templateData.policyAndExtensionManagedPrefsBannerText;
|
| + loadTimeData.getString('extensionManagedPrefsBannerText');
|
| + } else if (controlledByPolicy && controlledByExtension) {
|
| + text.textContent = loadTimeData.getString(
|
| + 'policyAndExtensionManagedPrefsBannerText');
|
| }
|
| }
|
| },
|
|
|