fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i18n in applications.
[wolnelektury.git]
/
apps
/
catalogue
/
fields.py
diff --git
a/apps/catalogue/fields.py
b/apps/catalogue/fields.py
index
160167e
..
654dbfb
100644
(file)
--- a/
apps/catalogue/fields.py
+++ b/
apps/catalogue/fields.py
@@
-42,7
+42,7
@@
class JSONFormField(forms.CharField):
loads(value)
return value
except ValueError, e:
- raise forms.ValidationError(
'Enter a valid JSON value. Error: %s'
% e)
+ raise forms.ValidationError(
_('Enter a valid JSON value. Error: %s')
% e)
class JSONField(models.TextField):