From 9427a15195f1d4c8aa6758740d36354cafc86436 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Tue, 19 Aug 2003 09:05:25 +0000 Subject: [PATCH] 2003-08-19 Marcel Telka * src/tap/parport/direct.c (direct_connect): Marked two indirect strings for translation. * src/tap/parport/ppdev.c (ppdev_connect): Ditto. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@526 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 5 +++++ jtag/src/tap/parport/direct.c | 4 ++-- jtag/src/tap/parport/ppdev.c | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 83d40242..d93bc7f1 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,8 @@ +2003-08-19 Marcel Telka + + * src/tap/parport/direct.c (direct_connect): Marked two indirect strings for translation. + * src/tap/parport/ppdev.c (ppdev_connect): Ditto. + 2003-08-19 Marcel Telka * sysdep.h: Renamed pkgcfg.h to config.h. diff --git a/jtag/src/tap/parport/direct.c b/jtag/src/tap/parport/direct.c index 0f796081..e353c8ed 100644 --- a/jtag/src/tap/parport/direct.c +++ b/jtag/src/tap/parport/direct.c @@ -173,7 +173,7 @@ direct_connect( const char **par, int parnum ) aport = ((direct_params_t*) pn->port->params)->port; if (abs( aport - port ) < 3) { - printf( _("Disconnecting %s from parallel port at 0x%x\n"), pn->port->cable->driver->description, aport ); + printf( _("Disconnecting %s from parallel port at 0x%x\n"), _(pn->port->cable->driver->description), aport ); pn->port->cable->driver->disconnect( pn->port->cable ); break; } @@ -193,7 +193,7 @@ direct_connect( const char **par, int parnum ) return NULL; } - printf( _("Initializing %s on parallel port at 0x%x\n"), cable_drivers[i]->description, port ); + printf( _("Initializing %s on parallel port at 0x%x\n"), _(cable_drivers[i]->description), port ); parport = direct_parport_alloc( port ); if (!parport) { diff --git a/jtag/src/tap/parport/ppdev.c b/jtag/src/tap/parport/ppdev.c index 016d97c2..e533ee9f 100644 --- a/jtag/src/tap/parport/ppdev.c +++ b/jtag/src/tap/parport/ppdev.c @@ -121,7 +121,7 @@ ppdev_connect( const char **par, int parnum ) for (pn = ports; pn; pn = pn->next) if (strcmp( pn->port->params, par[0] ) == 0) { - printf( _("Disconnecting %s from ppdev port %s\n"), pn->port->cable->driver->description, par[0] ); + printf( _("Disconnecting %s from ppdev port %s\n"), _(pn->port->cable->driver->description), par[0] ); pn->port->cable->driver->disconnect( pn->port->cable ); break; } @@ -140,7 +140,7 @@ ppdev_connect( const char **par, int parnum ) return NULL; } - printf( _("Initializing %s on ppdev port %s\n"), cable_drivers[i]->description, par[0] ); + printf( _("Initializing %s on ppdev port %s\n"), _(cable_drivers[i]->description), par[0] ); parport = ppdev_parport_alloc( par[0] ); if (!parport) {