Commit f6eb8be3 by benjaoming

French translation - changed msg id (att. pull #138)

parent 8332ab64
...@@ -57,7 +57,7 @@ class SpamProtectionMixin(): ...@@ -57,7 +57,7 @@ class SpamProtectionMixin():
revisions = revisions.filter(ip_address=ip_address) revisions = revisions.filter(ip_address=ip_address)
revisions = revisions.count() revisions = revisions.count()
if revisions >= max_count: if revisions >= max_count:
raise forms.ValidationError(_(u'Spam protection: You are only allowed to create or edit %(revisions)d article per %(interval_name)s.') % raise forms.ValidationError(_(u'Spam protection: You are only allowed to create or edit %(revisions)d article(s) per %(interval_name)s.') %
{'revisions': max_count, {'revisions': max_count,
'interval_name': interval_name,}) 'interval_name': interval_name,})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment