Bug 1890689 Don't pretend to pre-buffer with DynamicResampler r=pehrsons
[gecko.git] / python / l10n / fluent_migrations / bug_747301_about_plugin_removal.py
bloba6df49f3efd1ba0aa427f2ea24f358ee574e246d
1 # Any copyright is dedicated to the Public Domain.
2 # http://creativecommons.org/publicdomain/zero/1.0/
4 from fluent.migrate import COPY_PATTERN
5 from fluent.migrate.helpers import transforms_from
8 def migrate(ctx):
9 """Bug 747301 - remove about:plugins, part {index}."""
10 plugins_ftl = "toolkit/toolkit/about/aboutPlugins.ftl"
11 addon_ftl = "toolkit/toolkit/about/aboutAddons.ftl"
12 ctx.add_transforms(
13 addon_ftl,
14 addon_ftl,
15 transforms_from(
16 """
17 plugins-gmp-license-info = {COPY_PATTERN(from_path, "plugins-gmp-license-info")}
18 plugins-gmp-privacy-info = {COPY_PATTERN(from_path, "plugins-gmp-privacy-info")}
20 plugins-openh264-name = {COPY_PATTERN(from_path, "plugins-openh264-name")}
21 plugins-openh264-description = {COPY_PATTERN(from_path, "plugins-openh264-description")}
23 plugins-widevine-name = {COPY_PATTERN(from_path, "plugins-widevine-name")}
24 plugins-widevine-description = {COPY_PATTERN(from_path, "plugins-widevine-description")}
25 """,
26 from_path=plugins_ftl,