1 # Any copyright is dedicated to the Public Domain.
2 # http://creativecommons.org/publicdomain/zero/1.0/
4 import fluent
.syntax
.ast
as FTL
5 from fluent
.migrate
.helpers
import VARIABLE_REFERENCE
6 from fluent
.migrate
.transforms
import COPY
, REPLACE
10 """Bug 1881582 - Merge form autofill autocomplete items into normal autocomplete UI part {index}."""
12 propertiesSource
= "browser/extensions/formautofill/formautofill.properties"
13 target
= "toolkit/toolkit/formautofill/formAutofill.ftl"
19 id=FTL
.Identifier("autofill-clear-form-label"),
20 value
=COPY(propertiesSource
, "clearFormBtnLabel2"),
23 id=FTL
.Identifier("autofill-category-address"),
24 value
=COPY(propertiesSource
, "category.address"),
27 id=FTL
.Identifier("autofill-category-name"),
28 value
=COPY(propertiesSource
, "category.name"),
31 id=FTL
.Identifier("autofill-category-organization"),
32 value
=COPY(propertiesSource
, "category.organization2"),
35 id=FTL
.Identifier("autofill-category-tel"),
36 value
=COPY(propertiesSource
, "category.tel"),
39 id=FTL
.Identifier("autofill-category-email"),
40 value
=COPY(propertiesSource
, "category.email"),
43 id=FTL
.Identifier("autofill-phishing-warningmessage-extracategory"),
46 "phishingWarningMessage",
48 "%1$S": VARIABLE_REFERENCE("categories"),
53 id=FTL
.Identifier("autofill-phishing-warningmessage"),
56 "phishingWarningMessage2",
58 "%1$S": VARIABLE_REFERENCE("categories"),