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 = "toolkit/toolkit/about/aboutAddons.ftl"
target = "toolkit/toolkit/about/aboutAddons.ftl"
ctx.add_transforms(
target,
target,
transforms_from(
"""
recommended-themes-card-heading =
.heading = {COPY_PATTERN(from_path, "recommended-themes-heading")}
""",
from_path=source,
),
)