From 4d2a7e5d7d87fd5f93db4f7aae22c9fcbb185218 Mon Sep 17 00:00:00 2001 From: gedoor Date: Wed, 19 May 2021 08:18:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/help/ReadTipConfig.kt | 11 +++++++++-- app/src/main/res/values-pt-rBR/strings.xml | 6 ++++++ 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 | 5 ++++- 6 files changed, 28 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/io/legado/app/help/ReadTipConfig.kt b/app/src/main/java/io/legado/app/help/ReadTipConfig.kt index d962f64c0..e52ac22ec 100644 --- a/app/src/main/java/io/legado/app/help/ReadTipConfig.kt +++ b/app/src/main/java/io/legado/app/help/ReadTipConfig.kt @@ -8,10 +8,17 @@ object ReadTipConfig { appCtx.resources.getStringArray(R.array.read_tip).toList() } val headerModes by lazy { - linkedMapOf(0 to "状态栏显示时隐藏", 1 to "显示", 2 to "隐藏") + linkedMapOf( + Pair(0, appCtx.getString(R.string.hide_when_status_bar_show)), + Pair(1, appCtx.getString(R.string.show)), + Pair(2, appCtx.getString(R.string.hide)) + ) } val footerModes by lazy { - linkedMapOf(0 to "显示", 1 to "隐藏") + linkedMapOf( + Pair(0, appCtx.getString(R.string.show)), + Pair(1, appCtx.getString(R.string.hide)) + ) } const val none = 0 const val chapterTitle = 1 diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 80e78ca7e..11a473d30 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -832,5 +832,11 @@ Mostrar não lido sempre usar capa padrão sempre usar capa padrão,não usar rede + Font size + Margin top + Marigin bottom + Show + Hide + Hide when status bar show diff --git a/app/src/main/res/values-zh-rHK/strings.xml b/app/src/main/res/values-zh-rHK/strings.xml index 60ed31d37..9baf31451 100644 --- a/app/src/main/res/values-zh-rHK/strings.xml +++ b/app/src/main/res/values-zh-rHK/strings.xml @@ -830,5 +830,8 @@ 字號 上邊距 下邊距 + 显示 + 隐藏 + 状态栏显示时隐藏 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 57710372a..8393ace59 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -834,5 +834,8 @@ 字號 上邊距 下邊距 + 显示 + 隐藏 + 状态栏显示时隐藏 diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml index 55b77b4d2..bc4d43fe5 100644 --- a/app/src/main/res/values-zh/strings.xml +++ b/app/src/main/res/values-zh/strings.xml @@ -834,5 +834,8 @@ 字号 上边距 下边距 + 显示 + 隐藏 + 状态栏显示时隐藏 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 99fab1d9f..21ec7dbb1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -830,10 +830,13 @@ Always show the default cover, do not show the network cover Search source code Book source code - Chapters source code + Chapters source code Content source code List source code Font size Margin top Marigin bottom + Show + Hide + Hide when status bar show