Skip to content

Commit

Permalink
fix: error message displaying during rearranging
Browse files Browse the repository at this point in the history
  • Loading branch information
Gagaro committed Dec 8, 2015
1 parent de00bd6 commit 44b2682
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ New:

Fixes:

- *add item here*
- Fixed error message displaying during rearranging.
[Gagaro]


3.0.14 (2015-11-26)
Expand Down
4 changes: 2 additions & 2 deletions plone/app/content/browser/contents/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ def message(self, missing=[]):
translated_errors = [
translate(error, context=self.request) for error in self.errors
]
translated_msg = '{0:s}: {0:s}'.format(
translated_msg = u'{0:s}: {1:s}'.format(
translated_msg,
'\n'.join(translated_errors)
u'\n'.join(translated_errors)
)

return self.json({
Expand Down

0 comments on commit 44b2682

Please sign in to comment.