summaryrefslogtreecommitdiff
path: root/mailbox
diff options
context:
space:
mode:
authorWojciech Polak <polak@gnu.org>2002-12-26 10:18:24 +0000
committerWojciech Polak <polak@gnu.org>2002-12-26 10:18:24 +0000
commitceef705516748a4b766beeb85ac5a33440d9a52f (patch)
treec36dac4d4f04b1a4ccdf1be96597cc3baf9d670b /mailbox
parentfc55b7c309b0614e1f3c496c23bb9961cde05a2d (diff)
downloadmailutils-ceef705516748a4b766beeb85ac5a33440d9a52f.tar.gz
mailutils-ceef705516748a4b766beeb85ac5a33440d9a52f.tar.bz2
Added NLS.
Diffstat (limited to 'mailbox')
-rw-r--r--mailbox/file_stream.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/mailbox/file_stream.c b/mailbox/file_stream.c
index a993a3044..81ff6f90e 100644
--- a/mailbox/file_stream.c
+++ b/mailbox/file_stream.c
@@ -1,18 +1,18 @@
-/* GNU mailutils - a suite of utilities for electronic mail
- Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+/* GNU Mailutils -- a suite of utilities for electronic mail
+ Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
- This program is free software; you can redistribute it and/or modify
+ GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Library Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
- This program is distributed in the hope that it will be useful,
+ GNU Mailutils is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
- along with this program; if not, write to the Free Software
+ along with GNU Mailutils; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef HAVE_CONFIG_H
@@ -32,6 +32,7 @@
#include <mailutils/stream.h>
#include <mailutils/error.h>
+#include <mailutils/nls.h>
struct _file_stream
{
@@ -436,7 +437,7 @@ _file_open (stream_t stream)
|| filebuf.st_nlink != 1
|| (fdbuf.st_mode & S_IFMT) != S_IFREG)
{
- mu_error ("%s must be a plain file with one link\n", filename);
+ mu_error (_("%s must be a plain file with one link\n"), filename);
close (fd);
return EINVAL;
}

Return to:

Send suggestions and report system problems to the System administrator.