From 7a813c2439d3621b69ebe3039943aa4e3d08a608 Mon Sep 17 00:00:00 2001 From: fidian Date: Tue, 22 May 2001 14:52:42 +0000 Subject: [PATCH] * Added Indonesian language git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1400 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- ChangeLog | 1 + functions/i18n.php | 3 +++ src/compose.php | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d772b04e..8b7feb6e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ Version 1.1.3 -- DEVELOPMENT - Fixed MOTD - Fixed multipart/alternative messages - Updated Dutch translation +- Added Indonesian translation Version 1.1.2 -- May 21, 2001 ----------------------------- diff --git a/functions/i18n.php b/functions/i18n.php index 17c74909..cdc95597 100644 --- a/functions/i18n.php +++ b/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'; diff --git a/src/compose.php b/src/compose.php index f7817bf6..5aaca4b4 100644 --- a/src/compose.php +++ b/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); -- 2.25.1