mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-24 18:08:24 +01:00
Change new chapters string key (closes #2686)
This commit is contained in:
parent
de512216c4
commit
8bfe59c8a8
@ -476,7 +476,7 @@ class LibraryUpdateService(
|
||||
if (updates.size == 1 && !preferences.hideNotificationContent()) {
|
||||
setContentText(updates.first().first.title.chop(NOTIF_TITLE_MAX_LEN))
|
||||
} else {
|
||||
setContentText(resources.getQuantityString(R.plurals.notification_new_chapters_text, updates.size, updates.size))
|
||||
setContentText(resources.getQuantityString(R.plurals.notification_new_chapters_summary, updates.size, updates.size))
|
||||
|
||||
if (!preferences.hideNotificationContent()) {
|
||||
setStyle(NotificationCompat.BigTextStyle().bigText(updates.joinToString("\n") {
|
||||
|
@ -513,7 +513,7 @@
|
||||
<string name="notification_check_updates">Checking for new chapters</string>
|
||||
<string name="notification_update_progress">Update progress: %1$d/%2$d</string>
|
||||
<string name="notification_new_chapters">New chapters found</string>
|
||||
<plurals name="notification_new_chapters_text">
|
||||
<plurals name="notification_new_chapters_summary">
|
||||
<item quantity="one">For 1 title</item>
|
||||
<item quantity="other">For %d titles</item>
|
||||
</plurals>
|
||||
|
Loading…
Reference in New Issue
Block a user