mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 1488398 - Fix a few nits in policies descriptions, add localization comments r=Felipe,Pike
Differential Revision: https://phabricator.services.mozilla.com/D4937 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
4938049810
commit
58aaba43c4
@ -229,6 +229,12 @@ function generateDocumentation() {
|
||||
let new_cont = document.getElementById("documentationContent");
|
||||
new_cont.setAttribute("id", "documentationContent");
|
||||
|
||||
// map specific policies to a different string ID, to allow updates to
|
||||
// existing descriptions
|
||||
let string_mapping = {
|
||||
"DisableSetDesktopBackground": "DisableSetAsDesktopBackground",
|
||||
};
|
||||
|
||||
for (let policyName in schema.properties) {
|
||||
let main_tbody = document.createElement("tbody");
|
||||
main_tbody.classList.add("collapsible");
|
||||
@ -244,7 +250,8 @@ function generateDocumentation() {
|
||||
row.appendChild(col(policyName));
|
||||
}
|
||||
let descriptionColumn = col("");
|
||||
descriptionColumn.setAttribute("data-l10n-id", `policy-${policyName}`);
|
||||
let stringID = string_mapping[policyName] || policyName;
|
||||
descriptionColumn.setAttribute("data-l10n-id", `policy-${stringID}`);
|
||||
row.appendChild(descriptionColumn);
|
||||
main_tbody.appendChild(row);
|
||||
let sec_tbody = document.createElement("tbody");
|
||||
|
@ -60,26 +60,32 @@ policy-DisableSafeMode = Disable the feature to restart in Safe Mode. Note: the
|
||||
|
||||
policy-DisableSecurityBypass = Prevent the user from bypassing certain security warnings.
|
||||
|
||||
policy-DisableSetDesktopBackground = Disable the menu command Set Image as Desktop Background.
|
||||
policy-DisableSetAsDesktopBackground = Disable the menu command Set as Desktop Background for images.
|
||||
|
||||
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-DisplayBookmarksToolbar = Display the Bookmarks Toolbar by default.
|
||||
|
||||
policy-DisplayMenuBar = Display the Menu Bar by default.
|
||||
|
||||
policy-DontCheckDefaultBrowser = Disable check for default browser on startup.
|
||||
|
||||
# “lock” means that the user won’t be able to change this setting
|
||||
policy-EnableTrackingProtection = Enable or disable Content Blocking and optionally lock it.
|
||||
|
||||
# A “locked” extension can’t be disabled or removed by the user. This policy
|
||||
# takes 3 keys (“Install”, ”Uninstall”, ”Locked”), you can either keep them in
|
||||
# English or translate them as verbs. See also:
|
||||
# https://github.com/mozilla/policy-templates/blob/master/README.md#extensions-machine-only
|
||||
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.
|
||||
|
||||
# “lock” means that the user won’t be able to change this setting
|
||||
policy-Homepage = Set and optionally lock the homepage.
|
||||
|
||||
policy-InstallAddonsPermission = Allow certain websites to install add-ons.
|
||||
@ -90,7 +96,7 @@ policy-OfferToSaveLogins = Enforce the setting to allow { -brand-short-name } to
|
||||
|
||||
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-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.
|
||||
|
||||
@ -104,4 +110,6 @@ policy-SearchBar = Set the default location of the search bar. The user is still
|
||||
|
||||
policy-SearchEngines = Configure search engine settings. This policy is only available on the Extended Support Release (ESR) version.
|
||||
|
||||
# “format” refers to the format used for the value of this policy. See also:
|
||||
# https://github.com/mozilla/policy-templates/blob/master/README.md#websitefilter-machine-only
|
||||
policy-WebsiteFilter = Block websites from being visited. See documentation for more details on the format.
|
||||
|
Loading…
Reference in New Issue
Block a user