Source code
Revision control
Copy as Markdown
Other Tools
# Any copyright is dedicated to the Public Domain.
from fluent.migrate.helpers import transforms_from
def migrate(ctx):
source = "browser/browser/browser.ftl"
ctx.add_transforms(
source,
source,
transforms_from(
"""
urlbar-searchmode-bookmarks4 = {COPY_PATTERN(from_path, "urlbar-searchmode-bookmarks3")}
urlbar-searchmode-tabs4 = {COPY_PATTERN(from_path, "urlbar-searchmode-tabs3")}
urlbar-searchmode-history4 = {COPY_PATTERN(from_path, "urlbar-searchmode-history3")}
urlbar-searchmode-actions4 = {COPY_PATTERN(from_path, "urlbar-searchmode-actions3")}
urlbar-searchmode-popup-search-settings2 = {COPY_PATTERN(from_path, "urlbar-searchmode-popup-search-settings")}
urlbar-searchmode-popup-settings2 = {COPY_PATTERN(from_path, "urlbar-searchmode-popup-settings")}
""",
from_path=source,
),
)