Loading tools/torbrowser/l10n/migrations/bug-45029-connection-status.py 0 → 100644 +19 −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( """ tor-connection-settings-pane = .heading = { COPY_PATTERN(path, "tor-connection-settings-heading") } tor-connection-settings-nav-button = { COPY_PATTERN(path, "tor-connection-settings-heading") } .title = { COPY_PATTERN(path, "tor-connection-settings-heading") } tor-connection-status-connect-button = .label = { COPY_PATTERN(path, "tor-connection-network-status-connect-button") } """, path="tor-browser.ftl", ), ) Loading
tools/torbrowser/l10n/migrations/bug-45029-connection-status.py 0 → 100644 +19 −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( """ tor-connection-settings-pane = .heading = { COPY_PATTERN(path, "tor-connection-settings-heading") } tor-connection-settings-nav-button = { COPY_PATTERN(path, "tor-connection-settings-heading") } .title = { COPY_PATTERN(path, "tor-connection-settings-heading") } tor-connection-status-connect-button = .label = { COPY_PATTERN(path, "tor-connection-network-status-connect-button") } """, path="tor-browser.ftl", ), )