Skip to content

Commit 199c8aa

Browse files
committed
i18n: More translations!
1 parent ad1516f commit 199c8aa

25 files changed

Lines changed: 793 additions & 193 deletions

File tree

src/i18n/languages/english.ts

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export default {
4444
STASH: 'Stash',
4545
UNSTASH: 'Unstash',
4646
WATCH: 'Watch',
47+
DISCARD: 'Discard',
4748
},
4849
SIGNUPS_OPEN: '{{game}} signups are open!',
4950
SIGNUPS_CLOSED: '{{game}} signups closed.',
@@ -109,13 +110,38 @@ export default {
109110
PRIVATE: "Psst it's your turn to play in {{game}} [{{id}}]",
110111
PUBLIC: "{{user}} hasn't played in {{game}} [{{id}}] for {{time}}...",
111112
},
113+
NO_DMS: "Can't create a game in DMs!",
114+
NOTIFY_CREATED: '/notifyrank all, {{game}}, A game of {{game}} has been created!,{{id}}signup',
115+
PLAYER_JOINED: '{{player}} joined the game of {{game}}{{turn}}{{random}}! [{{id}}]',
116+
FORCEWIN_SPECIFY_ID: 'You must specify the game ID for forcewin!',
117+
SCRABBLEDEX_NO_ENTRIES: 'No entries yet!',
118+
UGO_NOT_ACTIVE: "UGO isn't active!",
112119

