Commit 097a7e32 authored by Valentin Samir's avatar Valentin Samir

Fix some english typos and update french translation

parent 6a55769e
This diff is collapsed.
......@@ -19,7 +19,7 @@ from ... import models
class Command(BaseCommand):
"""Clean old trickets"""
args = ''
help = _(u"Clean old trickets")
help = _(u"Clean old tickets")
def handle(self, *args, **options):
models.User.clean_old_entries()
......
......@@ -626,7 +626,7 @@ class ReplaceAttributName(models.Model):
max_length=255,
blank=True,
verbose_name=_(u"replace"),
help_text=_(u"name under which the attribute will be show"
help_text=_(u"name under which the attribute will be show "
u"to the service. empty = default name of the attribut")
)
#: ForeignKey to a :class:`ServicePattern`. :class:`ReplaceAttributName` instances for a
......
......@@ -727,21 +727,21 @@ class LoginView(View, LogoutMixin):
messages.add_message(
self.request,
messages.ERROR,
_(u'Service %(url)s non allowed.') % {'url': self.service}
_(u'Service %(url)s not allowed.') % {'url': self.service}
)
except models.BadUsername:
error = 2
messages.add_message(
self.request,
messages.ERROR,
_(u"Username non allowed")
_(u"Username not allowed")
)
except models.BadFilter:
error = 3
messages.add_message(
self.request,
messages.ERROR,
_(u"User characteristics non allowed")
_(u"User characteristics not allowed")
)
except models.UserFieldNotDefined:
error = 4
......@@ -852,7 +852,7 @@ class LoginView(View, LogoutMixin):
messages.add_message(
self.request,
messages.ERROR,
_(u'Service %s non allowed') % self.service
_(u'Service %s not allowed') % self.service
)
if self.ajax:
data = {
......
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