mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
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
This commit is contained in:
@@ -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',)):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user