Skip to content

Commit

Permalink
docs: Fix a few typos
Browse files Browse the repository at this point in the history
There are small typos in:
- docs/blog-importing.rst
- mezzanine/blog/urls.py
- mezzanine/core/management/commands/runserver.py
- mezzanine/core/middleware.py
- mezzanine/core/static/mezzanine/js/jquery-ui-1.12.1.js
- mezzanine/core/static/mezzanine/js/jquery.form.js
- mezzanine/utils/urls.py

Fixes:
- Should read `slashes` rather than `slahes`.
- Should read `responsibility` rather than `responsbility`.
- Should read `pseudo` rather than `psuedo`.
- Should read `multiple` rather than `mutiple`.
- Should read `explicitly` rather than `explictly`.
- Should read `during` rather than `durning`.
- Should read `default` rather than `defaut`.
- Should read `attribute` rather than `atrribute`.
  • Loading branch information
timgates42 authored and henri-hulski committed Jul 3, 2022
1 parent 1c423e1 commit 3569c1d
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/blog-importing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ The first step is to define any custom arguments the command will
require using Python's `argparse
<http://docs.python.org/library/argparse.html>`_ handling.

The main responsbility of the ``Command`` class is then to implement a
The main responsibility of the ``Command`` class is then to implement a
:meth:`~mezzanine.blog.management.base.BaseImporterCommand.handle_import`
method which handles retrieving blog posts and comments from the
particular blogging platform. The :meth:`~mezzanine.blog.management.\
Expand Down
2 changes: 1 addition & 1 deletion mezzanine/blog/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from mezzanine.blog import views
from mezzanine.conf import settings

# Trailing slahes for urlpatterns based on setup.
# Trailing slashes for urlpatterns based on setup.
_slash = "/" if settings.APPEND_SLASH else ""

# Blog patterns.
Expand Down
2 changes: 1 addition & 1 deletion mezzanine/core/management/commands/runserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_response(self, request):

def banner():

# Database name - this is just the ``vendor`` atrribute of
# Database name - this is just the ``vendor`` attribute of
# the connection backend, with some exceptions where we
# replace it with something else, such as microsoft -> sql server.
conn = connection
Expand Down
2 changes: 1 addition & 1 deletion mezzanine/core/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def process_request(self, request):
# in this case we don't attempt a redirect - note that
# when /admin is restricted to SSL using Mezzanine's SSL
# setup, the flash uploader will post over SSL, so
# someone would need to explictly go out of their way to
# someone would need to explicitly go out of their way to
# trigger this.
return
# Tell the client they need to re-POST.
Expand Down
4 changes: 2 additions & 2 deletions mezzanine/core/static/mezzanine/js/jquery-ui-1.12.1.js
Original file line number Diff line number Diff line change
Expand Up @@ -2647,7 +2647,7 @@ $.fn.extend( {
var el = $( this ),
normalizedMode = $.effects.mode( el, mode ) || defaultMode;

// Sentinel for duck-punching the :animated psuedo-selector
// Sentinel for duck-punching the :animated pseudo-selector
el.data( dataSpaceAnimated, true );

// Save effect mode for later use,
Expand Down Expand Up @@ -17887,7 +17887,7 @@ $.widget( "ui.tabs", {
// tab is already loading
tab.hasClass( "ui-tabs-loading" ) ||

// can't switch durning an animation
// can't switch during an animation
this.running ||

// click on active header, but not collapsible
Expand Down
2 changes: 1 addition & 1 deletion mezzanine/core/static/mezzanine/js/jquery.form.js
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ $.fn.ajaxSubmit = function(options) {
return;
}
// let this fall through because server response could be an empty document
//log('Could not access iframe DOM after mutiple tries.');
//log('Could not access iframe DOM after multiple tries.');
//throw 'DOMException: not available';
}

Expand Down
2 changes: 1 addition & 1 deletion mezzanine/utils/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def login_redirect(request):
if next in ignorable_nexts:
next = settings.LOGIN_REDIRECT_URL
if next == "/accounts/profile/":
# Use the homepage if LOGIN_REDIRECT_URL is Django's defaut.
# Use the homepage if LOGIN_REDIRECT_URL is Django's default.
next = get_script_prefix()
else:
try:
Expand Down

0 comments on commit 3569c1d

Please sign in to comment.