The string "Mixed Subscriptions" is already in our pot files. We also remove a newline that leaked into the pot file.
Signed-off-by: Maximiliano Sandoval <m.sando...@proxmox.com> --- ui/src/dashboard/remote_panel.rs | 2 +- ui/src/dashboard/subscription_info.rs | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ui/src/dashboard/remote_panel.rs b/ui/src/dashboard/remote_panel.rs index 7471fb6..ff21fea 100644 --- a/ui/src/dashboard/remote_panel.rs +++ b/ui/src/dashboard/remote_panel.rs @@ -71,7 +71,7 @@ impl Component for PdmRemotePanel { ), (failed, _) => ( Fa::from(Status::Error), - tr!("{0} remotes failed to reach.", failed), + tr!("Failed to reach one remote." | "Failed to reach {n} remotes." % failed), true, ), }; diff --git a/ui/src/dashboard/subscription_info.rs b/ui/src/dashboard/subscription_info.rs index 9677c15..f867547 100644 --- a/ui/src/dashboard/subscription_info.rs +++ b/ui/src/dashboard/subscription_info.rs @@ -55,14 +55,13 @@ 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 <a target=\"_blank\" href=\"https://www.proxmox.com\">www.proxmox.com</a> to get a list of available options. ", ); let msg = Html::from_html_unchecked(msg.into()); (Status::Error, tr!("No valid subscription"), msg) } else if mixed > 0 { - (Status::Warning, tr!("Mixed subscriptions"), tr!("At least one remote has mixed levels of subscription. These remotes fall back to the lowest one.").into()) + (Status::Warning, tr!("Mixed Subscriptions"), tr!("At least one remote has mixed levels of subscription. These remotes fall back to the lowest one.").into()) } else if unknown > 0 { ( Status::Unknown, -- 2.47.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel