forked from mirrors/gecko-dev
migration.ftl was used by the old, legacy XUL migration dialog that was removed in bug 1824851. There were still a few strings being used by migration.ftl, but I've moved those over to migrationWizard.ftl, and gone ahead and just removed the old file. Differential Revision: https://phabricator.services.mozilla.com/D192509
27 lines
939 B
Python
27 lines
939 B
Python
# Any copyright is dedicated to the Public Domain.
|
|
# http://creativecommons.org/publicdomain/zero/1.0/
|
|
|
|
from fluent.migrate.helpers import transforms_from
|
|
|
|
|
|
def migrate(ctx):
|
|
"""Bug 1860606 - Get rid of migration.ftl in favour of migrationWizard.ftl, part {index}."""
|
|
|
|
source = "browser/browser/migration.ftl"
|
|
target = "browser/browser/migrationWizard.ftl"
|
|
|
|
ctx.add_transforms(
|
|
target,
|
|
target,
|
|
transforms_from(
|
|
"""
|
|
migration-source-name-ie = {COPY_PATTERN(from_path, "source-name-ie")}
|
|
migration-source-name-edge = {COPY_PATTERN(from_path, "source-name-edge")}
|
|
migration-source-name-chrome = {COPY_PATTERN(from_path, "source-name-chrome")}
|
|
|
|
migration-imported-safari-reading-list = {COPY_PATTERN(from_path, "imported-safari-reading-list")}
|
|
migration-imported-edge-reading-list = {COPY_PATTERN(from_path, "imported-edge-reading-list")}
|
|
""",
|
|
from_path=source,
|
|
),
|
|
)
|