Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

typos: Fix typos caught by typos and mwic.

Anders Kaseorg4e04eed745d9
diff --git a/api_docs/changelog.md b/api_docs/changelog.md
index 6c0c9fd68cb..896665bc34b 100644
--- a/api_docs/changelog.md
+++ b/api_docs/changelog.md
@@ -114,7 +114,7 @@ format used by the Zulip server that they are interacting with.
`POST /zulip-services/verify/{access_token}/`: Added new API
endpoints for transferring Zulip services registrations.
* `POST /remotes/server/register`: Added new response format for
- hostnames that are already registere.
+ hostnames that are already registered.
**Feature level 344**
@@ -191,7 +191,7 @@ deactivated groups.
* `POST /calls/bigbluebutton/create`: Added a `voice_only` parameter
controlling whether the call should be voice-only, in which case we
keep cameras disabled for this call. Now the call creator is a
- moderator and all other joinees are viewers.
+ moderator and all other joiners are viewers.
**Feature level 336**
diff --git a/api_docs/message-formatting.md b/api_docs/message-formatting.md
index bbafbd9fd68..91ff3af6044 100644
--- a/api_docs/message-formatting.md
+++ b/api_docs/message-formatting.md
@@ -248,7 +248,7 @@ user(s) following the conversation, [depending on their
settings](/help/follow-a-topic#follow-topics-where-you-are-mentioned).
Silent mentions of users or groups have none of those side effects,
-but nonetheless uniquently identify the user or group
+but nonetheless uniquely identify the user or group
identified. (There's no such thing as a silent wildcard mention).
Permissions for mentioning users work as follows:
diff --git a/corporate/lib/remote_billing_util.py b/corporate/lib/remote_billing_util.py
index 711dfd9d4e5..e88220fafe8 100644
--- a/corporate/lib/remote_billing_util.py
+++ b/corporate/lib/remote_billing_util.py
@@ -103,7 +103,7 @@ def get_remote_realm_and_user_from_session(
request: HttpRequest,
realm_uuid: str | None,
) -> tuple[RemoteRealm, RemoteRealmBillingUser]:
- # Cannot use isinstance with TypeDicts, to make mypy know
+ # Cannot use isinstance with TypedDicts, to make mypy know
# which of the TypedDicts in the Union this is - so just cast it.
identity_dict = cast(
RemoteBillingIdentityDict | None,
diff --git a/corporate/tests/test_stripe.py b/corporate/tests/test_stripe.py
index d46f28abc82..c9b81f2bc02 100644
--- a/corporate/tests/test_stripe.py
+++ b/corporate/tests/test_stripe.py
@@ -5970,7 +5970,7 @@ class InvoiceTest(StripeTestCase):
# Add an extra user
do_create_user(
- "email-exra-user",
+ "email-extra-user",
"password-extra-user",
get_realm("zulip"),
"name-extra-user",
diff --git a/templates/zerver/emails/email.css b/templates/zerver/emails/email.css
index 2382e6b05f1..9acf5782b38 100644
--- a/templates/zerver/emails/email.css
+++ b/templates/zerver/emails/email.css
@@ -342,7 +342,7 @@ p.digest_paragraph,
}
/* The 450px cutoff was determined by testing in Gmail as a point
- where an image looks good in either state. Logically it makes senes
+ where an image looks good in either state. Logically it makes sense
since then the text still has the majority of the space in the
side-by-side view. */
@media only screen and (min-width: 450px) {
diff --git a/web/src/compose_ui.ts b/web/src/compose_ui.ts
index 5d6f1c261df..52a611866d2 100644
--- a/web/src/compose_ui.ts
+++ b/web/src/compose_ui.ts
@@ -541,16 +541,16 @@ export function handle_scrolling_formatting_buttons(event: JQuery.ScrollEvent):
// If we're within 4px of the start or end of the formatting buttons,
// go ahead and hide the respective scrolling button
- const hide_scroll_button_threshhold_px = 4;
+ const hide_scroll_button_threshold_px = 4;
$button_container.addClass("can-scroll-forward can-scroll-backward");
assert(typeof button_bar_left_scroll === "number");
- if (button_bar_left_scroll >= button_bar_max_left_scroll - hide_scroll_button_threshhold_px) {
+ if (button_bar_left_scroll >= button_bar_max_left_scroll - hide_scroll_button_threshold_px) {
$button_container.removeClass("can-scroll-forward");
}
- if (button_bar_left_scroll <= hide_scroll_button_threshhold_px) {
+ if (button_bar_left_scroll <= hide_scroll_button_threshold_px) {
$button_container.removeClass("can-scroll-backward");
}
}
diff --git a/web/src/settings_config.ts b/web/src/settings_config.ts
index 32239119788..58ed1dd66f4 100644
--- a/web/src/settings_config.ts
+++ b/web/src/settings_config.ts
@@ -492,7 +492,7 @@ export const realm_deletion_in_values = {
description: $t({defaultMessage: "30 days"}),
default: false,
},
- ninty_days: {
+ ninety_days: {
value: 90 * 24 * 60,
description: $t({defaultMessage: "90 days"}),
default: false,
diff --git a/web/tests/compose_validate.test.cjs b/web/tests/compose_validate.test.cjs
index 678958dbb8a..ed0349cb41c 100644
--- a/web/tests/compose_validate.test.cjs
+++ b/web/tests/compose_validate.test.cjs
@@ -37,7 +37,7 @@ const realm = {};
set_realm(realm);
const current_user = {};
set_current_user(current_user);
-const user_settings = {defualt_language: "en"};
+const user_settings = {default_language: "en"};
initialize_user_settings({user_settings});
const me = {
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 45f22bc5b6e..4b90d7a6b8e 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -20725,7 +20725,7 @@ paths:
to administer the channel in order to modify this setting.
**Changes**: Prior to Zulip 10.0 (feature level 349), channel administrators
- could not unsubscribe other users if they were not an orgnization
+ could not unsubscribe other users if they were not an organization
administrator or part of `can_remove_subscribers_group`. Realm administrators
were not allowed to unsubscribe other users from a private channel if they
were not subscribed to that channel.
diff --git a/zerver/tests/test_presence.py b/zerver/tests/test_presence.py
index 1122d7cdd96..a12d3a35660 100644
--- a/zerver/tests/test_presence.py
+++ b/zerver/tests/test_presence.py
@@ -1043,7 +1043,7 @@ class GetRealmStatusesTest(ZulipTestCase):
# Othello's presence status is disabled so it won't be reported.
self.assertEqual(set(json["presences"].keys()), {hamlet.email})
- # However, UserActivit Interval still gets updated.
+ # However, the UserActivityInterval still gets updated.
self.assertEqual(UserActivityInterval.objects.filter(user_profile=othello).count(), 1)
result = self.api_post(