From 07ebca130d3aed054bcf3c46afac075395955937 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 21 Nov 2020 11:00:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A3=E6=96=87=E6=B7=BB=E5=8A=A0=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=E5=AD=97=E4=BD=93=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../legado/app/ui/book/source/edit/BookSourceEditActivity.kt | 2 ++ app/src/main/res/values-zh-rHK/strings.xml | 3 ++- app/src/main/res/values-zh-rTW/strings.xml | 3 ++- app/src/main/res/values-zh/strings.xml | 3 ++- app/src/main/res/values/strings.xml | 3 ++- 5 files changed, 10 insertions(+), 4 deletions(-) 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)