AKARI_STRINGSconstant
Native English and Japanese labels and announcements for Akari.
Import it
import { AKARI_STRINGS } from "@johnmorrisdotca/kazu/akari";
Also exported from: @johnmorrisdotca/kazu
Definition
const AKARI_STRINGS: { readonly en: { readonly title: "Akari"; readonly help: "Place bulbs on white squares. Each bulb lights along its row and column until a black square or the edge. Light every white square; bulbs cannot see one another. Numbered black squares touch exactly that many bulbs. Click, tap or press Enter or Space to toggle a bulb; arrows move; Delete removes it."; readonly undo: "Undo"; readonly hint: "Hint"; readonly check: "Check"; readonly restart: "Restart"; readonly expand: "Just the board"; readonly close: "Close"; readonly won: "Every square is lit. Solved!"; readonly helped: "Solved with help."; readonly checked: "No rule conflicts so far. Keep lighting the board."; readonly wrong: "Check the dark squares, bulb lines and numbered squares."; readonly hintWhy: "A bulb from the only proved solution was placed."; readonly noHint: "No proved hint is available."; readonly row: "Row"; readonly column: "column"; readonly white: "white square"; readonly bulb: "bulb"; readonly lit: "lit"; readonly dark: "dark"; readonly black: "black square"; readonly clue: "number"; }; readonly ja: { readonly title: "美術館"; readonly help: "白マスに電球を置きます。電球は黒マスか盤の端まで、縦横に光ります。白マスすべてを照らし、電球同士が見えないようにします。数字のある黒マスには、その数だけ電球を隣接させます。タップ、クリック、Enter、Spaceで電球を切り替えます。矢印キーで移動し、Deleteで消します。"; readonly undo: "戻す"; readonly hint: "ヒント"; readonly check: "確かめる"; readonly restart: "やり直す"; readonly expand: "盤だけ"; readonly close: "閉じる"; readonly won: "全部照らしました。完成!"; readonly helped: "ヒントを使って完成!"; readonly checked: "ここまでルールに合っています。残りも照らしましょう。"; readonly wrong: "暗いマス、電球の見通し、数字のマスを確かめましょう。"; readonly hintWhy: "唯一の解答で必要な電球を置きました。"; readonly noHint: "確かなヒントがありません。"; readonly row: "行"; readonly column: "列"; readonly white: "白マス"; readonly bulb: "電球"; readonly lit: "照明あり"; readonly dark: "暗い"; readonly black: "黒マス"; readonly clue: "数字"; }; }
Members
| Name | Type | Description |
|---|---|---|
en | { readonly title: "Akari"; readonly help: "Place bulbs on white squares. Each bulb lights along its row and column until a black square or the edge. Light every white square; bulbs cannot see one another. Numbered black squares touch exactly that many bulbs. Click, tap or press Enter or Space to toggle a bulb; arrows move; Delete removes it."; readonly undo: "Undo"; readonly hint: "Hint"; readonly check: "Check"; readonly restart: "Restart"; readonly expand: "Just the board"; readonly close: "Close"; readonly won: "Every square is lit. Solved!"; readonly helped: "Solved with help."; readonly checked: "No rule conflicts so far. Keep lighting the board."; readonly wrong: "Check the dark squares, bulb lines and numbered squares."; readonly hintWhy: "A bulb from the only proved solution was placed."; readonly noHint: "No proved hint is available."; readonly row: "Row"; readonly column: "column"; readonly white: "white square"; readonly bulb: "bulb"; readonly lit: "lit"; readonly dark: "dark"; readonly black: "black square"; readonly clue: "number"; } | |
ja | { readonly title: "美術館"; readonly help: "白マスに電球を置きます。電球は黒マスか盤の端まで、縦横に光ります。白マスすべてを照らし、電球同士が見えないようにします。数字のある黒マスには、その数だけ電球を隣接させます。タップ、クリック、Enter、Spaceで電球を切り替えます。矢印キーで移動し、Deleteで消します。"; readonly undo: "戻す"; readonly hint: "ヒント"; readonly check: "確かめる"; readonly restart: "やり直す"; readonly expand: "盤だけ"; readonly close: "閉じる"; readonly won: "全部照らしました。完成!"; readonly helped: "ヒントを使って完成!"; readonly checked: "ここまでルールに合っています。残りも照らしましょう。"; readonly wrong: "暗いマス、電球の見通し、数字のマスを確かめましょう。"; readonly hintWhy: "唯一の解答で必要な電球を置きました。"; readonly noHint: "確かなヒントがありません。"; readonly row: "行"; readonly column: "列"; readonly white: "白マス"; readonly bulb: "電球"; readonly lit: "照明あり"; readonly dark: "暗い"; readonly black: "黒マス"; readonly clue: "数字"; } |
Examples
import { AKARI_STRINGS } from "@johnmorrisdotca/kazu/akari";
console.log(Object.keys(AKARI_STRINGS.en));[
'title', 'help', 'undo',
'hint', 'check', 'restart',
'expand', 'close', 'won',
'helped', 'checked', 'wrong',
'hintWhy', 'noHint', 'row',
'column', 'white', 'bulb',
'lit', 'dark', 'black',
'clue'
]What it prints (run when this page was built)