mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
Translation and explicit string
This commit is contained in:
@ -104,7 +104,7 @@ class CounterMain(DetailView, CheckTokenMixin, ProcessFormView, FormMixin):
|
||||
kwargs['form'] = self.get_form()
|
||||
kwargs['form'].cleaned_data = {} # same as above
|
||||
if "bad_location" in self.request.GET:
|
||||
kwargs['form'].add_error(None, _("Bad location"))
|
||||
kwargs['form'].add_error(None, _("Bad location, someone is already logged in somewhere else"))
|
||||
if self.object.type == 'BAR':
|
||||
kwargs['barmen'] = self.object.get_barmen_list()
|
||||
elif self.request.user.is_authenticated():
|
||||
|
Reference in New Issue
Block a user