120+
BATTLESHIP: {
121+
ALREADY_SET: "You've already set your ships!",
122+
SET_FIRST: 'Set your ships first!',
123+
INVALID_RANGE: 'Invalid range given.',
124+
NOT_IN_LINE: 'Cannot place {{ship}} between given points {{from}} and {{to}} (not in line)',
125+
WRONG_SIZE: '{{ship}} has size {{size}} but you put it in {{given}} cells!',
126+
OUT_OF_RANGE: 'Points given for {{ship}} out of range!',
127+
OVERLAP: '{{point}} would be occupied by both {{ship1}} and {{ship2}}',
128+
WAITING_FOR_OPPONENT: 'Waiting for opponent to set their ships...',
129+
SET_YOUR_SHIPS: 'Set your ships!',
130+
},
113131
LIGHTS_OUT: {
114132
INVALID_SIZE: 'Lights Out may only be from 2x2 to 15x15.',
133+
SOLVE_MESSAGE: '{{player}} solved this board in {{clicks}} moves! (My solution was {{genClicks}} moves)',
115134
},
116135
MASTERMIND: {
117136
ENDED: 'The game of Mastermind was ended for {{player}}.',
118137
FAILED: '{{player}} was unable to guess {{solution}} in {{cap}} guesses.',
138+
WIN_MESSAGE: '{{player}} guessed {{solution}} in {{turns}} turn!',
139+
WIN_MESSAGE_PLURAL: '{{player}} guessed {{solution}} in {{turns}} turns!',
140+
},
141+
SNAKESLADDERS: {
142+
PLAYER_NOT_FOUND: 'Could not find old player.',
143+
ROLL_TOO_HIGH: 'You rolled a {{dice}}, but needed a {{needed}} or lower...',
144+
ROLL_TOO_HIGH_EXACT: 'You rolled a {{dice}}, but needed exactly a {{needed}}...',
119145
},
120146
SCRABBLE: {
121147
NO_SELECTED: 'You must select a cell to play from first. Please use the buttons!',
@@ -133,6 +159,48 @@ export default {
133159
VALID_WORD: '{{word}} is a valid word in {{mod}}.',
134160
HOW_TO_BLANK:
135161
"Hi, you've drawn a blank tile! A blank tile can be used as any letter, but the tile awards 0 points. You can type `BL[A]NK` (for example) to use the blank as an A. Other syntaxes supported are `BL(A)NK`, or adding an apostrophe after the blanked letter (eg: `BLA'NK`).",
162+
UGO_MODS_ONLY: 'The only mods allowed during UGO are Pokémon and Crazymons!',
163+
AUTO_MOD_APPLIED: 'Game {{id}} had {{mod}} applied automatically!',
164+
},
165+
SPLENDOR: {
166+
LABELS: {
167+
BUY: 'Buy!',
168+
RESERVE: 'Reserve!',
169+
BUY_CARD: 'Buy {{card}}!',
170+
},
171+
INVALID_CARD: '{{card}} is not a valid card.',
172+
CARD_NOT_ACCESSIBLE: 'Cannot access {{card}} for the desired action.',
173+
DISCARD_TOKENS_REQUIRED: 'You need to discard tokens!',
174+
CARD_NOT_AVAILABLE_RESERVE: '{{card}} is not available to reserve.',
175+
CARD_NOT_AVAILABLE_BUY: '{{card}} is not available to buy.',
176+
CANNOT_BUY_OR_RESERVE: 'You can neither buy nor reserve {{card}}.',
177+
WHICH_TIER: 'Which tier did you click on?',
178+
DECK_EMPTY: 'The deck for tier {{tier}} cards is empty!',
179+
RESERVE_LIMIT: 'You cannot reserve more than 3 cards at a time.',
180+
NO_DISCARD_NEEDED: "You don't need to discard any tokens yet.",
181+
DISCARD_MORE: "You must discard at least {{required}} tokens! {{discarding}} isn't enough.",
182+
CANNOT_DISCARD: "Unfortunately it doesn't look like you have those to discard.",
183+
INSUFFICIENT_TOKENS: 'The given tokens are insufficient to purchase {{card}}!',
184+
OVERPAYING: "You're overpaying!",
185+
CANNOT_RESERVE:
186+
'You cannot reserve a card. You may only reserve a card if a Dragon token is available AND you have less than three cards currently reserved.',
187+
NO_DRAGON_RECEIVED: 'You reserved a card, but there were no Dragon tokens left to receive.',
188+
NOT_RESERVED: 'You have not reserved {{card}}!',
189+
UNRECOGNIZED_ACTION: 'Unrecognized action {{action}} ({{context}})',
190+
INVALID_COUNT: '{{value}} is not a valid count.',
191+
UNRECOGNIZED_TYPE: '{{type}} is not a recognized type.',
192+
DRAGON_NOT_ALLOWED: "Dragon isn't allowed as a valid token here.",
193+
DRAGON_ONLY_BY_RESERVE: 'You may only obtain Dragon tokens by reserving cards!',
194+
TOO_MANY_TOKENS_TAKEN: 'Tried to take more tokens than available!{{info}}',
195+
TOO_MANY_TOKENS: "You can't take that many tokens!",
196+
TAKE_AT_LEAST_TWO: 'You must take at least 2 tokens!',
197+
TAKE_THREE_TYPES: 'You should probably be taking one token of three different types...',
198+
TAKE_RULES: 'You can only take 2 from 1 type, or 1 each from 3 types!',
199+
TAKE_EXACTLY_TWO: 'When taking from one stack you can only take exactly 2.',
200+
STACK_TOO_SMALL: 'You can only take 2 tokens if the stack has 4 or more. {{name}} only had {{available}}.',
201+
ONE_EACH_TYPE: 'You can only take 1 token from each of the 3 types!{{info}}',
202+
TOO_MANY_TOKENS_MESSAGE:
203+
'You have too many tokens! The maximum you can have at a time is {{max}}; please discard at least {{discard}}.',
136204
},
137205
},
138206

