From 66572a788f0521f772071de1aca20d3f83366867 Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Tue, 8 Mar 2022 17:22:39 +0100 Subject: [PATCH] fix: [metatemplates:index] Pass all needed arguments --- templates/MetaTemplates/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/MetaTemplates/index.php b/templates/MetaTemplates/index.php index 6723411..799eedc 100644 --- a/templates/MetaTemplates/index.php +++ b/templates/MetaTemplates/index.php @@ -5,7 +5,7 @@ if (!empty($updateableTemplates['new'])) { $alertHtml = sprintf( '%s %s', __('New meta-templates available!'), - __n('There is one new template on disk that can be loaded in the database', 'There are {0} new templates on disk that can be loaded in the database:', count($updateableTemplates['new'])) + __n('There is one new template on disk that can be loaded in the database', 'There are {0} new templates on disk that can be loaded in the database:', count($updateableTemplates['new']), count($updateableTemplates['new'])) ); $alertList = []; $alertList = Hash::extract($updateableTemplates['new'], '{s}.template');