Use plural string

This commit is contained in:
Naveen 2023-05-24 04:06:45 +05:30
parent bdffa73d7d
commit a1fca17516
No known key found for this signature in database
GPG Key ID: 0E155DAD31671DA3
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class ResizeMultipleImagesDialog(
val failureCount = imagePaths.size - pathsToRescan.size
if (failureCount > 0) {
toast(getString(R.string.failed_to_resize_images, failureCount))
toast(resources.getQuantityString(R.plurals.failed_to_resize_images, failureCount, failureCount))
} else {
toast(R.string.images_resized_successfully)
}