From a1fca17516551c40a3432b7513dd358d04560562 Mon Sep 17 00:00:00 2001 From: Naveen Date: Wed, 24 May 2023 04:06:45 +0530 Subject: [PATCH] Use plural string --- .../gallery/pro/dialogs/ResizeMultipleImagesDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ResizeMultipleImagesDialog.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ResizeMultipleImagesDialog.kt index 98a3f6925..3d2654a0b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ResizeMultipleImagesDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ResizeMultipleImagesDialog.kt @@ -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) }