Commit e50eefce authored by Jannis Leidel's avatar Jannis Leidel
Browse files

Fixed #4695 - Worked around a problem of xgettext ignoring some translation...

Fixed #4695 - Worked around a problem of xgettext ignoring some translation strings in JavaScript files. Thanks, Ramiro Morales.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent f93f056c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ from subprocess import PIPE, Popen
from django.core.management.base import CommandError, BaseCommand
from django.utils.text import get_text_list

pythonize_re = re.compile(r'\n\s*//')
pythonize_re = re.compile(r'(?:^|\n)\s*//')

def handle_extensions(extensions=('html',)):
    """
+0 −0

Empty file added.

+4 −0
Original line number Diff line number Diff line
// '
gettext('This literal should be included.')
// '
gettext('This one as well.')
+0 −0

Empty file added.

+0 −0

Empty file added.

Loading