3 # Any copyright is dedicated to the Public Domain.
4 # http://creativecommons.org/publicdomain/zero/1.0/
6 import fluent
.syntax
.ast
as FTL
7 from fluent
.migrate
.helpers
import transforms_from
, VARIABLE_REFERENCE
8 from fluent
.migrate
import REPLACE
, COPY
12 """Bug 1635548 - Migrate browser-context.inc to Fluent, part {index}"""
13 target
= "toolkit/toolkit/global/textActions.ftl"
14 reference
= "toolkit/toolkit/global/textActions.ftl"
20 text-action-spell-add-to-dictionary =
21 .label = { COPY(from_path, "spellAddToDictionary.label") }
22 .accesskey = { COPY(from_path, "spellAddToDictionary.accesskey") }
24 text-action-spell-undo-add-to-dictionary =
25 .label = { COPY(from_path, "spellUndoAddToDictionary.label") }
26 .accesskey = { COPY(from_path, "spellUndoAddToDictionary.accesskey") }
28 text-action-spell-check-toggle =
29 .label = { COPY(from_path, "spellCheckToggle.label") }
30 .accesskey = { COPY(from_path, "spellCheckToggle.accesskey") }
32 text-action-spell-dictionaries =
33 .label = { COPY(from_path, "spellDictionaries.label") }
34 .accesskey = { COPY(from_path, "spellDictionaries.accesskey") }
36 from_path
="toolkit/chrome/global/textcontext.dtd",
40 target
= "toolkit/toolkit/global/textActions.ftl"
41 reference
= "toolkit/toolkit/global/textActions.ftl"
47 text-action-spell-add-dictionaries =
48 .label = { COPY(from_path, "spellAddDictionaries.label") }
49 .accesskey = { COPY(from_path, "spellAddDictionaries.accesskey") }
51 from_path
="browser/chrome/browser/browser.dtd",
55 target
= "browser/browser/browserContext.ftl"
56 reference
= "browser/browser/browserContext.ftl"
62 id=FTL
.Identifier("main-context-menu-open-link-in-container-tab"),
65 FTL
.Identifier("label"),
67 "browser/chrome/browser/browser.properties",
68 "userContextOpenLink.label",
69 {"%1$S": VARIABLE_REFERENCE("containerName")},
73 FTL
.Identifier("accesskey"),
75 "browser/chrome/browser/browser.dtd",
76 "openLinkCmdInTab.accesskey",