Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1684 closed defect (fixed)

wrong abbreviation in pidgin.pot: "%.2f KB/s"

Reported by: yslandro Owned by: rlaager
Milestone: 2.0.2 Component: pidgin (gtk)
Version: 2.0.1 Keywords: bits, bytes, b, B
Cc:

Description

In translating from pidgin.pot I found the string "%.2f KB/s". There is one error at least, but maybe even two:

1) capital K refers to Kelvin, should be "k" for kilo 2) can someone confirm that capital B is correct? B = Byte, b = bit. Normally bytes are used when describing storage, and bits are used for speed description.

So the resulting string should become either

a) "%.2f kB/s" = kilobytes per second, or b) "%.2f kb/s" = kilobits per second

Change History (12)

comment:1 Changed 11 years ago by acli

kB is correct. The source refers to bytes sent/remaining divided by 1024; it does not refer to bits.

comment:2 Changed 11 years ago by lschiere

  • Milestone set to 2.1.0
  • Owner set to lschiere
  • priority changed from minor to trivial
  • Status changed from new to assigned
  • Type changed from translation to defect

comment:3 Changed 11 years ago by rlaager

If we're going to "fix" this, we should use KiB/s, which is what is technically correct.

I submitted a patch to do this (fix all these units) as one of the first things I wrote for Gaim and it was rejected with the logic that people don't know what KiB means. If we still believe that, then KB/s is fine.

By all of my experience, KB is used interchangably with kB in the computer world. At least one other person, agrees ;), as http://en.wikipedia.org/wiki/Binary_prefix says, "The one-letter symbols are identical to SI prefixes, except for "K", which is used interchangeably with "k" (in SI, the upper-case or capital "K" stands for kelvin, and only the lower-case "k" represents 1,000)."

comment:4 Changed 11 years ago by yslandro

If KiB/s is technically correct, then we should use it. If we can educate people as well - great! As for the erroneous use of k and K, we should stick to what is correct. What's the purpose of standards if we don't apply them?

comment:5 Changed 11 years ago by rlaager

You're ignoring the fact that these things have been used "incorrectly" for something like three or four decades now. That's a lot of intertia to overcome. That said, I'm all for doing it correctly, but others disagree.

comment:6 Changed 11 years ago by yslandro

I'm not ignoring the incorrect usage, I just feel that the correct path is the way to go. :-)

comment:7 Changed 11 years ago by shreevatsa

FWIW, *many* apps use the standard binary prefixes (KiB, MiB) etc. these days, including most of the usual GNOME apps (nautilus, system monitor etc.) (And um, also Azureus, gtk-gnutella). They are getting more and more common all the time (see http://en.wikipedia.org/wiki/Binary_prefix#Adoption ). IMHO the inertia has been overcome and there is enough momentum now to move to the standard prefixes.

comment:8 Changed 11 years ago by rlaager

Luke, what's your take on this? I can dig up that patch and audit the prefixes in not too much time if we want to switch. I'd like to, personally.

comment:9 Changed 11 years ago by lschiere

  • Owner changed from lschiere to rlaager
  • Status changed from assigned to new

I probably assigned this to myself to not forget to look at it since it has a string change.

I honestly only heard of "KiB" and similar for the first time a few days ago (not counting this ticket) when I saw them in a debian planet post. So I'm tempted to say that adoption of this notation is signfiicantly *less* universal than we are being lead to believe.

That being said, the arguments for using it are rather persuasive, and I agree (with the debian person whose blog I was reading) that those who don't know what "KiB" means proably also get confused about when we are using base 10 and when base 2. So I'd say go for it.

comment:10 Changed 11 years ago by kstange

I think, in the worst case, people will wonder what it is and google it. In the long run, the more usage these terms get, the better educated people will become about them by necessity. :)

comment:11 Changed 11 years ago by rlaager@…

  • Milestone changed from 2.1.0 to 2.0.2
  • Resolution set to fixed
  • Status changed from new to closed

(In c6d8bd5928a9e1ad839a8430194d3479dc4df0a8) Use the IEC binary units to match our math.

Fixes #1684

comment:12 Changed 11 years ago by number1pbefan

good thing I looked here first. I was wondering why in transfers it said KiB and not KB. I guess there's nothing I can do to get it back to KB...

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!