This commit is contained in:
kunfei
2023-07-29 20:39:11 +08:00
parent 2f1d6cf376
commit 029ef31205
9 changed files with 13 additions and 1 deletions
@@ -163,7 +163,11 @@ class ExportBookService : BaseService() {
val book = appDb.bookDao.getBook(bookUrl)
try {
book ?: throw NoStackTraceException("获取${bookUrl}书籍出错")
notificationContent = "正在导出(${book.name}),还有${waitExportBooks.size}本待导出"
notificationContent = getString(
R.string.export_book_notification_content,
book.name,
waitExportBooks.size
)
upNotification()
if (exportConfig.type == "epub") {
if (exportConfig.epubScope.isNullOrBlank()) {
@@ -1123,4 +1123,5 @@
<string name="bookshelf_px_4" >Comprehensive</string>
<string name="effective_replaces">起效的替换</string>
<string name="export_book">导出书籍</string>
<string name="export_book_notification_content">正在导出(%1$s),还有%2$i本待导出</string>
</resources>
@@ -1126,4 +1126,5 @@
<string name="bookshelf_px_4" >Comprehensive</string>
<string name="effective_replaces">起效的替换</string>
<string name="export_book">导出书籍</string>
<string name="export_book_notification_content">正在导出(%1$s),还有%2$i本待导出</string>
</resources>
@@ -1126,4 +1126,5 @@
<string name="bookshelf_px_4" >Comprehensive</string>
<string name="effective_replaces">起效的替换</string>
<string name="export_book">导出书籍</string>
<string name="export_book_notification_content">正在导出(%1$s),还有%2$i本待导出</string>
</resources>
+1
View File
@@ -1122,4 +1122,5 @@ Còn </string>
<string name="bookshelf_px_4" >Comprehensive</string>
<string name="effective_replaces">起效的替换</string>
<string name="export_book">导出书籍</string>
<string name="export_book_notification_content">正在导出(%1$s),还有%2$i本待导出</string>
</resources>
@@ -1123,4 +1123,5 @@
<string name="bookshelf_px_4" >綜合排序</string>
<string name="effective_replaces">起效的替换</string>
<string name="export_book">导出书籍</string>
<string name="export_book_notification_content">正在导出(%1$s),还有%2$i本待导出</string>
</resources>
@@ -1125,4 +1125,5 @@
<string name="bookshelf_px_4" >綜合排序</string>
<string name="effective_replaces">起效的替换</string>
<string name="export_book">导出书籍</string>
<string name="export_book_notification_content">正在导出(%1$s),还有%2$i本待导出</string>
</resources>
+1
View File
@@ -1125,4 +1125,5 @@
<string name="bookshelf_px_4" >综合排序</string>
<string name="effective_replaces">起效的替换</string>
<string name="export_book">导出书籍</string>
<string name="export_book_notification_content">正在导出(%1$s),还有%2$i本待导出</string>
</resources>
+1
View File
@@ -1126,4 +1126,5 @@
<string name="bookshelf_px_4" >Comprehensive</string>
<string name="effective_replaces">起效的替换</string>
<string name="export_book">导出书籍</string>
<string name="export_book_notification_content">正在导出(%1$s),还有%2$i本待导出</string>
</resources>