kazuSayfunction
A line in a language, with its values filled in; the line itself if there is none by that name.
Import it
import { kazuSay } from "@johnmorrisdotca/kazu/draw";
Definition
function kazuSay(language: KazuLanguage, key: string, values?: Record<string, string | number>): string
Parameters
| Name | Type | Description |
|---|---|---|
language | KazuLanguage | The native English or Japanese display language. |
key | string | The native localized label identifier. |
values (optional) | Record<string, string | number> | Replacement text/numbers or row-major entries specified by this signature. |
Returns
string
A line in a language, with its values filled in; the line itself if there is none by that name.
Examples
import { kazuSay } from "@johnmorrisdotca/kazu/draw";
console.log(kazuSay("en","undo"));UndoWhat it prints (run when this page was built)