#14045: makemessage miss some gettext in javascript
----------------------------------+-----------------------------------------
Reporter: shaohao | Owner: nobody
Status: new | Milestone:
Component: Internationalization | Version: 1.2
Keywords: xgettext | Stage: Unreviewed
Has_patch: 0 |
----------------------------------+-----------------------------------------
Here is a simple javascript code for testing:
{{{
function mfunc() {
var val = 0;
return val ? 1 : 0;
}
gettext('okkkk');
print mysub();
}}}
save it as 'result.pl'
Now run:
{{{
xgettext -d out -L Perl --keyword=gettext_noop --keyword=gettext_lazy
--keyword=ngettext_lazy:1,2 --from-code UTF-8 -o - "result.pl"
}}}
Ouput nothing
--
Ticket URL: <http://code.djangoproject.com/ticket/14045>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.