No description
Find a file
Kefu Chai 346739228c add default pgettext/npgettext implementations to pmg-index.html.tt
This adds default implementations for pgettext() and npgettext() functions
to prevent UI breakage when no language is selected.

These functions are required for context-aware translations support added
to the proxmox-i18n tooling.

Default implementations:
- pgettext(context, message): Returns message (ignores context)
- npgettext(context, singular, plural, count): Returns appropriate form

When a language file is loaded, these defaults are replaced by the actual
translation functions from the i18n catalog.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
Link: https://lore.proxmox.com/20260228060757.3271160-1-k.chai@proxmox.com
2026-05-07 11:26:26 +02:00
css css: format 2025-07-24 19:00:50 +02:00
debian bump version to 5.0.5 2026-02-09 13:56:56 +01:00
images Add basic GUI with login window 2017-01-27 12:30:32 +01:00
js mail proxy options: add accept-broken-mime checkbox 2026-02-09 11:35:09 +01:00
.gitignore gitignore: add rules for dpkg build artifacts 2024-10-03 16:36:08 +02:00
defines.mk replace eslint with proxmox-biome for linting and code checks 2025-07-24 19:11:24 +02:00
Makefile remove mobile quarantine ui 2025-08-05 13:08:20 +02:00
pmg-index.html.tt add default pgettext/npgettext implementations to pmg-index.html.tt 2026-05-07 11:26:26 +02:00