summaryrefslogtreecommitdiffstats
path: root/comm/python/l10n/tb_fluent_migrations/completed/bug_1817915_get_new_messages.py
blob: 2e2c1ac49702ee03b5c244d64f74ef2aec5e25ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/

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",
        ),
    )