Fixed some minor translation-related issues

This commit is contained in:
Claude Paroz 2013-05-25 14:31:51 +02:00
parent b3bccce1a0
commit b7cf44dde8
2 changed files with 2 additions and 1 deletions

View File

@ -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,

View File

@ -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)
)