From: tokul Date: Tue, 8 Mar 2005 17:24:51 +0000 (+0000) Subject: documentation update X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=480feeacdef8ef7790e1b940901135520f4ea39d;p=squirrelmail.git documentation update git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8968 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/i18n.php b/functions/i18n.php index 8eb42785..7b0c3813 100644 --- a/functions/i18n.php +++ b/functions/i18n.php @@ -70,7 +70,7 @@ function sq_textdomain($domain) { * (LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, LC_TIME) * @param mixed $locale option contains array with possible locales or string with one locale * @return string name of set locale or false, if all locales fail. - * @since 1.5.1 + * @since 1.5.1 and 1.4.5 * @see http://www.php.net/setlocale */ function sq_setlocale($category,$locale) { @@ -105,7 +105,7 @@ function sq_setlocale($category,$locale) { * @param string $charset * @param string $string Text to be decoded * @param boolean $force_decode converts string to html without $charset!=$default_charset check. - * Argument is available since 1.5.1. + * Argument is available since 1.5.1 and 1.4.5. * @return string decoded string */ function charset_decode ($charset, $string, $force_decode=false) { @@ -183,7 +183,7 @@ function charset_decode ($charset, $string, $force_decode=false) { /** * Converts html string to given charset - * @since 1.5.1 + * @since 1.5.1 and 1.4.4 * @param string $string * @param string $charset * @param boolean $htmlencode keep htmlspecialchars encoding @@ -219,7 +219,7 @@ function charset_encode($string,$charset,$htmlencode=true) { * * If conversion is done to charset different that utf-8, unsupported symbols * will be replaced with question marks. - * @since 1.5.1 + * @since 1.5.1 and 1.4.4 * @param string $in_charset initial charset * @param string $string string that has to be converted * @param string $out_charset final charset @@ -235,7 +235,7 @@ function charset_convert($in_charset,$string,$out_charset,$htmlencode=true) { /** * Makes charset name suitable for decoding cycles * - * @since 1.5.0 + * @since 1.5.0 and 1.4.4 * @param string $charset Name of charset * @return string $charset Adjusted name of charset */ @@ -865,7 +865,7 @@ if (! isset($squirrelmail_language)) { * CHARSET - Encoding used by translation * ALIAS - used when 'language' is only short name and 'value' should provide long language name * ALTNAME - Native translation name. Any 8bit symbols must be html encoded. - * LOCALE - Full locale name (in xx_XX.charset format) + * LOCALE - Full locale name (in xx_XX.charset format). It can use array with several locale names since 1.4.5 and 1.5.1 * DIR - Text direction. Used to define Right-to-Left languages. Possible values 'rtl' or 'ltr'. If undefined - defaults to 'ltr' * XTRA_CODE - translation uses special functions. See doc/i18n.txt *