diff --git a/locale/vi/LC_MESSAGES/django.po b/locale/vi/LC_MESSAGES/django.po index 8b76401..4497f98 100644 --- a/locale/vi/LC_MESSAGES/django.po +++ b/locale/vi/LC_MESSAGES/django.po @@ -130,10 +130,18 @@ msgstr "Thể thức" msgid "Rating" msgstr "" -#: templates/markdown_editor/markdown_editor.html:103 +#: templates/markdown_editor/markdown_editor.html:107 msgid "Insert Image" msgstr "Chèn hình ảnh" +#: templates/markdown_editor/markdown_editor.html:110 +msgid "From the web" +msgstr "Từ web" + +#: templates/markdown_editor/markdown_editor.html:116 +msgid "From your computer" +msgstr "Từ máy tính của bạn" + #: judge/admin/contest.py:201 msgid "Access" msgstr "Truy cập" diff --git a/locale/vi/LC_MESSAGES/dmoj-user.po b/locale/vi/LC_MESSAGES/dmoj-user.po index 2423eba..4ea605c 100644 --- a/locale/vi/LC_MESSAGES/dmoj-user.po +++ b/locale/vi/LC_MESSAGES/dmoj-user.po @@ -42,6 +42,9 @@ msgstr "Báo cáo" msgid "Insert Image" msgstr "Chèn hình ảnh" +msgid "Save" +msgstr "Lưu" + msgid "2sat" msgstr "" diff --git a/templates/markdown_editor/markdown_editor.html b/templates/markdown_editor/markdown_editor.html index 845512a..04418e4 100644 --- a/templates/markdown_editor/markdown_editor.html +++ b/templates/markdown_editor/markdown_editor.html @@ -25,16 +25,16 @@ width: 51%; } .wmd-input { - height: calc(100vh - 146px); + height: calc(100vh - 114px); } .right-markdown{ - height: calc(100vh - 100px); + height: calc(100vh - 69px); overflow-y: scroll; } {% endblock %} -{% block body %} +{% block js_media %} +{% endblock %} +{% block title_row %} +{% endblock %} + +{% block body %}
-
@@ -95,28 +99,28 @@
-
-
Update Preview
+
+
{{_('Update Preview')}}

{{_('Insert Image')}}

- +
- +