diff --git a/app/src/main/java/io/legado/app/ui/book/info/edit/BookInfoEditViewModel.kt b/app/src/main/java/io/legado/app/ui/book/info/edit/BookInfoEditViewModel.kt
index 76db9f101..446688674 100644
--- a/app/src/main/java/io/legado/app/ui/book/info/edit/BookInfoEditViewModel.kt
+++ b/app/src/main/java/io/legado/app/ui/book/info/edit/BookInfoEditViewModel.kt
@@ -53,7 +53,7 @@ class BookInfoEditViewModel(application: Application) : BaseViewModel(applicatio
execute {
book = appDb.bookDao.getBook(bookUrl)
book?.let {
- val selectedTypeIndex = when {
+ val selectedType = when {
it.isImage -> BookInfoEditType.IMAGE
it.isAudio -> BookInfoEditType.AUDIO
else -> BookInfoEditType.TEXT
@@ -68,7 +68,7 @@ class BookInfoEditViewModel(application: Application) : BaseViewModel(applicatio
remark = it.remark,
kindList = kinds,
originalKindList = kinds,
- selectedType = selectedTypeIndex,
+ selectedType = selectedType,
fixedType = it.config.fixedType,
book = it
)
diff --git a/app/src/main/res/values-zh-rCN/arrays.xml b/app/src/main/res/values-zh-rCN/arrays.xml
index 8192fd458..b3eee2dbe 100644
--- a/app/src/main/res/values-zh-rCN/arrays.xml
+++ b/app/src/main/res/values-zh-rCN/arrays.xml
@@ -7,6 +7,20 @@
- 文件
+
+ - 列表
+ - 单列
+ - 双列
+ - 瀑布
+ - 三列
+
+
+
+ - 网页
+ - 图片
+ - 视频
+
+
- 标签
- 隐藏标签
@@ -221,4 +235,4 @@
所有版本
-
\ No newline at end of file
+
diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml
index 437f8599b..6e0512e5e 100644
--- a/app/src/main/res/values-zh-rCN/strings.xml
+++ b/app/src/main/res/values-zh-rCN/strings.xml
@@ -1273,7 +1273,7 @@
未找到堆转储文件
下载信息不完整
没有数据
- 开始下载: %s
+ 开始下载: %1$s
崩溃报告
应用发生崩溃。报告问题时,请复制以下错误信息。
未找到崩溃信息。
@@ -1351,9 +1351,9 @@
请输入主题名称
应用主题
应用
- 确定应用主题「%s」?应用后需要重启才能完全生效。
+ 确定应用主题「%1$s」?应用后需要重启才能完全生效。
删除主题
- 确定删除主题「%s」?此操作不可恢复。
+ 确定删除主题「%1$s」?此操作不可恢复。
日间
夜间
编辑主题
@@ -1606,7 +1606,7 @@
听书预加载数量
%d
音频缓存保留时间(分钟)
- 当前%d, 输入 0 代表退出即刻清理。
+ 当前%1$d, 输入 0 代表退出即刻清理。
启用滑动时动画
点击图片行为
输出日志
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index a4b0a86a1..1d5110573 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -1305,7 +1305,7 @@
Heap dump file not found
Update download information is incomplete
No update log available
- Downloading %s
+ Downloading %1$s
Crash report
The app crashed. Copy the error information below when reporting the issue.
No crash information found.
@@ -1383,9 +1383,9 @@
Enter a theme name
Apply Theme
Apply
- Apply theme \"%s\"? A restart is required for all changes to take effect.
+ Apply theme \"%1$s\"? A restart is required for all changes to take effect.
Delete Theme
- Delete theme \"%s\"? This cannot be undone.
+ Delete theme \"%1$s\"? This cannot be undone.
Day
Night
Edit Theme
@@ -1640,7 +1640,7 @@
Read-Aloud Preload Count
%d
Audio Cache Retention Time (minutes)
- Current: %d. Enter 0 to clear immediately on exit.
+ Current: %1$d. Enter 0 to clear immediately on exit.
Enable Animation While Swiping
Image Tap Action
Output Logs