mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Bug 1693730 - [devtools] Remove duplicate definition of -profiler-brand-name in perftools.ftl. r=julienw,fluent-reviewers,flod.
Differential Revision: https://phabricator.services.mozilla.com/D106585
This commit is contained in:
parent
76120480c1
commit
1e520bd8e6
@ -111,8 +111,6 @@ perftools-tools-threads-input-label =
|
||||
## both devtools.performance.new-panel-onboarding & devtools.performance.new-panel-enabled
|
||||
## preferences are true.
|
||||
|
||||
-profiler-brand-name = Firefox Profiler
|
||||
|
||||
perftools-onboarding-message = <b>New</b>: { -profiler-brand-name } is now integrated into Developer Tools. <a>Learn more</a> about this powerful new tool.
|
||||
|
||||
# `options-context-advanced-settings` is defined in toolbox-options.ftl
|
||||
|
@ -93,9 +93,16 @@ async function gInit(perfFront, pageContext, openRemoteDevTools) {
|
||||
const supportedFeatures = await perfFront.getSupportedFeatures();
|
||||
|
||||
const l10n = new FluentL10n();
|
||||
await l10n.init(["devtools/client/perftools.ftl"], {
|
||||
setAttributesOnDocument: true,
|
||||
});
|
||||
await l10n.init(
|
||||
[
|
||||
"devtools/client/perftools.ftl",
|
||||
// Needed for the onboarding UI
|
||||
"browser/branding/brandings.ftl",
|
||||
],
|
||||
{
|
||||
setAttributesOnDocument: true,
|
||||
}
|
||||
);
|
||||
|
||||
// Do some initialization, especially with privileged things that are part of the
|
||||
// the browser.
|
||||
|
@ -111,6 +111,7 @@ async function gInit(perfFront, pageContext, openAboutProfiling) {
|
||||
"devtools/client/perftools.ftl",
|
||||
// Needed for the onboarding UI
|
||||
"devtools/client/toolbox-options.ftl",
|
||||
"browser/branding/brandings.ftl",
|
||||
]);
|
||||
|
||||
// Do some initialization, especially with privileged things that are part of the
|
||||
|
Loading…
x
Reference in New Issue
Block a user