mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 1488229 - Make the documentation for policies translatable. r=flod
This changeset includes revised strings for some of the policies. Differential Revision: https://phabricator.services.mozilla.com/D4870
This commit is contained in:
parent
e8abb04333
commit
a5958404b0
@ -243,7 +243,9 @@ function generateDocumentation() {
|
||||
} else {
|
||||
row.appendChild(col(policyName));
|
||||
}
|
||||
row.appendChild(col(schema.properties[policyName].description));
|
||||
let descriptionColumn = col("");
|
||||
descriptionColumn.setAttribute("data-l10n-id", `policy-${policyName}`);
|
||||
row.appendChild(descriptionColumn);
|
||||
main_tbody.appendChild(row);
|
||||
let sec_tbody = document.createElement("tbody");
|
||||
sec_tbody.classList.add("content");
|
||||
|
@ -10,7 +10,10 @@
|
||||
<head>
|
||||
<title data-l10n-id="about-policies-title"/>
|
||||
<link rel="stylesheet" href="chrome://browser/content/policies/aboutPolicies.css" type="text/css" />
|
||||
<link rel="localization" href="branding/brand.ftl"/>
|
||||
<link rel="localization" href="browser/branding/sync-brand.ftl"/>
|
||||
<link rel="localization" href="browser/aboutPolicies.ftl"/>
|
||||
<link rel="localization" href="browser/policies/policies-descriptions.ftl"/>
|
||||
<script type="application/javascript" src="chrome://global/content/l10n.js"></script>
|
||||
<script type="application/javascript" src="chrome://browser/content/policies/aboutPolicies.js" />
|
||||
</head>
|
||||
|
@ -3,14 +3,12 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"AppUpdateURL": {
|
||||
"description": "Sets custom app update server URL.",
|
||||
"machine_only": true,
|
||||
|
||||
"type": "URL"
|
||||
},
|
||||
|
||||
"Authentication": {
|
||||
"description": "Sites that support integrated authentication. See https://developer.mozilla.org/en-US/docs/Mozilla/Integrated_authentication",
|
||||
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"SPNEGO" : {
|
||||
@ -47,32 +45,22 @@
|
||||
},
|
||||
|
||||
"BlockAboutAddons": {
|
||||
"description": "Block access to the Add-ons Mananger (about:addons).",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"BlockAboutConfig": {
|
||||
"description": "Blocks access to the about:config page.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"BlockAboutProfiles": {
|
||||
"description": "Blocks access to the about:profiles page.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"BlockAboutSupport": {
|
||||
"description": "Blocks access to the about:support page.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"Bookmarks": {
|
||||
"description": "Allows the creation of bookmarks in the Bookmarks bar, Bookmarks menu, or a specified folder inside them.",
|
||||
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
@ -103,8 +91,6 @@
|
||||
},
|
||||
|
||||
"Certificates": {
|
||||
"description": "Whether or not to use built in certs. This policy is Windows only at this time.",
|
||||
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ImportEnterpriseRoots": {
|
||||
@ -114,8 +100,6 @@
|
||||
},
|
||||
|
||||
"Cookies": {
|
||||
"description": "Allow or deny websites to set cookies.",
|
||||
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Allow": {
|
||||
@ -158,99 +142,68 @@
|
||||
},
|
||||
|
||||
"DisableAppUpdate": {
|
||||
"description": "Prevent the browser from updating.",
|
||||
"machine_only": true,
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisableBuiltinPDFViewer": {
|
||||
"description": "Disables PDF.js, which displays PDFs within Firefox.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisableDeveloperTools": {
|
||||
"description": "Prevents access to developer tools.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisableFeedbackCommands": {
|
||||
"description": "Prevents ability to send feedback from the help menu (\"Submit Feedback\" and \"Report Deceptive Site\").",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisableFirefoxAccounts": {
|
||||
"description": "Disables Firefox Account based services, including Sync.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisableFirefoxScreenshots": {
|
||||
"description": "Prevents usage of the Firefox Screenshots feature.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisableFirefoxStudies": {
|
||||
"description": "Prevents Firefox from running studies.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisableForgetButton": {
|
||||
"description": "Prevents access to the \"Forget\" button.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisableFormHistory": {
|
||||
"description": "Don't remember search and form history.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisableMasterPasswordCreation": {
|
||||
"description": "If true, removes access to create a master password.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisablePocket": {
|
||||
"description": "Prevents ability to save webpages to Pocket.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisablePrivateBrowsing": {
|
||||
"description": "Disables private browsing.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisableProfileImport": {
|
||||
"description": "Disables the Firefox \"Import data from another browser\" button.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisableProfileRefresh": {
|
||||
"description": "Disables the \"Refresh Firefox\" button in about:support.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisableSafeMode": {
|
||||
"description": "Prevents ability to restart in safe mode. You can only prevent the Shift key by using GPO on Windows.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisableSecurityBypass": {
|
||||
"description": "Prevents the user from bypassing certain security warnings.",
|
||||
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"InvalidCertificate": {
|
||||
@ -264,46 +217,34 @@
|
||||
},
|
||||
|
||||
"DisableSetDesktopBackground": {
|
||||
"description": "Prevents usage of the \"Set Image as Desktop Background\" feature.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisableSystemAddonUpdate": {
|
||||
"description": "Prevent the browser from installing and updating system addons.",
|
||||
"machine_only": true,
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisableTelemetry": {
|
||||
"description": "Turns off Telemetry.",
|
||||
"machine_only": true,
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisplayBookmarksToolbar": {
|
||||
"description": "Causes the bookmarks toolbar to be displayed by default.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisplayMenuBar": {
|
||||
"description": "Causes the menu bar to be displayed by default.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DontCheckDefaultBrowser": {
|
||||
"description": "Don't check for the default browser on startup.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"EnableTrackingProtection": {
|
||||
"description": "Enables or disables tracking protection and optionally locks it.",
|
||||
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Value": {
|
||||
@ -317,7 +258,6 @@
|
||||
},
|
||||
|
||||
"Extensions": {
|
||||
"description": "Install, uninstall or lock extensions. The Install option takes URLs or paths as parameters. The Uninstall and Locked options take extension IDs.",
|
||||
"machine_only": true,
|
||||
|
||||
"type": "object",
|
||||
@ -344,8 +284,6 @@
|
||||
},
|
||||
|
||||
"FlashPlugin": {
|
||||
"description": "Allow or deny flash plugin usage.",
|
||||
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Allow": {
|
||||
@ -375,13 +313,10 @@
|
||||
},
|
||||
|
||||
"HardwareAcceleration": {
|
||||
"description": "If false, prevents ability to turn on hardware acceleration.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"Homepage": {
|
||||
"description": "Set and optionally lock the homepage.",
|
||||
"machine_only": true,
|
||||
|
||||
"type": "object",
|
||||
@ -404,8 +339,6 @@
|
||||
},
|
||||
|
||||
"InstallAddonsPermission": {
|
||||
"description": "Allow websites to install add-ons.",
|
||||
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Allow": {
|
||||
@ -422,34 +355,26 @@
|
||||
},
|
||||
|
||||
"NoDefaultBookmarks": {
|
||||
"description": "Don't create the default bookmarks bundled with Firefox, nor the Smart Bookmarks (Most Visited, Recent Tags). Note: this policy is only effective if used before the first run of the profile.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"OfferToSaveLogins": {
|
||||
"description": "Enforces the setting to allow Firefox to offer to remember saved logins and passwords. Both true and false values are accepted.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"OverrideFirstRunPage": {
|
||||
"description": "Override the first run page. Set this policy to blank if you want to disable the first run page.",
|
||||
"machine_only": true,
|
||||
|
||||
"type": "URLorEmpty"
|
||||
},
|
||||
|
||||
"OverridePostUpdatePage": {
|
||||
"description": "Override the post-update \"What's New\" page. Set this policy to blank if you want to disable the post-update page.",
|
||||
"machine_only": true,
|
||||
|
||||
"type": "URLorEmpty"
|
||||
},
|
||||
|
||||
"Permissions": {
|
||||
"description": "Configure permissions for camera, microphone, location and notifications.",
|
||||
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Camera": {
|
||||
@ -571,8 +496,6 @@
|
||||
},
|
||||
|
||||
"PopupBlocking": {
|
||||
"description": "Allow or deny popup usage.",
|
||||
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Allow": {
|
||||
@ -594,8 +517,6 @@
|
||||
},
|
||||
|
||||
"Proxy": {
|
||||
"description": "Configure Proxy settings.",
|
||||
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Mode": {
|
||||
@ -651,20 +572,15 @@
|
||||
},
|
||||
|
||||
"SanitizeOnShutdown": {
|
||||
"description": "Clears ALL browser data on shutdown.",
|
||||
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"SearchBar": {
|
||||
"description": "Sets the default location of the search bar. Only applies on first run, but can be changed.",
|
||||
|
||||
"type": "string",
|
||||
"enum": ["unified", "separate"]
|
||||
},
|
||||
|
||||
"SearchEngines": {
|
||||
"description": "Modifies the list of search engines built into Firefox.",
|
||||
"enterprise_only": true,
|
||||
|
||||
"type": "object",
|
||||
@ -717,7 +633,6 @@
|
||||
},
|
||||
|
||||
"WebsiteFilter": {
|
||||
"description": "Blocks websites from being visited. The parameters take an array of Match Patterns, as documented in https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Match_patterns. Only http/https accesses are supported at the moment. The arrays are limited to 1000 entries each.",
|
||||
"machine_only": "true",
|
||||
|
||||
"type": "object",
|
||||
|
107
browser/locales/en-US/browser/policies/policies-descriptions.ftl
Normal file
107
browser/locales/en-US/browser/policies/policies-descriptions.ftl
Normal file
@ -0,0 +1,107 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
## The Enterprise Policies feature is aimed at system administrators
|
||||
## who want to deploy these settings across several Firefox installations
|
||||
## all at once. This is traditionally done through the Windows Group Policy
|
||||
## feature, but the system also supports other forms of deployment.
|
||||
## These are short descriptions for individual policies, to be displayed
|
||||
## in the documentation section in about:policies.
|
||||
|
||||
policy-AppUpdateURL = Set custom app update URL.
|
||||
|
||||
policy-Authentication = Configure integrated authentication for websites that support it.
|
||||
|
||||
policy-BlockAboutAddons = Block access to the Add-ons Manager (about:addons).
|
||||
|
||||
policy-BlockAboutConfig = Block access to the about:config page.
|
||||
|
||||
policy-BlockAboutProfiles = Block access to the about:profiles page.
|
||||
|
||||
policy-BlockAboutSupport = Block access to the about:support page.
|
||||
|
||||
policy-Bookmarks = Create bookmarks in the Bookmarks toolbar, Bookmarks menu, or a specified folder inside them.
|
||||
|
||||
policy-Certificates = Whether or not to use built-in certificates. This policy is Windows only at this time.
|
||||
|
||||
policy-Cookies = Allow or deny websites to set cookies.
|
||||
|
||||
policy-DisableAppUpdate = Prevent the browser from updating.
|
||||
|
||||
policy-DisableBuiltinPDFViewer = Disable PDF.js, the built-in PDF viewer in { -brand-short-name }.
|
||||
|
||||
policy-DisableDeveloperTools = Block access to the developer tools.
|
||||
|
||||
policy-DisableFeedbackCommands = Disable commands to send feedback from the Help menu (Submit Feedback and Report Deceptive Site).
|
||||
|
||||
policy-DisableFirefoxAccounts = Disable { -fxaccount-brand-name } based services, including Sync.
|
||||
|
||||
# Firefox Screenshots is the name of the feature, and should not be translated.
|
||||
policy-DisableFirefoxScreenshots = Disable the Firefox Screenshots feature.
|
||||
|
||||
policy-DisableFirefoxStudies = Prevent { -brand-short-name } from running studies.
|
||||
|
||||
policy-DisableForgetButton = Prevent access to the Forget button.
|
||||
|
||||
policy-DisableFormHistory = Don’t remember search and form history.
|
||||
|
||||
policy-DisableMasterPasswordCreation = If true, a master password can’t be created.
|
||||
|
||||
policy-DisablePocket = Disable the feature to save webpages to Pocket.
|
||||
|
||||
policy-DisablePrivateBrowsing = Disable Private Browsing.
|
||||
|
||||
policy-DisableProfileImport = Disable the menu command to Import data from another browser.
|
||||
|
||||
policy-DisableProfileRefresh = Disable the Refresh { -brand-short-name } button in the about:support page.
|
||||
|
||||
policy-DisableSafeMode = Disable the feature to restart in Safe Mode. Note: the Shift key to enter Safe Mode can only be disabled on Windows using Group Policy.
|
||||
|
||||
policy-DisableSecurityBypass = Prevent the user from bypassing certain security warnings.
|
||||
|
||||
policy-DisableSetDesktopBackground = Disable the menu command Set Image as Desktop Background.
|
||||
|
||||
policy-DisableSystemAddonUpdate = Prevent the browser from installing and updating system add-ons.
|
||||
|
||||
policy-DisableTelemetry = Turn off Telemetry.
|
||||
|
||||
policy-DisplayBookmarksToolbar = Display the Bookmark Toolbar by default.
|
||||
|
||||
policy-DisplayMenuBar = Display the Menu Bar by default.
|
||||
|
||||
policy-DontCheckDefaultBrowser = Disable check for default browser on startup.
|
||||
|
||||
policy-EnableTrackingProtection = Enable or disable Content Blocking and optionally lock it.
|
||||
|
||||
policy-Extensions = Install, uninstall or lock extensions. The Install option takes URLs or paths as parameters. The Uninstall and Locked options take extension IDs.
|
||||
|
||||
policy-FlashPlugin = Allow or deny usage of the Flash plugin.
|
||||
|
||||
policy-HardwareAcceleration = If false, turn off hardware acceleration.
|
||||
|
||||
policy-Homepage = Set and optionally lock the homepage.
|
||||
|
||||
policy-InstallAddonsPermission = Allow certain websites to install add-ons.
|
||||
|
||||
policy-NoDefaultBookmarks = Disable creation of the default bookmarks bundled with { -brand-short-name }, and the Smart Bookmarks (Most Visited, Recent Tags). Note: this policy is only effective if used before the first run of the profile.
|
||||
|
||||
policy-OfferToSaveLogins = Enforce the setting to allow { -brand-short-name } to offer to remember saved logins and passwords. Both true and false values are accepted.
|
||||
|
||||
policy-OverrideFirstRunPage = Override the first run page. Set this policy to blank if you want to disable the first run page.
|
||||
|
||||
policy-OverridePostUpdatePage = Override the post-update "What’s New" page. Set this policy to blank if you want to disable the post-update page.
|
||||
|
||||
policy-Permissions = Configure permissions for camera, microphone, location and notifications.
|
||||
|
||||
policy-PopupBlocking = Allow certain websites to display popups by default.
|
||||
|
||||
policy-Proxy = Configure proxy settings.
|
||||
|
||||
policy-SanitizeOnShutdown = Clear all navigation data on shutdown.
|
||||
|
||||
policy-SearchBar = Set the default location of the search bar. The user is still allowed to customize it.
|
||||
|
||||
policy-SearchEngines = Configure search engine settings. This policy is only available on the Extended Support Release (ESR) version.
|
||||
|
||||
policy-WebsiteFilter = Block websites from being visited. See documentation for more details on the format.
|
Loading…
Reference in New Issue
Block a user