public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH proxmox-biome] add pgettext and npgettext to JavaScript globals
@ 2026-02-28  6:13 Kefu Chai
  0 siblings, 0 replies; only message in thread
From: Kefu Chai @ 2026-02-28  6:13 UTC (permalink / raw)
  To: pve-devel; +Cc: Kefu Chai

From: Kefu Chai <tchaikov@gmail.com>

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 <k.chai@proxmox.com>
---
 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"
         ]
     }
 }
-- 
2.47.3





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-02-28  6:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-28  6:13 [PATCH proxmox-biome] add pgettext and npgettext to JavaScript globals Kefu Chai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal