add missing templates for notes
This commit is contained in:
parent
a5cd776874
commit
9096df2da1
6 changed files with 95 additions and 7 deletions
|
@ -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-07-18 11:45-0400\n"
|
"POT-Creation-Date: 2024-07-18 22:49-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"
|
||||||
|
@ -1362,12 +1362,12 @@ msgstr "地区或场合"
|
||||||
msgid "episode length"
|
msgid "episode length"
|
||||||
msgstr "单集长度"
|
msgstr "单集长度"
|
||||||
|
|
||||||
#: catalog/tv/models.py:416
|
#: catalog/tv/models.py:419
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{show_title} Season {season_number}"
|
msgid "{show_title} Season {season_number}"
|
||||||
msgstr "{show_title} 第{season_number}季"
|
msgstr "{show_title} 第{season_number}季"
|
||||||
|
|
||||||
#: catalog/tv/models.py:480
|
#: catalog/tv/models.py:483
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{season_title} E{episode_number}"
|
msgid "{season_title} E{episode_number}"
|
||||||
msgstr "{season_title} 第{episode_number}集"
|
msgstr "{season_title} 第{episode_number}集"
|
||||||
|
@ -3814,6 +3814,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/boosted_note.html:3
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
"boosted your note 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/boosted_rating.html:3
|
#: social/templates/event/boosted_rating.html:3
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -3871,6 +3880,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_note.html:3
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
"liked your note 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_rating.html:3
|
#: social/templates/event/liked_rating.html:3
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -3920,6 +3938,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/mentioned_note.html:3
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
"replied to your note 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/mentioned_rating.html:3
|
#: social/templates/event/mentioned_rating.html:3
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
|
|
|
@ -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-07-18 11:45-0400\n"
|
"POT-Creation-Date: 2024-07-18 22:49-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"
|
||||||
|
@ -1362,12 +1362,12 @@ msgstr "地區或場合"
|
||||||
msgid "episode length"
|
msgid "episode length"
|
||||||
msgstr "單集長度"
|
msgstr "單集長度"
|
||||||
|
|
||||||
#: catalog/tv/models.py:416
|
#: catalog/tv/models.py:419
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{show_title} Season {season_number}"
|
msgid "{show_title} Season {season_number}"
|
||||||
msgstr "{show_title} 第{season_number}季"
|
msgstr "{show_title} 第{season_number}季"
|
||||||
|
|
||||||
#: catalog/tv/models.py:480
|
#: catalog/tv/models.py:483
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "{season_title} E{episode_number}"
|
msgid "{season_title} E{episode_number}"
|
||||||
msgstr "{season_title} 第{episode_number}集"
|
msgstr "{season_title} 第{episode_number}集"
|
||||||
|
@ -3814,6 +3814,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/boosted_note.html:3
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
"boosted your note 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/boosted_rating.html:3
|
#: social/templates/event/boosted_rating.html:3
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -3871,6 +3880,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_note.html:3
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
"liked your note 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_rating.html:3
|
#: social/templates/event/liked_rating.html:3
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -3920,6 +3938,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/mentioned_note.html:3
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"\n"
|
||||||
|
"replied to your note 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/mentioned_rating.html:3
|
#: social/templates/event/mentioned_rating.html:3
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
|
|
11
social/templates/event/boosted_note.html
Normal file
11
social/templates/event/boosted_note.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{% load i18n %}
|
||||||
|
{% load duration %}
|
||||||
|
{% blocktrans with item_url=event.item.url item_title=event.item.display_title %}
|
||||||
|
boosted your note on <a href="{{ item_url }}">{{ item_title }}</a>
|
||||||
|
{% endblocktrans %}
|
||||||
|
{% if event.piece.progress_value %}
|
||||||
|
<span class="tag-list"><span><a>{{ event.piece.progress_display }}</a></span></span>
|
||||||
|
{% endif %}
|
||||||
|
<blockquote class="tldr" _="on click toggle .tldr on me">
|
||||||
|
{{ event.piece.html|safe }}
|
||||||
|
</blockquote>
|
11
social/templates/event/liked_note.html
Normal file
11
social/templates/event/liked_note.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{% load i18n %}
|
||||||
|
{% load duration %}
|
||||||
|
{% blocktrans with item_url=event.item.url item_title=event.item.display_title %}
|
||||||
|
liked your note on <a href="{{ item_url }}">{{ item_title }}</a>
|
||||||
|
{% endblocktrans %}
|
||||||
|
{% if event.piece.progress_value %}
|
||||||
|
<span class="tag-list"><span><a>{{ event.piece.progress_display }}</a></span></span>
|
||||||
|
{% endif %}
|
||||||
|
<blockquote class="tldr" _="on click toggle .tldr on me">
|
||||||
|
{{ event.piece.html|safe }}
|
||||||
|
</blockquote>
|
12
social/templates/event/mentioned_note.html
Normal file
12
social/templates/event/mentioned_note.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{% load i18n %}
|
||||||
|
{% load duration %}
|
||||||
|
{% blocktrans with item_url=event.item.url item_title=event.item.display_title %}
|
||||||
|
replied to your note on <a href="{{ item_url }}">{{ item_title }}</a>
|
||||||
|
{% endblocktrans %}
|
||||||
|
{% if event.piece.progress_value %}
|
||||||
|
<span class="tag-list"><span><a>{{ event.piece.progress_display }}</a></span></span>
|
||||||
|
{% endif %}
|
||||||
|
<blockquote class="tldr" _="on click toggle .tldr on me">
|
||||||
|
{{ event.piece.html|safe }}
|
||||||
|
</blockquote>
|
||||||
|
{% include "event/_post.html" with post=event.reply %}
|
|
@ -65,7 +65,7 @@
|
||||||
<span>
|
<span>
|
||||||
<a href="{{ post.author.url }}"
|
<a href="{{ post.author.url }}"
|
||||||
class="nickname"
|
class="nickname"
|
||||||
title="@{{ post.author.handle }}">{{ post.author.name }}</a>
|
title="@{{ post.author.handle }}">{{ post.author.name|default:post.author.username }}</a>
|
||||||
{% if piece and piece.classname == 'note' %}
|
{% if piece and piece.classname == 'note' %}
|
||||||
{% trans "wrote a note" %}
|
{% trans "wrote a note" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue