web/admin: update i18n labels

This commit is contained in:
Henry 2021-02-15 14:27:06 +01:00
parent 58f795d5e6
commit 4d62c46e29
1 changed files with 3 additions and 3 deletions

View File

@ -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)