Skip to content

Commit 555c4c8

Browse files
committed
chore: fix a large number of spelling issues in comments
Signed-off-by: pavedroad <[email protected]>
1 parent eeb5e62 commit 555c4c8

File tree

17 files changed

+42
-42
lines changed

17 files changed

+42
-42
lines changed

UPGRADING.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ List of changes since the *CONFIG_VERSION* numbering was introduced:
347347
# directory in which necessary files will be stored.
348348
#FILETRACKER_CACHE_ROOT = '__DIR__/cache'
349349

350-
# When using a remote storage it's recommended to enable a cache cleaner deamon
350+
# When using a remote storage it's recommended to enable a cache cleaner daemon
351351
# which will periodically scan cache directory and remove files what aren't
352352
# used. For a detailed description of each option, please read a cache cleaner
353353
# configuration section in the sioworkersd documentation.
@@ -439,7 +439,7 @@ List of changes since the *CONFIG_VERSION* numbering was introduced:
439439

440440
-# Filetracker server settings.
441441
-#
442-
-# Determines which filetracker database use, availible options are:
442+
-# Determines which filetracker database use, available options are:
443443
-# - 'oioioi.filetracker.client.media_root_factory' (the default)
444444
-# Stores files on local filesystem under MEDIA_ROOT, optionally
445445
-# exposing them with a filetracker server (see section below).
@@ -588,7 +588,7 @@ List of changes since the *CONFIG_VERSION* numbering was introduced:
588588

589589
# 'oioioi.usergroups',
590590

591-
#. * Introduced `DEFAULT_COMPILERS` to settings, which should be set for every language supoorted::
591+
#. * Introduced `DEFAULT_COMPILERS` to settings, which should be set for every language supported::
592592

593593
--- a/oioioi/default_settings.py
594594
+++ b/oioioi/default_settings.py
@@ -896,7 +896,7 @@ List of changes since the *CONFIG_VERSION* numbering was introduced:
896896
+# The server to be run. Options are:
897897
+# 'django' - django's http server
898898
+# 'uwsgi' - uwsgi daemon
899-
+# 'uwsgi-http' - uwsgi deamon with built-in http server
899+
+# 'uwsgi-http' - uwsgi daemon with built-in http server
900900
+# None - nothing will be run
901901
+SERVER = 'django'
902902

extra/sample-configs/runnable-test-settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#
3838

3939
#
40-
# To workarund a bug, where sioworkers is not passed
40+
# To workaround a bug, where sioworkers is not passed
4141
# FILETRACKER_CACHE_ROOT, use this to start the website:
4242
#
4343
# FILETRACKER_URL=/tmp/oioioi-filetracker-cache ./manage.py runserver
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{% extends "simple-centered.html" %}
22
{% load i18n %}
33

4-
{% block title %}{% trans "Account succesfully deleted" %}{% endblock %}
4+
{% block title %}{% trans "Account successfully deleted" %}{% endblock %}
55

66
{% block content %}
77
<div class="alert alert-info text-center">
8-
<h1>{% trans "Account succesfully deleted" %}</h1>
9-
<p>{% trans "Your account has been succesfully deleted" %}</p>
8+
<h1>{% trans "Account successfully deleted" %}</h1>
9+
<p>{% trans "Your account has been successfully deleted" %}</p>
1010
</div>
1111
{% endblock %}

oioioi/base/utils/pdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def generate_pdf(tex_code, filename, extra_args=None, num_passes=3):
4141

4242

4343
def extract_text_from_pdf(pdf_file):
44-
# pdf_file must be a a file-like object
44+
# pdf_file must be a file-like object
4545
# returns a list of strings, each string containing text from one page
4646

4747
# the char_margin is needed because pdfminer.six has a problem

