Commit 92043a24 authored by henry's avatar henry Committed by brizental
Browse files

fixup! Tor Browser localization migration scripts.

TB 44904: Migrate onion sites setting strings.
parent 88bf4b42
Loading
Loading
Loading
Loading
+18 −0
Changes for tools/torbrowser/l10n/migrations/bug-44904-onion-sites-setting-group.py: 18 added lines, 0 removed lines.
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",
        ),
    )