From ae2726c876c3b43281084589dd1ffce9f1b2d190 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Sun, 8 Dec 2024 16:54:35 +0100 Subject: [PATCH] Use placeholder referencing the tested value instead --- src/PowerIdPDisco.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PowerIdPDisco.php b/src/PowerIdPDisco.php index 00fad91..d4dc21c 100644 --- a/src/PowerIdPDisco.php +++ b/src/PowerIdPDisco.php @@ -342,7 +342,7 @@ public function handleRequest(): void $tab, '/^[a-z_][a-z0-9_-]+$/i', 'Tags can contain alphanumeric characters, hyphens and underscores.' - . ' They must start with a A-Z or an underscore (supplied: "' . $tab . '")', + . ' They must start with a A-Z or an underscore (supplied: \'%s\')', ); $translatableTag = "{discopower:tabs:$tab}";