[kexec-tools/f17] firstboot text domain fix

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


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

    firstboot text domain fix
    
    Resolves: bz805782
    
    the text domain should be kexec-tools instead of firstboot,
    or it kexec-tools translation will not find the right .mo
    
    Backport from rhel6 bz619061
    commit 18de84f91906ec41b2640f67d21eef39ecb0833b
    Author: amwang <amwang at redhat.com>
    Date:   Fri Jul 30 02:45:52 2010 +0000
    
        Resolves: bug 619061.
    
    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 3d431f1..bbcb9c4 100755
--- a/firstboot_kdump.py
+++ b/firstboot_kdump.py
@@ -37,7 +37,7 @@ from firstboot.constants import *
 from firstboot.functions import *
 from firstboot.module import *
 import gettext
-_ = lambda x: gettext.ldgettext("firstboot", x)
+_ = lambda x: gettext.ldgettext("kexec-tools", x)
 N_ = lambda x: x
 
 class moduleClass(Module):


More information about the scm-commits mailing list