Qidian: fix style; add book format and localized label
This commit is contained in:
parent
fe2b2d88b6
commit
2db1914324
5 changed files with 19 additions and 1 deletions
|
@ -48,6 +48,7 @@ class Qidian(AbstractSite):
|
|||
metadata={
|
||||
"localized_title": [{"lang": "zh-cn", "text": title}],
|
||||
"author": authors,
|
||||
"format": Edition.BookFormat.WEB,
|
||||
"localized_description": [{"lang": "zh-cn", "text": brief}],
|
||||
"cover_image_url": img_url,
|
||||
}
|
||||
|
|
|
@ -30,6 +30,7 @@ class Ypshuo(AbstractSite):
|
|||
metadata={
|
||||
"localized_title": [{"lang": "zh-cn", "text": o["data"]["novel_name"]}],
|
||||
"author": [o["data"]["author_name"]],
|
||||
"format": Edition.BookFormat.WEB,
|
||||
"localized_description": [
|
||||
{"lang": "zh-cn", "text": o["data"]["synopsis"]}
|
||||
],
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.qidian {
|
||||
.qidian, .ypshuo {
|
||||
border: none;
|
||||
color: white;
|
||||
background-color: #9e252b;
|
||||
|
|
|
@ -199,6 +199,14 @@ msgstr "苹果音乐"
|
|||
msgid "Fediverse"
|
||||
msgstr "联邦宇宙"
|
||||
|
||||
#: catalog/common/models.py:60 catalog/common/models.py:123
|
||||
msgid "Qidian"
|
||||
msgstr "起点"
|
||||
|
||||
#: catalog/common/models.py:61 catalog/common/models.py:124
|
||||
msgid "Ypshuo"
|
||||
msgstr "阅评说"
|
||||
|
||||
#: catalog/common/models.py:63
|
||||
msgid "WikiData"
|
||||
msgstr "维基数据"
|
||||
|
|
|
@ -199,6 +199,14 @@ msgstr "蘋果音樂"
|
|||
msgid "Fediverse"
|
||||
msgstr "聯邦宇宙"
|
||||
|
||||
#: catalog/common/models.py:60 catalog/common/models.py:123
|
||||
msgid "Qidian"
|
||||
msgstr "起點"
|
||||
|
||||
#: catalog/common/models.py:61 catalog/common/models.py:124
|
||||
msgid "Ypshuo"
|
||||
msgstr "閱評說"
|
||||
|
||||
#: catalog/common/models.py:63
|
||||
msgid "WikiData"
|
||||
msgstr "維基數據"
|
||||
|
|
Loading…
Add table
Reference in a new issue