diff --git a/locale/zh_Hans/LC_MESSAGES/django.po b/locale/zh_Hans/LC_MESSAGES/django.po index b6993a87..e79eea57 100644 --- a/locale/zh_Hans/LC_MESSAGES/django.po +++ b/locale/zh_Hans/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-05-20 10:41-0400\n" +"POT-Creation-Date: 2024-05-20 11:52-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -2098,43 +2098,43 @@ msgstr "分享 {username} 的收藏单" #: mastodon/decorators.py:20 msgid "Timeout connecting to Fediverse." -msgstr "" +msgstr "连接联邦宇宙实例超时" #: mastodon/models.py:14 msgid "site domain name" -msgstr "" +msgstr "实例域名" #: mastodon/models.py:15 msgid "domain for api call" -msgstr "" +msgstr "实例API域名" #: mastodon/models.py:16 msgid "type and verion" -msgstr "" +msgstr "实例版本" #: mastodon/models.py:17 msgid "in-site app id" -msgstr "" +msgstr "实例应用id" #: mastodon/models.py:18 msgid "client id" -msgstr "" +msgstr "实例应用Client ID" #: mastodon/models.py:19 msgid "client secret" -msgstr "" +msgstr "实例应用Client Secret" #: mastodon/models.py:20 msgid "vapid key" -msgstr "" +msgstr "实例应用VAPID Key" #: mastodon/models.py:22 msgid "0: custom emoji; 1: unicode moon; 2: text" -msgstr "" +msgstr "实例表情模式" #: mastodon/models.py:25 msgid "max toot len" -msgstr "" +msgstr "帖文长度限制" #: mastodon/models.py:38 msgid "username and original site" @@ -2150,11 +2150,11 @@ msgstr "" #: social/templates/activity/create_collection.html:17 takahe/utils.py:553 msgid "created collection" -msgstr "" +msgstr "创建了收藏单" #: social/templates/activity/feature_collection.html:18 msgid "set a target" -msgstr "" +msgstr "设置了目标" #: social/templates/activity/like_collection.html:18 #, python-format @@ -2188,6 +2188,15 @@ msgstr "" "\n" "转播了你对 %(item_title)s 的短评\n" +#: social/templates/event/boosted_rating.html:3 +#, python-format +msgid "" +"\n" +"boosted your rating on %(item_title)s\n" +msgstr "" +"\n" +"转播了你对 %(item_title)s 的打分\n" + #: social/templates/event/boosted_review.html:2 #, python-format msgid "" @@ -2280,6 +2289,15 @@ msgstr "" "\n" "回应了你对 %(item_title)s 的短评\n" +#: social/templates/event/mentioned_rating.html:3 +#, python-format +msgid "" +"\n" +"replied to your rating on %(item_title)s\n" +msgstr "" +"\n" +"回应了你对 %(item_title)s 的打分\n" + #: social/templates/event/mentioned_review.html:2 #, python-format msgid "" @@ -2474,8 +2492,7 @@ msgstr "" "身份登录本站,再关联这个电子邮件地址,即可通过邮件登录。\n" "\n" "如果你还没有联邦宇宙身份,可以访问这里选择实例并创建一个: https://" -"joinmastodon.org/zh/servers" -"\n" +"joinmastodon.org/zh/servers\n" #: users/account.py:335 #, python-brace-format @@ -2844,7 +2861,10 @@ msgstr "邀请链接无效,已有账户可直接登入,新用户请使用有 msgid "" "Select Email Verification if you don't have a Fediverse account." -msgstr "如不便或尚未注册联邦宇宙,也可以在上方选择「电子邮件验证」注册登录本站。" +msgstr "" +"如不便或尚未注册联邦宇宙,也可以在上方选择「电子邮件验证」注册登录" +"本站。" #: users/templates/users/login.html:161 msgid "" diff --git a/social/templates/event/boosted_rating.html b/social/templates/event/boosted_rating.html new file mode 100644 index 00000000..6021a7fa --- /dev/null +++ b/social/templates/event/boosted_rating.html @@ -0,0 +1,10 @@ +{% load i18n %} +{% load duration %} +{% blocktrans with item_url=event.item.url item_title=event.item.display_title %} +boosted your rating on {{ item_title }} +{% endblocktrans %} +
+ + {% if event.piece.grade %}{{ event.piece.grade|rating_star }}{% endif %} + +
diff --git a/social/templates/event/mentioned_rating.html b/social/templates/event/mentioned_rating.html new file mode 100644 index 00000000..1af605c8 --- /dev/null +++ b/social/templates/event/mentioned_rating.html @@ -0,0 +1,12 @@ +{% load i18n %} +{% load duration %} +{% blocktrans with item_url=event.item.url item_title=event.item.display_title %} +replied to your rating on {{ item_title }} +{% endblocktrans %} +
+ + {% if event.piece.grade %}{{ event.piece.grade|rating_star }}{% endif %} + + {{ event.piece.html|safe }} +
+{% include "event/_post.html" with post=event.reply %}