Edgewall Software
Modify

Ticket #110 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years 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 (14.0 KB) - added by aronacher 4 years ago.
genshi-javascript-extractor-improved.patch (15.3 KB) - added by aronacher 4 years ago.
improved version of the patch

Change History

Changed 4 years ago by aronacher

Changed 4 years ago by aronacher

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.

comment:2 Changed 4 years ago by aronacher

  • Status changed from new to closed
  • Resolution set to fixed

Applied in [376].

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.