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