зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
5b1ab21bb1
Коммит
dcf742cb73
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче