← Back to team overview

mahara-contributors team mailing list archive

[Bug 1905477] A change has been merged

 

Reviewed:  https://reviews.mahara.org/11466
Committed: https://git.mahara.org/mahara/mahara/commit/311320c6ef1d191e40994a615da78f43faf49da2
Submitter: Lisa Seeto (lisaseeto@xxxxxxxxxxxxxxx)
Branch:    master

commit 311320c6ef1d191e40994a615da78f43faf49da2
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Mon Nov 23 12:51:36 2020 +1300

Bug 1905477: Fixing problem where default lang was institution lang

and not site lang

To test: Have a person in an institution where the institution language
is not English. Make sure the lang pack has translations for the
strings to test. Make sure the person doesn't have their lang set in
usr_account_preferences table - so they are defaulting to the
institution default.

Share a collection to that person from another person in an
institution that uses english

The message should be in the language of the receiver

Change-Id: Icddc90c3b7bd8279d37e16b4de171631c4020268
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
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/1905477

Title:
  Need to use the get_user_language() function in activity to work out
  right language to send message in

Status in Mahara:
  Fix Committed

Bug description:
  Currently the activity.php way of finding language is ignoring the
  option when user is in an institution that has a specific language
  set, but the user themselves has no specific language set.

  activity.php is defaulting to site language rather than institution
  language.

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


References