diff --git a/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt b/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt index bd5181efa..2db5d46bc 100644 --- a/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt +++ b/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt @@ -104,7 +104,7 @@ class SourceEditActivity : BaseActivity() { sourceEditList.add(EditEntity("bookSourceName", bookSource?.bookSourceName, R.string.book_source_name)) sourceEditList.add(EditEntity("bookSourceGroup", bookSource?.bookSourceGroup, R.string.book_source_group)) sourceEditList.add(EditEntity("loginUrl", bookSource?.loginUrl, R.string.book_source_login_url)) - sourceEditList.add(EditEntity("header", bookSource?.header, R.string.source_user_agent)) + sourceEditList.add(EditEntity("header", bookSource?.header, R.string.source_http_header)) //搜索 with(bookSource?.getSearchRule()) { searchEditList.clear() @@ -131,7 +131,7 @@ class SourceEditActivity : BaseActivity() { infoEditList.add(EditEntity("kind", this?.kind, R.string.rule_book_kind)) infoEditList.add(EditEntity("wordCount", this?.wordCount, R.string.rule_word_count)) infoEditList.add(EditEntity("lastChapter", this?.lastChapter, R.string.rule_last_chapter)) - infoEditList.add(EditEntity("tocUrl", this?.tocUrl, R.string.rule_chapter_list_url)) + infoEditList.add(EditEntity("tocUrl", this?.tocUrl, R.string.rule_toc_url)) } //目录页 with(bookSource?.getTocRule()) { diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 34b422ee7..6b1aee338 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -342,31 +342,32 @@ 登录%s 成功 当前源没有配置登陆地址 + 书源名称(bookSourceName) 书源URL(bookSourceUrl) 书源分组(bookSourceGroup) 登录URL(loginUrl) - 作者规则(ruleBookAuthor) - 正文规则(ruleBookContent) - 书名规则(ruleBookName) - 目录列表规则(ruleChapterList) + 搜索地址(url) + 发现地址规则(url) + 书籍列表规则(bookList) + 书名规则(name) + 书籍url规则(bookUrl) + 作者规则(author) + 分类规则(kind) + 简介规则(intro) + 封面规则(coverUrl) + 最新章节规则(lastChapter) + 字数规则(wordCount) + 详情URL正则(urlPattern) + 预处理规则(init) + 目录URL规则(tocUrl) + 目录下一页规则(nextTocUrl) + 目录列表规则(chapterList) 章节名称规则(ruleChapterName) - 目录URL规则(ruleChapterUrl) - 目录下一页规则(ruleChapterUrlNext) - 章节URL规则(ruleContentUrl) - 封面规则(ruleCoverUrl) - 简介规则(ruleIntroduce) - 字数规则(ruleFindKind) - 书籍列表规则(ruleFindKind) - 书籍url规则 - 搜索地址(ruleSearchUrl) - 发现地址规则(ruleFindUrl) - 正文下一页URL规则(ruleContentUrlNext) - 书籍详情URL正则(ruleBookUrlPattern) - 书籍详情预处理规则(ruleBookInfoInit) - 分类规则(ruleBookKind) - 最新章节规则(ruleBookLastChapter) - HttpUserAgent + 章节URL规则(chapterUrl) + 正文规则(content) + 正文下一页URL规则(nextContentUrl) + header 调试书源 二维码导入 扫描二维码