mirror of
https://github.com/friendica/friendica
synced 2025-04-23 09:50:11 +00:00
Language selector added, "channel" is now "channels"
This commit is contained in:
parent
140ac947b5
commit
8b26d488ad
9 changed files with 128 additions and 92 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue