YAJILIN_STRINGSconstant
Native English and Japanese labels and announcements for Yajilin.
Import it
import { YAJILIN_STRINGS } from "@johnmorrisdotca/kazu/yajilin/play";
Definition
const YAJILIN_STRINGS: { readonly en: { readonly title: "Yajilin"; readonly help: "Shade the number of cells each arrow points to. Shaded cells cannot touch. Every other empty cell is part of one loop."; readonly line: "Line"; readonly shade: "Shade"; readonly undo: "Undo"; readonly hint: "Hint"; readonly check: "Check"; readonly restart: "Restart"; readonly won: "Solved!"; readonly helped: "Solved with help."; readonly good: "Keep going; the loop is not complete yet."; readonly bad: "Check the marked cells, arrows, and line."; readonly cell: "cell"; }; readonly ja: { readonly title: "やじりん"; readonly help: "矢印の先にある黒マスの数を合わせます。黒マスは辺で隣り合えません。残りの空きマスを一つの輪にします。"; readonly line: "線"; readonly shade: "黒マス"; readonly undo: "戻す"; readonly hint: "ヒント"; readonly check: "確認"; readonly restart: "やり直す"; readonly won: "完成!"; readonly helped: "ヒントを使って完成。"; readonly good: "輪はまだ完成していません。続けましょう。"; readonly bad: "印のついたマス、矢印、線を確認してください。"; readonly cell: "マス"; }; } = {
en: { title: "Yajilin", help: "Shade the number of cells each arrow points to. Shaded cells cannot touch. Every other empty cell is part of one loop.", line: "Line", shade: "Shade", undo: "Undo", hint: "Hint", check: "Check", restart: "Restart", won: "Solved!", helped: "Solved with help.", good: "Keep going; the loop is not complete yet.", bad: "Check the marked cells, arrows, and line.", cell: "cell" },
ja: { title: "やじりん", help: "矢印の先にある黒マスの数を合わせます。黒マスは辺で隣り合えません。残りの空きマスを一つの輪にします。", line: "線", shade: "黒マス", undo: "戻す", hint: "ヒント", check: "確認", restart: "やり直す", won: "完成!", helped: "ヒントを使って完成。", good: "輪はまだ完成していません。続けましょう。", bad: "印のついたマス、矢印、線を確認してください。", cell: "マス" },
} as const
Members
| Name | Type | Description |
|---|---|---|
en | { readonly title: "Yajilin"; readonly help: "Shade the number of cells each arrow points to. Shaded cells cannot touch. Every other empty cell is part of one loop."; readonly line: "Line"; readonly shade: "Shade"; readonly undo: "Undo"; readonly hint: "Hint"; readonly check: "Check"; readonly restart: "Restart"; readonly won: "Solved!"; readonly helped: "Solved with help."; readonly good: "Keep going; the loop is not complete yet."; readonly bad: "Check the marked cells, arrows, and line."; readonly cell: "cell"; } | |
ja | { readonly title: "やじりん"; readonly help: "矢印の先にある黒マスの数を合わせます。黒マスは辺で隣り合えません。残りの空きマスを一つの輪にします。"; readonly line: "線"; readonly shade: "黒マス"; readonly undo: "戻す"; readonly hint: "ヒント"; readonly check: "確認"; readonly restart: "やり直す"; readonly won: "完成!"; readonly helped: "ヒントを使って完成。"; readonly good: "輪はまだ完成していません。続けましょう。"; readonly bad: "印のついたマス、矢印、線を確認してください。"; readonly cell: "マス"; } |
Examples
import { YAJILIN_STRINGS } from "@johnmorrisdotca/kazu/yajilin/play";
console.log(Object.keys(YAJILIN_STRINGS.en));[
'title', 'help',
'line', 'shade',
'undo', 'hint',
'check', 'restart',
'won', 'helped',
'good', 'bad',
'cell'
]What it prints (run when this page was built)