From 516920f833d3e23be62ee134c067a36cad9cc906 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 12 May 2016 01:33:10 -0400 Subject: [PATCH] Be more explicit about which requied metadata type is missing. --- mayan/apps/metadata/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/metadata/models.py b/mayan/apps/metadata/models.py index 619a19aa4a..8ff7609517 100644 --- a/mayan/apps/metadata/models.py +++ b/mayan/apps/metadata/models.py @@ -121,7 +121,7 @@ class MetadataType(models.Model): if not value and self.get_required_for(document_type=document_type): raise ValidationError( - _('This metadata is required for this document type.') + _('"%s" is required for this document type.') % self.label ) if self.lookup: