Skip to content
Commit 468e66d0 authored by Paul Gascou-Vaillancourt's avatar Paul Gascou-Vaillancourt
Browse files

feat(i18n): add support for parameterized/pluralized translations

This improves the `translate` helper to accept parameters. In those
cases, we use `sprintf` internally to substitute placeholder within the
label.

This also adds a `translatePlural` helper that lets consumers provide
pluralized translations when needed.
parent 791f14f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment