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/tabbrowser.ftl"
target = "browser/browser/tabbrowser.ftl"
ctx.add_transforms(
target,
target,
transforms_from(
"""
tabbrowser-close-tabs-button =
.tooltiptext = {COPY_PATTERN(from_path, "tabbrowser-close-tabs-tooltip.label")}
""",
from_path=source,
),
)