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:
Dave Young 2012-08-09 10:22:49 +08:00
parent 4020f959c1
commit a3ee4fffe0

View File

@ -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