changeset 179:31beb381d62f trunk

added 'N_' (gettext noop) to the extractor's default keywords fixes #25
author pjenvey
date Wed, 27 Jun 2007 22:43:26 +0000
parents 749c0f6863bc
children 8a762ce37bf7
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