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={
|
metadata={
|
||||||
"localized_title": [{"lang": "zh-cn", "text": title}],
|
"localized_title": [{"lang": "zh-cn", "text": title}],
|
||||||
"author": authors,
|
"author": authors,
|
||||||
|
"format": Edition.BookFormat.WEB,
|
||||||
"localized_description": [{"lang": "zh-cn", "text": brief}],
|
"localized_description": [{"lang": "zh-cn", "text": brief}],
|
||||||
"cover_image_url": img_url,
|
"cover_image_url": img_url,
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,6 +30,7 @@ class Ypshuo(AbstractSite):
|
||||||
metadata={
|
metadata={
|
||||||
"localized_title": [{"lang": "zh-cn", "text": o["data"]["novel_name"]}],
|
"localized_title": [{"lang": "zh-cn", "text": o["data"]["novel_name"]}],
|
||||||
"author": [o["data"]["author_name"]],
|
"author": [o["data"]["author_name"]],
|
||||||
|
"format": Edition.BookFormat.WEB,
|
||||||
"localized_description": [
|
"localized_description": [
|
||||||
{"lang": "zh-cn", "text": o["data"]["synopsis"]}
|
{"lang": "zh-cn", "text": o["data"]["synopsis"]}
|
||||||
],
|
],
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.qidian {
|
.qidian, .ypshuo {
|
||||||
border: none;
|
border: none;
|
||||||
color: white;
|
color: white;
|
||||||
background-color: #9e252b;
|
background-color: #9e252b;
|
||||||
|
|
|
@ -199,6 +199,14 @@ msgstr "苹果音乐"
|
||||||
msgid "Fediverse"
|
msgid "Fediverse"
|
||||||
msgstr "联邦宇宙"
|
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
|
#: catalog/common/models.py:63
|
||||||
msgid "WikiData"
|
msgid "WikiData"
|
||||||
msgstr "维基数据"
|
msgstr "维基数据"
|
||||||
|
|
|
@ -199,6 +199,14 @@ msgstr "蘋果音樂"
|
||||||
msgid "Fediverse"
|
msgid "Fediverse"
|
||||||
msgstr "聯邦宇宙"
|
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
|
#: catalog/common/models.py:63
|
||||||
msgid "WikiData"
|
msgid "WikiData"
|
||||||
msgstr "維基數據"
|
msgstr "維基數據"
|
||||||
|
|
Loading…
Add table
Reference in a new issue