public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pve-devel@lists.proxmox.com, Kefu Chai <k.chai@proxmox.com>
Cc: Kefu Chai <tchaikov@gmail.com>
Subject: Re: [PATCH proxmox-backup v1] add default pgettext/npgettext implementations to index.hbs
Date: Thu, 07 May 2026 11:27:38 +0200	[thread overview]
Message-ID: <177814605861.2838764.1508543099746188902.b4-ty@b4> (raw)
In-Reply-To: <20260228060103.3267076-2-k.chai@proxmox.com>

On Sat, 28 Feb 2026 14:01:04 +0800, Kefu Chai wrote:
> 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
> 
> [...]

Applied, thanks!

[1/1] add default pgettext/npgettext implementations to index.hbs
      commit: 190a0a01aad90dd0a957ca8b19dc6a0798998d2e





      parent reply	other threads:[~2026-05-07  9:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-28  6:01 [PATCH proxmox-backup v1] add default pgettext/npgettext implementations to index.hbs Kefu Chai
2026-04-26  4:20 ` Kefu Chai
2026-05-07  9:27 ` Thomas Lamprecht [this message]

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=177814605861.2838764.1508543099746188902.b4-ty@b4 \
    --to=t.lamprecht@proxmox.com \
    --cc=k.chai@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=tchaikov@gmail.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 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