diff options
| author | Jannis Leidel <jannis@leidel.info> | 2010-02-16 12:13:23 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2010-02-16 12:13:23 +0000 |
| commit | e50eefceb6be7c074c3b48bc802fb766c22d25f2 (patch) | |
| tree | fe8145694584cd7cff4c3d69d4aed45c967ae7af /django/core | |
| parent | f93f056c32f614c9a130ec66824d94ec20526cdf (diff) | |
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
Diffstat (limited to 'django/core')
| -rw-r--r-- | django/core/management/commands/makemessages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management/commands/makemessages.py b/django/core/management/commands/makemessages.py index c70148d1e7..6e8ec3da40 100644 --- a/django/core/management/commands/makemessages.py +++ b/django/core/management/commands/makemessages.py @@ -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',)): """ |
