Skip to content

Commit

Permalink
Use placeholder referencing the tested value instead
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Dec 8, 2024
1 parent 783e9a8 commit ae2726c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PowerIdPDisco.php
Original file line number Diff line number Diff line change
Expand Up @@ -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}";
Expand Down

0 comments on commit ae2726c

Please sign in to comment.