Reference · Native radical picker
bushuSayfunction
A line in a language, with its {name} values filled in, and its One form when n is 1.
Import it
import { bushuSay } from "@johnmorrisdotca/bushu/picker";
Definition
function bushuSay(language: BushuLanguage, key: string, values?: Record<string, string | number>): string
Parameters
| Name | Type | Description |
|---|---|---|
language | BushuLanguage | The native English or Japanese picker language. |
key | string | The native localized-message key, such as found. |
values (optional) | Record<string, string | number> | Replacement values for brace-delimited native message placeholders. |
Returns
string
A line in a language, with its {name} values filled in, and its One form when n is 1.
Examples
import { bushuSay } from "@johnmorrisdotca/bushu/picker";
console.log(bushuSay("en","found",{n:2}));2 kanji hold all of these parts.What it prints (run when this page was built)