bug_1992201_preferences_profiles.py (953B)
1 # Any copyright is dedicated to the Public Domain. 2 # http://creativecommons.org/publicdomain/zero/1.0/ 3 4 from fluent.migrate import COPY_PATTERN 5 from fluent.migrate.helpers import transforms_from 6 7 8 def migrate(ctx): 9 """Bug 1992201 - Add settings sub-pane for profiles, part {index}.""" 10 source = "browser/browser/preferences/preferences.ftl" 11 target = source 12 13 ctx.add_transforms( 14 target, 15 source, 16 transforms_from( 17 """ 18 preferences-profiles-group-header = 19 .heading = {COPY_PATTERN(from_path, "preferences-profiles-header")} 20 preferences-profiles-subpane-description = 21 .description = {COPY_PATTERN(from_path, "preferences-manage-profiles-description")} 22 preferences-profiles-section-header = 23 .label = {COPY_PATTERN(from_path, "preferences-profiles-header")} 24 .description = {COPY_PATTERN(from_path, "preferences-manage-profiles-description")} 25 """, 26 from_path=source, 27 ), 28 )