fix missing template

This commit is contained in:
Henri Dickson 2024-05-31 15:55:07 -04:00
parent 1879aa7c4e
commit a8417fca8b
2 changed files with 39 additions and 20 deletions

View file

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-30 09:22-0400\n" "POT-Creation-Date: 2024-05-31 15:54-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -410,15 +410,15 @@ msgstr "来源站点标识"
msgid "source url" msgid "source url"
msgstr "来源站点网址" msgstr "来源站点网址"
#: catalog/common/models.py:630 #: catalog/common/models.py:631
msgid "IdType of the source site" msgid "IdType of the source site"
msgstr "来源站点的主要标识类型" msgstr "来源站点的主要标识类型"
#: catalog/common/models.py:636 #: catalog/common/models.py:637
msgid "Primary Id on the source site" msgid "Primary Id on the source site"
msgstr "来源站点的主要标识数据" msgstr "来源站点的主要标识数据"
#: catalog/common/models.py:639 #: catalog/common/models.py:640
msgid "url to the resource" msgid "url to the resource"
msgstr "指向外部资源的网址" msgstr "指向外部资源的网址"
@ -872,7 +872,7 @@ msgstr "合并到另一条目"
#: catalog/templates/_sidebar_edit.html:210 #: catalog/templates/_sidebar_edit.html:210
#: catalog/templates/catalog_delete.html:11 #: catalog/templates/catalog_delete.html:11
#: developer/templates/oauth2_provider/application_detail.html:42 #: developer/templates/oauth2_provider/application_detail.html:42
#: journal/templates/collection.html:133 journal/templates/mark.html:162 #: journal/templates/collection.html:135 journal/templates/mark.html:162
#: journal/templates/piece_delete.html:9 journal/templates/review.html:83 #: journal/templates/piece_delete.html:9 journal/templates/review.html:83
msgid "Delete" msgid "Delete"
msgstr "删除" msgstr "删除"
@ -1012,7 +1012,7 @@ msgstr "否"
#: catalog/templates/catalog_edit.html:11 #: catalog/templates/catalog_edit.html:11
#: developer/templates/oauth2_provider/application_detail.html:40 #: developer/templates/oauth2_provider/application_detail.html:40
#: journal/templates/collection.html:130 #: journal/templates/collection.html:132
#: journal/templates/collection_edit.html:9 #: journal/templates/collection_edit.html:9
#: journal/templates/collection_edit.html:25 journal/templates/review.html:80 #: journal/templates/collection_edit.html:25 journal/templates/review.html:80
#: journal/templates/tag_edit.html:12 #: journal/templates/tag_edit.html:12
@ -1463,50 +1463,50 @@ msgstr "影视"
msgid "Explore" msgid "Explore"
msgstr "发现" msgstr "发现"
#: common/templates/_header.html:72 #: common/templates/_header.html:71
msgid "Feed" msgid "Feed"
msgstr "动态" msgstr "动态"
#: common/templates/_header.html:76 journal/templates/profile.html:11 #: common/templates/_header.html:74 journal/templates/profile.html:11
#: users/templates/users/preferences.html:44 #: users/templates/users/preferences.html:44
msgid "Home" msgid "Home"
msgstr "主页" msgstr "主页"
#: common/templates/_header.html:91 social/templates/notification.html:11 #: common/templates/_header.html:89 social/templates/notification.html:11
#: social/templates/notification.html:23 #: social/templates/notification.html:23
msgid "Notification" msgid "Notification"
msgstr "通知" msgstr "通知"
#: common/templates/_header.html:94 #: common/templates/_header.html:92
msgid "Data" msgid "Data"
msgstr "数据" msgstr "数据"
#: common/templates/_header.html:97 users/templates/users/preferences.html:11 #: common/templates/_header.html:95 users/templates/users/preferences.html:11
#: users/templates/users/preferences.html:21 #: users/templates/users/preferences.html:21
msgid "Preferences" msgid "Preferences"
msgstr "设置" msgstr "设置"
#: common/templates/_header.html:100 #: common/templates/_header.html:98
msgid "Account" msgid "Account"
msgstr "账号" msgstr "账号"
#: common/templates/_header.html:103 #: common/templates/_header.html:101
msgid "Logout" msgid "Logout"
msgstr "登出" msgstr "登出"
#: common/templates/_header.html:107 #: common/templates/_header.html:105
msgid "Database" msgid "Database"
msgstr "数据库" msgstr "数据库"
#: common/templates/_header.html:110 #: common/templates/_header.html:108
msgid "Manage" msgid "Manage"
msgstr "管理" msgstr "管理"
#: common/templates/_header.html:115 #: common/templates/_header.html:113
msgid "Sign up or Login" msgid "Sign up or Login"
msgstr "注册或登录" msgstr "注册或登录"
#: common/templates/_header.html:127 #: common/templates/_header.html:125
msgid "Set a username." msgid "Set a username."
msgstr "设置用户名" msgstr "设置用户名"
@ -1709,7 +1709,7 @@ msgstr "仅创建者"
msgid "creator and their mutuals" msgid "creator and their mutuals"
msgstr "创建者和他们的互相关注" msgstr "创建者和他们的互相关注"
#: journal/forms.py:52 journal/templates/collection.html:136 #: journal/forms.py:52 journal/templates/collection.html:138
msgid "Collaborative editing" msgid "Collaborative editing"
msgstr "协作编辑" msgstr "协作编辑"
@ -2296,11 +2296,11 @@ msgstr "十二月"
msgid "Share" msgid "Share"
msgstr "分享" msgstr "分享"
#: journal/templates/collection.html:125 journal/templates/review.html:75 #: journal/templates/collection.html:127 journal/templates/review.html:75
msgid "Reply" msgid "Reply"
msgstr "回应" msgstr "回应"
#: journal/templates/collection.html:148 #: journal/templates/collection.html:150
msgid "Created date" msgid "Created date"
msgstr "创建日期" msgstr "创建日期"
@ -2846,6 +2846,15 @@ msgstr ""
"\n" "\n"
"赞了你对 <a href=\"%(item_url)s\">%(item_title)s</a> 的短评\n" "赞了你对 <a href=\"%(item_url)s\">%(item_title)s</a> 的短评\n"
#: social/templates/event/liked_rating.html:3
#, python-format
msgid ""
"\n"
"liked your rating on <a href=\"%(item_url)s\">%(item_title)s</a>\n"
msgstr ""
"\n"
"赞了你对 <a href=\"%(item_url)s\">%(item_title)s</a> 的打分\n"
#: social/templates/event/liked_review.html:2 #: social/templates/event/liked_review.html:2
#, python-format #, python-format
msgid "" msgid ""

View file

@ -0,0 +1,10 @@
{% load i18n %}
{% load duration %}
{% blocktrans with item_url=event.item.url item_title=event.item.display_title %}
liked your rating on <a href="{{ item_url }}">{{ item_title }}</a>
{% endblocktrans %}
<blockquote class="tldr" _="on click toggle .tldr on me">
<span>
{% if event.piece.grade %}{{ event.piece.grade|rating_star }}{% endif %}
</span>
</blockquote>