8536: change grammar r=kjeremy a=Milo123459

indexing -> Indexing
fetching -> Fetching
loading -> Loading
roots scanned -> Roots Scanned

Co-authored-by: Milo <50248166+Milo123459@users.noreply.github.com>
This commit is contained in:
bors[bot] 2021-04-15 18:48:25 +00:00 committed by GitHub
commit 75371eb0fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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