Hello, Patch is attached. Please review it, I didn't know what to write in metadata. Patch has been merged to upstream: https://github.com/mate-desktop/mate-netspeed/pull/28
-- Best regards, Boris Egorov
Description: Use uppercase prefix for kilo- and mega- Using 'mb/s' is confusing - user can thought it means 'millibit'. Since we have a 'full notation', it is possible to use 'b' for bits and 'B' for bytes. Let's use uppercase letter for prefix in this notation. See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781488 . mate-netspeed (1.8.0+dfsg1-2) unstable; urgency=low . * debian/rules: + Enable parallel builds. + Turn on compiler commands during package build (configure option: --disable-silent-rules). Author: Boris Egorov <ego...@linux.com> Bug-Debian: https://bugs.debian.org/781488 Bug: https://github.com/mate-desktop/mate-netspeed/pull/28 --- --- mate-netspeed-1.8.0+dfsg1.orig/src/netspeed.c +++ mate-netspeed-1.8.0+dfsg1/src/netspeed.c @@ -429,10 +429,10 @@ bytes_to_string(double bytes, gboolean p if (shortened) { unit = bits ? /* translators: kilobits (short) */ N_("k") : /* translators: Kilobytes (short) */ N_("K"); } else { - unit = bits ? N_("kb/s") : N_("KiB/s"); + unit = bits ? N_("Kb/s") : N_("KiB/s"); } else - unit = bits ? N_("kb") : N_("KiB"); + unit = bits ? N_("Kb") : N_("KiB"); } else { @@ -444,10 +444,10 @@ bytes_to_string(double bytes, gboolean p if (shortened) { unit = bits ? /* translators: megabits (short) */ N_("m") : /* translators: Megabytes (short) */ N_("M"); } else { - unit = bits ? N_("mb/s") : N_("MiB/s"); + unit = bits ? N_("Mb/s") : N_("MiB/s"); } else - unit = bits ? N_("mb") : N_("MiB"); + unit = bits ? N_("Mb") : N_("MiB"); } return g_strdup_printf(format, bytes, gettext(unit));