aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd/main.cc
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2002-07-16 19:40:29 +0000
committerFritz Elfert <felfert@to.com>2002-07-16 19:40:29 +0000
commitb7e466900330bbe60f89e4a8ae4842d7368c2e1f (patch)
tree51fe97a740b3e3ff2a127fc927a719674125e6ec /ncpd/main.cc
parent958df71fe3dc79821200fe325dad65b39ce811dc (diff)
downloadplptools-b7e466900330bbe60f89e4a8ae4842d7368c2e1f.tar.gz
plptools-b7e466900330bbe60f89e4a8ae4842d7368c2e1f.tar.bz2
plptools-b7e466900330bbe60f89e4a8ae4842d7368c2e1f.zip
- Added some translations in ncpd.
Diffstat (limited to 'ncpd/main.cc')
-rw-r--r--ncpd/main.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/ncpd/main.cc b/ncpd/main.cc
index a78f47d..72fc644 100644
--- a/ncpd/main.cc
+++ b/ncpd/main.cc
@@ -76,7 +76,7 @@ ostream lerr(&elog);
static RETSIGTYPE
term_handler(int)
{
- linf << "Got SIGTERM" << endl;
+ linf << _("Got SIGTERM") << endl;
signal(SIGTERM, term_handler);
active = false;
};
@@ -84,7 +84,7 @@ term_handler(int)
static RETSIGTYPE
int_handler(int)
{
- linf << "Got SIGINT" << endl;
+ linf << _("Got SIGINT") << endl;
signal(SIGINT, int_handler);
active = false;
};
@@ -355,8 +355,8 @@ main(int argc, char **argv)
dlog.setOn(true);
elog.setOn(true);
ilog.setOn(true);
- linf << "daemon started. Listening at " << host << ":"
- << sockNum << " using device " << serialDevice
+ linf << _("daemon started. Listening at ") << host << ":"
+ << sockNum << _(" using device ") << serialDevice
<< endl;
setsid();
chdir("/");
@@ -388,7 +388,7 @@ main(int argc, char **argv)
}
while (active)
checkForNewSocketConnection();
- linf << "terminating" << endl;
+ linf << _("terminating") << endl;
void *ret;
pthread_join(thr_a, &ret);
pthread_join(thr_b, &ret);