Skip to content

Commit 86c234f

Browse files
int-y1quantum5
authored andcommitted
Add Kazakh language option in UI
1 parent 8bfa7ca commit 86c234f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dmoj/settings.py

+1
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@
398398
('hr', _('Croatian')),
399399
('hu', _('Hungarian')),
400400
('ja', _('Japanese')),
401+
('kk', _('Kazakh')),
401402
('ko', _('Korean')),
402403
('pt', _('Brazilian Portuguese')),
403404
('ro', _('Romanian')),

judge/jinja2/markdown/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ def strip_paragraphs_tags(tree):
154154
parent = p.getparent()
155155
prev = p.getprevious()
156156
if prev is not None:
157-
prev.tail = (prev.tail or '') + p.text
157+
prev.tail = (prev.tail or '') + (p.text or '')
158158
else:
159-
parent.text = (parent.text or '') + p.text
159+
parent.text = (parent.text or '') + (p.text or '')
160160
parent.remove(p)
161161

162162

0 commit comments

Comments
 (0)