A library for handling plurals/genders/conditionals.
Add the plurr
crate to your Cargo.toml file:
toml
[dependencies]
plurr = "0.2.1"
```rust extern crate plurr;
use plurr::Plurr;
let mut p = Plurr::new(); let s = "Delete {N_PLURAL:{N} file|{N} files}?"; p.param("N", "5").format(s); // "Delete 5 files?" ```