mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 15:26:15 +08:00
Add Typing of the Dead language (#4191) ArijanJ
* Add Typing of the Dead language * removed some phrases * added original punctuation property this will use the punctuation from the list file instead of generating it on the fly --------- Co-authored-by: Miodec <jack@monkeytype.com>
This commit is contained in:
parent
97ff3ff9c6
commit
03fb7adf6e
|
@ -797,7 +797,7 @@ async function getNextWord(
|
|||
randomWord = getFunboxWord(randomWord, wordIndex, wordset);
|
||||
randomWord = await applyBritishEnglishToWord(randomWord);
|
||||
|
||||
if (Config.punctuation) {
|
||||
if (Config.punctuation && !language.originalPunctuation === true) {
|
||||
randomWord = await punctuateWord(
|
||||
TestWords.words.get(TestWords.words.length - 1),
|
||||
randomWord,
|
||||
|
|
1
frontend/src/ts/types/types.d.ts
vendored
1
frontend/src/ts/types/types.d.ts
vendored
|
@ -27,6 +27,7 @@ declare namespace MonkeyTypes {
|
|||
words: string[];
|
||||
accents: Accents;
|
||||
bcp47?: string;
|
||||
originalPunctuation?: boolean;
|
||||
}
|
||||
|
||||
type WordsModes = number;
|
||||
|
|
|
@ -414,7 +414,8 @@
|
|||
"lojban_cmavo",
|
||||
"pig_latin",
|
||||
"twitch_emotes",
|
||||
"git"
|
||||
"git",
|
||||
"typing_of_the_dead"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -226,6 +226,7 @@
|
|||
,"oromo_5k"
|
||||
,"wordle"
|
||||
,"wordle_1k"
|
||||
,"typing_of_the_dead"
|
||||
,"yiddish"
|
||||
,"code_python"
|
||||
,"code_python_1k"
|
||||
|
|
10148
frontend/static/languages/typing_of_the_dead.json
Normal file
10148
frontend/static/languages/typing_of_the_dead.json
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue