From 2ce835700918dba61f61083ad4973cfe34c04336 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Mon, 3 Apr 2023 17:43:50 -0700 Subject: [PATCH] codespell: Fix newly found typos. Signed-off-by: Anders Kaseorg --- .codespellignore | 4 ++++ web/src/message_list_view.js | 2 +- web/styles/portico/portico_signin.css | 2 +- zerver/openapi/zulip.yaml | 2 +- zerver/tests/test_signup.py | 4 ++-- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.codespellignore b/.codespellignore index 953b271567..01a9944351 100644 --- a/.codespellignore +++ b/.codespellignore @@ -21,3 +21,7 @@ vise falsy ro derails +forin +uper +slac +couldn diff --git a/web/src/message_list_view.js b/web/src/message_list_view.js index 8d8425777b..72e694213f 100644 --- a/web/src/message_list_view.js +++ b/web/src/message_list_view.js @@ -221,7 +221,7 @@ export class MessageListView { // These three data structures keep track of groups of messages in the DOM. // // The message_groups are blocks of messages rendered into the - // DOM that will share a common recipent bar heading. + // DOM that will share a common recipient bar heading. // // A message_container an object containing a Message object // plus additional computed metadata needed for rendering it diff --git a/web/styles/portico/portico_signin.css b/web/styles/portico/portico_signin.css index cecb057a3d..e41548e908 100644 --- a/web/styles/portico/portico_signin.css +++ b/web/styles/portico/portico_signin.css @@ -817,7 +817,7 @@ button.login-social-button { width: 328px; height: auto; /* Using 44px gives us more space between text and icon so that they don't overlap. */ - /* Tested in Russian laguange which has the maximum text. */ + /* Tested in Russian language which has the maximum text. */ padding-left: 44px; line-height: 1; diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml index 3a922265d3..fc45f3e3d9 100644 --- a/zerver/openapi/zulip.yaml +++ b/zerver/openapi/zulip.yaml @@ -10343,7 +10343,7 @@ paths: the time interval the client should use for sending presence requests to the server (and thus receive presence updates from the server). - It is important for presence implementatios to use both this and + It is important for presence implementations to use both this and `server_presence_offline_threshold_seconds` correctly, so that a Zulip server can change these values to manage the trade-off between load and freshness of presence data. diff --git a/zerver/tests/test_signup.py b/zerver/tests/test_signup.py index 22eb069271..782fcb070d 100644 --- a/zerver/tests/test_signup.py +++ b/zerver/tests/test_signup.py @@ -4166,8 +4166,8 @@ class MobileAuthOTPTest(ZulipTestCase): result = otp_encrypt_api_key(api_key, otp) self.assertEqual(result, "4ad1e9f7" * 8) - decryped = otp_decrypt_api_key(result, otp) - self.assertEqual(decryped, api_key) + decrypted = otp_decrypt_api_key(result, otp) + self.assertEqual(decrypted, api_key) class FollowupEmailTest(ZulipTestCase):