public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH i18n] exclude gettext test messages
@ 2025-08-04  9:42 Dietmar Maurer
  2025-08-04 10:09 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Dietmar Maurer @ 2025-08-04  9:42 UTC (permalink / raw)
  To: pve-devel

Really a ugly hack, but simple to implement.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
---
 Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Makefile b/Makefile
index 07658e3..1c30bd3 100644
--- a/Makefile
+++ b/Makefile
@@ -169,6 +169,9 @@ define xtrpotupdate
 	  --output "$(1)".pot
 endef
 
+# HACK: exclude gettext test messages
+EXCLUDED_PWT_FILES= tr.rs gettext_wrapper.rs
+
 .PHONY: update update_pot do_update
 update_pot: submodule
 	$(call potupdate,proxmox-widget-toolkit,proxmox-widget-toolkit/)
@@ -179,7 +182,10 @@ update_pot: submodule
 	$(call xtrpotupdate,pve-yew-mobile-gui,pve-yew-mobile-gui/src/main.rs)
 	$(call xtrpotupdate,pmg-yew-quarantine-gui,pmg-yew-quarantine-gui/src/main.rs)
 	$(call xtrpotupdate,proxmox-yew-comp,proxmox-yew-comp/src/lib.rs)
+	for i in $(EXCLUDED_PWT_FILES); do mv proxmox-yew-widget-toolkit/src/$$i proxmox-yew-widget-toolkit/src/$$i.org; echo > proxmox-yew-widget-toolkit/src/$$i; done
 	$(call xtrpotupdate,proxmox-yew-widget-toolkit,proxmox-yew-widget-toolkit/src/lib.rs)
+	for i in $(EXCLUDED_PWT_FILES); do mv proxmox-yew-widget-toolkit/src/$$i.org proxmox-yew-widget-toolkit/src/$$i; done
+
 
 do_update:
 	$(MAKE) update_pot
-- 
2.47.2


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


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

* [pve-devel] applied:  [PATCH i18n] exclude gettext test messages
  2025-08-04  9:42 [pve-devel] [PATCH i18n] exclude gettext test messages Dietmar Maurer
@ 2025-08-04 10:09 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-08-04 10:09 UTC (permalink / raw)
  To: pve-devel, Dietmar Maurer

On Mon, 04 Aug 2025 11:42:39 +0200, Dietmar Maurer wrote:
> Really a ugly hack, but simple to implement.
> 
> 

Applied, thanks!

[1/1] exclude gettext test messages
      commit: 0a6d9825a119741399fef6100d6033a9012eea2e


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


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

end of thread, other threads:[~2025-08-04 10:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-04  9:42 [pve-devel] [PATCH i18n] exclude gettext test messages Dietmar Maurer
2025-08-04 10:09 ` [pve-devel] applied: " Thomas Lamprecht

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