From 3b334c4230426bd6a583a0f25e0b96dbb2e13ee8 Mon Sep 17 00:00:00 2001 From: arkon Date: Mon, 17 Feb 2020 11:29:11 -0500 Subject: [PATCH] Simplify "and n more" string --- .../eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt | 3 +-- app/src/main/res/values/strings.xml | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt index 889f94fc4..e3d9dfd73 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt @@ -469,8 +469,7 @@ class LibraryUpdateService( setContentTitle(manga.title) val chaptersNames = if (chapterNames.size > 5) { "${chapterNames.take(4).joinToString(", ")}, " + - resources.getQuantityString(R.plurals.notification_and_n_more, - (chapterNames.size - 4), (chapterNames.size - 4)) + resources.getString(R.string.notification_and_n_more, (chapterNames.size - 4)) } else chapterNames.joinToString(", ") setContentText(chaptersNames) setStyle(NotificationCompat.BigTextStyle().bigText(chaptersNames)) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 8deb6168e..8c59a2244 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -489,10 +489,7 @@ For %d title For %d titles - - and %1$d more chapter. - and %1$d more chapters. - + and %1$d more Failed to update cover Please add the manga to your library before doing this Sync canceled