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
8 from fluent
.migrate
.transforms
import COPY
12 """Bug 1786186 - Migrate mobile about:config to Fluent, part {index}"""
14 target
= "mobile/android/mobile/android/aboutConfig.ftl"
22 config-toolbar-search =
23 .placeholder = { COPY(path1, "toolbar.searchPlaceholder") }
24 config-new-pref-name =
25 .placeholder = { COPY(path1, "newPref.namePlaceholder") }
26 config-new-pref-value-boolean = { COPY(path1, "newPref.valueBoolean") }
27 config-new-pref-value-string = { COPY(path1, "newPref.valueString") }
28 config-new-pref-value-integer = { COPY(path1, "newPref.valueInteger") }
29 config-new-pref-string =
30 .placeholder = { COPY(path1, "newPref.stringPlaceholder") }
31 config-new-pref-number =
32 .placeholder = { COPY(path1, "newPref.numberPlaceholder") }
33 config-new-pref-cancel-button = { COPY(path1, "newPref.cancelButton") }
34 config-context-menu-copy-pref-name =
35 .label = { COPY(path1, "contextMenu.copyPrefName") }
36 config-context-menu-copy-pref-value =
37 .label = { COPY(path1, "contextMenu.copyPrefValue") }
39 path1
="mobile/android/chrome/config.dtd",
43 source
= "mobile/android/chrome/config.properties"
49 id=FTL
.Identifier("config-new-pref-create-button"),
50 value
=COPY(source
, "newPref.createButton"),
53 id=FTL
.Identifier("config-new-pref-change-button"),
54 value
=COPY(source
, "newPref.changeButton"),
57 id=FTL
.Identifier("config-pref-toggle-button"),
58 value
=COPY(source
, "pref.toggleButton"),
61 id=FTL
.Identifier("config-pref-reset-button"),
62 value
=COPY(source
, "pref.resetButton"),