Skip to content

Commit

Permalink
add trans_choice to parsed functions
Browse files Browse the repository at this point in the history
  • Loading branch information
csrui committed May 6, 2024
1 parent 3a2250f commit 7bd37a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Utils/CodeParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class CodeParser extends CoreCodeParser {

public function __construct(
array $functions = [ '__', '_t', '@lang' ],
array $functions = [ '__', '_t', '@lang', 'trans_choice' ],
bool $allow_newlines = false
) {
$this->functions = $functions;
Expand Down

0 comments on commit 7bd37a0

Please sign in to comment.