Opened 17 years ago
Last modified 13 years ago
#4695 closed
xgettext skips some translation strings in javascript files — at Version 2
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Internationalization | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
For a simple Javascript source file like this:
// ' gettext("foo"); // ' gettext("bar");
results of make-messages.py run will exclude the "foo" string. Apparently this is related to the presence of apostrophes in the preceding comment. I am using gettext 0.14.4 under win32. I suspect this might be some quirk in relation to xgettext being called with Perl in the language parameter.
Note:
See TracTickets
for help on using tickets.
Sorry for the broken new lines.