#35760: Cannot translate word `None` using `gettext_lazy`
-------------------------------------+-------------------------------------
Reporter: Wladislav | Owner: (none)
Artsimovich |
Type: Bug | Status: closed
Component: | Version: 5.1
Internationalization |
Severity: Normal | Resolution: duplicate
Keywords: translation | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Wladislav Artsimovich):
You are correct! That solves the issue and makes this indeed a duplicate
of https://code.djangoproject.com/ticket/34221
It's `"Plural-Forms: nplurals=2; plural=(n != 1);\n"` in the German
`django.po`, `"Plural-Forms: nplurals=1; plural=0;\n"` in the Japanese
`django.po` and
{{{
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 &&
n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) ||
(n"
"%100>=11 && n%100<=14)? 2 : 3);\n"
}}}
in the russian `django.po`.
I'm fairly worried about just deleting those and causing Weblate to flag
all translations for Check or something, but I suppose since we
specifically disabled all forms of fuzzy or plural it should be fine?
--
Ticket URL: <https://code.djangoproject.com/ticket/35760#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070191eadc9011-8e861d8e-cd8f-4c61-801e-52236bf12489-000000%40eu-central-1.amazonses.com.