faubackup2/src/common output_handling.cpp,1.2,1.3
Martin Waitz <[email protected]> Tue, 14 Jun 2005 20:01:19 +0000
| Newsgroups | gmane.comp.sysutils.backup.faubackup.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/faubackup/faubackup2/src/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10382/src/common
Modified Files:
output_handling.cpp
Log Message:
allow translation of message tags
Index: output_handling.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/common/output_handling.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** output_handling.cpp 8 Jun 2005 19:29:04 -0000 1.2
--- output_handling.cpp 14 Jun 2005 20:01:17 -0000 1.3
***************
*** 26,30 ****
void MessageHandling::critical(string message, int errNo)
{
! cerr << instance_name << ": CRITICAL ERROR: " << message;
if (errNo != 0 )
cerr << " " << strerror(errNo) << endl;
--- 26,30 ----
void MessageHandling::critical(string message, int errNo)
{
! cerr << instance_name << _(": FATAL: ") << message;
if (errNo != 0 )
cerr << " " << strerror(errNo) << endl;
***************
*** 42,46 ****
{
! cerr << instance_name << ": ERROR: " << message;
if (errNo != 0 )
cerr << " " << strerror(errNo) << endl;
--- 42,46 ----
{
! cerr << instance_name << _(": Error: ") << message;
if (errNo != 0 )
cerr << " " << strerror(errNo) << endl;
***************
*** 52,56 ****
void MessageHandling::warning(string message, int errNo)
{
! cerr << instance_name << ": WARNING: " << message;
if (errNo != 0 )
cerr << " " << strerror(errNo) << endl;
--- 52,56 ----
void MessageHandling::warning(string message, int errNo)
{
! cerr << instance_name << _(": warning: ") << message;
if (errNo != 0 )
cerr << " " << strerror(errNo) << endl;
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click