Revision control

Copy as Markdown

Other Tools

# Any copyright is dedicated to the Public Domain.
from fluent.migratetb import COPY_PATTERN
from fluent.migratetb.helpers import transforms_from
def migrate(ctx):
"""Bug 1703164 - mail/components/preferences/dockoptions.xhtml to top level html part {index}"""
target = reference = "mail/messenger/preferences/dock-options.ftl"
ctx.add_transforms(
target,
reference,
transforms_from(
"""
dock-options-dialog-title = {{COPY_PATTERN(from_path, "dock-options-window-dialog2.title")}}
""",
from_path="mail/messenger/preferences/dock-options.ftl",
),
)