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