ext/lang.php
/**
     * Translate list in language
     *
     * @param array $list
     */
Translate list in language
@param array $list
Translate list in language @param array $list
public static function trans(array &$list): void
    {
        foreach ($list as $key => $item) {
            unset($list[$key]);
            $list[$item] = gettext($item);
        }
        unset($key, $item);
    }
public static function trans ( array & $ list ) : void { foreach ( $ list as $ key => $ item ) { unset ( $ list [ $ key ] ) ; $ list [ $ item ] = gettext ( $ item ) ; } unset ( $ key , $ item ) ; }
Translate list in language
 @param array $list
Translate list in language @param array $list