diff --git a/app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditActivity.kt b/app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditActivity.kt index 136088f51..bf7a61475 100644 --- a/app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditActivity.kt @@ -234,6 +234,7 @@ class BookSourceEditActivity : add(EditEntity("replaceRegex", cr?.replaceRegex, R.string.rule_replace_regex)) add(EditEntity("imageStyle", cr?.imageStyle, R.string.rule_image_style)) add(EditEntity("font", cr?.font, R.string.rule_font)) + add(EditEntity("correctFont", cr?.font, R.string.rule_correct_font)) } //发现 val er = source?.getExploreRule() @@ -338,6 +339,7 @@ class BookSourceEditActivity : "replaceRegex" -> contentRule.replaceRegex = it.value "imageStyle" -> contentRule.imageStyle = it.value "font" -> contentRule.font = it.value + "correctFont" -> contentRule.font = it.value } } source.ruleSearch = searchRule diff --git a/app/src/main/res/values-zh-rHK/strings.xml b/app/src/main/res/values-zh-rHK/strings.xml index 57f2f452a..44fad2b64 100644 --- a/app/src/main/res/values-zh-rHK/strings.xml +++ b/app/src/main/res/values-zh-rHK/strings.xml @@ -412,7 +412,8 @@ 正文下一頁 URL 規則 (nextContentUrl) webJs 資源正則 (sourceRegex) - 字體(font) + 网页内嵌字體(font) + 正确字体(font) 圖標 (sourceIcon) 列表規則 (ruleArticles) diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 438097813..47622207e 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -413,7 +413,8 @@ 正文下一頁URL規則(nextContentUrl) webJs 資源正則(sourceRegex) - 字體(font) + 网页内嵌字體(font) + 正确字体(font) 圖示(sourceIcon) 列表規則(ruleArticles) diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml index 7e5360666..8c54fd559 100644 --- a/app/src/main/res/values-zh/strings.xml +++ b/app/src/main/res/values-zh/strings.xml @@ -418,7 +418,8 @@ 正文下一页URL规则(nextContentUrl) webJs 资源正则(sourceRegex) - 字体(font) + 网页内嵌字体(font) + 正确字体(font) 图标(sourceIcon) 列表规则(ruleArticles) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index adb2d20a5..5132b8358 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -422,7 +422,8 @@ 资源正则(sourceRegex) 替换规则(replaceRegex) 图片样式(imageStyle) - 字体(font) + 网页内嵌字体(font) + 正确字体(font) 图标(sourceIcon) 列表规则(ruleArticles)