Skip to content

Commit

Permalink
Ebios: Alter Professional to Competitor (#1279)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene authored Dec 30, 2024
2 parents eaf175e + d7e1948 commit d1416f8
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 4 deletions.
30 changes: 30 additions & 0 deletions backend/ebios_rm/migrations/0011_alter_roto_risk_origin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Generated by Django 5.1.4 on 2024-12-30 01:20

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("ebios_rm", "0010_alter_ebiosrmstudy_risk_matrix"),
]

operations = [
migrations.AlterField(
model_name="roto",
name="risk_origin",
field=models.CharField(
choices=[
("state", "State"),
("organized_crime", "Organized crime"),
("terrorist", "Terrorist"),
("activist", "Activist"),
("competitor", "Competitor"),
("amateur", "Amateur"),
("avenger", "Avenger"),
("pathological", "Pathological"),
],
max_length=32,
verbose_name="Risk origin",
),
),
]
2 changes: 1 addition & 1 deletion backend/ebios_rm/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ class RiskOrigin(models.TextChoices):
ORGANIZED_CRIME = "organized_crime", _("Organized crime")
TERRORIST = "terrorist", _("Terrorist")
ACTIVIST = "activist", _("Activist")
PROFESSIONAL = "professional", _("Professional")
COMPETITOR = "competitor", _("Competitor")
AMATEUR = "amateur", _("Amateur")
AVENGER = "avenger", _("Avenger")
PATHOLOGICAL = "pathological", _("Pathological")
Expand Down
2 changes: 1 addition & 1 deletion backend/locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ msgid "Activist"
msgstr ""

#: ebios_rm/models.py:173
msgid "Professional"
msgid "Competitor"
msgstr ""

#: ebios_rm/models.py:174
Expand Down
2 changes: 1 addition & 1 deletion frontend/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@
"organizedCrime": "Organized crime",
"terrorist": "Terrorist",
"activist": "Activist",
"professional": "Competitor",
"competitor": "Competitor",
"amateur": "Amateur",
"avenger": "Avenger",
"pathological": "Pathological",
Expand Down
2 changes: 1 addition & 1 deletion frontend/messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@
"organizedCrime": "Crime organisé",
"terrorist": "Terroriste",
"activist": "Activiste",
"professional": "Concurrent",
"competitor": "Concurrent",
"amateur": "Amateur",
"avenger": "Vengeur",
"pathological": "Pathologique",
Expand Down

0 comments on commit d1416f8

Please sign in to comment.