public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH proxmox-datacenter-manager] ui: subscription: remove uri from translatable string
@ 2026-06-17  7:32 Maximiliano Sandoval
  0 siblings, 0 replies; only message in thread
From: Maximiliano Sandoval @ 2026-06-17  7:32 UTC (permalink / raw)
  To: pdm-devel

This generates a xgettext warning, see
https://www.gnu.org/software/gettext/manual/html_node/No-embedded-URLs.html
for more details.

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
 ui/src/dashboard/subscription_info.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ui/src/dashboard/subscription_info.rs b/ui/src/dashboard/subscription_info.rs
index 50589ebd..a344010b 100644
--- a/ui/src/dashboard/subscription_info.rs
+++ b/ui/src/dashboard/subscription_info.rs
@@ -51,7 +51,8 @@ fn render_subscription_status(subs: &[RemoteSubscriptions]) -> Row {
 
     let (status, title, msg) = if none > 0 {
         let msg = tr!(
-            "At least one remote does not have a valid subscription. Please visit <a target=\"_blank\" href=\"https://www.proxmox.com\">www.proxmox.com</a> to get a list of available options."
+            "At least one remote does not have a valid subscription. Please visit {url} to get a list of available options.",
+            url = "<a target=\"_blank\" href=\"https://www.proxmox.com\">www.proxmox.com</a>",
         );
 
         let msg = Html::from_html_unchecked(msg.into());
-- 
2.47.3





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-17  7:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-17  7:32 [PATCH proxmox-datacenter-manager] ui: subscription: remove uri from translatable string Maximiliano Sandoval

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