change grammar

This commit is contained in:
Milo 2021-04-15 19:39:34 +01:00
parent a78c50f1fe
commit 2fa5086424

View file

@ -248,7 +248,7 @@ impl GlobalState {
} }
}; };
self.report_progress("fetching", state, msg, None); self.report_progress("Fetching", state, msg, None);
} }
Task::FetchBuildData(progress) => { Task::FetchBuildData(progress) => {
let (state, msg) = match progress { let (state, msg) = match progress {
@ -266,7 +266,7 @@ impl GlobalState {
}; };
if let Some(state) = state { if let Some(state) = state {
self.report_progress("loading", state, msg, None); self.report_progress("Loading", state, msg, None);
} }
} }
} }
@ -298,7 +298,7 @@ impl GlobalState {
} }
}; };
self.report_progress("indexing", state, message, Some(fraction)); self.report_progress("Indexing", state, message, Some(fraction));
} }
} }
Event::Vfs(mut task) => { Event::Vfs(mut task) => {
@ -330,7 +330,7 @@ impl GlobalState {
Progress::End Progress::End
}; };
self.report_progress( self.report_progress(
"roots scanned", "Roots Scanned",
state, state,
Some(format!("{}/{}", n_done, n_total)), Some(format!("{}/{}", n_done, n_total)),
Some(Progress::fraction(n_done, n_total)), Some(Progress::fraction(n_done, n_total)),