map_locale_display_names()
does not set use_display_name
for the first of multiple locales for a language
#6475
Milestone
Description
For languages like
pt
andzh
for which we now have multiple translated locales,map_locale_display_names()
setsuse_display_name
for only the second and following locales. Prior to an overzealous refactoring in #6406, it would be set for all locales for a multi-locale language.Steps to Reproduce
Reported by @deeplow in https://forum.securedrop.org/t/can-pt-br-become-portugues-brasil-instead-of-just-portugues/1455. Test cases TK.
Expected Behavior
pt_BR
=Português (Brasil)
pt_PT
=Português (Portugal)
Actual Behavior
pt_BR
=Português
pt_PT
=Português (Portugal)
The text was updated successfully, but these errors were encountered: