X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fprogress.c;h=f2be154afc07f429f3e7b73532bc66c90743401d;hp=2f1c22259dd1800579a5e94edb704436ac570a6f;hb=d763f8bf6d6e13ce006ffab616cc8a77e747a633;hpb=b4077ab56ae658a9a067deeafeb8c540cf947721 diff --git a/src/progress.c b/src/progress.c index 2f1c2225..f2be154a 100644 --- a/src/progress.c +++ b/src/progress.c @@ -800,7 +800,7 @@ count_cols (const char *mbs) const char * get_eta (int *bcd) { - /* Translation note: "ETA" is English-centric, but this must + /* TRANSLATORS: "ETA" is English-centric, but this must be short, ideally 3 chars. Abbreviate if necessary. */ static const char eta_str[] = N_(" eta %s"); static const char *eta_trans; @@ -1157,7 +1157,7 @@ eta_to_human_short (int secs, bool condensed) else if (secs < 48 * 3600) sprintf (buf, "%dh%s%dm", secs / 3600, space, (secs / 60) % 60); else if (secs < 100 * 86400) - sprintf (buf, "%dd%s%dh", secs / 86400, space, (secs / 3600) % 60); + sprintf (buf, "%dd%s%dh", secs / 86400, space, (secs / 3600) % 24); else /* even (2^31-1)/86400 doesn't overflow BUF. */ sprintf (buf, "%dd", secs / 86400);