After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 127175 - K should be kB in gnome_vfs_format_file_size_for_display
K should be kB in gnome_vfs_format_file_size_for_display
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Other
cvs (head)
Other Linux
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
: 71003 127508 344296 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-11-17 06:24 UTC by Mariano Suárez-Alvarez
Modified: 2008-09-26 15:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
s/K/kB/ on HEAD (786 bytes, patch)
2003-11-17 06:27 UTC, Mariano Suárez-Alvarez
none Details | Review
Patch for actual division by 1000; otherwise, binary multiples will have to be used. (1.02 KB, patch)
2003-11-18 01:35 UTC, alexander.winston
none Details | Review

Description Mariano Suárez-Alvarez 2003-11-17 06:24:21 UTC
The correct way to write kilobytes is kB, with a small k (see
http://physics.nist.gov/cuu/Units/prefixes.html)
(Actually this should be done using KiB and such (see
http://en.wikipedia.org/wiki/Byte) but no one would know what that is, I guess)

Trivial patch follows
Comment 1 Mariano Suárez-Alvarez 2003-11-17 06:27:05 UTC
Created attachment 21517 [details] [review]
s/K/kB/ on HEAD
Comment 2 alexander.winston 2003-11-18 01:35:46 UTC
Created attachment 21563 [details] [review]
Patch for actual division by 1000; otherwise, binary multiples will have to be used.
Comment 3 alexander.winston 2003-11-23 06:01:46 UTC
*** Bug 127508 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Fergeau 2003-11-25 08:55:27 UTC
Any idea what the doc guys recommend to use? The switch to a decimal
system or KiB would need to be done GNOME-wide, and to be discussed on
desktop-devel first.
Comment 5 alexander.winston 2003-12-18 06:04:57 UTC
*** Bug 94691 has been marked as a duplicate of this bug. ***
Comment 6 Alexander Larsson 2003-12-18 08:44:39 UTC
See comment from docs guys:
http://lists.gnome.org/archives/gnome-doc-list/2003-December/msg00004.html

According to the table at
http://developer.gnome.org/documents/style-guide/x14800.html we should
be using KB, not K. I'm fixing this.
Comment 7 alexander.winston 2003-12-20 22:45:54 UTC
Hmm, it should be kB, not KB. The documentation really needs to be
rectified. . . .
Comment 8 alexander.winston 2004-02-20 17:29:11 UTC
*** Bug 71003 has been marked as a duplicate of this bug. ***
Comment 9 Alexander Larsson 2006-06-17 09:01:07 UTC
*** Bug 344296 has been marked as a duplicate of this bug. ***