Hi Thomas,

Could you please help review this change? It would help us to add the
context-aware support to our gettext-based i18n.

cheers,

On Sat Feb 28, 2026 at 2:13 PM CST, Kefu Chai wrote:
> From: Kefu Chai <[email protected]>
>
> These context-aware gettext functions are now being used in
> proxmox-i18n projects and need to be recognized as valid
> global functions by biome to prevent undefined variable
> errors during 'make deb'.
>
> Signed-off-by: Kefu Chai <[email protected]>
> ---
>  src/biome.json | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/biome.json b/src/biome.json
> index cda44243..ea8709be 100644
> --- a/src/biome.json
> +++ b/src/biome.json
> @@ -128,7 +128,9 @@
>              "Proxmox",
>              "eslint",
>              "ngettext",
> -            "gettext"
> +            "gettext",
> +            "pgettext",
> +            "npgettext"
>          ]
>      }
>  }




Reply via email to