SUIDO_STRINGS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The native English and Japanese labels, announcements and interpolation templates.
インポート
import { SUIDO_STRINGS } from "@johnmorrisdotca/suido/play";
定義
const SUIDO_STRINGS: Record<SuidoLanguage, Record<string, string>>
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
en | Record<string, string> | |
ja | Record<string, string> |
例
import { SUIDO_STRINGS } from "@johnmorrisdotca/suido/play";
console.log(SUIDO_STRINGS);{
en: {
board: 'Suido board, {width} by {height}',
restart: 'Start over',
hint: 'Hint',
turningClockwise: 'Turning ↻ clockwise',
turningAnticlockwise: 'Turning ↺ anticlockwise',
progressNetwork: 'The water reaches {wet} of {of} pieces',
progressDrains: 'The water reaches {wet} of {of} drains',
progressPath: 'The water has run through {wet} pieces',
progressPathNone: 'The water has not left the inlet',
leaks: '{n} open ends',
leaksOne: '{n} open end',
leaksNone: 'no leaks',
solved: 'Solved in {n} turns. Every pipe is joined and nothing is left open.',
solvedOne: 'Solved in {n} turn. Every pipe is joined and nothing is left open.',
solvedDrains: 'Solved in {n} turns. The water reaches every drain and nothing is left open.',
solvedDrainsOne: 'Solved in {n} turn. The water reaches every drain and nothing is left open.',
solvedPath: 'Solved in {n} turns. The water runs from the inlet to the outlet in one path.',
solvedPathOne: 'Solved in {n} turn. The water runs from the inlet to the outlet in one path.',
solvedBefore: 'Solved before: the answer is shown. Start over to play it again.',
turns: '{n} turns',
turnsOne: '{n} turn',
par: 'par {n}',
hints: '{n} hints',
hintsOne: '{n} hint',
zoomLabel: 'Zoom the board',
zoomOut: 'Zoom out −',
zoomIn: 'Zoom in +',
zoomFit: 'Whole board',
hinted: 'Try turning the piece that is lit.',
noHint: 'Every piece the water needs already faces the right way.',
shapeBlank: 'bare ground',
shapeEnd: 'end',
shapeStraight: 'straight',
shapeElbow: 'elbow',
shapeTee: 'T piece',
shapeCross: 'cross',
cell: 'Row {row}, column {col}: {what}',
cellPump: 'pump',
cellDrain: 'drain',
cellLocked: 'locked',
cellBig: 'part of a big piece',
cellBlock: 'turns with its block',
cellWet: 'wet',
plain: 'Plain',
plainSays: 'One pump, and every piece of pipe must carry water.',
twistDrains: 'Drains',
twistDrainsSays: 'Reach every drain. Pieces the water does not need may stay dry, facing any way.',
twistPumps: 'Pumps',
twistPumpsSays: 'More than one pump, each feeding its own pipes.',
twistLocked: 'Locked pieces',
twistLockedSays: 'A piece with a padlock cannot be turned. It already faces the right way, so build from it.',
twistWalls: 'Walls',
twistWallsSays: 'Water cannot cross a wall: a pipe open towards one runs out.',
twistWrap: 'Edges join',
twistWrapSays: 'The edges of the board join: water leaving the right side comes in at the left, and the bottom at the top.',
twistInletOutlet: 'Inlet to outlet',
twistInletOutletSays: 'Water comes in at the top left and must leave at the bottom right, in one path with no branches. The other pieces are decoys and stay dry.',
twistBigPieces: 'Big pieces',
twistBigPiecesSays: 'A big piece fills four squares and has up to eight openings. One tap turns the whole piece a quarter, where it stands.',
twistBlockTurns: 'Block turns',
twistBlockTurnsSays: 'Where four pieces are ringed by a dashed line, a tap on the ring in the middle turns all four together: each moves round to the next place as it turns. They cannot be turned on their own.'
},
ja: {
board: '水道の盤、{width}×{height}',
restart: '最初から',
hint: 'ヒント',
turningClockwise: '右回り ↻ に回す',
turningAnticlockwise: '左回り ↺ に回す',
progressNetwork: '{of}個中{wet}個のパイプに水が届いています',
progressDrains: '{of}か所中{wet}か所の排水口に水が届いています',
progressPath: '水は{wet}個の駒を通りました',
progressPathNone: '水はまだ入口から出ていません',
leaks: '開いた端 {n}か所',
leaksNone: '漏れなし',
solved: '解けました。{n}回で、すべてのパイプがつながり、開いた端もありません。',
solvedDrains: '解けました。{n}回で、すべての排水口に水が届き、開いた端もありません。',
solvedPath: '解けました。{n}回で、水が入口から出口まで一本の道で流れます。',
solvedBefore: '解いたことがあるので、答えを出しています。もう一度遊ぶには「最初から」を押してください。',
turns: '{n}回',
par: '最短 {n}回',
hints: 'ヒント{n}回',
zoomLabel: '盤を拡大・縮小',
zoomOut: '縮小 −',
zoomIn: '拡大 +',
zoomFit: '全体',
hinted: '光っている駒を回してみましょう。',
noHint: '水が通る駒は、すべて正しい向きです。',
shapeBlank: '空き地',
shapeEnd: '行き止まり',
shapeStraight: '直線',
shapeElbow: '曲がり',
shapeTee: 'T字',
shapeCross: '十字',
cell: '{row}行{col}列:{what}',
cellPump: 'ポンプ',
cellDrain: '排水口',
cellLocked: '固定',
cellBig: '大きな駒の一部',
cellBlock: 'ブロックといっしょに回る',
cellWet: '水あり',
plain: 'ふつう',
plainSays: 'ポンプは1つ。すべてのパイプに水を通します。',
twistDrains: '排水口',
twistDrainsSays: 'すべての排水口に水を届けます。水がいらない駒は、乾いたままで、どの向きでもかまいません。',
twistPumps: 'ポンプ複数',
twistPumpsSays: 'ポンプが2つ以上あり、それぞれが自分のパイプに水を流します。',
twistLocked: '固定駒',
twistLockedSays: '鍵のついた駒は回せません。向きは最初から正しいので、ここから組み立てましょう。',
twistWalls: '壁',
twistWallsSays: '水は壁を通れません。壁に向かって開いたパイプからは水が漏れます。',
twistWrap: '端がつながる',
twistWrapSays: '盤の端がつながっています。右へ出た水は左から、下へ出た水は上から入ります。',
twistInletOutlet: '入口から出口へ',
twistInletOutletSays: '左上の入口から入った水を、右下の出口まで、枝分かれのない一本の道で通します。ほかの駒はおとりで、乾いたままです。',
twistBigPieces: '大きな駒',
twistBigPiecesSays: '大きな駒は4マスを使い、最大8か所に開口部があります。1回タップすると、その場で駒全体が4分の1回ります。',
twistBlockTurns: 'ブロック回転',
twistBlockTurnsSays: '点線で囲まれた4つの駒は、真ん中の輪をタップすると4つがいっしょに回り、それぞれが次の場所へ動きながら向きも変わります。1つだけ回すことはできません。'
}
}出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。