oioioi/contests/middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class CurrentContestMiddleware:
5959
Then, if there is no contest ID in a request's URL, but the URL
6060
also comes with a contest-specific version and a contest exists,
6161
a redirection is performed to one of the existing contests. Which one
62-
it is is determined by the following algorithm:
62+
it is determined by the following algorithm:
6363
6464
#. If last contest is saved in session, this value is used.
6565
#. If the session value is not available or invalid,

oioioi/default_settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
# The server to be run. Options are:
4040
# 'django' - django's http server
4141
# 'uwsgi' - uwsgi daemon
42-
# 'uwsgi-http' - uwsgi deamon with built-in http server
42+
# 'uwsgi-http' - uwsgi daemon with built-in http server
4343
# 'none' - nothing will be ran
4444
SERVER = os.getenv('OIOIOI_SERVER_MODE', 'none')
4545

@@ -368,7 +368,7 @@
368368
# this also defines the filetracker server oioioi should connect to.
369369
FILETRACKER_URL = os.getenv('FILETRACKER_URL', 'http://127.0.0.1:9999')
370370

371-
# When using a remote storage it's recommended to enable a cache cleaner deamon
371+
# When using a remote storage it's recommended to enable a cache cleaner daemon
372372
# which will periodically scan cache directory and remove files what aren't
373373
# used. For a detailed description of each option, please read a cache cleaner
374374
# configuration section in the sioworkersd documentation. Please note that

oioioi/deployment/settings.py.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ALLOWED_HOSTS = ['oioioi', '127.0.0.1', 'localhost', 'web']
3838
# The server to be run. Options are:
3939
# 'django' - django's http server
4040
# 'uwsgi' - uwsgi daemon
41-
# 'uwsgi-http' - uwsgi deamon with built-in http server
41+
# 'uwsgi-http' - uwsgi daemon with built-in http server
4242
# 'none' - nothing will be ran
4343
# SERVER = 'none'
4444

@@ -257,7 +257,7 @@ AUTHENTICATION_BACKENDS += (
257257
# in which the necessary files will be stored.
258258
FILETRACKER_CACHE_ROOT = '__DIR__/cache'
259259

260-
# When using a remote storage it's recommended to enable a cache cleaner deamon
260+
# When using a remote storage it's recommended to enable a cache cleaner daemon
261261
# which will periodically scan cache directory and remove files what aren't
262262
# used. For a detailed description of each option, please read a cache cleaner
263263
# configuration section in the sioworkersd documentation. Please note that

oioioi/evalmgr/tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,13 @@ def _run_error_handlers(env, exc_info):
222222
# pylint: disable=broad-except
223223
except Exception:
224224
logger.error(
225-
"Exception occured in job's error handlers:\n%s",
225+
"Exception occurred in job's error handlers:\n%s",
226226
pprint.pformat(env, indent=4),
227227
exc_info=True,
228228
)
229229
if not env.get("ignore_errors"):
230230
logger.error(
231-
"Exception occured in job:\n%s",
231+
"Exception occurred in job:\n%s",
232232
pprint.pformat(env, indent=4),
233233
exc_info=exc_info,
234234
)

oioioi/maintenancemode/middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def _process_request(self, request):
2828
return None
2929

3030
# If admin logged in as another user, the information who
31-
# the real user is is stored in real_user
31+
# the real user is stored in real_user
3232
if hasattr(request, "real_user"):
3333
if request.real_user.is_superuser:
3434
return None

oioioi/notifications/static/common/notifications.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ NotificationsClient.prototype.renderMessages = function () {
162162
this.dropdownLoading = false;
163163
this.HEADER_REFRESH_SPINNER.removeClass("spinner");
164164
this.setErrorState();
165-
let text = gettext("A network error occured. Recent submissions list could not be loaded");
165+
let text = gettext("A network error occurred. Recent submissions list could not be loaded");
166166
this.TABLE_NOTIFICATIONS.html(
167167
$("<span></span>").addClass("dropdown-item-text").text(text)
168168
);

0 commit comments

Comments
 (0)