Language selector added, "channel" is now "channels"

This commit is contained in:
Michael 2023-09-03 12:54:25 +00:00
parent 140ac947b5
commit 8b26d488ad
9 changed files with 128 additions and 92 deletions

View file

@ -537,7 +537,7 @@ class User
* Fetch the language code from the given user. If the code is invalid, return the system language
*
* @param integer $uid User-Id
* @param boolean $short If true, return the short form g.g. "en", otherwise the long form e.g. "en_UK"
* @param boolean $short If true, return the short form g.g. "en", otherwise the long form e.g. "en-gb"
* @return string
*/
public static function getLanguageCode(int $uid, bool $short): string