Commit 31a4963d authored by henry's avatar henry Committed by morgan
Browse files

fixup! Tor Browser localization migration scripts.

TB 45029: Migrate connection status strings.
parent 8beb26de
Loading
Loading
Loading
Loading
Loading
+19 −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-connection-settings-pane =
    .heading = { COPY_PATTERN(path, "tor-connection-settings-heading") }
tor-connection-settings-nav-button = { COPY_PATTERN(path, "tor-connection-settings-heading") }
    .title = { COPY_PATTERN(path, "tor-connection-settings-heading") }
tor-connection-status-connect-button =
    .label = { COPY_PATTERN(path, "tor-connection-network-status-connect-button") }
""",
            path="tor-browser.ftl",
        ),
    )