Webatrice: improve language dropdown (#4589)

* useLocaleSort hook, translate language dropdown

* add pt-BR translation

* fix pt-BR flag

Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
This commit is contained in:
Jeremy Letto 2022-03-06 20:12:27 -06:00 committed by GitHub
parent 21f7dd5eba
commit 533045445a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 314 additions and 278 deletions

View file

@ -274,6 +274,12 @@
"YE": "Yemen",
"ZM": "Zambia",
"ZW": "Zimbabwe"
},
"languages": {
"en-US": "English - US",
"fr": "French",
"nl": "Dutch",
"pt-BR": "Portuguese - Brazil"
}
}
}