@@ -168,13 +236,83 @@ export default {
168236
HEADERS: {
169237
USER: 'User',
170238
},
239+
SPECIFY_TYPE: 'Specify a points type!',
240+
TYPE_NOT_FOUND: "Couldn't find a points type matching {{type}}.",
241+
HOW_MANY: 'How many points? {{values}}',
242+
SOMETHING_WRONG: 'Something went wrong...',
243+
NONCE_NOT_PROVIDED: 'Nonce not provided.',
244+
NONCE_ALREADY_USED: 'Already added points for {{nonce}}!',
245+
NONCE_INVALID: 'Invalid nonce {{nonce}}.',
246+
ADDED: 'Added points!',
247+
LB_RESET: 'Leaderboard has been reset!',
248+
TYPE_RESET: "Reset all users' {{type}} to 0.",
249+
},
250+
251+
JOINPHRASES: {
252+
EMPTY: 'A joinphrase cannot be empty!',
253+
TOO_LONG: 'A joinphrase cannot be longer than {{max}} characters!',
254+
NO_COMMANDS: 'A joinphrase cannot start with a command!',
255+
NO_ROOM: 'No room provided!',
256+
NOT_ENABLED: 'Joinphrases are not enabled for this room.',
257+
ALREADY_EXISTS: '{{user}} already has a joinphrase in {{room}}...',
258+
ADDED: 'Joinphrase added!',
259+
NOT_FOUND: '{{user}} does not have a joinphrase in {{room}}...',
260+
DELETED: 'Joinphrase deleted.',
261+
EDITED: 'Joinphrase edited.',
171262
},
172263

173264
QUOTES: {
265+
TOO_LONG: 'Quote is too long.',
266+
PROVIDE_SEARCH: 'Please provide a search term.',
267+
INVALID_PAGE: 'Invalid page number.',
268+
COUNT_SINGULAR: 'There is {{count}} quote in this room.',
269+
COUNT_PLURAL: 'There are {{count}} quotes in this room.',
270+
PROVIDE_INDEX_OR_TERM: 'Please provide an index or search term.',
271+
INVALID_INDEX: 'Invalid quote index.',
272+
NO_MATCH: 'No quote found matching that term.',
273+
MULTIPLE_MATCHES: 'Multiple quotes found matching that term.',
274+
DELETED: 'Quote deleted.',
275+
PROVIDE_ROOM_COMMAND: 'Please provide a room and command.',
276+
ROOM_PREF_SET: 'Quote room preference set to {{room}}.',
277+
SPECIFY_ROOM_COMMAND: 'Please specify a room and a command.',
174278
NO_QUOTES_FOUND: 'No quotes found.',
175279
NO_QUOTES_FOUND_MATCHING: 'No quotes found matching "{{search}}".',
176280
},
177281

282+
MODNOTE: {
283+
NO_COMMON_ROOMS: "We don't have any common rooms where you're staff...",
284+
},
285+
286+
FILTER: {
287+
INVALID_REGEX: 'Invalid regular expression. Try https://regex101.com for help.',
288+
},
289+
290+
KUNC: {
291+
IN_PROGRESS: 'Kunc in progress! Finish it first or end with ``{{prefix}}kunc end``',
292+
INVALID_TIME: 'Set a reasonable time please (5s - 1min)',
293+
CORRECT_GUESSERS: '{{guessers}} guessed correctly! Solution: {{solution}}.',
294+
NO_GUESSERS: 'No one guessed {{solution}} in time...',
295+
},
296+
297+
AUTH: {
298+
WHO_TO_PROMOTE: 'Who do you want to promote?',
299+
CANNOT_CHANGE_RANK: 'Cannot change rank for {{users}}.',
300+
USE_DEAUTH: 'Please try using deauth instead.',
301+
WHO_TO_DEMOTE: 'Who do you want to demote?',
302+
CANNOT_DEMOTE: 'Cannot demote {{users}}.',
303+
},
304+
305+
NONCE: {
306+
UNAVAILABLE: 'This command is unavailable (you were possibly sniped!)',
307+
DONE: 'Done!',
308+
},
309+
310+
HUNDOS: {
311+
CP_INFO: '{{name}} can have a CP of {{baseCP}}{{extraCP}}, and {{shinyStatus}} be shiny.',
312+
CAN: 'can',
313+
CANNOT: 'cannot',
314+
},
315+
178316
TIMER: {
179317
NONE_RUNNING: "You don't have a timer running!",
180318
ENDS_IN: 'Your timer will end in {{timeLeft}}{{comment}}.',

0 commit comments

Comments
 (0)