[Django] #33383: Inconsistent capitalization in admin's msgid "the web/Web site today"

10 views
Skip to first unread message

Django

unread,
Dec 23, 2021, 10:41:37 AM12/23/21
to django-...@googlegroups.com
#33383: Inconsistent capitalization in admin's msgid "the web/Web site today"
-----------------------------------------+------------------------
Reporter: Carsten Fuchs | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 4.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
In the admin, some locales use the message id
"Thanks for spending some quality time with the '''web''' site today."
and others use
"Thanks for spending some quality time with the '''Web''' site today."

Using `ack` to count the number of occurrences:
{{{
django/contrib/admin/locale$ ack -c -h -I "the web site today"
31
django/contrib/admin/locale$ ack -c -h -I "the Web site today"
65
}}}

If I understand things correctly, if the message id with lowercase "web"
is used, all translations based on the uppercase variant cannot be found,
and vice versa?

--
Ticket URL: <https://code.djangoproject.com/ticket/33383>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 23, 2021, 10:47:39 AM12/23/21
to django-...@googlegroups.com
#33383: Inconsistent capitalization in admin's msgid "the web/Web site today"
-------------------------------+--------------------------------------

Reporter: Carsten Fuchs | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 4.0
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Carsten Fuchs):

* type: Uncategorized => Bug
* component: Uncategorized => contrib.admin


Comment:

Specifically, locale `de` used to use '''Web''' up to Django 3.2 whereas
Django 4.0 uses '''web''', but I think that this is a generic issue.

--
Ticket URL: <https://code.djangoproject.com/ticket/33383#comment:1>

Django

unread,
Dec 23, 2021, 12:47:50 PM12/23/21
to django-...@googlegroups.com
#33383: Inconsistent capitalization in admin's msgid "the web/Web site today"
-------------------------------+--------------------------------------

Reporter: Carsten Fuchs | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 4.0
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* cc: Claude Paroz (added)
* status: new => closed
* resolution: => invalid


Comment:

We don't update locales without any new translated strings that's why for
some languages you can still find `web` instead of `Web`. As far as I'm
aware this doesn't cause extra issues because translations would be
missing anyway.

--
Ticket URL: <https://code.djangoproject.com/ticket/33383#comment:2>

Django

unread,
Dec 23, 2021, 12:51:52 PM12/23/21
to django-...@googlegroups.com
#33383: Inconsistent capitalization in admin's msgid "the web/Web site today"
-------------------------------+--------------------------------------

Reporter: Carsten Fuchs | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 4.0
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------

Comment (by Claude Paroz):

I confirm the diagnostic. Updating all po files even when no translations
have been added/fixed on Transifex would give huge diffs/commits
(including binary .mo files) without any added value. So when you see
occurrences of `Web`, that means that translators didn't do their job (on
time) :-)

--
Ticket URL: <https://code.djangoproject.com/ticket/33383#comment:3>

Reply all
Reply to author
Forward
0 new messages