Page MenuHomePhabricator

Expiry options not translated into user's interface language
Open, Needs TriagePublicBUG REPORT

Description

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
  1. Login as an administrator on beta
  2. Go to https://es.wikibooks.beta.wmflabs.org/w/index.php?title=Mavetuna29&action=protect&uselang=en
  3. Change the dropdown that says "Allow all users" to "Allow only administrators"
  4. 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")

Environment

Wiki(s): https://es.wikibooks.beta.wmflabs.org MediaWiki 1.38.0-alpha (1d595b2) 07:03 30 nov 2021.

Screenshots (if applicable):

protect_form_language.png (843×978 px, 77 KB)