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

fixup! Tor Browser localization migration scripts.

TB 44904: Migrate onion sites setting strings.
parent 12651879
Loading
Loading
Loading
Loading
+18 −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(
            """
onion-site-authentication-group =
    .label = { COPY_PATTERN(path, "onion-site-authentication-preferences-heading") }
    .description = { COPY_PATTERN(path, "onion-site-authentication-preferences-overview") }
onion-site-authentication-saved-keys-button =
    .label = { COPY_PATTERN(path, "onion-site-authentication-preferences-saved-keys-button") }
""",
            path="tor-browser.ftl",
        ),
    )