Bug 1630282 - Not all locales have the same number of map service prefs. r=rjl
This commit is contained in:
Родитель
2f2918f70d
Коммит
a0eda81500
|
@ -19,7 +19,8 @@ def test(mod, path, entity=None):
|
|||
return "ignore"
|
||||
|
||||
if path == "chrome/messenger-region/region.properties":
|
||||
return ("ignore" if (re.match(r"browser\.search\.order\.[1-9]", entity))
|
||||
return ("ignore" if (re.match(r"browser\.search\.order\.[1-9]", entity) or
|
||||
re.match(r"mail\.addr_book\.mapit_url\.[1-5]", entity))
|
||||
else "error")
|
||||
|
||||
return "error"
|
||||
|
|
|
@ -132,3 +132,9 @@ locales = [
|
|||
path = "{l}mail/chrome/messenger-region/region.properties"
|
||||
key = "re:browser\\.search\\.order\\.[1-9].*"
|
||||
action = "ignore"
|
||||
|
||||
# map service prefs don't have the same number for all locales
|
||||
[[filters]]
|
||||
path = "{l}mail/chrome/messenger-region/region.properties"
|
||||
key = "re:mail\\.addr_book\\.mapit_url\\.[1-5].*"
|
||||
action = "ignore"
|
||||
|
|
|
@ -37,6 +37,10 @@ def test(mod, path, entity=None):
|
|||
return ("ignore" if (re.match(r"browser\.search\.order\.[1-9]", entity))
|
||||
else "error")
|
||||
|
||||
if path == "chrome/mailnews/region.properties":
|
||||
return ("ignore" if (re.match(r"mail\.addr_book\.mapit_url\.[1-5]", entity))
|
||||
else "error")
|
||||
|
||||
if path != "chrome/browser/region.properties":
|
||||
# only region.properties exceptions remain, compare all others
|
||||
return "error"
|
||||
|
|
|
@ -99,6 +99,12 @@ locales = [
|
|||
key = "re:browser\\.contentHandlers\\.types\\.[0-5].*"
|
||||
action = "ignore"
|
||||
|
||||
# map service prefs don't have the same number for all locales
|
||||
[[filters]]
|
||||
path = "{l}suite/chrome/mailnews/region.properties"
|
||||
key = "re:mail\\.addr_book\\.mapit_url\\.[1-5].*"
|
||||
action = "ignore"
|
||||
|
||||
# search plugins are different per locale, ignore file difference
|
||||
[[filters]]
|
||||
path = "{l}suite/searchplugins/*.xml"
|
||||
|
|
Загрузка…
Ссылка в новой задаче