Fix a localized string in firstboot
Resolves: bz805782
The text of gtk checkbutton for enable kdump was not localized.
Add gettext _() around it to make it translatable.
[update]:
-add changelog
Port below patch from rhel:
commit ce18ccc9557137b276471fbe200d7a18ce90fcf5
Author: amwang <amwang@redhat.com>
Date: Mon Aug 9 08:20:34 2010 +0000
Resolves: bug 619744.
Signed-off-by: Dave Young <dyoung@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
parent
4020f959c1
commit
a3ee4fffe0
@ -204,7 +204,7 @@ class moduleClass(Module):
|
||||
self.kdumpMem = self.kdumpMem - (self.kdumpMem % step)
|
||||
|
||||
# kdump enable/disable checkbox
|
||||
self.enableKdumpCheck = gtk.CheckButton("Enable kdump?")
|
||||
self.enableKdumpCheck = gtk.CheckButton(_("_Enable kdump?"))
|
||||
self.enableKdumpCheck.set_alignment(xalign=0, yalign=0)
|
||||
|
||||
# detected total amount of system memory
|
||||
|
||||
Loading…
Reference in New Issue
Block a user