mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-26 16:57:07 +08:00
fixed double : and ; in french
This commit is contained in:
parent
4dd2ada0d1
commit
a2ff129ad1
1 changed files with 2 additions and 4 deletions
|
|
@ -328,8 +328,7 @@ export function punctuateWord(previousWord, currentWord, index, maxindex) {
|
|||
} else if (Math.random() < 0.013) {
|
||||
if (currentLanguage == "french") {
|
||||
word = ":";
|
||||
}
|
||||
if (currentLanguage == "greek") {
|
||||
} else if (currentLanguage == "greek") {
|
||||
word = "·";
|
||||
} else {
|
||||
word += ":";
|
||||
|
|
@ -349,8 +348,7 @@ export function punctuateWord(previousWord, currentWord, index, maxindex) {
|
|||
) {
|
||||
if (currentLanguage == "french") {
|
||||
word = ";";
|
||||
}
|
||||
if (currentLanguage == "greek") {
|
||||
} else if (currentLanguage == "greek") {
|
||||
word = "·";
|
||||
} else {
|
||||
word += ";";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue