HITOTSU_STRINGS_JA定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The table's words in Japanese. Not yet reviewed by a native reader: a "Fix a translation" issue, naming the string, is welcome.
インポート
import { HITOTSU_STRINGS_JA } from "@johnmorrisdotca/hitotsu";
定義
const HITOTSU_STRINGS_JA: Required<HitotsuStrings> = {
embedError: "テーブルを表示できません。設定を確認してください。",
you: "あなた",
computer: (n) => `コンピューター${n}`,
yourTurn: "あなたの番",
toPlay: (who) => `${who}の番`,
follow: (colour) => `${colour}、同じ数字か記号、またはワイルドを出します。`,
facing: (who, count) => `${who}は${count}枚引くか、ドローカードを重ねます。`,
drew: (who) => `${who}が引きました。そのカードを出すか、持っておきます。`,
challengeOpen: (who, by) => `${who}は${by}のワイルドドローフォーに挑戦するか、引きます。`,
cards: (count) => `${count}枚`,
points: (count) => `${count}点`,
draw: "引く",
keep: "持っておく",
take: (count) => `${count}枚引く`,
challenge: "挑戦",
call: "ヒトツ!と言う",
called: "ヒトツ!と言いました",
pickColour: "色を選ぶ",
swapWith: (who) => `${who}と手札を交換`,
jumpIn: "割り込み!",
won: (who) => `${who}の勝ち。`,
again: "もう一度",
stock: (count) => `山札あと${count}枚`,
inPlay: "場のカード",
colour: { R: "赤", Y: "黄", G: "緑", B: "青" },
news: {
caught: (who) => `${who}は「ヒトツ!」と言い忘れました。2枚引きます。`,
took: (who, count) => `${who}は${count}枚引きました。`,
challenge: (who, by, guilty) => (guilty ? `${who}が${by}に挑戦しました。${by}はその色を持っていました。` : `${who}が${by}に挑戦しました。${by}はその色を持っていませんでした。`),
swap: (who, other) => `${who}は${other}と手札を交換しました。`,
rotate: "全員の手札が回りました。",
jump: (who) => `${who}が割り込みました!`,
skipped: (who) => `${who}は飛ばされます。`,
reversed: "順番が逆になります。",
drew: (who, count) => `${who}が${count}枚引きました。`,
},
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
embedError | string | Shown when a local embed cannot mount with its settings. |
you | string | |
computer | (n: number) => string | |
yourTurn | string | |
toPlay | (who: string) => string | |
follow | (colour: string) => string | |
facing | (who: string, count: number) => string | |
drew | (who: string) => string | |
challengeOpen | (who: string, by: string) => string | |
cards | (count: number) => string | |
points | (count: number) => string | |
draw | string | |
keep | string | |
take | (count: number) => string | |
challenge | string | |
call | string | |
called | string | |
pickColour | string | |
swapWith | (who: string) => string | |
jumpIn | string | |
won | (who: string) => string | |
again | string | |
stock | (count: number) => string | |
inPlay | string | The label under the card in play, matching the one under the draw pile so the two sit level. "In play" when left out. |
colour | Record<"R" | "Y" | "G" | "B", string> | |
news | { caught: (who: string) => string; took: (who: string, count: number) => string; challenge: (who: string, by: string, guilty: boolean) => string; swap: (who: string, other: string) => string; rotate: string; jump: (who: string) => string; skipped: (who: string, you: boolean) => string; reversed: string; drew: (who: string, count: number) => string; } |
例
import { HITOTSU_STRINGS_JA } from "@johnmorrisdotca/hitotsu";
console.log(HITOTSU_STRINGS_JA.you);あなた出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。