changeset 182:ccf4c2e17200 stable

merged r182 from trunk
author pjenvey
date Wed, 27 Jun 2007 22:49:31 +0000
parents 9a0b29aaebb2
children 5649355a3a03
files 0.8.x/ChangeLog 0.8.x/babel/messages/extract.py
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/0.8.x/ChangeLog
+++ b/0.8.x/ChangeLog
@@ -18,6 +18,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/0.8.x/babel/messages/extract.py
+++ b/0.8.x/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