Bug 1890689 Don't pretend to pre-buffer with DynamicResampler r=pehrsons
[gecko.git] / python / l10n / fluent_migrations / bug_1863022_protectionsPanel_infomessage.py
blobb09d36247598db8b7ca989baae8275c10de3fd4f
1 # Any copyright is dedicated to the Public Domain.
2 # http://creativecommons.org/publicdomain/zero/1.0/
4 from fluent.migrate.helpers import transforms_from
7 def migrate(ctx):
8 """Bug 1863022 - Move Protection Panel Message to calling code, part {index}"""
10 source = "browser/browser/newtab/asrouter.ftl"
11 target = "browser/browser/protectionsPanel.ftl"
13 ctx.add_transforms(
14 target,
15 target,
16 transforms_from(
17 """
18 cfr-protections-panel-header = {COPY_PATTERN(from_path, "cfr-protections-panel-header")}
19 cfr-protections-panel-body = {COPY_PATTERN(from_path, "cfr-protections-panel-body")}
20 cfr-protections-panel-link-text = {COPY_PATTERN(from_path, "cfr-protections-panel-link-text")}
21 """,
22 from_path=source,