Commit 4e31acfa authored by henry's avatar henry Committed by Richard Pospesel
Browse files

Tor Browser localization migration scripts.

parent d29e0bac
Loading
Loading
Loading
Loading
+0 −0

Empty file added.

+24 −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(
            """
menu-open-tor-manual =
    .label = { COPY(path, "aboutTor.torbrowser_user_manual.label") }
    .accesskey = { COPY(path, "aboutTor.torbrowser_user_manual.accesskey") }

tor-browser-home-heading-stable = { COPY(path, "aboutTor.ready.label") }
tor-browser-home-heading-testing = { COPY(path, "aboutTor.alpha.ready.label") }

tor-browser-home-duck-duck-go-input =
    .placeholder = { COPY(path, "aboutTor.search.label") }

tor-browser-home-message-introduction = { COPY(path, "aboutTor.ready2.label") }
""",
            path="aboutTor.dtd",
        ),
    )
+628 −0

File added.

Preview size limit exceeded, changes collapsed.