diff --git a/src/functions/gettext.php b/src/functions/gettext.php index 852a9fdd..d21895c2 100644 --- a/src/functions/gettext.php +++ b/src/functions/gettext.php @@ -27,3 +27,8 @@ function _n(string $singular, string $plural, int $amount): string { return 1 === $amount ? __($singular) : __($plural); } + +function _x(string $text, string $context): string +{ + return __($text); +}