all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH proxmox-i18n 1/2] makefile: prefer using xgettext over msgcat
@ 2025-01-22 12:20 Maximiliano Sandoval
  2025-01-22 12:20 ` [pve-devel] [PATCH proxmox-i18n 2/2] make: add proxmox-datacenter-manager translations Maximiliano Sandoval
  0 siblings, 1 reply; 6+ messages in thread
From: Maximiliano Sandoval @ 2025-01-22 12:20 UTC (permalink / raw)
  To: pve-devel

For concatenating .pot files. From [1]:

> To concatenate POT files, better use xgettext, not msgcat, because
> msgcat would choke on the undefined charsets in the specified POT
> files.

[1] https://www.gnu.org/software/gettext/manual/html_node/msgcat-Invocation.html

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

diff --git a/Makefile b/Makefile
index 717203e..90a7453 100644
--- a/Makefile
+++ b/Makefile
@@ -129,7 +129,7 @@ init-%.po: messages.pot
 
 .INTERMEDIATE: messages.pot
 messages.pot: proxmox-widget-toolkit.pot proxmox-mailgateway.pot pve-manager.pot proxmox-backup.pot
-	msgcat $^ > $@
+	xgettext $^ --msgid-bugs-address="<support@proxmox.com>" --output $@
 
 .PHONY: distclean
 distclean: clean
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-01-24 14:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-22 12:20 [pve-devel] [PATCH proxmox-i18n 1/2] makefile: prefer using xgettext over msgcat Maximiliano Sandoval
2025-01-22 12:20 ` [pve-devel] [PATCH proxmox-i18n 2/2] make: add proxmox-datacenter-manager translations Maximiliano Sandoval
2025-01-22 12:22   ` Maximiliano Sandoval
2025-01-22 13:05     ` Thomas Lamprecht
2025-01-22 13:15       ` Maximiliano Sandoval
2025-01-24 14:37       ` Maximiliano Sandoval

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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal