From 51f0ae23a351bf227ce9f48aed1ffeac673ebc55 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sun, 6 Aug 2023 10:37:54 +0100 Subject: [PATCH] Correct spelling mistakes --- CONTRIBUTING.md | 2 +- symposion/proposals/models.py | 6 +++--- symposion/reviews/forms.py | 2 +- symposion/reviews/models.py | 2 +- symposion/reviews/utils.py | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 17eef319..01d6984b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -139,7 +139,7 @@ Here is an example of these rules applied: ## Pull Requests Please keep your pull requests focused on one specific thing only. If you -have a number of contributions to make, then please send seperate pull +have a number of contributions to make, then please send separate pull requests. It is much easier on maintainers to receive small, well defined, pull requests, than it is to have a single large one that batches up a lot of unrelated commits. diff --git a/symposion/proposals/models.py b/symposion/proposals/models.py index 23f65608..818397c0 100644 --- a/symposion/proposals/models.py +++ b/symposion/proposals/models.py @@ -100,7 +100,7 @@ class ProposalBase(models.Model): ) abstract_html = models.TextField(blank=True) additional_notes = models.TextField( - _("Addtional Notes"), + _("Additional Notes"), blank=True, help_text=_("Anything else you'd like the program committee to know when making their " "selection: your past experience, etc. This is not made public. Edit using " @@ -125,7 +125,7 @@ def additional_speaker_validator(self, a_speaker): raise ValidationError(_("%s has already been in speakers.") % a_speaker.speaker.email) additional_speakers = models.ManyToManyField(Speaker, through="AdditionalSpeaker", - blank=True, verbose_name=_("Addtional speakers")) + blank=True, verbose_name=_("Additional speakers")) cancelled = models.BooleanField(default=False, verbose_name=_("Cancelled")) def save(self, *args, **kwargs): @@ -195,7 +195,7 @@ class AdditionalSpeaker(models.Model): class Meta: unique_together = ("speaker", "proposalbase") - verbose_name = _("Addtional speaker") + verbose_name = _("Additional speaker") verbose_name_plural = _("Additional speakers") def __str__(self): diff --git a/symposion/reviews/forms.py b/symposion/reviews/forms.py index 6e8c5701..d5d78393 100644 --- a/symposion/reviews/forms.py +++ b/symposion/reviews/forms.py @@ -34,5 +34,5 @@ class BulkPresentationForm(forms.Form): talk_ids = forms.CharField( label=_("Talk ids"), max_length=500, - help_text=_("Provide a comma seperated list of talk ids to accept.") + help_text=_("Provide a comma separated list of talk ids to accept.") ) diff --git a/symposion/reviews/models.py b/symposion/reviews/models.py index 1419e134..767a9a86 100644 --- a/symposion/reviews/models.py +++ b/symposion/reviews/models.py @@ -155,7 +155,7 @@ def delete(self): lv.delete() else: # handle that we've found a latest vote - # check if self is the lastest vote + # check if self is the latest vote if self == latest: # self is the latest review; revert the latest vote to the # previous vote diff --git a/symposion/reviews/utils.py b/symposion/reviews/utils.py index 1d45e95a..7633a8a0 100644 --- a/symposion/reviews/utils.py +++ b/symposion/reviews/utils.py @@ -3,7 +3,7 @@ def has_permission(user, proposal, speaker=False, reviewer=False): """ - Returns whether or not ther user has permission to review this proposal, + Returns whether or not the user has permission to review this proposal, with the specified requirements. If ``speaker`` is ``True`` then the user can be one of the speakers for the