Skip to content

Commit

Permalink
Merge pull request #3121 from artragis/patch-2
Browse files Browse the repository at this point in the history
[15.9 RC4]COrrige le message d'erreur en français
  • Loading branch information
pierre-24 committed Oct 26, 2015
2 parents c8fcec7 + 12a18ba commit 98b7c22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zds/tutorialv2/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,8 @@ def get_content_from_json(json, sha, slug_last_draft, public=False, max_title_le
json['version'] = 2
# create and fill the container
if len(json['title']) > max_title_len:
raise BadManifestError("Title must be a string of less than {} chars".format(max_title_len))
raise BadManifestError(
_(u"Le titre doit être une chaîne de caractère de moins de {} caractères").format(max_title_len))
slugify_raise_on_empty(json['title'])
json_slug = slugify_raise_on_empty(json['slug'])
if not public:
Expand Down

0 comments on commit 98b7c22

Please sign in to comment.