web/admin: update i18n labels
This commit is contained in:
parent
58f795d5e6
commit
4d62c46e29
@ -45,7 +45,7 @@ func TestAllowListEmpty(t *testing.T) {
|
||||
assertLocalized(t, html, []localizedElement{
|
||||
{"#welcome", "AdminAllowListWelcome"},
|
||||
{"title", "AdminAllowListTitle"},
|
||||
{"#allowListCount", "AdminListCountPlural"},
|
||||
{"#allowListCount", "ListCountPlural"},
|
||||
})
|
||||
|
||||
}
|
||||
@ -70,7 +70,7 @@ func TestAllowList(t *testing.T) {
|
||||
assertLocalized(t, html, []localizedElement{
|
||||
{"#welcome", "AdminAllowListWelcome"},
|
||||
{"title", "AdminAllowListTitle"},
|
||||
{"#allowListCount", "AdminListCountPlural"},
|
||||
{"#allowListCount", "ListCountPlural"},
|
||||
})
|
||||
|
||||
a.EqualValues(html.Find("#theList").Children().Length(), 3)
|
||||
@ -89,7 +89,7 @@ func TestAllowList(t *testing.T) {
|
||||
assertLocalized(t, html, []localizedElement{
|
||||
{"#welcome", "AdminAllowListWelcome"},
|
||||
{"title", "AdminAllowListTitle"},
|
||||
{"#allowListCount", "AdminListCountPlural"},
|
||||
{"#allowListCount", "ListCountPlural"},
|
||||
})
|
||||
|
||||
a.EqualValues(html.Find("#theList").Children().Length(), 1)
|
||||
|
Loading…
Reference in New Issue
Block a user