* call)
*/
fprintf(stderr,
- ngettext("%s/%s kB (100%%), %d/%d tablespace %*s",
- "%s/%s kB (100%%), %d/%d tablespaces %*s",
+ ngettext("%*s/%s kB (100%%), %d/%d tablespace %*s",
+ "%*s/%s kB (100%%), %d/%d tablespaces %*s",
tablespacecount),
+ strlen(totalsize_str),
totaldone_str, totalsize_str,
tablespacenum, tablespacecount,
VERBOSE_FILENAME_LENGTH + 5, "");
bool truncate = (strlen(filename) > VERBOSE_FILENAME_LENGTH);
fprintf(stderr,
- ngettext("%s/%s kB (%d%%), %d/%d tablespace (%s%-*.*s)",
- "%s/%s kB (%d%%), %d/%d tablespaces (%s%-*.*s)",
+ ngettext("%*s/%s kB (%d%%), %d/%d tablespace (%s%-*.*s)",
+ "%*s/%s kB (%d%%), %d/%d tablespaces (%s%-*.*s)",
tablespacecount),
+ strlen(totalsize_str),
totaldone_str, totalsize_str, percent,
tablespacenum, tablespacecount,
/* Prefix with "..." if we do leading truncation */
}
else
fprintf(stderr,
- ngettext("%s/%s kB (%d%%), %d/%d tablespace",
- "%s/%s kB (%d%%), %d/%d tablespaces",
+ ngettext("%*s/%s kB (%d%%), %d/%d tablespace",
+ "%*s/%s kB (%d%%), %d/%d tablespaces",
tablespacecount),
+ strlen(totalsize_str),
totaldone_str, totalsize_str, percent,
tablespacenum, tablespacecount);