After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 664418 - "Battery may have been recalled" window contains "%s".
"Battery may have been recalled" window contains "%s".
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: power
3.2.x
Other Linux
: Normal trivial
: ---
Assigned To: Richard Hughes
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2011-11-20 15:18 UTC by Dmitry Shachnev
Modified: 2012-03-09 18:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix as proposed. (1.25 KB, patch)
2011-11-26 19:21 UTC, Dominique Leuenberger
none Details | Review

Description Dmitry Shachnev 2011-11-20 15:18:37 UTC
In plugins/power/gsd-power-manager.c, line 932 is:

message = g_string_new (_("A battery in your computer may have been "
                          "recalled by %s and you may be at risk."));

A vendor name should be in place of "%s". This should be changed to something like this:

message = g_string_new (_("A battery in your computer may have been "
                          "recalled by %s and you may be at risk."), vendor);
Comment 1 Dominique Leuenberger 2011-11-26 19:21:08 UTC
Created attachment 202203 [details] [review]
Fix as proposed.
Comment 2 Richard Hughes 2011-11-26 22:31:33 UTC
Committed with a build fix, thanks.
Comment 3 Bastien Nocera 2011-11-27 00:19:56 UTC
Did you fix the translator comment to spell "its" properly?
Comment 4 Bastien Nocera 2012-03-09 18:21:58 UTC
(In reply to comment #3)
> Did you fix the translator comment to spell "its" properly?

You did not.