l10n: localizable upload progress messages
authorDimitriy Ryazantcev <dimitriy.ryazantcev@gmail.com>
Tue, 2 Jul 2019 18:22:48 +0000 (21:22 +0300)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Jul 2019 19:18:49 +0000 (12:18 -0700)
Currenly the data rate in throughput_string(...) method is
output by simple strbuf_humanise_bytes(...) call and '/s' append.
But for proper translation of such string the translator needs
full context.

Add strbuf_humanise_rate(...) method to properly print out
localizable version of data rate ('3.5 MiB/s' etc) with full context.

Strings with the units in strbuf_humanise_bytes(...) are marked
for translation.

Signed-off-by: Dimitriy Ryazantcev <dimitriy.ryazantcev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found