Ticket #110 (closed enhancement: fixed)
[Patch] JavaScript Extractor
| Reported by: | aronacher | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0 |
| Component: | Message Extraction | Version: | 0.9.2 |
| Keywords: | patch | Cc: |
Description
The following patch implements an string extractor for JavaScript?. It does not yet provide any ways to generate translation objects for JSON or anything similar, that will become a second patch.
Attachments
Change History
Changed 4 years ago by aronacher
- Attachment genshi-javascript-extractor-improved.patch added
improved version of the patch
comment:1 Changed 4 years ago by aronacher
The last patch improves the system by supporting multiline regular expressions and by rejecting comments that don't precede a gettext call.
Additionally multiline comments are added as seperate comments now so that every line in a multiline comment appears as extra line. This is consistent with line comments in existing extractors.
