← Back to team overview

mahara-contributors team mailing list archive

[Bug 1889369] Re: Language menu shows when there's only one language

 

** Changed in: mahara
       Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => Low

** Changed in: mahara
    Milestone: None => 20.10.0

** Also affects: mahara/19.10
   Importance: Undecided
       Status: New

** Also affects: mahara/20.04
   Importance: Undecided
       Status: New

** Also affects: mahara/20.10
   Importance: Low
       Status: Confirmed

** Changed in: mahara/20.04
       Status: New => Confirmed

** Changed in: mahara/19.10
       Status: New => Confirmed

** Changed in: mahara/20.04
   Importance: Undecided => High

** Changed in: mahara/20.04
   Importance: High => Low

** Changed in: mahara/19.10
   Importance: Undecided => Low

** Tags added: bite

** Tags removed: bite
** Tags added: bite-sized

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1889369

Title:
  Language menu shows when there's only one language

Status in Mahara:
  Confirmed
Status in Mahara 19.10 series:
  Confirmed
Status in Mahara 20.04 series:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed

Bug description:
  On a fresh 20.04, we've seen cases of the language menu showing up
  even when only one language is actually present.

  The reason is that LANGCHOICES is an array of all possible languages
  that can be selected, and the test in the template to show/hide the
  language selector is whether LANGCHOICES is empty or not.

  There should be an additional flag for 'show language selector' which
  is true/false based on whether LANGCHOICES has > 1 entry or not in it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1889369/+subscriptions


References