From 2aca55169200459558f93860a057ea182bc301bb Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sun, 21 Feb 2021 18:24:04 +0100 Subject: [PATCH] Fixed product page QU conversion hint pluralisation (fixes #1352) --- views/productform.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/productform.blade.php b/views/productform.blade.php index 144ed05e..1f09157a 100644 --- a/views/productform.blade.php +++ b/views/productform.blade.php @@ -609,7 +609,7 @@ @endif - {!! $__t('This means 1 %1$s is the same as %2$s %3$s', FindObjectInArrayByPropertyValue($quantityunits, 'id', $quConversion->from_qu_id)->name, '' . $quConversion->factor . '', FindObjectInArrayByPropertyValue($quantityunits, 'id', $quConversion->to_qu_id)->name) !!} + {!! $__t('This means 1 %1$s is the same as %2$s %3$s', FindObjectInArrayByPropertyValue($quantityunits, 'id', $quConversion->from_qu_id)->name, '' . $quConversion->factor . '', $__n($quConversion->factor, FindObjectInArrayByPropertyValue($quantityunits, 'id', $quConversion->to_qu_id)->name, FindObjectInArrayByPropertyValue($quantityunits, 'id', $quConversion->to_qu_id)->name_plural)) !!} @endif