Description: Correct base-10 prefix from KB to kB.
Author: Benjamin Drung <bdrung@ubuntu.com>
Bug-Ubuntu: https://launchpad.net/bugs/538732
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=612872

--- gnome-disk-utility-2.32.1.orig/src/gdu-gtk/gdu-size-widget.c
+++ gnome-disk-utility-2.32.1/src/gdu-gtk/gdu-size-widget.c
@@ -86,7 +86,7 @@ gdu_unit_get_name (GduUnit unit)
 
         switch (unit) {
         case GDU_UNIT_KB:
-                ret = _("KB");
+                ret = _("kB");
                 break;
         default:
                 g_warning ("Unknown unit %d", unit);
@@ -124,7 +124,7 @@ gdu_unit_guess (const gchar *str)
 
         ret = GDU_UNIT_NOT_SET;
 
-        if (strstr (str, "KB") != NULL) {
+        if (strstr (str, "kB") != NULL) {
                 ret = GDU_UNIT_KB;
         } else if (strstr (str, "MB") != NULL) {
                 ret = GDU_UNIT_MB;
--- gnome-disk-utility-2.32.1.orig/src/gdu/gdu-util.c
+++ gnome-disk-utility-2.32.1/src/gdu/gdu-util.c
@@ -86,7 +86,7 @@ get_pow10_size (guint64 size)
 
         if (size < MEGABYTE_FACTOR) {
                 displayed_size = (double) size / KILOBYTE_FACTOR;
-                unit = "KB";
+                unit = "kB";
         } else if (size < GIGABYTE_FACTOR) {
                 displayed_size = (double) size / MEGABYTE_FACTOR;
                 unit = "MB";
@@ -134,7 +134,7 @@ gdu_util_get_size_for_display (guint64 s
                         gchar *pow10_str;
                         pow10_str = get_pow10_size (size);
 
-                        /* Translators: The first %s is the size in power-of-10 units, e.g. '100 KB'
+                        /* Translators: The first %s is the size in power-of-10 units, e.g. '100 kB'
                          * the second %s is the size as a number e.g. '100,000 bytes'
                          */
                         str = g_strdup_printf (_("%s (%s bytes)"), pow10_str, size_str);
@@ -885,7 +885,7 @@ gdu_util_get_speed_for_display (guint64
 
         if (speed < 1000 * 1000) {
                 displayed_speed = (double) speed / 1000.0;
-                str = g_strdup_printf (_("%.1f KB/s"), displayed_speed);
+                str = g_strdup_printf (_("%.1f kB/s"), displayed_speed);
         } else if (speed < 1000 * 1000 * 1000) {
                 displayed_speed = (double) speed / 1000.0 / 1000.0;
                 str = g_strdup_printf (_("%.1f MB/s"), displayed_speed);
--- gnome-disk-utility-2.32.1.orig/src/gdu/gdu-drive.c
+++ gnome-disk-utility-2.32.1/src/gdu/gdu-drive.c
@@ -682,7 +682,7 @@ gdu_drive_get_name (GduPresentable *pres
 
         if (gdu_device_is_linux_loop (drive->priv->device)) {
                 /* Translators: This is the name of a "Drive" backed by a file.
-                 * The %s is the size of the file (e.g. "42 GB" or "5 KB").
+                 * The %s is the size of the file (e.g. "42 GB" or "5 kB").
                  *
                  * See e.g. http://people.freedesktop.org/~david/gnome-loopback-2.png
                  */
