From 1f38998b2ac2101b2e5f17eb958579be39e08f5a Mon Sep 17 00:00:00 2001 From: Martin Mares <mj@ucw.cz> Date: Tue, 16 Feb 2021 18:12:19 +0100 Subject: [PATCH] =?UTF-8?q?Postup:=20Te=C4=8Dka=20za=20v=C4=9Btou=20:)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mo/web/org_contest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mo/web/org_contest.py b/mo/web/org_contest.py index 89474d8d..473bc68e 100644 --- a/mo/web/org_contest.py +++ b/mo/web/org_contest.py @@ -1308,7 +1308,8 @@ def org_contest_advance(contest_id: int): sess.commit() msg = (inflect_by_number(really_inserted, 'Pozván', 'Pozváni', 'Pozváno') + ' ' - + inflect_number(really_inserted, 'nový soutěžící', 'noví soutěžící', 'nových soutěžících')) + + inflect_number(really_inserted, 'nový soutěžící', 'noví soutěžící', 'nových soutěžících') + + '.') flash(msg, 'success') return redirect_back() -- GitLab