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/newtab/newtab.ftl"
target = source
ctx.add_transforms(
target,
target,
transforms_from(
"""
newtab-widget-timer-label-play =
.label = { COPY_PATTERN(from_path, "newtab-widget-timer-play.title") }
newtab-widget-timer-label-pause =
.label = { COPY_PATTERN(from_path, "newtab-widget-timer-pause.title") }
""",
from_path=source,
),
)