Mercurial > babel > old > babel-test
comparison doc/messages.txt @ 552:d96425d9dceb
Add JavaScript example.
author | jruigrok |
---|---|
date | Thu, 21 Apr 2011 09:30:40 +0000 |
parents | 4fb303dfd27a |
children | 3781cf91ded0 |
comparison
equal
deleted
inserted
replaced
551:1bd69dfc7db7 | 552:d96425d9dceb |
---|---|
135 include_attrs = alt title summary | 135 include_attrs = alt title summary |
136 | 136 |
137 [genshi: **/templates/**.txt] | 137 [genshi: **/templates/**.txt] |
138 template_class = genshi.template:TextTemplate | 138 template_class = genshi.template:TextTemplate |
139 encoding = ISO-8819-15 | 139 encoding = ISO-8819-15 |
140 | |
141 # Extraction from JavaScript files | |
142 | |
143 [javascript: **.js] | |
144 extract_messages = $._, jQuery._ | |
140 | 145 |
141 The configuration file syntax is based on the format commonly found in ``.INI`` | 146 The configuration file syntax is based on the format commonly found in ``.INI`` |
142 files on Windows systems, and as supported by the ``ConfigParser`` module in | 147 files on Windows systems, and as supported by the ``ConfigParser`` module in |
143 the Python standard library. Section names (the strings enclosed in square | 148 the Python standard library. Section names (the strings enclosed in square |
144 brackets) specify both the name of the extraction method, and the extended glob | 149 brackets) specify both the name of the extraction method, and the extended glob |