[pacman-dev] [PATCH 04/16] remove format from statistic messages

Simon Gomizelj simongmzlj at gmail.com
Wed Mar 6 12:32:35 EST 2013


>>       if(!targets) {
>>               return;
>> @@ -897,24 +922,30 @@ static void _display_targets(alpm_list_t *targets, int verbose)
>>       free(str);
>>
>>       if(dlsize > 0 || config->op_s_downloadonly) {
>> -             size = humanize_size(dlsize, 'M', 2, &label);
>> -             printf(_("Total Download Size:    %.2f %s\n"), size, label);
>> +             row->label = _("Total Download Size:");
>
> Can we add the ":" at the end rather than have it "translated"?
>

Talked about this briefly on IRC, but just for the record here:

I can't just yet due to how the alignment is done. Trailing colons in
translation messages is a big problem is pacman and should get tackled
properly.


More information about the pacman-dev mailing list