What is the problem?
The protect page form shows the expiry options in the site's language, not the user's interface language.
Steps to reproduce problem
- Login as an administrator on beta
- Go to https://es.wikibooks.beta.wmflabs.org/w/index.php?title=Mavetuna29&action=protect&uselang=en
- Change the dropdown that says "Allow all users" to "Allow only administrators"
- Open the "Expires" dropdown
Expected behavior: The expiry options are in English (they say "1 hour", "1 day", "1 week", etc.)
Observed behavior: The expiry options are in Spanish (except the first option "other time")