Browse Source

added Taiwan transation

Luke Ehresman 24 years ago
parent
commit
3e4438f709
4 changed files with 9 additions and 2 deletions
  1. 5 0
      ChangeLog
  2. 2 0
      functions/i18n.php
  3. 1 1
      functions/imap_general.php
  4. 1 1
      functions/mailbox_display.php

+ 5 - 0
ChangeLog

@@ -1,6 +1,11 @@
 Version 1.0pre2 -- DEVELOPMENT
 ------------------------------
+- Fixed bug that didn't display login failure message
+- Fixed minor bug in sqimap_mailbox_list
+- Added sqimap_capability function to check capabilities of server.
+- Rewrote sqimap_get_delim to use NAMESPACE capability (if available) to get delimiter.
 - Added Catalan translation of Help documents by Josep Sanz <jsanz@fa.upc.es>
+- Added Taiwan translation by "ching" <ching@kiwa.com.tw>
 
 Version 1.0pre1 -- December 14, 2000 
 ------------------------------------

+ 2 - 0
functions/i18n.php

@@ -46,6 +46,8 @@
    $languages["ca"]["CHARSET"] = "iso-8859-1";
 	$languages["sr"]["NAME"]	 = "Serbian";
 	$languages["sr"]["CHARSET"] = "iso-8859-2";
+	$languages["tw"]["NAME"]    = "Taiwan";
+	$languages["tw"]["CHARSET"] = "big5";
 
    // Decodes a string to the internal encoding from the given charset
    function charset_decode ($charset, $string) {

+ 1 - 1
functions/imap_general.php

@@ -58,7 +58,7 @@
    function sqimap_login ($username, $password, $imap_server_address, $imap_port, $hide) {
       global $color, $squirrelmail_language, $HTTP_ACCEPT_LANGUAGE, $onetimepad;
 
-      $imap_stream = fsockopen ($imap_server_address, $imap_port, &$error_number, &$error_string);
+      $imap_stream = fsockopen ($imap_server_address, $imap_port, &$error_number, &$error_string, 0);
       $server_info = fgets ($imap_stream, 1024);
       
       // Decrypt the password

+ 1 - 1
functions/mailbox_display.php

@@ -113,7 +113,7 @@
       global $message_highlight_list;
       global $auto_expunge;
 
-      sqimap_mailbox_expunge($imapConnection, $mailbox, false);
+	  if ($auto_expunge == true) sqimap_mailbox_expunge($imapConnection, $mailbox, false);
       sqimap_mailbox_select($imapConnection, $mailbox);
 
       if (!$use_cache) {