1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-14 18:44:27 +02:00

Issue #5465 Support for array language files.

This commit is contained in:
camer0n
2025-04-04 13:42:14 -07:00
parent 93c301bdb8
commit c46b7b1d36
3 changed files with 1002 additions and 633 deletions

View File

@@ -254,7 +254,7 @@ class language{
/**
* Converts iso to language-name and visa-versa.
* @param string $data
* @return string
* @return string|false
*/
function convert($data){
@@ -404,7 +404,7 @@ class language{
* @example type = english: array(0=>'English', 1=>'French' ...)
* @example type = native: array('English'=>'English', 'French'=>'Francais'...)
* @example type = abbr: array('en'=>'English, 'fr'=>'French' ... )
* @return array
* @return array|int
*/
function installed($type='english')
{