docs: Fix some spelling errors.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-10-13 15:18:50 -07:00
committed by Tim Abbott
parent dd48dbd912
commit 6564540d15
5 changed files with 9 additions and 9 deletions

View File

@@ -82,7 +82,7 @@ in bursts.
- Removed unused `short_name` field from the User model. This field
had no purpose and could leak the local part of email addresses
when email address visiblity was restricted.
when email address visibility was restricted.
- Fixed a bug where loading spinners would sometimes not be displayed.
- Fixed incoming email gateway exception with unstructured headers.
- Fixed AlertWords not being included in data import/export.

View File

@@ -1,6 +1,6 @@
# Screenshot and GIF software
The following list documents different screenshoting & GIF-making techniques and
The following list documents different screenshotting & GIF-making techniques and
free software. We encourage you to make use of these when making front-end pull
requests, as other contributors can see the changes you have made without having
to check out your branch.
@@ -9,7 +9,7 @@ to check out your branch.
### Browser
- Firefox can take screenshots without any plugins (stable feature starting from v57)
- You can find it under `page actions / Take a screenshot`
- It is capable of screenshoting the entire page, visible area and individual DOM elements
- It is capable of screenshotting the entire page, visible area and individual DOM elements
- [LightShot Screenshot](https://app.prntscr.com/en/index.html) (Chrome, Firefox, IE & Opera)
### macOS

View File

@@ -245,7 +245,7 @@ def clear_scheduled_emails(user_ids: List[int], email_type: Optional[int]=None)
for item in deduplicated_items.values():
# Now we want a FOR UPDATE lock on the item.users rows
# to prevent a concurrent transaction from mutating them
# simultanously.
# simultaneously.
item.users.all().select_for_update()
item.users.remove(*user_ids)
if item.users.all().count() == 0:

View File

@@ -1098,9 +1098,9 @@ class MarkdownTest(ZulipTestCase):
converted_topic = topic_links(realm.id, msg.topic_name())
# The second filter (which was saved later) was ignored as the content was marked AtomicString after first conversion.
# There was no easy way to support parsing both filters and not run into an infinite loop, hence the sencond filter is ignored.
# There was no easy way to support parsing both filters and not run into an infinite loop, hence the second filter is ignored.
self.assertEqual(converted, '<p>We should fix <a href="https://trac.example.com/ticket/ABC-123">ABC-123</a> or <a href="https://trac.example.com/ticket/16">trac ABC-123</a> today.</p>')
# Both the links should be genered in topics.
# Both the links should be generated in topics.
self.assertEqual(converted_topic, ['https://trac.example.com/ticket/ABC-123', 'https://other-trac.example.com/ticket/ABC-123'])
def test_maybe_update_markdown_engines(self) -> None:

View File

@@ -668,7 +668,7 @@ class MirrorWorker(QueueProcessingWorker):
@assign_queue('embed_links')
class FetchLinksEmbedData(QueueProcessingWorker):
# This is a slow queue with network requests, so a disk write is neglible.
# This is a slow queue with network requests, so a disk write is negligible.
# Update stats file after every consume call.
CONSUME_ITERATIONS_BEFORE_UPDATE_STATS_NUM = 1
@@ -866,7 +866,7 @@ class TestWorker(QueueProcessingWorker):
@assign_queue('noop', queue_type="test")
class NoopWorker(QueueProcessingWorker):
"""Used to profile the queue procesing framework, in zilencer's queue_rate."""
"""Used to profile the queue processing framework, in zilencer's queue_rate."""
def __init__(self, max_consume: int=1000, slow_queries: Optional[List[int]]=None) -> None:
self.consumed = 0
@@ -884,7 +884,7 @@ class NoopWorker(QueueProcessingWorker):
@assign_queue('noop_batch', queue_type="test")
class BatchNoopWorker(LoopQueueProcessingWorker):
"""Used to profile the queue procesing framework, in zilencer's queue_rate."""
"""Used to profile the queue processing framework, in zilencer's queue_rate."""
batch_size = 500
def __init__(self, max_consume: int=1000, slow_queries: Optional[List[int]]=None) -> None: