Bug 1890689 Don't pretend to pre-buffer with DynamicResampler r=pehrsons
[gecko.git] / python / l10n / fluent_migrations / bug_1884748_alt_text_images_sync.py
blob924b31c6c1ef8fddd9b8044337ceea23810c4d02
1 # Any copyright is dedicated to the Public Domain.
2 # http://creativecommons.org/publicdomain/zero/1.0/
4 from fluent.migrate.helpers import transforms_from
7 def migrate(ctx):
8 """Bug 1884748 - Add alt text to images in about:preferences#sync, part {index}."""
10 source = "browser/browser/preferences/preferences.ftl"
11 target = source
13 ctx.add_transforms(
14 target,
15 target,
16 transforms_from(
17 """
18 sync-profile-picture-with-alt =
19 .tooltiptext = {COPY_PATTERN(from_path, "sync-profile-picture.tooltiptext")}
20 .alt = {COPY_PATTERN(from_path, "sync-profile-picture.tooltiptext")}
21 """,
22 from_path=source,