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/preferences/preferences.ftl"
target = source
ctx.add_transforms(
target,
target,
transforms_from(
"""
sync-profile-picture-with-alt =
.tooltiptext = {COPY_PATTERN(from_path, "sync-profile-picture.tooltiptext")}
.alt = {COPY_PATTERN(from_path, "sync-profile-picture.tooltiptext")}
""",
from_path=source,
),
)