Loading tools/torbrowser/l10n/migrations/bug-44904-onion-sites-setting-group.py 0 → 100644 +18 −0 Original line number Diff line number Diff line from fluent.migrate.helpers import transforms_from def migrate(ctx): ctx.add_transforms( "tor-browser.ftl", "tor-browser.ftl", transforms_from( """ onion-site-authentication-group = .label = { COPY_PATTERN(path, "onion-site-authentication-preferences-heading") } .description = { COPY_PATTERN(path, "onion-site-authentication-preferences-overview") } onion-site-authentication-saved-keys-button = .label = { COPY_PATTERN(path, "onion-site-authentication-preferences-saved-keys-button") } """, path="tor-browser.ftl", ), ) Loading
tools/torbrowser/l10n/migrations/bug-44904-onion-sites-setting-group.py 0 → 100644 +18 −0 Original line number Diff line number Diff line from fluent.migrate.helpers import transforms_from def migrate(ctx): ctx.add_transforms( "tor-browser.ftl", "tor-browser.ftl", transforms_from( """ onion-site-authentication-group = .label = { COPY_PATTERN(path, "onion-site-authentication-preferences-heading") } .description = { COPY_PATTERN(path, "onion-site-authentication-preferences-overview") } onion-site-authentication-saved-keys-button = .label = { COPY_PATTERN(path, "onion-site-authentication-preferences-saved-keys-button") } """, path="tor-browser.ftl", ), )