diff options
| author | Claude Paroz <claude@2xlibre.net> | 2013-05-25 14:31:51 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-05-25 14:32:44 +0200 |
| commit | b7cf44dde88c52b3e3020bd9dae3b3d0792b9a6d (patch) | |
| tree | bf2261c6551202cddaa0f7be6d22091482c8d0d4 /django | |
| parent | b3bccce1a09aae6dfb2eba7f77d3f373f03d8e0c (diff) | |
Fixed some minor translation-related issues
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/admindocs/views.py | 1 | ||||
| -rw-r--r-- | django/utils/image.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/django/contrib/admindocs/views.py b/django/contrib/admindocs/views.py index 348727eb21..4cadc8b657 100644 --- a/django/contrib/admindocs/views.py +++ b/django/contrib/admindocs/views.py @@ -267,6 +267,7 @@ def model_detail(request, app_label, model_name): return render_to_response('admin_doc/model_detail.html', { 'root_path': urlresolvers.reverse('admin:index'), 'name': '%s.%s' % (opts.app_label, opts.object_name), + # Translators: %s is an object type name 'summary': _("Attributes on %s objects") % opts.object_name, 'description': model.__doc__, 'fields': fields, diff --git a/django/utils/image.py b/django/utils/image.py index 54c11adfee..d251ab9d0b 100644 --- a/django/utils/image.py +++ b/django/utils/image.py @@ -124,7 +124,7 @@ def _detect_image_library(): import _imaging as PIL_imaging except ImportError as err: raise ImproperlyConfigured( - _("The '_imaging' module for the PIL could not be " + + _("The '_imaging' module for the PIL could not be " "imported: %s" % err) ) |
