Commit 69de662a authored by henry's avatar henry Committed by henry
Browse files

fixup! Tor Browser localization migration scripts.

TB 44675: Add migration for merging description into the moz-checkbox
Fluent message.
parent 0c86d831
Loading
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
from fluent.migrate.helpers import transforms_from


def migrate(ctx):
    ctx.add_transforms(
        "base-browser.ftl",
        "base-browser.ftl",
        transforms_from(
            """
preferences-contrast-control-fixed-color2 =
     .label = { COPY_PATTERN(path, "preferences-contrast-control-fixed-color.label") }
     .accesskey = { COPY_PATTERN(path, "preferences-contrast-control-fixed-color.accesskey") }
     .description = { COPY_PATTERN(path, "preferences-contrast-control-fixed-color-description") }
""",
            path="base-browser.ftl",
        ),
    )