Bug 1798777 - Move originControls.ftl and unifiedExtensions.ftl Fluent files out of preview r=willdurand,flod,fluent-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D161714
This commit is contained in:
Tomislav Jovanovic 2022-11-10 13:59:56 +00:00
Родитель 5b1ab21bb1
Коммит dcf742cb73
5 изменённых файлов: 3 добавлений и 15 удалений

Просмотреть файл

@ -86,8 +86,8 @@
<link rel="localization" href="browser/screenshots.ftl"/>
<link rel="localization" href="browser/firefoxView.ftl"/>
<link rel="localization" href="browser/webrtcIndicator.ftl"/>
<link rel="localization" href="preview/originControls.ftl"/>
<link rel="localization" href="preview/unifiedExtensions.ftl"/>
<link rel="localization" href="browser/originControls.ftl"/>
<link rel="localization" href="browser/unifiedExtensions.ftl"/>
<title data-l10n-id="browser-main-window-title"></title>

Просмотреть файл

@ -2,10 +2,6 @@
# 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/.
### This file is not in a locales directory to prevent it from being
### translated as the feature is still in development and strings are
### likely to change.
## These strings appear in Origin Controls for Extensions. Currently,
## they are visible in the context menu for extension toolbar buttons,
## and are used to inform the user how the extension can access their

Просмотреть файл

@ -2,9 +2,7 @@
# 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/.
### This file is not in a locales directory to prevent it from being
### translated as the feature is still in development and strings are
### likely to change (or new strings will be added).
### These strings appear in the Unified Extensions panel.
## Panel

Просмотреть файл

@ -12,8 +12,6 @@
preview/protections.ftl (../components/protections/content/protections.ftl)
preview/interventions.ftl (../components/urlbar/content/interventions.ftl)
preview/firefoxSuggest.ftl (../components/urlbar/content/firefoxSuggest.ftl)
preview/originControls.ftl (../components/extensions/originControls.ftl)
preview/unifiedExtensions.ftl (../components/extensions/unifiedExtensions.ftl)
preview/identityCredentialNotification.ftl (../components/credentialmanager/identityCredentialNotification.ftl)
preview/protectionsPanel.ftl (../base/content/protectionsPanel.ftl)
browser (%browser/**/*.ftl)

Просмотреть файл

@ -638,10 +638,6 @@ var ExtensionsUI = {
return;
}
popup.ownerGlobal.MozXULElement.insertFTLIfNeeded(
"preview/originControls.ftl"
);
let uri = popup.ownerGlobal.gBrowser.currentURI;
let state = lazy.OriginControls.getState(policy, uri);