fix copy/paste error in error message

This commit is contained in:
Thomas NOËL 2016-07-11 16:26:01 +02:00
parent 9eab499acc
commit 06056b7aa0
1 changed files with 1 additions and 1 deletions

View File

@ -1827,7 +1827,7 @@ class MapField(WidgetField):
if (initial_zoom and min_zoom and int(initial_zoom) < int(min_zoom)) or (
(initial_zoom and max_zoom and int(initial_zoom) > int(max_zoom))):
form.get_widget('initial_zoom').set_error(
_('Minimal zoom level must be between minimal and maximal zoom levels.'))
_('Initial zoom level must be between minimal and maximal zoom levels.'))
def get_admin_attributes(self):
return WidgetField.get_admin_attributes(self) + ['initial_zoom',