Source code
Revision control
Copy as Markdown
Other Tools
# Any copyright is dedicated to the Public Domain.
from fluent.migrate.helpers import transforms_from
def migrate(ctx):
source = "browser/browser/ipProtection.ftl"
target = source
ctx.add_transforms(
target,
target,
transforms_from(
"""
ipprotection-site-inclusions-callout-secondary-button-existing-users = { COPY_PATTERN(from_path, "ipprotection-feature-introduction-button-secondary-not-now") }
ipprotection-site-inclusions-callout-secondary-button-lapsed-users = { COPY_PATTERN(from_path, "ipprotection-location-selection-callout-secondary-button") }
""",
from_path=source,
),
)