pull/43/head
kunfei 5 years ago
parent 6641c47bc9
commit 0c411795cf
  1. 2
      app/src/main/java/io/legado/app/ui/rss/source/edit/RssSourceEditActivity.kt
  2. 1
      app/src/main/res/values/strings.xml

@ -111,6 +111,7 @@ class RssSourceEditActivity :
add(EditEntity("sourceIcon", rssSource?.sourceIcon, R.string.rss_source_icon))
add(EditEntity("sourceGroup", rssSource?.sourceGroup, R.string.rss_source_group))
add(EditEntity("ruleArticles", rssSource?.ruleArticles, R.string.rss_rule_articles))
add(EditEntity("ruleNextPage", rssSource?.ruleNextPage, R.string.rss_rule_next))
add(EditEntity("ruleTitle", rssSource?.ruleTitle, R.string.rss_rule_title))
add(EditEntity("rulePubDate", rssSource?.rulePubDate, R.string.rss_rule_date))
add(
@ -146,6 +147,7 @@ class RssSourceEditActivity :
"sourceIcon" -> source.sourceIcon = it.value ?: ""
"sourceGroup" -> source.sourceGroup = it.value
"ruleArticles" -> source.ruleArticles = it.value
"ruleNextPage" -> source.ruleNextPage = it.value
"ruleTitle" -> source.ruleTitle = it.value
"rulePubDate" -> source.rulePubDate = it.value
"ruleCategories" -> source.ruleCategories = it.value

@ -385,6 +385,7 @@
<string name="rss_source_icon">图标(sourceIcon)</string>
<string name="rss_source_group">分组(sourceGroup)</string>
<string name="rss_rule_articles">列表规则(ruleArticles)</string>
<string name="rss_rule_next">列表下一页规则(ruleArticles)</string>
<string name="rss_rule_title">标题规则(ruleTitle)</string>
<string name="rss_rule_author">作者规则(ruleAuthor)</string>
<string name="rss_rule_guid">guid规则(ruleGuid)</string>

Loading…
Cancel
Save