KumimojiStringstype
Every word the table shows, by name: one table of these for each language.
Import it
import type { KumimojiStrings } from "@johnmorrisdotca/kumimoji/ui";
Also exported from: @johnmorrisdotca/kumimoji
Definition
type KumimojiStrings = {
[Name in keyof typeof EN]: string;
};
Members
| Name | Type | Description |
|---|---|---|
dealing | string | |
loadError | string | |
leftOne | string | |
left | string | |
finished | string | |
tableLabel | string | |
tableKeys | string | |
handLabel | string | |
emptySquare | string | |
wildTile | string | |
wildBlank | string | |
notWords | string | |
apart | string | |
noTiles | string | |
giveWild | string | |
changeWild | string | |
draw | string | |
trade | string | |
sort | string | |
liftAll | string | |
newGame | string | |
keep | string | |
saveJson | string | |
saveText | string | |
load | string | |
loaded | string | |
loadBad | string | |
textTitle | string | |
textEmpty | string | |
textHand | string | |
textHandEmpty | string | |
textLeft | string | |
textTime | string | |
textFinished | string | |
english | string | |
japanese | string |
Examples
import type { KumimojiStrings } from "@johnmorrisdotca/kumimoji/ui";
import { kumimojiStrings } from "@johnmorrisdotca/kumimoji/ui";
const value: KumimojiStrings = kumimojiStrings("ja");
console.log(value);{
dealing: '配っています…',
loadError: '単語の一覧を読み込めませんでした。もう一度お試しください。',
leftOne: '袋の残り1枚 · {time}',
left: '袋の残り{n}枚 · {time}',
finished: '{time}で完成しました。すべてのタイルを置き、どの並びも単語になっています。',
tableLabel: 'テーブル',
tableKeys: '矢印キーでマスを移動し、Enterキーかスペースキーでタップします。Escapeキーで、選んだタイルの選択を解除します。',
handLabel: '手札',
emptySquare: '空きマス',
wildTile: '{tile}(ワイルド)',
wildBlank: 'ワイルド(文字は未定)',
notWords: '単語ではありません: {words}',
apart: 'すべてのタイルを1つのクロスワードにつなげてください。',
noTiles: '手札にタイルはありません',
giveWild: 'ワイルドの文字を選んでください:',
changeWild: 'ワイルドの文字を変える:',
draw: '1枚引く',
trade: '1枚を3枚と交換',
sort: '並べ替え',
liftAll: 'すべて手札に戻す',
newGame: '新しいゲーム',
keep: '保存と読み込み',
saveJson: 'JSONで保存',
saveText: 'テキストで保存',
load: 'ゲームを読み込む',
loaded: 'ゲームを読み込みました。',
loadBad: 'このファイルは、開くことのできる組み文字のゲームではありません。',
textTitle: '組み文字: {language}、手札{hand}枚、シード {seed}',
textEmpty: '(テーブルにタイルはありません)',
textHand: '手札: {tiles}',
textHandEmpty: '手札: なし',
textLeft: '袋の残り: {n}枚',
textTime: '時間: {time}',
textFinished: '完成: すべてのタイルを置き、どの並びも単語になっています。',
english: '英語',
japanese: '日本語'
}What it prints (run when this page was built)