Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/scheduler/connectivity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,8 @@ impl Context {
};
match &quota.recent {
Err(e) => {
ret += &escaper::encode_minimal(&e.to_string());
// TODO translate "Quota".
ret += &format!("Quota: {}", &*escaper::encode_minimal(&e.to_string()));
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a stock str with a function that takes the encoded error as an argument? And UIs will translate it later

}
Ok(quota) => {
if quota.is_empty() {
Expand Down
Loading