Edgewall Software

Ticket #110 (closed enhancement: fixed)

Opened 13 months ago

Last modified 13 months ago

[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

babel-javascript-extractor.patch Download (14.0 KB) - added by aronacher 13 months ago.
genshi-javascript-extractor-improved.patch Download (15.3 KB) - added by aronacher 13 months ago.
improved version of the patch

Change History

Changed 13 months ago by aronacher

Changed 13 months ago by aronacher

improved version of the patch

Changed 13 months 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.

Changed 13 months ago by aronacher

  • status changed from new to closed
  • resolution set to fixed

Applied in [376].

Add/Change #110 ([Patch] JavaScript Extractor)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.