Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
fbae17fa
...
fbae17faded91e5d15bfd495daa5bedd32f340ad
authored
2002-12-27 09:21:46 +0000
by
Wojciech Polak
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Small NLS improvement
1 parent
fa01b9cb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
8 deletions
frm/frm.c
mail/quit.c
mail/summary.c
frm/frm.c
View file @
fbae17f
...
...
@@ -403,9 +403,11 @@ cleanup:
cleanup1:
if
(
show_summary
)
printf
(
_
(
"You have %d messages
\n
"
),
total
);
printf
(
total
==
1
?
_
(
"You have %d message.
\n
"
)
:
_
(
"You have %d messages.
\n
"
),
total
);
if
(
show_query
&&
have_new_mail
)
printf
(
_
(
"You have new mail
\n
"
));
printf
(
_
(
"You have new mail
.
\n
"
));
/* 0 - selected messages discover.
1 - have messages.
...
...
mail/quit.c
View file @
fbae17f
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2001 Free Software Foundation, Inc.
Copyright (C) 1999, 2001
, 2002
Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -47,8 +47,9 @@ mail_mbox_close ()
mailbox_get_url
(
mbox
,
&
url
);
mailbox_messages_count
(
mbox
,
&
held_count
);
fprintf
(
ofile
,
_
(
"Held %d messages in %s
\n
"
),
held_count
,
url_to_string
(
url
));
fprintf
(
ofile
,
held_count
==
1
?
_
(
"Held %d message in %s
\n
"
)
:
_
(
"Held %d messages in %s
\n
"
),
held_count
,
url_to_string
(
url
));
mailbox_close
(
mbox
);
mailbox_destroy
(
&
mbox
);
return
0
;
...
...
@@ -124,8 +125,9 @@ mail_mbox_commit ()
url_t
u
=
NULL
;
mailbox_get_url
(
dest_mbox
,
&
u
);
fprintf
(
ofile
,
_
(
"Saved %d messages in %s
\n
"
),
saved_count
,
url_to_string
(
u
));
fprintf
(
ofile
,
saved_count
==
1
?
_
(
"Saved %d message in %s
\n
"
)
:
_
(
"Saved %d messages in %s
\n
"
),
saved_count
,
url_to_string
(
u
));
mailbox_close
(
dest_mbox
);
mailbox_destroy
(
&
dest_mbox
);
}
...
...
mail/summary.c
View file @
fbae17f
...
...
@@ -63,7 +63,7 @@ mail_summary (int argc, char **argv)
mailbox_get_url
(
mbox
,
&
url
);
printf
(
"
\"
%s
\"
: "
,
url_to_string
(
url
));
}
printf
(
_
(
"%d messages"
),
count
);
printf
(
"%d %s"
,
count
,
count
==
1
?
_
(
"message"
)
:
_
(
"messages"
)
);
if
(
mnew
>
0
)
printf
(
_
(
" %d new"
),
mnew
);
if
(
mseen
>
0
)
...
...
Please
register
or
sign in
to post a comment