From ca807dc7374077856671da40c46127ccfa5da671 Mon Sep 17 00:00:00 2001 From: WofWca Date: Thu, 16 Apr 2026 13:39:00 +0400 Subject: [PATCH] fix: improve connectivity HTML if quota info error Currently if the provider doesn't support quota info the HTML displays something like ``` example.com: Connected Not supported by your provider. ``` It's not clear that "not supported" only refers to quota info. --- src/scheduler/connectivity.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scheduler/connectivity.rs b/src/scheduler/connectivity.rs index 72c7ec9e1..9cd4fc4f2 100644 --- a/src/scheduler/connectivity.rs +++ b/src/scheduler/connectivity.rs @@ -476,7 +476,8 @@ impl Context { }; match "a.recent { Err(e) => { - ret += &escaper::encode_minimal(&e.to_string()); + // TODO translate "Quota". + ret += &format!("Quota: {}", &*escaper::encode_minimal(&e.to_string())); } Ok(quota) => { if quota.is_empty() {