#4695: xgettext skips some translation strings in javascript files
--------------------------+-------------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: mtredinnick
Status: new | Component: Internationalization
Version: 0.96 | Resolution:
Keywords: | Stage: Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
--------------------------+-------------------------------------------------
Old description:
> 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.
New description:
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.
Comment (by mtredinnick):
Fixed description.
--
Ticket URL: <http://code.djangoproject.com/ticket/4695#comment:2>
Django Code <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
-~----------~----~----~----~------~----~------~--~---