| 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 3ca36bfa27b3561fc6bcf7378a7f49d783543a89..3b5f21972d29827c0debd36edac70d6fd0c39169 100644
|
| --- a/chrome/browser/resources/options2/options_page.js
|
| +++ b/chrome/browser/resources/options2/options_page.js
|
| @@ -696,12 +696,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');
|
| }
|
| }
|
| },
|
|
|