Skip to content

Commit

Permalink
OM-47: add validation and translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan committed Oct 31, 2023
1 parent ba1d80f commit 9636bed
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
msgid "resident_national_id_not_valid"
msgstr "Worker national id not valid."

msgid "organization_national_id_not_valid"
msgstr "Organization national id not valid."

msgid "vehicle_national_id_not_valid"
msgstr "Vehicle national id not valid."

msgid "resident_national_id_checksum_not_valid"
msgstr "Worker national id checksum not valid."

msgid "organization_national_id_checksum_not_valid"
msgstr "Organization national id checksum not valid."

msgid "vehicle_national_id_checksum_not_valid"
msgstr "Vehicle national id checksum not valid."

msgid "role_validation.unknown_role"
msgstr "Unknown role coming from mPass."
1 change: 1 addition & 0 deletions msystems/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ class MsystemsConfig(AppConfig):
ADMIN = 'Admin'
INSPECTOR = 'Inspector'
EMPLOYER = 'Employer'
IMIS_ADMIN = 'IMIS Administrator'
##### ------------------ ####

saml_config = None
Expand Down

0 comments on commit 9636bed

Please sign in to comment.