changeset 179:10f9fd9e730b

added 'N_' (gettext noop) to the extractor's default keywords fixes #25
author pjenvey
date Wed, 27 Jun 2007 22:43:26 +0000
parents 4407c6d1b7d7
children 9a1acb41e7dd
files ChangeLog babel/messages/extract.py
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -24,6 +24,7 @@
    are now always sorted alphabetically.
  * The Python message extractor now respects the special encoding comment to be
    able to handle files containing non-ASCII characters (ticket #23).
+ * Added 'N_' (gettext noop) to the extractor's default keywords.
 
 
 Version 0.8
--- a/babel/messages/extract.py
+++ b/babel/messages/extract.py
@@ -44,6 +44,7 @@
     'ungettext': (1, 2),
     'dgettext': (2,),
     'dngettext': (2, 3),
+    'N_': None
 }
 
 DEFAULT_MAPPING = [('**.py', 'python')]
Copyright (C) 2012-2017 Edgewall Software