fix(prefix_cache): use "changes" instead of "drift" for footer chip pluralisation
Addresses Copilot review comment on ui.rs:3204: "2 drift" reads awkwardly as a plural; "2 changes" is grammatical for both singular and plural values.
This commit is contained in:
@@ -3201,7 +3201,7 @@ fn format_prefix_stability_chip(app: &App) -> Option<(String, ratatui::style::Co
|
||||
let label = if changes == 0 {
|
||||
format!("P {}", pct)
|
||||
} else {
|
||||
format!("P {} ({} drift)", pct, changes)
|
||||
format!("P {} ({} change{})", pct, changes, if changes == 1 { "" } else { "s" })
|
||||
};
|
||||
|
||||
Some((label, color))
|
||||
|
||||
Reference in New Issue
Block a user