mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-27 08:13:28 +08:00
fix: use hebrew quotes
also making sure that these are interchangable with other quote characters
This commit is contained in:
parent
ba3c728a0d
commit
cb6d61e1ca
2 changed files with 8 additions and 3 deletions
|
@ -398,11 +398,16 @@ function isCharCorrect(char: string, charIndex: number): boolean {
|
|||
}
|
||||
|
||||
if (
|
||||
(char === "’" || char === "‘" || char === "'" || char === "ʼ") &&
|
||||
(char === "’" ||
|
||||
char === "‘" ||
|
||||
char === "'" ||
|
||||
char === "ʼ" ||
|
||||
char === "׳") &&
|
||||
(originalChar === "’" ||
|
||||
originalChar === "‘" ||
|
||||
originalChar === "'" ||
|
||||
originalChar === "ʼ")
|
||||
originalChar === "ʼ" ||
|
||||
originalChar === "׳")
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
"id": 13
|
||||
},
|
||||
{
|
||||
"text": "זו שסיימה בית ספר יתר על המידה, שהוציאה את כל השפה על נסיונות. תחת חלון על השלחן מנחת תעודה: 'עברה את כשלונותיה'.",
|
||||
"text": "׳זו שסיימה בית ספר יתר על המידה, שהוציאה את כל השפה על נסיונות. תחת חלון על השלחן מנחת תעודה: ׳עברה את כשלונותיה.",
|
||||
"source": "נורית זרחי",
|
||||
"length": 113,
|
||||
"id": 14
|
||||
|
|
Loading…
Reference in a new issue