/** English (en) messages for the Wordle client. */ export const en = { /** Keyboard layout — three rows of letter keys. Nav keys are in navRow. */ keyboardRows: [ ['q', 'w', 'e', 'r', 't', 'y', 'u', 'i', 'o', 'p'], ['a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l'], ['z', 'x', 'c', 'v', 'b', 'n', 'm'], ], /** Navigation row: Enter, Left, Right, Backspace */ navRow: ['Enter', 'ArrowLeft', 'ArrowRight', 'Backspace'], /** Backspace key display label */ backspaceLabel: '⌫', /** Arrow key display labels */ arrowLeftLabel: '←', arrowRightLabel: '→', title: 'Wordle', /** Screen 1 — Rules */ rules: { heading: 'How to Play', bullets: [ 'Guess the 5-letter word in 6 attempts.', 'After each guess, letters light up with colors:', ], greenDesc: 'Green — correct letter, correct position', yellowDesc: 'Yellow — letter in word, wrong position', grayDesc: 'Gray — letter not in word', playButton: 'Play', }, /** Screen 2 — Game */ game: { hint: 'Type a 5-letter word and press Enter', hintLabel: 'Hint', unknownWord: 'Unknown word', }, /** Screen 3 — Results */ results: { congratulations: 'Congratulations!', betterLuck: 'Better luck next time', solvedIn: (n: number) => `Solved in ${n} ${n === 1 ? 'attempt' : 'attempts'}`, theWordWas: (w: string) => `The word was: ${w.toUpperCase()}`, statistics: 'Statistics', played: 'Played', winRate: 'Win Rate', streak: 'Streak', maxStreak: 'Max Streak', noGames: 'No games yet.', solverCaption: 'How the solvers cracked this word:', playAgain: 'Play Again', }, /** Shared labels */ keyEnter: 'Enter', keyBackspace: 'Backspace', keyArrowLeft: 'ArrowLeft', keyArrowRight: 'ArrowRight', };