git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3] l10n: localizable upload progress messages

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 24, 2019, 18:01 UTC
Message-ID
<xmqq1rzij20h.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<CAPUT4mQnsThA=ZxZD8K+J+u6tbN5PggPomuymEUO=u2GT88aUA@mail.gmail.com>
Dimitriy <dimitriy.ryazantcev@gmail.com> writes:
> I just moved 'B' out of else block so it will be prepended with
> 'Gi'/'Mi'/'Ki' when needed.
> Note: I changed 'bytes' to just 'B' unit.
That makes this change more than "localizable messages", doesn't it?

As an old timer, I do not mind MiB (I'd prefer the old-fashioned MB myself), but I think "20 bytes" (or "1 byte") spelled out is much easier to grok and less prone to get misunderstood than "20B". Like it or not, with scale prefixes, e.g. "20 kiB", "20 MiB", etc., it is hard to misunderstand what 'B' means in there, but without any scale prefix, i.e. "20 B", it is rather easy to get confused what 'B' means.

Previous: DimitriyNext: Johannes Sixt
Message 4 of 10 in “l10n: localizable upload progress messages”
  1. l10n: localizable upload progress messagesDimitriy Ryazantcev, Jun 22, 2019
  2. Duy NguyenJun 22, 2019
  3. DimitriyJun 22, 2019
  4. Junio C HamanoJun 24, 2019
  5. Johannes SixtJun 22, 2019
  6. brian m. carlsonJun 23, 2019
  7. DimitriyJun 23, 2019
  8. Johannes SixtJun 23, 2019
  9. Junio C HamanoJun 24, 2019
  10. brian m. carlsonJun 23, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.