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:
ArijanJ 2023-04-18 12:36:39 +02:00 committed by GitHub
parent 97ff3ff9c6
commit 03fb7adf6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10153 additions and 2 deletions

View file

@ -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,

View file

@ -27,6 +27,7 @@ declare namespace MonkeyTypes {
words: string[];
accents: Accents;
bcp47?: string;
originalPunctuation?: boolean;
}
type WordsModes = number;

View file

@ -414,7 +414,8 @@
"lojban_cmavo",
"pig_latin",
"twitch_emotes",
"git"
"git",
"typing_of_the_dead"
]
},
{

View file

@ -226,6 +226,7 @@
,"oromo_5k"
,"wordle"
,"wordle_1k"
,"typing_of_the_dead"
,"yiddish"
,"code_python"
,"code_python_1k"

File diff suppressed because it is too large Load diff