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

from fluent.migratetb.helpers import transforms_from


def migrate(ctx):
    """Bug 1820700 - Implement a Tags folder pane mode, part {index}."""

    ctx.add_transforms(
        "mail/messenger/messenger.ftl",
        "mail/messenger/messenger.ftl",
        transforms_from(
            """
show-tags-folders-label =
    .label = {COPY(from_path, "viewTags.label")}
    .accesskey = {COPY(from_path, "viewTags.accesskey")}
""",
            from_path="mail/chrome/messenger/msgViewPickerOverlay.dtd",
        ),
    )