Skip to content

Commit 4e04eed

Browse files
committed
typos: Fix typos caught by typos and mwic.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
1 parent 2204863 commit 4e04eed

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

api_docs/changelog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ format used by the Zulip server that they are interacting with.
114114
`POST /zulip-services/verify/{access_token}/`: Added new API
115115
endpoints for transferring Zulip services registrations.
116116
* `POST /remotes/server/register`: Added new response format for
117-
hostnames that are already registere.
117+
hostnames that are already registered.
118118

119119
**Feature level 344**
120120

@@ -191,7 +191,7 @@ deactivated groups.
191191
* `POST /calls/bigbluebutton/create`: Added a `voice_only` parameter
192192
controlling whether the call should be voice-only, in which case we
193193
keep cameras disabled for this call. Now the call creator is a
194-
moderator and all other joinees are viewers.
194+
moderator and all other joiners are viewers.
195195

196196
**Feature level 336**
197197

api_docs/message-formatting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ user(s) following the conversation, [depending on their
248248
settings](/help/follow-a-topic#follow-topics-where-you-are-mentioned).
249249

250250
Silent mentions of users or groups have none of those side effects,
251-
but nonetheless uniquently identify the user or group
251+
but nonetheless uniquely identify the user or group
252252
identified. (There's no such thing as a silent wildcard mention).
253253

254254
Permissions for mentioning users work as follows:

corporate/lib/remote_billing_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def get_remote_realm_and_user_from_session(
103103
request: HttpRequest,
104104
realm_uuid: str | None,
105105
) -> tuple[RemoteRealm, RemoteRealmBillingUser]:
106-
# Cannot use isinstance with TypeDicts, to make mypy know
106+
# Cannot use isinstance with TypedDicts, to make mypy know
107107
# which of the TypedDicts in the Union this is - so just cast it.
108108
identity_dict = cast(
109109
RemoteBillingIdentityDict | None,

corporate/tests/test_stripe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5970,7 +5970,7 @@ def test_validate_licenses_for_manual_plan_management(self, *mocks: Mock) -> Non
59705970

59715971
# Add an extra user
59725972
do_create_user(
5973-
"email-exra-user",
5973+
"email-extra-user",
59745974
"password-extra-user",
59755975
get_realm("zulip"),
59765976
"name-extra-user",

templates/zerver/emails/email.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ p.digest_paragraph,
342342
}
343343

344344
/* The 450px cutoff was determined by testing in Gmail as a point
345-
where an image looks good in either state. Logically it makes senes
345+
where an image looks good in either state. Logically it makes sense
346346
since then the text still has the majority of the space in the
347347
side-by-side view. */
348348
@media only screen and (min-width: 450px) {

web/src/compose_ui.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -541,16 +541,16 @@ export function handle_scrolling_formatting_buttons(event: JQuery.ScrollEvent):
541541

542542
// If we're within 4px of the start or end of the formatting buttons,
543543
// go ahead and hide the respective scrolling button
544-
const hide_scroll_button_threshhold_px = 4;
544+
const hide_scroll_button_threshold_px = 4;
545545

546546
$button_container.addClass("can-scroll-forward can-scroll-backward");
547547

548548
assert(typeof button_bar_left_scroll === "number");
549549

550-
if (button_bar_left_scroll >= button_bar_max_left_scroll - hide_scroll_button_threshhold_px) {
550+
if (button_bar_left_scroll >= button_bar_max_left_scroll - hide_scroll_button_threshold_px) {
551551
$button_container.removeClass("can-scroll-forward");
552552
}
553-
if (button_bar_left_scroll <= hide_scroll_button_threshhold_px) {
553+
if (button_bar_left_scroll <= hide_scroll_button_threshold_px) {
554554
$button_container.removeClass("can-scroll-backward");
555555
}
556556
}

web/src/settings_config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ export const realm_deletion_in_values = {
492492
description: $t({defaultMessage: "30 days"}),
493493
default: false,
494494
},
495-
ninty_days: {
495+
ninety_days: {
496496
value: 90 * 24 * 60,
497497
description: $t({defaultMessage: "90 days"}),
498498
default: false,

web/tests/compose_validate.test.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const realm = {};
3737
set_realm(realm);
3838
const current_user = {};
3939
set_current_user(current_user);
40-
const user_settings = {defualt_language: "en"};
40+
const user_settings = {default_language: "en"};
4141
initialize_user_settings({user_settings});
4242

4343
const me = {

zerver/openapi/zulip.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20725,7 +20725,7 @@ paths:
2072520725
to administer the channel in order to modify this setting.
2072620726

2072720727
**Changes**: Prior to Zulip 10.0 (feature level 349), channel administrators
20728-
could not unsubscribe other users if they were not an orgnization
20728+
could not unsubscribe other users if they were not an organization
2072920729
administrator or part of `can_remove_subscribers_group`. Realm administrators
2073020730
were not allowed to unsubscribe other users from a private channel if they
2073120731
were not subscribed to that channel.

zerver/tests/test_presence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ def test_presence_disabled(self) -> None:
10431043

10441044
# Othello's presence status is disabled so it won't be reported.
10451045
self.assertEqual(set(json["presences"].keys()), {hamlet.email})
1046-
# However, UserActivit Interval still gets updated.
1046+
# However, the UserActivityInterval still gets updated.
10471047
self.assertEqual(UserActivityInterval.objects.filter(user_profile=othello).count(), 1)
10481048

10491049
result = self.api_post(

0 commit comments

Comments
 (0)