public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH proxmox-i18n v2 5/5] make: add check target
Date: Wed,  4 Feb 2026 14:48:33 +0100	[thread overview]
Message-ID: <20260204134835.422155-6-m.sandoval@proxmox.com> (raw)
In-Reply-To: <20260204134835.422155-1-m.sandoval@proxmox.com>

This could eventually be baked as part of other targets in the future.
At the moment there are no warnings, but if one uses a newer version of
gettext there will be errors on ru.po and ukr.po.

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
 Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Makefile b/Makefile
index 31c49432..86bd7235 100644
--- a/Makefile
+++ b/Makefile
@@ -231,3 +231,10 @@ upload-pdm: $(PDM_I18N_DEB)
 	tar cf - $^|ssh -X repoman@repo.proxmox.com -- upload --product pdm --dist $(UPLOAD_DIST)
 
 upload: upload-pve upload-pmg upload-pbs upload-pdm
+
+.PHONY: check-%
+check-%:
+	msgfmt --check $*.po
+
+.PHONY: check
+check: $(addprefix check-, $(LINGUAS))
-- 
2.47.3





  parent reply	other threads:[~2026-02-04 13:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-04 13:48 [PATCH proxmox-i18n v2 0/5] Fix formats of translated strings Maximiliano Sandoval
2026-02-04 13:48 ` [PATCH proxmox-i18n v2 1/5] ja: remove second plural form Maximiliano Sandoval
2026-02-04 13:48 ` [PATCH proxmox-i18n v2 2/5] fix strings with wrong format Maximiliano Sandoval
2026-02-04 13:48 ` [PATCH proxmox-i18n v2 3/5] make: remove javascript-format flag from extracted strings Maximiliano Sandoval
2026-02-04 13:48 ` [PATCH proxmox-i18n v2 4/5] run make do_update Maximiliano Sandoval
2026-02-04 13:48 ` Maximiliano Sandoval [this message]
2026-02-04 17:37 ` applied: [PATCH proxmox-i18n v2 0/5] Fix formats of translated strings Thomas Lamprecht

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=20260204134835.422155-6-m.sandoval@proxmox.com \
    --to=m.sandoval@proxmox.com \
    --cc=pve-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 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