Skip to content

Commit

Permalink
[translations]Updated BE translations keys, comment #247
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrocha committed Dec 16, 2024
1 parent 7ecaf5a commit f8a27ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion governanceplatform/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ class RegistrationForm(UserCreationForm):
accept_terms = forms.BooleanField(
label=_("I acknowledge and agree to the"),
error_messages={
"required": _("Acceptance of the Terms of Use is required for registration")
"required": _(
"Acceptance of the Terms of Use is required for registration."
)
},
)
email = forms.TextInput()
Expand Down
6 changes: 3 additions & 3 deletions incidents/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,10 +686,10 @@ def get_context_data(self, form, **kwargs):

context["steps"] = [
_("Contact"),
("Regulators"),
_("Regulators"),
_("Legal bases"),
_("Sectors"),
_("Incident detection date"),
_("Detection date"),
]
context["action"] = "Create"

Expand Down Expand Up @@ -1068,7 +1068,7 @@ def get_context_data(self, form, **kwargs):
categories = []
for categ in categories_options:
categories.append(categ.question_category)
context["steps"].append(_("Incident timeline"))
context["steps"].append(_("Incident Timeline"))
context["steps"].extend(categories)
if self.workflow.is_impact_needed:
regulation_sector_has_impacts = Impact.objects.filter(
Expand Down

0 comments on commit f8a27ca

Please sign in to comment.