From 2a77eb613a124c0f9e3b6e300fec6e5d1fcd655a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 6 May 2008 02:40:29 +0000 Subject: [PATCH] do not mark chip ids as translatable git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1201 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 2 ++ jtag/src/flash/amd.c | 24 ++++++++++++------------ jtag/src/flash/amd_flash.c | 4 ++-- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 8c9a09fd..8e92e792 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,6 +1,8 @@ 2008-05-05 Mike Frysinger * src/svf/svf.c: Fix __MINGW32__ typo. + * src/flash/amd.c: Remove _() around part names. + * src/flash/amd_flash.c: Likewise. 2008-05-04 Mike Frysinger diff --git a/jtag/src/flash/amd.c b/jtag/src/flash/amd.c index a4228423..e6a63833 100644 --- a/jtag/src/flash/amd.c +++ b/jtag/src/flash/amd.c @@ -281,23 +281,23 @@ amd_flash_print_info( cfi_array_t *cfi_array ) printf( _("Chip: AMD Flash\n\tManufacturer: ") ); switch (mid) { case 0x0001: - printf( _("AMD") ); + printf( "AMD" ); printf( _("\n\tChip: ") ); switch (cid) { case 0x0049: - printf( _("AM29LV160DB") ); + printf( "AM29LV160DB" ); break; case 0x0093: - printf( _("Am29LV065D") ); + printf( "Am29LV065D" ); break; case 0x004F: - printf( _("Am29LV040B") ); + printf( "Am29LV040B" ); break; case 0x22D7: - printf( _("Am29LV640D/Am29LV641D/Am29LV642D") ); + printf( "Am29LV640D/Am29LV641D/Am29LV642D" ); break; case 0x225B: - printf( _("Am29LV800B") ); + printf( "Am29LV800B" ); break; default: printf ( _("Unknown (ID 0x%04x)"), cid ); @@ -305,17 +305,17 @@ amd_flash_print_info( cfi_array_t *cfi_array ) } break; case 0x0020: - printf( _("ST/Samsung") ); + printf( "ST/Samsung" ); printf( _("\n\tChip: ") ); switch (cid) { case 0x00ca: - printf( _("M29W320DT") ); + printf( "M29W320DT" ); break; case 0x00cb: - printf( _("M29W320DB") ); + printf( "M29W320DB" ); break; case 0x22ed: - printf( _("M29W640DT") ); + printf( "M29W640DT" ); break; default: printf ( _("Unknown (ID 0x%04x)"), cid ); @@ -323,11 +323,11 @@ amd_flash_print_info( cfi_array_t *cfi_array ) } break; case 0x00C2: - printf( _("Macronix") ); + printf( "Macronix" ); printf( _("\n\tChip: ") ); switch (cid) { case 0x2249: - printf( _("MX29LV160B") ); + printf( "MX29LV160B" ); break; default: printf ( _("Unknown (ID 0x%04x)"), cid ); diff --git a/jtag/src/flash/amd_flash.c b/jtag/src/flash/amd_flash.c index 22f92d8f..fb6265ea 100644 --- a/jtag/src/flash/amd_flash.c +++ b/jtag/src/flash/amd_flash.c @@ -239,11 +239,11 @@ static void amd_29xx040_print_info( cfi_array_t *cfi_array ) printf( _("\n\tChip: ") ); switch (did) { case 0xA4: - printf( _("Am29C040B\t-\t") ); + printf( "Am29C040B\t-\t" ); printf( _("5V Flash\n") ); break; case 0x4F: - printf( _("Am29LV040B\t-\t") ); + printf( "Am29LV040B\t-\t" ); printf( _("3V Flash\n") ); break; default: