fix(i18n): update string formatting for download messages and theme management in English and Chinese

This commit is contained in:
dat-bi
2026-05-22 01:56:08 +08:00
committed by Kudomaga
parent 7107b35728
commit c7bf1db161
4 changed files with 25 additions and 11 deletions
@@ -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
)