[kexec-tools/f17] Fix a localized string in firstboot

Dave Young yangrr at fedoraproject.org
Fri Aug 31 02:26:44 UTC 2012


commit 8b6fd65055eef2c1569efae9cb829c4594723b05
Author: Dave Young <dyoung at redhat.com>
Date:   Thu Aug 9 10:22:49 2012 +0800

    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 at redhat.com>
    Date:   Mon Aug 9 08:20:34 2010 +0000
    
        Resolves: bug 619744.
    
    Signed-off-by: Dave Young <dyoung at redhat.com>
    Acked-by: Vivek Goyal <vgoyal at redhat.com>

 firstboot_kdump.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/firstboot_kdump.py b/firstboot_kdump.py
index e8f7376..c7d1171 100755
--- a/firstboot_kdump.py
+++ b/firstboot_kdump.py
@@ -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


More information about the scm-commits mailing list