Revision control
Copy as Markdown
Other Tools
# Any copyright is dedicated to the Public Domain.
from fluent.migratetb.helpers import transforms_from
from fluent.migratetb import COPY
def migrate(ctx):
"""Bug 1817915 - Add context menu to Get Messages folder pane button to fetch all messages or per account, part {index}."""
ctx.add_transforms(
"mail/messenger/about3Pane.ftl",
"mail/messenger/about3Pane.ftl",
transforms_from(
"""
folder-pane-get-all-messages-menuitem =
.label = { COPY(from_path, "getAllNewMsgCmd.label") }
.accesskey = { COPY(from_path, "getAllNewMsgCmd.accesskey") }
""",
from_path="mail/chrome/messenger/messenger.dtd",
),
)