Skip to content

Commit

Permalink
updated locales
Browse files Browse the repository at this point in the history
  • Loading branch information
digi604 committed Feb 4, 2014
1 parent b3080d9 commit 108b07b
Show file tree
Hide file tree
Showing 3 changed files with 325 additions and 260 deletions.
4 changes: 2 additions & 2 deletions cms/admin/pageadmin.py
Expand Up @@ -1022,8 +1022,8 @@ def unpublish(self, request, page_id, language):
return HttpResponseForbidden(_("This page was never published"))
try:
page.unpublish(language)
message = _('The %s page "%s" was successfully unpublished') % (
get_language_object(language, site)['name'], page)
message = _('The %(language)s page "%(page)s" was successfully unpublished') % {
'language': get_language_object(language, site)['name'], 'page': page}
messages.info(request, message)
LogEntry.objects.log_action(
user_id=request.user.id,
Expand Down

0 comments on commit 108b07b

Please sign in to comment.