avoid '\r' in i18n strings (Hartley Sweeten)

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1276 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Arnim Läuger 17 years ago
parent b462454de9
commit 5c520db0eb

@ -1,3 +1,9 @@
2008-06-09 Arnim Laeuger <arniml@users.sourceforge.net>
* src/svf/svf_flex.l, src/flash/flash.c (flashmem):
avoid '\r' in i18n strings (Hartley Sweeten)
* po/fr.po, po/rw.po, po/sk.po: remove '\r'
2008-06-06 Kolja Waschk <kawk>
* src/bus/bcm1250.c: Allow for 8 IO_CS_L signals, not just 7

@ -2697,7 +2697,7 @@ msgstr ""
#: src/flash/flash.c:297 src/flash/flash.c:344
#, fuzzy, c-format
msgid "addr: 0x%08X\r"
msgid "addr: 0x%08X"
msgstr "adr: 0x%08X"
#: src/flash/flash.c:332
@ -2737,12 +2737,12 @@ msgstr ""
#: src/flash/flash.c:386
#, c-format
msgid "\r(100%% Completed) FLASH Block %d : Unlocking ... Erasing ... Ok.\n"
msgid "(100%% Completed) FLASH Block %d : Unlocking ... Erasing ... Ok.\n"
msgstr ""
#: src/flash/flash.c:388
#, c-format
msgid "Ok.\r%78s\r"
msgid "Ok.%78s"
msgstr ""
#: src/flash/flash.c:391

@ -2549,7 +2549,7 @@ msgstr "Funga"
#: src/flash/flash.c:297 src/flash/flash.c:344
#, fuzzy, c-format
msgid "addr: 0x%08X\r"
msgid "addr: 0x%08X"
msgstr "Aderesi"
#: src/flash/flash.c:332
@ -2585,12 +2585,12 @@ msgstr ""
#: src/flash/flash.c:386
#, c-format
msgid "\r(100%% Completed) FLASH Block %d : Unlocking ... Erasing ... Ok.\n"
msgid "(100%% Completed) FLASH Block %d : Unlocking ... Erasing ... Ok.\n"
msgstr ""
#: src/flash/flash.c:388
#, c-format
msgid "Ok.\r%78s\r"
msgid "Ok.%78s"
msgstr ""
#: src/flash/flash.c:391

@ -2710,7 +2710,7 @@ msgstr ""
#: src/flash/flash.c:297 src/flash/flash.c:344
#, fuzzy, c-format
msgid "addr: 0x%08X\r"
msgid "addr: 0x%08X"
msgstr "adresa: 0x%08X"
#: src/flash/flash.c:332
@ -2750,12 +2750,12 @@ msgstr ""
#: src/flash/flash.c:386
#, c-format
msgid "\r(100%% Completed) FLASH Block %d : Unlocking ... Erasing ... Ok.\n"
msgid "(100%% Completed) FLASH Block %d : Unlocking ... Erasing ... Ok.\n"
msgstr ""
#: src/flash/flash.c:388
#, c-format
msgid "Ok.\r%78s\r"
msgid "Ok.%78s"
msgstr ""
#: src/flash/flash.c:391

@ -294,7 +294,8 @@ flashmem( bus_t *bus, FILE *f, uint32_t addr )
for (bc = 0; bc < bn; bc += flash_driver->bus_width) {
int j;
if ((adr & 0xFF) == 0) {
printf( _("addr: 0x%08X\r"), adr );
printf( _("addr: 0x%08X"), adr );
printf( "\r" );
fflush( stdout );
}
@ -330,7 +331,8 @@ flashmem( bus_t *bus, FILE *f, uint32_t addr )
for (bc = 0; bc < bn; bc += flash_driver->bus_width) {
int j;
if ((adr & 0xFF) == 0) {
printf( _("addr: 0x%08X\r"), adr );
printf( _("addr: 0x%08X"), adr );
printf( "\r" );
fflush( stdout );
}
@ -381,10 +383,15 @@ flasherase( bus_t *bus, uint32_t addr, int number )
fflush(stdout);
status = flash_driver->erase_block( cfi_array, addr );
if (status == 0) {
if (i == number)
printf( _("\r(100%% Completed) FLASH Block %d : Unlocking ... Erasing ... Ok.\n"), block_no );
else
printf( _("Ok.\r%78s\r"), "" );
if (i == number) {
printf( "\r" );
printf( _("(100%% Completed) FLASH Block %d : Unlocking ... Erasing ... Ok.\n"), block_no );
} else {
printf( _("Ok.") );
printf( "\r" );
printf( _("%78s"), "" );
printf( "\r" );
}
}
else
printf( _("ERROR.\n") );

@ -305,10 +305,12 @@ fix_yylloc_nl(YYLTYPE * mylloc, char *str, YY_EXTRA_TYPE extra)
if (*p == '\n') {
mylloc->last_column = 0;
++mylloc->last_line;
if (extra->print_progress)
printf( _("\rParsing %6d/%d (%3.0d%%)"),
if (extra->print_progress) {
printf( "\r" );
printf( _("Parsing %6d/%d (%3.0d%%)"),
mylloc->last_line, extra->num_lines,
((mylloc->last_line * 100) + 1) / extra->num_lines );
}
} else {
++mylloc->last_column;
}

Loading…
Cancel
Save