Skip to content

Commit

Permalink
Minor updates for French language error and Django 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
thriuin committed Feb 12, 2024
1 parent 4f78dd6 commit 394eb38
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions locale/fr/LC_MESSAGES/django_core.po
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ msgstr "Nous n'avons pas trouvé cette page Web"
msgid "Error 404"
msgstr "Erreur 404"

msgid "Error"
msgstr "Erreur"

msgid "An unexpected error has occurred. Please check back later"
msgstr "Il y a un problème inattendu. Veuillez revenir plus tard"

#: .\search\templates\404.html:33
msgid "We're sorry you ended up here. Sometimes a page gets moved or deleted, but hopefully we can help you find what you're looking for."
msgstr "Nous sommes désolés que vous ayez abouti ici. Il arrive parfois qu’une page ait été déplacée ou supprimée. Heureusement, nous pouvons vous aider à trouver ce que vous cherchez."
Expand Down
1 change: 1 addition & 0 deletions oc_search/settings-sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
CORS_ALLOW_ALL_ORIGINS = True
CORS_REPLACE_HTTPS_REFERER = True
SECURE_REFERRER_POLICY = 'unsafe-url'
CRSF_ALLOWED_ORIGINS = ['http://127.0.0.1', 'http://search-local.open.canada.ca', 'http://rechercher-locale.ouvert.canada.ca']

ROOT_URLCONF = 'oc_search.urls'

Expand Down

0 comments on commit 394eb38

Please sign in to comment.