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):
path = "toolkit/toolkit/formautofill/formAutofill.ftl"
ctx.add_transforms(
path,
path,
transforms_from(
"""
credit-card-doorhanger-card-details-name = {COPY_PATTERN(from_path, "credit-card-doorhanger-details-name")}
credit-card-doorhanger-card-details-expiration = {COPY_PATTERN(from_path, "credit-card-doorhanger-details-expiration")}
""",
from_path=path,
),
)