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):
newtab = "browser/browser/newtab/newtab.ftl"
ctx.add_transforms(
newtab,
newtab,
transforms_from(
"""
newtab-topic-navigation-label =
.aria-label = {COPY_PATTERN(from_path, "newtab-section-mangage-topics-title")}
""",
from_path=newtab,
),
)