Reference · Cube engine and views
STRINGSconstant
The package's words in both languages. A page in a third language passes its own table where one is taken: { ...STRINGS.en, solved: "Resuelto" }.
Import it
import { STRINGS } from "@johnmorrisdotca/kyuubu";
Definition
const STRINGS: Readonly<Record<KyuubuLanguage, KyuubuStrings>> = {
en: both("en"),
ja: both("ja"),
}
Members
| Name | Type | Description |
|---|---|---|
en | KyuubuStrings | |
ja | KyuubuStrings |
Examples
import { STRINGS } from "@johnmorrisdotca/kyuubu";
console.log(Object.keys(STRINGS.en).slice(0, 5));[ 'cubeLabel', 'solved', 'notSolved', 'stageHold', 'stageWhiteCross' ]What it prints (run when this page was built)