Debian Codegraph @

python/l10n/fluent_migrations/bug_1919598_firefoxview_split_dismiss_migrations.py

raw
1 # Any copyright is dedicated to the Public Domain.
2 # http://creativecommons.org/publicdomain/zero/1.0/
3
4 from fluent.migrate.helpers import transforms_from
5
6
7 def migrate(ctx):
8 """Bug 1919598 - Land Firefox View Discoverability treatment-b in mc-, part {index}."""
9
10 target = "browser/browser/featureCallout.ftl"
11
12 ctx.add_transforms(
13 target,
14 target,
15 transforms_from(
16 """
17 split-dismiss-button-dont-show-option =
18 .label = {COPY_PATTERN(from_path, "split-dismiss-button-dont-show-option-label")}
19
20 split-dismiss-button-show-fewer-option =
21 .label = {COPY_PATTERN(from_path, "split-dismiss-button-show-fewer-option-label")}
22
23 split-dismiss-button-manage-settings-option =
24 .label = {COPY_PATTERN(from_path, "split-dismiss-button-manage-settings-option-label")}
25 """,
26 from_path=target,
27 ),
28 )