diff --git a/src/js/test/test-logic.js b/src/js/test/test-logic.js index d450d16ae..c014ea7aa 100644 --- a/src/js/test/test-logic.js +++ b/src/js/test/test-logic.js @@ -641,8 +641,20 @@ export function restart(withSameWordset = false, nosave = false, event) { let testSeconds = TestStats.calculateTestSeconds(performance.now()); let afkseconds = TestStats.calculateAfkSeconds(); // incompleteTestSeconds += ; - TestStats.incrementIncompleteSeconds(testSeconds - afkseconds); + let tt = testSeconds - afkseconds; + console.log( + `increasing incomplete time by ${tt}s (${testSeconds}s - ${afkseconds}s afk)` + ); + TestStats.incrementIncompleteSeconds(tt); TestStats.incrementRestartCount(); + if (tt > 600) { + Notifications.add( + `Your time typing just increased by ${Misc.roundTo2( + tt / 60 + )} minutes. If you think this is incorrect please contact Miodec and dont refresh the website.`, + -1 + ); + } // restartCount++; } diff --git a/static/languages/english_25k.json b/static/languages/english_25k.json index 8c0b2f76a..32aadbdac 100644 --- a/static/languages/english_25k.json +++ b/static/languages/english_25k.json @@ -8599,7 +8599,6 @@ "cashed", "kama", "rumba", - "niggers", "satyr", "wineglass", "keynes", diff --git a/static/languages/lithuanian_3k.json b/static/languages/lithuanian_3k.json index 10286cddd..c667e73ee 100644 --- a/static/languages/lithuanian_3k.json +++ b/static/languages/lithuanian_3k.json @@ -2266,7 +2266,7 @@ "paskaita", "pavaizduoti", "plunksna", - "profesonalus", + "profesionalus", "reguliavimas", "spaudimas", "stebuklas", @@ -2589,7 +2589,7 @@ "vertybinis", "absoliučiai", "aprašymas", - "abribojimas", + "apribojimas", "atstumas", "cukrus", "delnas", @@ -3008,4 +3008,4 @@ "demokratinis", "dėžutė" ] -} \ No newline at end of file +} diff --git a/static/privacy-policy.html b/static/privacy-policy.html index 1da6757fb..1246c5103 100644 --- a/static/privacy-policy.html +++ b/static/privacy-policy.html @@ -56,19 +56,15 @@ } @@ -236,8 +232,9 @@
There are a number of different types of cookies, however, our website - uses functionality cookies. Monkeytype uses these cookies so we recognize - you on our website and remember your previously selected settings. + uses functionality cookies. Monkeytype uses these cookies so we + recognize you on our website and remember your previously selected + settings.
@@ -301,4 +298,3 @@