From 1f0dc4f7999486696df4ad2a8c0a07f6b9f75d7d Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Wed, 11 Jul 2012 00:31:27 +0000 Subject: [PATCH] Missing gettext svn: r19982 --- src/gen/utils/keyword.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gen/utils/keyword.py b/src/gen/utils/keyword.py index 4eeaf7fd7..2703beb2d 100644 --- a/src/gen/utils/keyword.py +++ b/src/gen/utils/keyword.py @@ -49,7 +49,10 @@ Keyword translation interface # 's' : suffix = suffix # 'n' : nickname = nick name # 'g' : familynick = family nick name - + +import gettext +_ = gettext.gettext + KEYWORDS = [("title", "t", _("Person|Title"), _("Person|TITLE")), ("given", "f", _("Given"), _("GIVEN")), ("surname", "l", _("Surname"), _("SURNAME")),