Commit 13a2e545 authored by henry's avatar henry Committed by Pier Angelo Vendrame
Browse files

fixup! Tor Browser localization migration scripts.

TB 45059: Add a string migration for the "Advanced" heading.
parent 31e37030
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
from fluent.migrate.helpers import transforms_from


def migrate(ctx):
    ctx.add_transforms(
        "tor-browser.ftl",
        "tor-browser.ftl",
        transforms_from(
            """
tor-advanced-group =
    .label = { COPY_PATTERN(path, "tor-advanced-settings-heading") }
""",
            path="tor-browser.ftl",
        ),
    )