From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH proxmox-i18n 1/2] make: add targets to update specific PO files
Date: Mon, 2 Mar 2026 10:51:22 +0100 [thread overview]
Message-ID: <20260302095125.146700-2-m.sandoval@proxmox.com> (raw)
In-Reply-To: <20260302095125.146700-1-m.sandoval@proxmox.com>
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 16aab328..3ca56fd2 100644
--- a/Makefile
+++ b/Makefile
@@ -187,11 +187,11 @@ update_pot: submodule
$(call xtrpotupdate,proxmox-yew-widget-toolkit,proxmox-yew-widget-toolkit/src/lib.rs)
for i in $(EXCLUDED_PWT_FILES); do mv -f proxmox-yew-widget-toolkit/src/$$i.org proxmox-yew-widget-toolkit/src/$$i; done
+.PHONY: update-po-%
+update-po-%: update_pot messages.pot
+ msgmerge -s -v $*.po messages.pot >$*.po.tmp && mv $*.po.tmp $*.po
-do_update:
- $(MAKE) update_pot
- $(MAKE) messages.pot
- for i in $(LINGUAS); do echo -n "$$i: "; msgmerge -s -v $$i.po messages.pot >$$i.po.tmp && mv $$i.po.tmp $$i.po; done;
+do_update: $(addprefix update-po-, $(LINGUAS))
update:
git submodule foreach 'git pull --ff-only origin master'
--
2.47.3
next prev parent reply other threads:[~2026-03-02 9:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-02 9:51 [PATCH proxmox-i18n 0/2] " Maximiliano Sandoval
2026-03-02 9:51 ` Maximiliano Sandoval [this message]
2026-03-02 9:51 ` [PATCH proxmox-i18n 2/2] make: cleanup update-po-% target Maximiliano Sandoval
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=20260302095125.146700-2-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