diff --git a/hypha/apply/api/v1/review/serializers.py b/hypha/apply/api/v1/review/serializers.py index d4353033e8..299b6e573e 100644 --- a/hypha/apply/api/v1/review/serializers.py +++ b/hypha/apply/api/v1/review/serializers.py @@ -56,7 +56,7 @@ def update(self, instance, validated_data): ) instance.is_draft = self.validated_data.get("is_draft", False) - # Old review forms do not have the requred visability field. + # Old review forms do not have the required visibility field. # This will set visibility to PRIVATE by default. try: instance.visibility = self.validated_data[instance.visibility_field.id] diff --git a/hypha/apply/projects/templates/application_projects/report_detail.html b/hypha/apply/projects/templates/application_projects/report_detail.html index 303f7636a5..59bb962a97 100644 --- a/hypha/apply/projects/templates/application_projects/report_detail.html +++ b/hypha/apply/projects/templates/application_projects/report_detail.html @@ -37,7 +37,7 @@ <h4>{% trans "Public Report" %}</h4> {% for file in object.current.files.all %} {% if forloop.first %} - <h4>{% trans "Attachements" %}</h4> + <h4>{% trans "Attachments" %}</h4> <ul> {% endif %} diff --git a/hypha/apply/review/blocks.py b/hypha/apply/review/blocks.py index b0cdc38f6c..13e3ee3323 100644 --- a/hypha/apply/review/blocks.py +++ b/hypha/apply/review/blocks.py @@ -13,8 +13,8 @@ RATE_CHOICES, RATE_CHOICES_DICT, RECOMMENDATION_CHOICES, - VISIBILILTY_HELP_TEXT, VISIBILITY, + VISIBILITY_HELP_TEXT, ) from hypha.apply.stream_forms.blocks import ( CharFieldBlock, @@ -157,7 +157,7 @@ def get_field_kwargs(self, struct_value): kwargs["help_text"] = mark_safe( "<br>".join( [ - VISIBILITY[choice] + ": " + VISIBILILTY_HELP_TEXT[choice] + VISIBILITY[choice] + ": " + VISIBILITY_HELP_TEXT[choice] for choice in VISIBILITY ] ) diff --git a/hypha/apply/review/forms.py b/hypha/apply/review/forms.py index 122be1db3c..22b3486afc 100644 --- a/hypha/apply/review/forms.py +++ b/hypha/apply/review/forms.py @@ -70,7 +70,7 @@ def save(self, commit=True): self.cleaned_data[self.instance.recommendation_field.id] ) self.instance.is_draft = self.draft_button_name in self.data - # Old review forms do not have the requred visability field. + # Old review forms do not have the required visibility field. # This will set visibility to PRIVATE by default. try: self.instance.visibility = self.cleaned_data[ diff --git a/hypha/apply/review/management/commands/migration_review_base.py b/hypha/apply/review/management/commands/migration_review_base.py index 712fdc9001..28bd0624ef 100644 --- a/hypha/apply/review/management/commands/migration_review_base.py +++ b/hypha/apply/review/management/commands/migration_review_base.py @@ -87,7 +87,7 @@ def handle(self, *args, **options): with options["source"] as json_data: self.data = json.load(json_data) - # A user can only submitt a single review in the new system so pick the latest one. + # A user can only submit a single review in the new system so pick the latest one. blacklist = { "7574", "7413", diff --git a/hypha/apply/review/options.py b/hypha/apply/review/options.py index aad50ced30..07b96b6b24 100644 --- a/hypha/apply/review/options.py +++ b/hypha/apply/review/options.py @@ -36,7 +36,7 @@ PRIVATE = "private" REVIEWER = "reviewers" -VISIBILILTY_HELP_TEXT = { +VISIBILITY_HELP_TEXT = { PRIVATE: _("Visible only to staff."), REVIEWER: _("Visible to other reviewers and staff."), } diff --git a/hypha/settings/base.py b/hypha/settings/base.py index 14df7db10e..f4425b76e7 100644 --- a/hypha/settings/base.py +++ b/hypha/settings/base.py @@ -183,7 +183,7 @@ CONN_HEALTH_CHECKS = env.bool("CONN_HEALTH_CHECKS", True) # Language code in standard language id format: en, en-gb, en-us -# The corrosponding locale dir is named: en, en_GB, en_US +# The corresponding locale dir is named: en, en_GB, en_US LANGUAGE_CODE = env.str("LANGUAGE_CODE", "en") # Machine translation settings