mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-09 23:25:53 +08:00
* Updates punctuateWord function to not capitalize the first letter of sentences in the Georgian language * Reverts to old package-lock.json file
This commit is contained in:
parent
0ae5d2bd4c
commit
e89570ff2c
1 changed files with 2 additions and 1 deletions
|
@ -113,9 +113,10 @@ export async function punctuateWord(
|
|||
} else {
|
||||
if (
|
||||
currentLanguage != "code" &&
|
||||
currentLanguage != "georgian" &&
|
||||
(index == 0 || shouldCapitalize(lastChar))
|
||||
) {
|
||||
//always capitalise the first word or if there was a dot unless using a code alphabet
|
||||
//always capitalise the first word or if there was a dot unless using a code alphabet or the Georgian language
|
||||
|
||||
word = Misc.capitalizeFirstLetterOfEachWord(word);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue