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 97aefc952..9d5e5ad2b 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 @@ -199,13 +199,9 @@ class BookSourceEditActivity : add(EditEntity("bookSourceName", source?.bookSourceName, R.string.source_name)) add(EditEntity("bookSourceGroup", source?.bookSourceGroup, R.string.source_group)) add(EditEntity("bookSourceComment", source?.bookSourceComment, R.string.comment)) - add( - EditEntity( - "loginUrl", - source?.loginUrl, - R.string.login_url - ) - ) + add(EditEntity("loginUrl", source?.loginUrl, R.string.login_url)) + add(EditEntity("loginUi", GSON.toJson(source?.loginUi), R.string.login_ui)) + add(EditEntity("loginCheckJs", source?.loginCheckJs, R.string.login_check_js)) add(EditEntity("bookUrlPattern", source?.bookUrlPattern, R.string.book_url_pattern)) add(EditEntity("header", source?.header, R.string.source_http_header)) add( @@ -303,6 +299,8 @@ class BookSourceEditActivity : "bookSourceName" -> source.bookSourceName = it.value ?: "" "bookSourceGroup" -> source.bookSourceGroup = it.value "loginUrl" -> source.loginUrl = it.value + "loginUi" -> source.loginUi = GSON.fromJsonArray(it.value) + "loginCheckJs" -> source.loginCheckJs = it.value "bookUrlPattern" -> source.bookUrlPattern = it.value "header" -> source.header = it.value "bookSourceComment" -> source.bookSourceComment = it.value ?: "" diff --git a/app/src/main/res/values-es-rES/strings.xml b/app/src/main/res/values-es-rES/strings.xml index f7d66e2cc..777fceba1 100644 --- a/app/src/main/res/values-es-rES/strings.xml +++ b/app/src/main/res/values-es-rES/strings.xml @@ -855,4 +855,11 @@ 及时翻页,翻页时会停顿一下 La fuente del libro de cheques muestra un mensaje de depuración Muestra los pasos y el tiempo de la solicitud de red durante la verificación de la fuente del libro + 登录UI + No export chapter names + Autobackup failed + 登录检查JS + Background image blurring + Blurring radius + Disabled when 0, enable range from 1 to 25\nThe greater the radius, the stronger the effect of blurring diff --git a/app/src/main/res/values-ja-rJP/strings.xml b/app/src/main/res/values-ja-rJP/strings.xml index b97574e03..158d276d7 100644 --- a/app/src/main/res/values-ja-rJP/strings.xml +++ b/app/src/main/res/values-ja-rJP/strings.xml @@ -856,4 +856,10 @@ 及时翻页,翻页时会停顿一下 Check book source shows debug message Show network status and timestamp during source checking + 登录UI + Autobackup failed + 登录检查JS + Background image blurring + Blurring radius + Disabled when 0, enable range from 1 to 25\nThe greater the radius, the stronger the effect of blurring diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index b043ada60..42bc3fdd3 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -855,4 +855,12 @@ 及时翻页,翻页时会停顿一下 Verificar a fonte do livro mostra uma mensagem de depuração Exibir etapas de solicitação de rede e tempo durante a verificação da fonte do livro + 登录UI + No export chapter names + Autobackup failed + 登录检查JS + Background image blurring + Blurring radius + Disabled when 0, enable range from 1 to 25\nThe greater the radius, the stronger the effect of blurring + diff --git a/app/src/main/res/values-zh-rHK/strings.xml b/app/src/main/res/values-zh-rHK/strings.xml index ae8c19bce..8d6652be0 100644 --- a/app/src/main/res/values-zh-rHK/strings.xml +++ b/app/src/main/res/values-zh-rHK/strings.xml @@ -857,5 +857,7 @@ 及时翻页,翻页时会停顿一下 校驗書源顯示詳細信息 書源校驗時顯示網絡請求步驟和時間 + 登录UI + 登录检查JS diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 13f7cd8e6..038b5f3ca 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -858,5 +858,7 @@ 及时翻页,翻页时会停顿一下 校驗書源顯示詳細信息 書源校驗時顯示網絡請求步驟和時間 + 登录UI + 登录检查JS diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml index cfb947d90..1557fcb51 100644 --- a/app/src/main/res/values-zh/strings.xml +++ b/app/src/main/res/values-zh/strings.xml @@ -859,5 +859,7 @@ 及时翻页,翻页时会停顿一下 校验显示详细信息 书源校验时显示网络请求步骤和时间 + 登录UI + 登录检查JS diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 92ca027b1..02a9710f9 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -860,5 +860,7 @@ 及时翻页,翻页时会停顿一下 Check book source shows debug message Show network status and timestamp during source checking + Login UI + 登录检查JS