If you run ack "Verbose mode. This increases the verbosity of the" you'll see a lot of the same messages in several files.
So for example, this code:
cout << "\t-v\tVerbose mode. This increases the verbosity of the\n";
cout << "\t\tprogram. Using more than 2 is probably only useful\n";
cout << "\t\tfor debugging purposes. The default verbose mode\n";
Could go into htcommon/messages.c and all the other programs that use it could call a variable containing the contents of the string in that file.
And actually, to help with preparing the source for translating, instead of using "cout" we'll do this:
printf (_("\t-v\tVerbose mode. This increases the verbosity of the\n\
\t\tprogram. Using more than 2 is probably only useful\n\
\t\tfor debugging purposes. The default verbose mode\n\
\t\tgives a nice progress report while digging.\n\n"));
@AlexChristoforides would you be interested in working on this?
If you run
ack "Verbose mode. This increases the verbosity of the"you'll see a lot of the same messages in several files.So for example, this code:
Could go into htcommon/messages.c and all the other programs that use it could call a variable containing the contents of the string in that file.
And actually, to help with preparing the source for translating, instead of using "cout" we'll do this:
@AlexChristoforides would you be interested in working on this?