diff options
author | Fritz Elfert <felfert@to.com> | 2002-07-16 19:40:29 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2002-07-16 19:40:29 +0000 |
commit | b7e466900330bbe60f89e4a8ae4842d7368c2e1f (patch) | |
tree | 51fe97a740b3e3ff2a127fc927a719674125e6ec /ncpd | |
parent | 958df71fe3dc79821200fe325dad65b39ce811dc (diff) | |
download | plptools-b7e466900330bbe60f89e4a8ae4842d7368c2e1f.tar.gz plptools-b7e466900330bbe60f89e4a8ae4842d7368c2e1f.tar.bz2 plptools-b7e466900330bbe60f89e4a8ae4842d7368c2e1f.zip |
- Added some translations in ncpd.
Diffstat (limited to 'ncpd')
-rw-r--r-- | ncpd/main.cc | 10 | ||||
-rw-r--r-- | ncpd/ncp.cc | 6 |
2 files changed, 8 insertions, 8 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); diff --git a/ncpd/ncp.cc b/ncpd/ncp.cc index 3abdf87..3507804 100644 --- a/ncpd/ncp.cc +++ b/ncpd/ncp.cc @@ -229,9 +229,9 @@ decodeControlMessage(bufferStore & buff) controlChannel(localChan, NCON_MSG_CONNECT_RESPONSE, b); if (verbose & NCP_DEBUG_LOG) lout << "ncp: Link UP" << endl; - linf << "Connected with a S" - << ((protocolVersion == PV_SERIES_5) ? 5 : 3) << " at " - << getSpeed() << "baud" << endl; + linf << _("Connected with a S") + << ((protocolVersion == PV_SERIES_5) ? 5 : 3) << _(" at ") + << getSpeed() << _("baud") << endl; // Create linkchan if it does not yet exist if (!lChan) { if (verbose & NCP_DEBUG_LOG) |