RIPPLE_STRINGS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Native English and Japanese labels and announcements for Ripple.
インポート
import { RIPPLE_STRINGS } from "@johnmorrisdotca/kazu/ripple";
ほかのエクスポート元: @johnmorrisdotca/kazu/ripple/play, @johnmorrisdotca/kazu
定義
const RIPPLE_STRINGS: { readonly en: { readonly title: "Ripple Effect"; readonly help: "Fill each room with 1 through its size. Equal numbers in a row or column need at least that many cells between them."; readonly undo: "Undo"; readonly check: "Check"; readonly hint: "Hint"; readonly restart: "Restart"; readonly pencil: "Pencil"; readonly won: "Every room and ripple rule is correct."; readonly wrong: "Some entries break a room or ripple rule."; readonly checked: "Fill the rooms and check the spacing."; readonly noHint: "No single proved answer is available yet."; readonly hintWhy: "This value follows from the room and spacing rules."; readonly view: "Just the board"; readonly close: "Close"; readonly cell: "Row {row}, column {column}"; readonly clue: "clue {value}"; readonly empty: "empty"; readonly entry: "{value}"; readonly note: "notes {values}"; }; readonly ja: { readonly title: "波及効果"; readonly help: "部屋には1から部屋の大きさまでの数字を一つずつ入れます。同じ数字を同じ行・列に置くときは、その数字以上のマスを間に空けます。"; readonly undo: "戻す"; readonly check: "確認"; readonly hint: "ヒント"; readonly restart: "やり直す"; readonly pencil: "メモ"; readonly won: "部屋と間隔のルールをすべて満たしました。"; readonly wrong: "部屋か数字の間隔に誤りがあります。"; readonly checked: "部屋を埋めて間隔を確認してください。"; readonly noHint: "確定できるヒントはまだありません。"; readonly hintWhy: "部屋と間隔のルールから確定する数字です。"; readonly view: "盤だけ"; readonly close: "閉じる"; readonly cell: "{row}行{column}列"; readonly clue: "手がかり {value}"; readonly empty: "空き"; readonly entry: "{value}"; readonly note: "メモ {values}"; }; } = {
en: { title: "Ripple Effect", help: "Fill each room with 1 through its size. Equal numbers in a row or column need at least that many cells between them.", undo: "Undo", check: "Check", hint: "Hint", restart: "Restart", pencil: "Pencil", won: "Every room and ripple rule is correct.", wrong: "Some entries break a room or ripple rule.", checked: "Fill the rooms and check the spacing.", noHint: "No single proved answer is available yet.", hintWhy: "This value follows from the room and spacing rules.", view: "Just the board", close: "Close", cell: "Row {row}, column {column}", clue: "clue {value}", empty: "empty", entry: "{value}", note: "notes {values}" },
ja: { title: "波及効果", help: "部屋には1から部屋の大きさまでの数字を一つずつ入れます。同じ数字を同じ行・列に置くときは、その数字以上のマスを間に空けます。", undo: "戻す", check: "確認", hint: "ヒント", restart: "やり直す", pencil: "メモ", won: "部屋と間隔のルールをすべて満たしました。", wrong: "部屋か数字の間隔に誤りがあります。", checked: "部屋を埋めて間隔を確認してください。", noHint: "確定できるヒントはまだありません。", hintWhy: "部屋と間隔のルールから確定する数字です。", view: "盤だけ", close: "閉じる", cell: "{row}行{column}列", clue: "手がかり {value}", empty: "空き", entry: "{value}", note: "メモ {values}" },
} as const
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
en | { readonly title: "Ripple Effect"; readonly help: "Fill each room with 1 through its size. Equal numbers in a row or column need at least that many cells between them."; readonly undo: "Undo"; readonly check: "Check"; readonly hint: "Hint"; readonly restart: "Restart"; readonly pencil: "Pencil"; readonly won: "Every room and ripple rule is correct."; readonly wrong: "Some entries break a room or ripple rule."; readonly checked: "Fill the rooms and check the spacing."; readonly noHint: "No single proved answer is available yet."; readonly hintWhy: "This value follows from the room and spacing rules."; readonly view: "Just the board"; readonly close: "Close"; readonly cell: "Row {row}, column {column}"; readonly clue: "clue {value}"; readonly empty: "empty"; readonly entry: "{value}"; readonly note: "notes {values}"; } | |
ja | { readonly title: "波及効果"; readonly help: "部屋には1から部屋の大きさまでの数字を一つずつ入れます。同じ数字を同じ行・列に置くときは、その数字以上のマスを間に空けます。"; readonly undo: "戻す"; readonly check: "確認"; readonly hint: "ヒント"; readonly restart: "やり直す"; readonly pencil: "メモ"; readonly won: "部屋と間隔のルールをすべて満たしました。"; readonly wrong: "部屋か数字の間隔に誤りがあります。"; readonly checked: "部屋を埋めて間隔を確認してください。"; readonly noHint: "確定できるヒントはまだありません。"; readonly hintWhy: "部屋と間隔のルールから確定する数字です。"; readonly view: "盤だけ"; readonly close: "閉じる"; readonly cell: "{row}行{column}列"; readonly clue: "手がかり {value}"; readonly empty: "空き"; readonly entry: "{value}"; readonly note: "メモ {values}"; } |
例
import { RIPPLE_STRINGS } from "@johnmorrisdotca/kazu/ripple";
console.log(Object.keys(RIPPLE_STRINGS.en));[
'title', 'help', 'undo',
'check', 'hint', 'restart',
'pencil', 'won', 'wrong',
'checked', 'noHint', 'hintWhy',
'view', 'close', 'cell',
'clue', 'empty', 'entry',
'note'
]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。