Skip to content

Commit ee0a3c9

Browse files
author
Cristian Tuns
committed
Backed out changeset 878905289052 (bug 1861325) for causing lint failures in policies-descriptions.ftl CLOSED TREE
1 parent 999878b commit ee0a3c9

File tree

5 files changed

+0
-67
lines changed

5 files changed

+0
-67
lines changed

browser/components/enterprisepolicies/Policies.sys.mjs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2392,12 +2392,6 @@ export var Policies = {
23922392
},
23932393
},
23942394

2395-
TranslateEnabled: {
2396-
onBeforeAddons(manager, param) {
2397-
setAndLockPref("browser.translations.enable", param);
2398-
},
2399-
},
2400-
24012395
UserMessaging: {
24022396
onBeforeAddons(manager, param) {
24032397
if ("WhatsNew" in param) {

browser/components/enterprisepolicies/schemas/policies-schema.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1422,10 +1422,6 @@
14221422
"required": ["Title", "URL"]
14231423
},
14241424

1425-
"TranslateEnabled": {
1426-
"type": "boolean"
1427-
},
1428-
14291425
"UserMessaging": {
14301426
"type": "object",
14311427
"properties": {

browser/components/enterprisepolicies/tests/browser/browser.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,6 @@ https_first_disabled = true
117117

118118
["browser_policy_support_menu.js"]
119119

120-
["browser_policy_translateenabled.js"]
121-
122120
["browser_policy_usermessaging.js"]
123121

124122
["browser_policy_websitefilter.js"]

browser/components/enterprisepolicies/tests/browser/browser_policy_translateenabled.js

Lines changed: 0 additions & 53 deletions
This file was deleted.

browser/locales/en-US/browser/policies/policies-descriptions.ftl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,6 @@ policy-StartDownloadsInTempDirectory = Force downloads to start off in a local,
221221
222222
policy-SupportMenu = Add a custom support menu item to the help menu.
223223
224-
policy-TranslateEnabled - Enable or disable webpage translation.
225-
226224
policy-UserMessaging = Don’t show certain messages to the user.
227225
228226
policy-UseSystemPrintDialog = Print using the system print dialog.

0 commit comments

Comments
 (0)