Skip to content

Commit ad89089

Browse files
committed
lint: Fix several duplicate word typos.
1 parent 21b6bb9 commit ad89089

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

docs/git/using.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ are sloppy, so phrases like `Partially fixes #1234` will automatically
326326
close the issue. Phrases like `Fixes part of #1234` are a good
327327
alternative.
328328

329-
Make as many commits as you need to to address the issue or implement your feature.
329+
Make as many commits as you need to address the issue or implement your feature.
330330

331331
## Push your commits to GitHub
332332

docs/translating/german.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ _"Schränke auf ... ein." (Transifex) "Begrenze auf ... ." (Transifex)_
281281

282282
- Filter - **Filtern**
283283

284-
A direct translation is fine here. Watch out to to use the infinitive instead
284+
A direct translation is fine here. Watch out to use the infinitive instead
285285
of the imperative, e.g., "Nachrichten filtern" instead of "Filtere Nachrichten".
286286

287287
_"Filtern" (Thunderbird, LinkedIn)_

docs/tutorials/new-feature-tutorial.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def do_set_realm_property(
312312
realm: Realm, name: str, value: Any, *, acting_user: Optional[UserProfile]
313313
) -> None:
314314
"""Takes in a realm object, the name of an attribute to update, the
315-
value to update and and the user who initiated the update.
315+
value to update and the user who initiated the update.
316316
"""
317317
property_type = Realm.property_types[name]
318318
assert isinstance(value, property_type), (

web/src/fetch_status.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export class FetchStatus {
101101
//
102102
// 1. Client initiates GET /messages to fetch the last
103103
// batch of messages in this view. The server
104-
// completes the database access and and starts sending
104+
// completes the database access and starts sending
105105
// the response with found_newest=true.
106106
// 1. A new message is sent matching the view, the event reaches
107107
// the client. We discard the message because found_newest=false.

web/styles/app_variables.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@
336336
/* 46px at 14px/1em */
337337
--message-box-avatar-column-width: 3.2857em;
338338
/* Increase the margin here to account for the
339-
focus ring, which is is offset by -1px, as well
339+
focus ring, which is offset by -1px, as well
340340
as the vertical height between the hover icons
341341
and focus ring. */
342342
--message-box-vertical-margin: calc(

zerver/management/commands/send_custom_email.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def add_arguments(self, parser: ArgumentParser) -> None:
6767
# This is an additional filter which is composed with the above
6868
parser.add_argument(
6969
"--admins-only",
70-
help="Filter recipients selected via other options to to only organization administrators",
70+
help="Filter recipients selected via other options to only organization administrators",
7171
action="store_true",
7272
)
7373

zerver/models/messages.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class MessageType(models.IntegerChoices):
4242
RESOLVE_TOPIC_NOTIFICATION = 2
4343

4444
# IMPORTANT: message.type is not to be confused with the
45-
# "recipient type" ("channel" or "direct"), which is is sometimes
45+
# "recipient type" ("channel" or "direct"), which is sometimes
4646
# called message_type in the APIs, CountStats or some variable
4747
# names. We intend to rename those to recipient_type.
4848
#

zerver/tests/test_signup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2751,7 +2751,7 @@ def test_signup_two_confirmation_links(self) -> None:
27512751
user_profile = UserProfile.objects.get(delivery_email=email)
27522752
self.assertEqual(user_profile.delivery_email, email)
27532753

2754-
# Now try to to register using the first confirmation url:
2754+
# Now try to register using the first confirmation url:
27552755
result = self.client_get(first_confirmation_url)
27562756
self.assertEqual(result.status_code, 404)
27572757
result = self.client_post(

zerver/views/streams.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def update_stream_backend(
253253
Json[int | None], ApiParamConfig("can_remove_subscribers_group")
254254
] = None,
255255
) -> HttpResponse:
256-
# We allow realm administrators to to update the stream name and
256+
# We allow realm administrators to update the stream name and
257257
# description even for private streams.
258258
(stream, sub) = access_stream_for_delete_or_update(user_profile, stream_id)
259259

0 commit comments

Comments
 (0)