Revision control
Copy as Markdown
Other Tools
# Any copyright is dedicated to the Public Domain.
from fluent.migratetb.helpers import transforms_from
def migrate(ctx):
source = target = reference = "calendar/calendar/calendar.ftl"
ctx.add_transforms(
target,
reference,
transforms_from(
"""
calendar-context-attendance-occurrence-label =
.value = {COPY_PATTERN(from_path, "calendar-context-attendance-occurrence.label")}
calendar-context-attendance-all-series-label =
.value = {COPY_PATTERN(from_path, "calendar-context-attendance-all-series.label")}
""",
from_path=source,
),
)