From: "Lukas Wagner" <l.wagner@proxmox.com>
To: "Proxmox Datacenter Manager development discussion"
<pdm-devel@lists.proxmox.com>
Subject: Re: [pdm-devel] [PATCH datacenter-manager] ui: use explicit parameter indices in tr macros
Date: Mon, 01 Dec 2025 17:36:47 +0100 [thread overview]
Message-ID: <DEN0Z88ICDUO.13R0Y7LME8QYI@proxmox.com> (raw)
In-Reply-To: <20251201160626.377139-1-l.wagner@proxmox.com>
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.
_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel
next prev parent reply other threads:[~2025-12-01 16:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-01 16:06 Lukas Wagner
2025-12-01 16:36 ` Lukas Wagner [this message]
2025-12-01 16:47 ` [pdm-devel] superseded: " Lukas Wagner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DEN0Z88ICDUO.13R0Y7LME8QYI@proxmox.com \
--to=l.wagner@proxmox.com \
--cc=pdm-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.