1
0
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:
Jannis Leidel
2010-02-16 12:13:23 +00:00
parent f93f056c32
commit e50eefceb6
6 changed files with 47 additions and 1 deletions

View File

@@ -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',)):
"""