[mate-netspeed] 01/01: fix up 0001_netspeed-units.patch
Mike Gabriel
sunweaver at debian.org
Tue Jul 21 00:18:39 UTC 2015
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch debian/jessie/updates
in repository mate-netspeed.
commit c624b868bccf94ff5d72387d69a6cb8d255b4372
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Tue Jul 21 02:18:35 2015 +0200
fix up 0001_netspeed-units.patch
---
debian/patches/0001_netspeed-units.patch | 28 +++++++++++-----------------
1 file changed, 11 insertions(+), 17 deletions(-)
diff --git a/debian/patches/0001_netspeed-units.patch b/debian/patches/0001_netspeed-units.patch
index 3e19fe6..327bd49 100644
--- a/debian/patches/0001_netspeed-units.patch
+++ b/debian/patches/0001_netspeed-units.patch
@@ -5,30 +5,24 @@ Description: Use uppercase prefix for kilo- and mega-
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 <egorov at 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
-@@ -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 {
+--- a/src/netspeed.c
++++ b/src/netspeed.c
+@@ -444,10 +444,10 @@
+ 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
+ }
+ else
- unit = bits ? N_("mb") : N_("MiB");
+ unit = bits ? N_("Mb") : N_("MiB");
- }
+ }
- return g_strdup_printf(format, bytes, gettext(unit));
\ No newline at end of file
+ return g_strdup_printf(format, bytes, gettext(unit));
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-netspeed.git
More information about the pkg-mate-commits
mailing list