"%s waiting to discharge"
Bug #691828 reported by
GTriderXC
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-power-manager (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Hi! I'm a Polish translator and just stopped at "%s waiting to discharge". I understand that one can wait to charge : "%s waiting to charge"- waiting for the process to begin or to finish. But how should I understand waiting for discharging!? When I work on a battery I discharge it. It is a process of discharging. But I do not wait for anything! Do You wait for Your battery to be empty?? You may wait for the battery to charge, but not to discharge. When You drive a car do You wait for gas tank to be empty?
All in all: can I translate the string simply as discharging?
To post a comment you must log in.
mycae said 11 hours ago:
OK, i did a bit of digging and found this in one of the debian patches -- they don't like it either.
My original guess looks to be on the right track. You can probably change it to what you want. The comment to translators (such as yourself :) ) is:
TRANSLATORS: the device is discharging and we don't have a time remaining yet
So debian (and thus ubuntu) report:
%s (estimating...)
You should probably raise this as a bug with the gnome-power-manager people, and tell them to clarify that message.
------- ------- ------- - excerpt of debian patch below -----------
+diff -uNr -x .pc gnome-power- manager- 2.31.90. orig/src/ gpm-upower. c gnome-power- manager- 2.31.90/ src/gpm- upower. c manager- 2.31.90. orig/src/ gpm-upower. c 2010-08-17 15:30:31.000000000 +0100 manager- 2.31.90/ src/gpm- upower. c 2010-08-25 14:54:19.291183081 +0100 STATE_FULLY_ CHARGED) { KIND_BATTERY && time_to_empty_round > GPM_UP_ TEXT_MIN_ TIME) { empty_round) ; STATE_DISCHARGI NG) { empty_round <= GPM_UP_ TEXT_MIN_ TIME) { empty_round <= 12*60*60) { empty_round) ; empty_str) ;
+--- gnome-power-
++++ gnome-power-
+@@ -229,7 +229,10 @@
+
+ /* we always display "Laptop battery 16 minutes remaining" as we need to clarify what device we are refering to */
+ if (state == UP_DEVICE_
+-
++#ifdef HAVE_APP_INDICATOR
++ /* TRANSLATORS: the device is fully charged */
++ description = g_strdup_printf (_("%s is charged"), kind_desc);
++#else
+ if (kind == UP_DEVICE_
+ time_to_empty_str = gpm_get_timestring (time_to_
+ /* TRANSLATORS: The laptop battery is fully charged, and we know a time */
+@@ -240,9 +243,22 @@
+ /* TRANSLATORS: the device is fully charged */
+ description = g_strdup_printf (_("%s is fully charged"), kind_desc);
+ }
+-
++#endif
+ } else if (state == UP_DEVICE_
+-
++#ifdef HAVE_APP_INDICATOR
++ if (time_to_
++ /* TRANSLATORS: the device is discharging and we don't have a time remaining yet */
++ description = g_strdup_printf (_("%s (estimating...)"), kind_desc);
++ } else if (time_to_
++ time_to_empty_str = gpm_get_timestring (time_to_
++ /* TRANSLATORS: the device is discharging, and we have a time remaining */
++ description = g_strdup_printf (_("%s %s left"), kind_desc, time_to_empty_str);
++ g_free (time_to_
++ } else { /* larger than 12 hours remaining */
++ /* TRANSLATORS: the device is discharging */
++ description = g_strdup_printf (_("%s"), kind_desc);
++ }