Just found out about some unexpected behavior of the "django-admin.py
makemessages --all -d djangojs" command.

Consider this JavaScript function:

function baz() {
    gettext("first string");
    var bar = 1;
    var foo = bar / 2;
    gettext("second string");
}

The first string does appear in "djangojs.po" while the second does
not. Changing the function makes it work (removing whitespace around
the slash had no effect):

function baz() {
    gettext("first string");
    var bar = 1;
    var foo = bar * 0.5;
    gettext("second string");
}

I am using Django 1.3.1,

Well, I am happy again since I found out what the problem is. I write
this here, because I havent found out how to report the bug -- anyway,
probably someone should try to reproduce this.

Micha

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to