[pdm-devel] [PATCH datacenter-manager] ui: use explicit parameter indices in tr macros

Lukas Wagner l.wagner at proxmox.com
Mon Dec 1 17:36:47 CET 2025


On Mon Dec 1, 2025 at 5:06 PM CET, Lukas Wagner wrote:
> The order of parameters can change in translations, so it is important
> to use explicit indexing. The gettext runtime shows warnings in the
> browser console for these:
>
> "... multiple non-indexed, non-named arguments - order is implicit"
>

I just realized, the message is only shown if there *multiple*
parameters in the string (should have read the error more carefully, I
guess). If wanted, can send a new patch only fixing the instances where
there are indeed multiple params, so to not break any already existing
translations for the other strings.




More information about the pdm-devel mailing list