pull/35/head^2
kunfei 5 years ago
parent fa11376174
commit d4164d89e1
  1. 2
      app/src/main/java/io/legado/app/ui/rss/source/edit/RssSourceEditActivity.kt
  2. 27
      app/src/main/res/values/strings.xml

@ -112,6 +112,7 @@ class RssSourceEditActivity :
add(EditEntity("sourceUrl", rssSource?.sourceUrl, R.string.rss_source_url))
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("ruleTitle", rssSource?.ruleTitle, R.string.rss_rule_title))
add(EditEntity("ruleAuthor", rssSource?.ruleAuthor, R.string.rss_rule_author))
add(EditEntity("ruleGuid", rssSource?.ruleGuid, R.string.rss_rule_guid))
@ -145,6 +146,7 @@ class RssSourceEditActivity :
"sourceUrl" -> source.sourceUrl = it.value ?: ""
"sourceIcon" -> source.sourceIcon = it.value ?: ""
"sourceGroup" -> source.sourceGroup = it.value
"ruleArticles" -> source.ruleArticles = it.value
"ruleTitle" -> source.ruleTitle = it.value
"ruleAuthor" -> source.ruleAuthor = it.value
"ruleGuid" -> source.ruleGuid = it.value

@ -376,19 +376,20 @@
<!--book source end-->
<!-- rss source start-->
<string name="rss_source_name">名称</string>
<string name="rss_source_url">url</string>
<string name="rss_source_icon">图标</string>
<string name="rss_source_group">分组</string>
<string name="rss_rule_title">标题</string>
<string name="rss_rule_author">作者</string>
<string name="rss_rule_guid">guid</string>
<string name="rss_rule_date">时间</string>
<string name="rss_rule_categories">类别</string>
<string name="rss_rule_description">描述</string>
<string name="rss_rule_image">图片url</string>
<string name="rss_rule_content">内容</string>
<string name="rss_rule_link">链接</string>
<string name="rss_source_name">名称(sourceName)</string>
<string name="rss_source_url">url(sourceUrl)</string>
<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_title">标题规则(ruleTitle)</string>
<string name="rss_rule_author">作者规则(ruleAuthor)</string>
<string name="rss_rule_guid">guid规则(ruleGuid)</string>
<string name="rss_rule_date">时间规则(rulePubDate)</string>
<string name="rss_rule_categories">类别规则(ruleCategories)</string>
<string name="rss_rule_description">描述规则(ruleDescription)</string>
<string name="rss_rule_image">图片url规则(ruleImage)</string>
<string name="rss_rule_content">内容规则(ruleContent)</string>
<string name="rss_rule_link">链接规则(ruleLink)</string>
<!-- rss source end-->
<!--error string start-->

Loading…
Cancel
Save