Bug 1703164 - Fluent2Fluent migration for calendar-ics-file-window-title. r=mkmelin

Goes with D165114 that already landed to avoid re-translation.

Differential Revision: https://phabricator.services.mozilla.com/D165925

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Rob Lemley 2023-01-04 18:38:06 +00:00
Родитель 4ff553f609
Коммит 113c6094fe
1 изменённых файлов: 20 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,20 @@
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/
from fluent.migrate import COPY_PATTERN
from fluent.migrate.helpers import transforms_from
def migrate(ctx):
"""Bug 1703164 - convert calendar/base/content/dialogs/calendar-ics-file-dialog.xhtml to html"""
ctx.add_transforms(
"calendar/calendar/calendar-ics-file-dialog.ftl",
"calendar/calendar/calendar-ics-file-dialog.ftl",
transforms_from(
"""
calendar-ics-file-window-title = {{COPY_PATTERN(from_path, "calendar-ics-file-window-2.title")}}
""",
from_path="calendar/calendar/calendar-ics-file-dialog.ftl",
),
)