Bug 1407528 - Enable localization for Form Autofill on m-c. r=pike
MozReview-Commit-ID: FaPztnDGQTb
--- a/browser/locales/filter.py
+++ b/browser/locales/filter.py
@@ -3,16 +3,17 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
def test(mod, path, entity = None):
import re
# ignore anything but Firefox
if mod not in ("netwerk", "dom", "toolkit", "security/manager",
"devtools/client", "devtools/shared", "devtools/shim",
"browser",
+ "browser/extensions/formautofill",
"browser/extensions/onboarding",
"browser/extensions/webcompat-reporter",
"extensions/spellcheck",
"other-licenses/branding/firefox",
"browser/branding/official",
"services/sync"):
return "ignore"
if mod not in ("browser", "extensions/spellcheck"):
--- a/browser/locales/l10n.ini
+++ b/browser/locales/l10n.ini
@@ -7,16 +7,17 @@ depth = ../..
all = browser/locales/all-locales
[compare]
dirs = browser
other-licenses/branding/firefox
browser/branding/official
devtools/client
devtools/shim
+ browser/extensions/formautofill
browser/extensions/onboarding
browser/extensions/webcompat-reporter
[includes]
# non-central apps might want to use %(topsrcdir)s here, or other vars
# RFE: that needs to be supported by compare-locales, too, though
toolkit = toolkit/locales/l10n.ini
services_sync = services/sync/locales/l10n.ini
--- a/browser/locales/l10n.toml
+++ b/browser/locales/l10n.toml
@@ -115,16 +115,20 @@ locales = [
reference = "browser/locales/en-US/**"
l10n = "{l}browser/**"
[[paths]]
reference = "browser/branding/official/locales/en-US/**"
l10n = "{l}browser/branding/official/**"
[[paths]]
+ reference = "browser/extensions/formautofill/locales/en-US/**"
+ l10n = "{l}browser/extensions/formautofill/**"
+
+[[paths]]
reference = "browser/extensions/onboarding/locales/en-US/**"
l10n = "{l}browser/extensions/onboarding/**"
[[paths]]
reference = "browser/extensions/webcompat-reporter/locales/en-US/**"
l10n = "{l}browser/extensions/webcompat-reporter/**"
[[paths]]