From: rick Date: Fri, 14 May 2010 19:30:11 +0000 (+0000) Subject: Fixed multi-line translations - OSQA-238. Additionally fixed the broken links in... X-Git-Tag: live~849 X-Git-Url: https://git.openstreetmap.org/osqa.git/commitdiff_plain/84d5a3bb4249743191431f1a3b42aa37eea641f2 Fixed multi-line translations - OSQA-238. Additionally fixed the broken links in all these translations. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@281 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/views/commands.py b/forum/views/commands.py index d8c4231..6220bc2 100644 --- a/forum/views/commands.py +++ b/forum/views/commands.py @@ -19,47 +19,31 @@ import logging class NotEnoughRepPointsException(CommandException): def __init__(self, action): super(NotEnoughRepPointsException, self).__init__( - _(""" - Sorry, but you don't have enough reputation points to %(action)s.
- Please check the faq - """ % {'action': action, 'faq_url': reverse('faq')}) + _("""Sorry, but you don't have enough reputation points to %(action)s.
Please check the faq""" % {'action': action, 'faq_url': reverse('faq')}) ) class CannotDoOnOwnException(CommandException): def __init__(self, action): super(CannotDoOnOwnException, self).__init__( - _(""" - Sorry but you cannot %(action)s your own post.
- Please check the faq - """ % {'action': action, 'faq_url': reverse('faq')}) + _("""Sorry but you cannot %(action)s your own post.
Please check the faq""" % {'action': action, 'faq_url': reverse('faq')}) ) class AnonymousNotAllowedException(CommandException): def __init__(self, action): super(AnonymousNotAllowedException, self).__init__( - _(""" - Sorry but anonymous users cannot %(action)s.
- Please login or create an account here. - """ % {'action': action, 'signin_url': reverse('auth_signin')}) + _("""Sorry but anonymous users cannot %(action)s.
Please login or create an account here.""" % {'action': action, 'signin_url': reverse('auth_signin')}) ) class NotEnoughLeftException(CommandException): def __init__(self, action, limit): super(NotEnoughLeftException, self).__init__( - _(""" - Sorry, but you don't have enough %(action)s left for today..
- The limit is %(limit)s per day..
- Please check the faq - """ % {'action': action, 'limit': limit, 'faq_url': reverse('faq')}) + _("""Sorry, but you don't have enough %(action)s left for today..
The limit is %(limit)s per day..
Please check the faq""" % {'action': action, 'limit': limit, 'faq_url': reverse('faq')}) ) class CannotDoubleActionException(CommandException): def __init__(self, action): super(CannotDoubleActionException, self).__init__( - _(""" - Sorry, but you cannot %(action)s twice the same post.
- Please check the faq - """ % {'action': action, 'faq_url': reverse('faq')}) + _("""Sorry, but you cannot %(action)s twice the same post.
Please check the faq""" % {'action': action, 'faq_url': reverse('faq')}) )