Confusing error text #7881
Unanswered
anton-kazlouski
asked this question in
General
Replies: 1 comment 5 replies
-
Any of "cannot", "must not", "may not" would be okay here. Personally I probably marginally prefer "must not" or "may not", which implies "is not permitted", rather than cannot, which implies "is not possible". I doubt we'll change it since it'd end up marking all the translations as needing re-translating (although they probably wouldn't actually), but I can see that determining exactly which phrasing would be most suitable for an international audience is a gray area. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not English native, but the error message seems to have a logical error:
This field may not be null
-- means that a field might be null and might not be null (negative probability). But the translation means that the field is required and cannot be null.django-rest-framework/rest_framework/locale/ru_RU/LC_MESSAGES/django.po
Line 160 in 3578683
I've checked with Django sources and found this:
This field cannot be null
which seems to me more accurate.I want to clarify it's an actual mistake. If yes, I'll create a PR to fix this issue.
Beta Was this translation helpful? Give feedback.
All reactions