Skip to content

Commit

Permalink
Add Kazakh language option in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
int-y1 authored and quantum5 committed Jan 24, 2024
1 parent 8bfa7ca commit 86c234f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions dmoj/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@
('hr', _('Croatian')),
('hu', _('Hungarian')),
('ja', _('Japanese')),
('kk', _('Kazakh')),
('ko', _('Korean')),
('pt', _('Brazilian Portuguese')),
('ro', _('Romanian')),
Expand Down
4 changes: 2 additions & 2 deletions judge/jinja2/markdown/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ def strip_paragraphs_tags(tree):
parent = p.getparent()
prev = p.getprevious()
if prev is not None:
prev.tail = (prev.tail or '') + p.text
prev.tail = (prev.tail or '') + (p.text or '')
else:
parent.text = (parent.text or '') + p.text
parent.text = (parent.text or '') + (p.text or '')
parent.remove(p)


Expand Down

0 comments on commit 86c234f

Please sign in to comment.