[Debian-handbook-translators] Binary size units or not?

Petter Reinholdtsen pere at hungry.com
Mon Oct 17 06:10:24 BST 2022


In the web page text there are some sizes listed using Mb as the unit,
see
<URL: https://hosted.weblate.org/translate/debian-handbook/99_website/en/?checksum=5ece9d9fd9947cf2 >
for an example.  I believe these really are sizes based on 1024 bytes,
not 1000 bits, making the unit confusing.  Normally 'b' is bits and 'B'
is bytes, and M is mega = ie 1000 * 1000, not 1024 * 1024.

I suggest to use the binary prefix units instead, as described in
<URL: https://en.wikipedia.org/wiki/Binary_prefix >.

The Mb unit is also used in en-US/08_basic-configuration.xml as Mb/s,
and here it is obviously used for bits, not bytes.

diff --git a/en-US/99_website.xml b/en-US/99_website.xml
index 2eeb944e..1dc026bd 100644
--- a/en-US/99_website.xml
+++ b/en-US/99_website.xml
@@ -71,9 +71,9 @@
       Click on the link of the version that you wish to download:
     </para>
     <itemizedlist>
-      <listitem><para>English PDF (30 Mb)</para></listitem>
-      <listitem><para>English EPUB (5 Mb)</para></listitem>
-      <listitem><para>English Mobipocket (13 Mb)</para></listitem>
+      <listitem><para>English PDF (30 MiB)</para></listitem>
+      <listitem><para>English EPUB (5 MiB)</para></listitem>
+      <listitem><para>English Mobipocket (13 MiB)</para></listitem>
     </itemizedlist>
   </section>
 

Any objections, or should I just commit the change?

-- 
Happy hacking
Petter Reinholdtsen



More information about the Debian-handbook-translators mailing list