mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
优化
This commit is contained in:
parent
de67b6840c
commit
e94f9e0c20
@ -185,6 +185,20 @@ class RssSourceEditActivity :
|
||||
add(EditEntity("ruleContent", source?.ruleContent, R.string.r_content))
|
||||
add(EditEntity("style", source?.style, R.string.r_style))
|
||||
add(EditEntity("injectJs", source?.injectJs, R.string.r_inject_js))
|
||||
add(
|
||||
EditEntity(
|
||||
"contentWhitelist",
|
||||
source?.contentWhitelist,
|
||||
R.string.content_whitelist
|
||||
)
|
||||
)
|
||||
add(
|
||||
EditEntity(
|
||||
"contentBlacklist",
|
||||
source?.contentBlacklist,
|
||||
R.string.content_blacklist
|
||||
)
|
||||
)
|
||||
}
|
||||
adapter.editEntities = sourceEntities
|
||||
}
|
||||
@ -228,6 +242,8 @@ class RssSourceEditActivity :
|
||||
viewModel.ruleComplete(it.value, source.ruleArticles)
|
||||
"style" -> source.style = it.value
|
||||
"injectJs" -> source.injectJs = it.value
|
||||
"contentWhitelist" -> source.contentWhitelist = it.value
|
||||
"contentBlacklist" -> source.contentBlacklist = it.value
|
||||
}
|
||||
}
|
||||
return source
|
||||
|
@ -1065,4 +1065,6 @@
|
||||
<string name="update_book_fail">更新失败</string>
|
||||
<string name="notification_permission_rationale">阅读需要发送通知来显示朗读控制和下载进度</string>
|
||||
<string name="webdav_after_local_restore_confirm">webDav书源比本地新,是否恢复</string>
|
||||
<string name="content_whitelist">白名单(contentWhitelist)</string>
|
||||
<string name="content_blacklist">黑名单(contentBlacklist)</string>
|
||||
</resources>
|
||||
|
@ -1068,4 +1068,6 @@
|
||||
<string name="update_book_fail">更新失败</string>
|
||||
<string name="notification_permission_rationale">阅读需要发送通知来显示朗读控制和下载进度</string>
|
||||
<string name="webdav_after_local_restore_confirm">webDav书源比本地新,是否恢复</string>
|
||||
<string name="content_whitelist">白名单(contentWhitelist)</string>
|
||||
<string name="content_blacklist">黑名单(contentBlacklist)</string>
|
||||
</resources>
|
||||
|
@ -1068,4 +1068,6 @@
|
||||
<string name="update_book_fail">更新失败</string>
|
||||
<string name="notification_permission_rationale">阅读需要发送通知来显示朗读控制和下载进度</string>
|
||||
<string name="webdav_after_local_restore_confirm">webDav书源比本地新,是否恢复</string>
|
||||
<string name="content_whitelist">白名单(contentWhitelist)</string>
|
||||
<string name="content_blacklist">黑名单(contentBlacklist)</string>
|
||||
</resources>
|
||||
|
@ -1065,4 +1065,6 @@
|
||||
<string name="update_book_fail">更新失败</string>
|
||||
<string name="notification_permission_rationale">阅读需要发送通知来显示朗读控制和下载进度</string>
|
||||
<string name="webdav_after_local_restore_confirm">webDav书源比本地新,是否恢复</string>
|
||||
<string name="content_whitelist">白名单(contentWhitelist)</string>
|
||||
<string name="content_blacklist">黑名单(contentBlacklist)</string>
|
||||
</resources>
|
||||
|
@ -1067,4 +1067,6 @@
|
||||
<string name="update_book_fail">更新失败</string>
|
||||
<string name="notification_permission_rationale">阅读需要发送通知来显示朗读控制和下载进度</string>
|
||||
<string name="webdav_after_local_restore_confirm">webDav书源比本地新,是否恢复</string>
|
||||
<string name="content_whitelist">白名单(contentWhitelist)</string>
|
||||
<string name="content_blacklist">黑名单(contentBlacklist)</string>
|
||||
</resources>
|
||||
|
@ -1067,4 +1067,6 @@
|
||||
<string name="update_book_fail">更新失败</string>
|
||||
<string name="notification_permission_rationale">阅读需要发送通知来显示朗读控制和下载进度</string>
|
||||
<string name="webdav_after_local_restore_confirm">webDav书源比本地新,是否恢复</string>
|
||||
<string name="content_whitelist">白名单(contentWhitelist)</string>
|
||||
<string name="content_blacklist">黑名单(contentBlacklist)</string>
|
||||
</resources>
|
||||
|
@ -1068,4 +1068,6 @@
|
||||
<string name="update_book_fail">Update failed</string>
|
||||
<string name="notification_permission_rationale">Reading requires sending notifications to show reading control and download progress</string>
|
||||
<string name="webdav_after_local_restore_confirm">The webDav book source is newer than the local one, whether to restore it or not</string>
|
||||
<string name="content_whitelist">白名单(contentWhitelist)</string>
|
||||
<string name="content_blacklist">黑名单(contentBlacklist)</string>
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user