瀏覽代碼

* Added Indonesian language

Tyler Akins 24 年之前
父節點
當前提交
1253bc7b09
共有 3 個文件被更改,包括 6 次插入1 次删除
  1. 1 0
      ChangeLog
  2. 3 0
      functions/i18n.php
  3. 2 1
      src/compose.php

+ 1 - 0
ChangeLog

@@ -3,6 +3,7 @@ Version 1.1.3 -- DEVELOPMENT
 - Fixed MOTD
 - Fixed multipart/alternative messages
 - Updated Dutch translation
+- Added Indonesian translation <arief (at) fisika (dot) ui (dot) ac (dot) id>
 
 Version 1.1.2 -- May 21, 2001 
 -----------------------------

+ 3 - 0
functions/i18n.php

@@ -38,6 +38,9 @@
    $languages['de']['NAME']    = 'Deutsch';
    $languages['de']['CHARSET'] = 'iso-8859-1';
    
+   $languages['id']['NAME']    = 'Indonesian';
+   $languages['id']['CHARSET'] = 'iso-8859-1';
+   
    $languages['nl']['NAME']    = 'Dutch';
    $languages['nl']['CHARSET'] = 'iso-8859-1';
    

+ 2 - 1
src/compose.php

@@ -160,6 +160,7 @@
               while (file_exists($attachment_dir . $localfilename))
                   $localfilename = GenerateRandomString(32, '', 7);
 
+              $newAttachment = array();
               $newAttachment['localfilename'] = $localfilename;
               $newAttachment['remotefilename'] = $filename;
               $newAttachment['type'] = strtolower($message->header->type0 .
@@ -432,7 +433,7 @@
          //$imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
          displayPageHeader($color, $mailbox);
          
-         if ($AttachFailure)
+         if (isset($AttachFailure))
              plain_error_message(_("Could not move/copy file. File not attached"), $color);
 
          checkInput(true);