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:
Nicolas Chevobbe 2021-02-26 14:17:58 +00:00
Родитель 76120480c1
Коммит 1e520bd8e6
3 изменённых файлов: 11 добавлений и 5 удалений

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

@ -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