Misleading wireless mouse power warning
Submitted by jgo..@..il.com
Link to original bug (#765069)
Description
This has been a bug for 5-10 years or maybe longer. When my alkaline battery powered wireless USB mouse runs low on power I get this warning:
"This device will soon stop functioning if not charged."
This error is clearly incorrect. Alkaline batteries are replaced, never charged. Manufacturers normally warn you that alkaline batteries could explode if recharged. I know that the GNOME team doesn't want to cause any explosions, so I propose this fix. Unfortunately, it will require 95 translations. I don't have that patch.
Incidentally, my wireless keyboard also runs on alkaline batteries, and the warning is also wrong.
--- gsd-power-manager.c.orig 2016-04-14 14:44:22.844962674 -0400 +++ gsd-power-manager.c 2016-04-14 14:50:11.475943592 -0400 @@ -457,7 +457,7 @@ g_free (remaining_text); } else if (kind == UP_DEVICE_KIND_MOUSE) { /* TRANSLATORS: mouse is getting a little low */
-
title = _("Mouse battery low");
-
title = _("Mouse power low"); /* TRANSLATORS: tell user more details */ message = g_strdup_printf (_("Wireless mouse is low in power (%.0f%%)"), percentage);
@@ -591,11 +591,12 @@ g_free (remaining_text); } else if (kind == UP_DEVICE_KIND_MOUSE) { /* TRANSLATORS: the mouse battery is very low */
-
title = _("Mouse battery low");
-
title = _("Mouse power low"); /* TRANSLATORS: the device is just going to stop working */ message = g_strdup_printf (_("Wireless mouse is very low in power (%.0f%%). "
-
"This device will soon stop functioning if not charged."),
-
"This device will soon stop functioning if batteries " .
-
"are not replaced or recharged."), percentage); } else if (kind == UP_DEVICE_KIND_KEYBOARD) { /* TRANSLATORS: the keyboard battery is very low */
Version: 3.20.x