meikyuuSayfunction
A line in a language, with its {name} values filled in, and its One form when n is 1.
Import it
import { meikyuuSay } from "@johnmorrisdotca/meikyuu/draw";
Definition
function meikyuuSay(language: MeikyuuLanguage, key: string, values?: Record<string, string | number>): string
Parameters
| Name | Type | Description |
|---|---|---|
language | MeikyuuLanguage | The native English or Japanese display language. |
key | string | The localized native label identifier. |
values (optional) | Record<string, string | number> | Replacement text or numbers for brace-delimited placeholders. |
Returns
string
A line in a language, with its {name} values filled in, and its One form when n is 1.
Examples
import { meikyuuSay } from "@johnmorrisdotca/meikyuu/draw";
console.log(meikyuuSay("en","undo"));UndoWhat it prints (run when this page was built)