Mercurial > babel > old > mirror
comparison doc/messages.txt @ 555:4ed1a17bff27
Add mention of javascript builtin extractor.
author | jruigrok |
---|---|
date | Fri, 22 Apr 2011 12:53:30 +0000 |
parents | 89292e10bd25 |
children |
comparison
equal
deleted
inserted
replaced
554:89292e10bd25 | 555:4ed1a17bff27 |
---|---|
172 | 172 |
173 | 173 |
174 Default Extraction Methods | 174 Default Extraction Methods |
175 -------------------------- | 175 -------------------------- |
176 | 176 |
177 Babel comes with only two builtin extractors: ``python`` (which extracts | 177 Babel comes with a few builtin extractors: ``python`` (which extracts |
178 messages from Python source files) and ``ignore`` (which extracts nothing). | 178 messages from Python source files), ``javascript``, and ``ignore`` (which |
179 extracts nothing). | |
179 | 180 |
180 The ``python`` extractor is by default mapped to the glob pattern ``**.py``, | 181 The ``python`` extractor is by default mapped to the glob pattern ``**.py``, |
181 meaning it'll be applied to all files with the ``.py`` extension in any | 182 meaning it'll be applied to all files with the ``.py`` extension in any |
182 directory. If you specify your own mapping configuration, this default mapping | 183 directory. If you specify your own mapping configuration, this default mapping |
183 is discarded, so you need to explicitly add it to your mapping (as shown in the | 184 is discarded, so you need to explicitly add it to your mapping (as shown in the |