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

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)
}