From 64a5c73c21256f91c446f9129c0983a8284e3e2c Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Fri, 27 Jan 2023 17:38:05 -0600 Subject: [PATCH] Add trans --- locale/vi/LC_MESSAGES/django.po | 36 +++++++++------------------------ templates/comments/list.html | 5 +---- 2 files changed, 11 insertions(+), 30 deletions(-) diff --git a/locale/vi/LC_MESSAGES/django.po b/locale/vi/LC_MESSAGES/django.po index aa96e18..24a3eb2 100644 --- a/locale/vi/LC_MESSAGES/django.po +++ b/locale/vi/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: lqdoj2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-28 06:23+0700\n" +"POT-Creation-Date: 2023-01-28 06:34+0700\n" "PO-Revision-Date: 2021-07-20 03:44\n" "Last-Translator: Icyene\n" "Language-Team: Vietnamese\n" @@ -546,15 +546,15 @@ msgstr "{time}" msgid "on {time}" msgstr "vào {time}" -#: judge/middleware.py:114 +#: judge/middleware.py:115 msgid "No permission" msgstr "Không có quyền truy cập" -#: judge/middleware.py:115 +#: judge/middleware.py:116 msgid "You need to join this group first" msgstr "Bạn phải là thành viên của nhóm." -#: judge/middleware.py:125 judge/middleware.py:126 +#: judge/middleware.py:126 judge/middleware.py:127 msgid "No such group" msgstr "Nhóm không tồn tại" @@ -3816,34 +3816,18 @@ msgid "Hide" msgstr "Ẩn" #: templates/comments/list.html:137 -#, fuzzy, python-format -#| msgid "" -#| "\n" -#| " This comment is hidden " -#| "due to too much negative feedback.\n" -#| " Click here to view it.\n" -#| " " msgid "" -"\n" -" This comment is hidden due to too much negative " -"feedback.\n" -" Click here to view it.\n" -" " +"This comment is hidden due to too much negative feedback. Click here to view it." msgstr "" -"\n" -" Bình luận bị ẩn vì có quá " -"nhiều phản hồi tiêu cực.\n" -" Nhấn vào đây để xem.\n" -" " +"Bình luận bị ẩn vì nhiều phản hồi tiêu cực. Nhấp vào đây để mở." -#: templates/comments/list.html:157 +#: templates/comments/list.html:154 msgid "There are no comments at the moment." msgstr "Không có bình luận nào." -#: templates/comments/list.html:162 +#: templates/comments/list.html:159 msgid "Comments are disabled on this page." msgstr "Bình luận bị tắt trong trang này." diff --git a/templates/comments/list.html b/templates/comments/list.html index 7f7a70b..44c2515 100644 --- a/templates/comments/list.html +++ b/templates/comments/list.html @@ -134,10 +134,7 @@ {% if node.score <= vote_hide_threshold %}

- {% trans id=node.id %} - This comment is hidden due to too much negative feedback. - Click here to view it. - {% endtrans %} + {% trans id=node.id %}This comment is hidden due to too much negative feedback. Click here to view it.{% endtrans %}

{% endif %}