summaryrefslogtreecommitdiff
path: root/diff-lib.c
diff options
context:
space:
mode:
authorDimitriy Ryazantcev <dimitriy.ryazantcev@gmail.com>2019-07-02 21:22:48 +0300
committerJunio C Hamano <gitster@pobox.com>2019-07-02 12:18:49 -0700
commit8f354a1faedba64daf5442c12cbc605441bb60b0 (patch)
treec8ce80e82e5b1ba5529bf14a678a98f8a87fa2b6 /diff-lib.c
parent8dca754b1e874719a732bc9ab7b0e14b21b1bc10 (diff)
downloadgit-8f354a1faedba64daf5442c12cbc605441bb60b0.tar.gz
l10n: localizable upload progress messages
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>
Diffstat (limited to 'diff-lib.c')
0 files changed, 0 insertions, 0 deletions