In rpmqv.c ther is the code
fprintf(fp, _("%s (" RPM_NAME ") %s\n"), __progname, rpmEVR);
Unfortunately, xgettext (apparently) doesn't expand RPM_NAME. Only
the string "%s (" gets into the message catalogue.
A possible solution would be
fprintf(fp, _("%s (%s) %s\n"), __progname, RPM_NAME, rpmEVR);
It would not translate the name. But names are usually not
translated.
On the other hand, given that the string now contains no text, there
isn't much to translate. So an even simplier solution would be
fprintf(fp, "%s (" RPM_NAME ") %s\n", __progname, rpmEVR);
Received on Fri Feb 1 23:52:26 2008