Mercurial > babel > mirror
comparison doc/messages.txt @ 552:9e8d6949eb86 trunk
Add JavaScript example.
author | jruigrok |
---|---|
date | Thu, 21 Apr 2011 09:30:40 +0000 |
parents | 84d2414021d9 |
children | 18618eb6823a |
comparison
equal
deleted
inserted
replaced
551:33153e2550a8 | 552:9e8d6949eb86 |
---|---|
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 |