blob: 715b47501572f79de6de9935982d979a901347a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# coding=utf8
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/
from fluent.migrate.helpers import transforms_from
from fluent.migrate import COPY
def migrate(ctx):
"""Bug 1805938 - Refactor recurrence calendar UX part {index}."""
source = "calendar/chrome/calendar/calendar-event-dialog.dtd"
reference = target = "calendar/calendar/calendar-recurrence-dialog.ftl"
ctx.add_transforms(
target,
reference,
transforms_from(
"""
calendar-recurrence-preview-label = { COPY(from_path, "event.recurrence.preview.label") }
""",
from_path=source,
),
)
|